How I Engineered a Penny-Sized Robot Controller!

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024
  • Penny-Size CodeCell Module - microbots.io/c...
    Big thanks to PCBWay for the PCB samples - www.pcbway.com
    Learn more about Altium 365 - www.altium365....
    Check out my other electronics - microbots.io/m...
    Check out microbots Tools & Gear - microbots.io/gear
    Build•Code•Repeat Tee - microbots.io/p...
    Help me make more projects by supporting me on Patreon - / carlbugeja
    Things You Can Build with CodeCell:
    • Depth Gestures - microbots.io/b...
    • Tap Detection - microbots.io/b...
    • Proximity - microbots.io/b...
    • Auto Dimming - microbots.io/b...
    • Step Counter - microbots.io/b...
    • Angle Control - microbots.io/b...
    • Personal Activity Guessing - microbots.io/b...
    • Wireless Remote - microbots.io/b...
    • Ai Prompt - microbots.io/b...
    • Alexa Light Control - microbots.io/b...
    Social Media - linktr.ee/Carl...
    Website - carlbugeja.com
    Thank you Samer Aldhaher for the animations shown in this video
    @AtiumOfficial The Altium 365 software is an electronics product design platform that unites PCB design, MCAD, data management, and teamwork - Free search engine for the best quality components from Octopart: www.octopart.com
    Music:
    Yhello - Lofive
    Final Target in Sight - Trailer
    A Poco a Poco - Trabant
    Humbot - Wave Saver

Комментарии • 171

  • @shaneomacmcgee
    @shaneomacmcgee 3 дня назад +95

    - WiFi + Bluetooth
    - Onboard antenna
    - Battery charging
    - USB-C
    - Handful of GPIO
    - Castellated pads
    - Affordable
    - Smol
    I've been looking for this exact thing for so long and thought I was crazy when I couldn't find a good solution. Thank you Carl!!

  • @PCBWay
    @PCBWay 3 дня назад +149

    It is always a pleasure for us to be a part of your great idea!😊

  • @1974UTuber
    @1974UTuber 3 дня назад +17

    Carl, your inventiveness and innovation never ceases to amaze me. Keep up the great work

  • @dfgaJK
    @dfgaJK 2 дня назад +9

    I wish you could've squeezed some motor drivers or just mosfets on there for direct motor drive. (4 mosfets and you would've had yourself a mini drone!)

  • @qdaniele97
    @qdaniele97 3 дня назад +35

    This is almost exactly what I was looking for (a small ESP32 board with battery circuitry and an IMU in a tiny package). The only missing thing would be ZigBee instead of power-hungry WiFi.
    Please cosider selling a ESP32-C6 and/or ESP32-H2 equiped version. They should both work as drop-in replacements for the ESP32-C3 without requiring any change to the PCB whatsoever.
    It could even be an option on the website like the IMU is.

    • @testman9541
      @testman9541 3 дня назад +1

      If WiFi is not an option for you, there is still BLE and ESPNow on board 🎉

    • @WhatsTheWordBozo
      @WhatsTheWordBozo 2 дня назад +1

      Worst case scenario you can buy it and attach a C6 yourself. The cost for that is negligible

    • @qdaniele97
      @qdaniele97 2 дня назад

      @@WhatsTheWordBozo Maybe I'm wrong, but I believe they have BGA-like pads to solder under the module itself, instead of just castellated contacts on the edges.
      If that's the case, it would be way beyond what my soldering skills and equipment are capable of 😅

    • @AlexKarasev
      @AlexKarasev 2 дня назад

      @@qdaniele97 But then they wouldn't be drop-in replacements!
      BGAs and other SMCs can in theory / in a pinch be done in a household convection oven like the one used for turkeys on thanksgiving (not to be confised with a microwave, haha). Just be double super extra sure everything is lead-free etc esp the solder paste.

    • @iso_2013
      @iso_2013 2 дня назад

      @@AlexKarasev it would still be a drop-in replacement, just means it's a lot easier for the manufacturer to do the 'dropping'

  • @deaneatsgreens
    @deaneatsgreens 14 часов назад

    You have no idea how many of these are going to sell. I've seen so many mini RC tutorials around that have 500 steps and parts/tools. This is a game changer

    • @CarlBugeja
      @CarlBugeja  14 часов назад

      Thank you so much for the feedback 🙂 I m glad you liked it!

  • @erikslagter3231
    @erikslagter3231 3 дня назад +5

    Carl, everything you do is gold

    • @CarlBugeja
      @CarlBugeja  3 дня назад +1

      thanks! glad you liked it! :)

  • @atom1496
    @atom1496 3 дня назад +2

    A pin matched board with a bldc driver and magnetic encoder would be very very cool.

  • @WhatsTheWordBozo
    @WhatsTheWordBozo 2 дня назад +6

    You should really put in your video that you can save up to 45$ in shipping by not adding on the battery. I took it off and it dropped the price from 90$ to 40$ which turns the product from kind of stressing pricing to actually very reasonable for a research device. If I buy a lipo locally on amazon I can get like 20 of them for that markup.

  • @alejandroperez5368
    @alejandroperez5368 2 дня назад +2

    04:25 Not just common and safe, it's actually the recommended way to go.

  • @aspuzling
    @aspuzling 3 дня назад +4

    This looks amazing. I love that you make a version without the IMU available for half the price. Great work.

  • @sethswheelhouse
    @sethswheelhouse 2 дня назад

    Hey Carl. Im the same Seth that hit you up a while ago about using drivecells in my small robotics project. Thanks for responding and talking with me. The new drive cell library is much better.

  • @neofuturist
    @neofuturist 3 дня назад +36

    OMG, cries in poor :), I was able to buy one, but it ended up being 60€ in total, whyyyyy am I so poor :)
    Edit: you still deserve 6 stars for this crazy project +1
    Edit2: I just bought one with giro, I have no self control eheheh

    • @CarlBugeja
      @CarlBugeja  3 дня назад +14

      unfortunately to ship the battery we can only use fedex box, which i agree is a bit expensive.. but is necessary to ship LiPos.. All other options can ship with international post and also include a wire to use your own battery :)

    • @neofuturist
      @neofuturist 3 дня назад

      @@CarlBugeja no worry, totally worth it +1

  • @ExtravagantEthan
    @ExtravagantEthan 3 дня назад

    This is gonna be a gamechanger for my sonic screwdriver build

  • @fsdfghwaihjfkdasjfka
    @fsdfghwaihjfkdasjfka 3 дня назад +14

    You could stack capacitors if you need more

  • @Yunora
    @Yunora 3 дня назад +1

    Finally something to compete with the M5 Atom.

  • @bdot02
    @bdot02 3 дня назад

    This is a super cool project, thanks for sharing and making it a product available to us!

  • @almosthuman4457
    @almosthuman4457 3 дня назад

    I like it. I'll keep this in mind for future projects.

  • @ninjacodertech
    @ninjacodertech 3 дня назад +4

    this is soooo cool!

  • @KeepoHdee
    @KeepoHdee 2 дня назад

    The store looks great! Quality content as always, looking forward to the next video.

  • @gambler301
    @gambler301 3 дня назад +1

    Looks amazing, as all of your projects.
    I am just worried that the PCB antenna might behave poorly.
    ( esp32 has a very small range when connecting to other ESP with PCB antenna.)

    • @CarlBugeja
      @CarlBugeja  3 дня назад +2

      Thank you so much! 🙂 So far we didn't have any issues with the antenna's performance with all the tests I showed

  • @jimjjewett
    @jimjjewett День назад

    That gap for the USB cord is thick enough that I wonder whether some components could go between the boards, at least in some future version.

  • @aL3891_
    @aL3891_ 15 часов назад

    This is really cool :) it would be awesome to see a version with express lrs as a control link since the range is so much greater as well 🙂

  • @TaseenAli
    @TaseenAli 3 дня назад

    This is amazing! I already got a few projects I could implement in 😮

  • @henrikd.8818
    @henrikd.8818 2 дня назад

    THIS is AMAZING!
    I hope I can get one in time!

  • @thijsvanliempd2824
    @thijsvanliempd2824 3 дня назад +2

    i like that you went with an ESP32, BUT i don't love the C3. The S3 is a real successor to the original ESP32, whereas the C# series come closer to an ESP8266 IMO. Still a decent MCU though

  • @OficinadoArthur
    @OficinadoArthur 3 дня назад

    Really nice piece of engeneering!

  • @dave20874
    @dave20874 7 часов назад

    OMG, this is my dream prototyping module.

  • @ofsanjay
    @ofsanjay 3 дня назад

    That small factor micro controllers are the best thing.

  • @TaniaKisha
    @TaniaKisha 15 часов назад

    You are crazy in good way. That's why I love your videos! :)

  • @bjiirn
    @bjiirn 3 дня назад +1

    This could also be interesting for SlimeVR Body Tracking since it supports the ESP32-C3 and the BNO085.
    However i could not find the shematic so i don't know if the wireing would work with the default firmware.
    UPDATE: I just saw that the pins can now be configured in the SlimeVR Firmware tool. So it should work.

  • @whynotbuildit
    @whynotbuildit 2 дня назад

    buying now

  • @Khether0001
    @Khether0001 3 дня назад

    You are a real life wizard! 😊

  • @rboutrois9093
    @rboutrois9093 3 дня назад

    So much features in this tiny volume, you did a really nice job Carl !
    Even took the time to do a pretty nice animation for the intro ! What did you used ? Blender ?

  • @juanmacias5922
    @juanmacias5922 3 дня назад

    Pretty cool! I'd love trying to use it to build a micro mouse. :D

  • @thewatersavior
    @thewatersavior 3 дня назад

    This looks awesome - im in the TinyDuino space and stacking boards makes it big. this looks solid!

  • @OZtwo
    @OZtwo 3 дня назад

    Very cool! But I still say that you really need to design a Cozmo that has a brain. I so much want to have a small robot that can roam around the house indexing new items and even be able to take small items back to its' home base.

  • @SianaGearz
    @SianaGearz 3 дня назад

    I like external antenna because then i can place electronics on alu or steel sheet if need be and don't need to worry about occlusion/detuning so much, more flexibility.
    USB cable only a little attenuation because the metallisation is barely a couple millimetres across, which is a lot less than 29mm.

  • @peterevenhuis2663
    @peterevenhuis2663 3 дня назад

    Malta power, hahaha, great project and amazing results.

  • @ardulights7669
    @ardulights7669 3 дня назад +1

    For battery applications, it would be interesting to know if the integrated sensors can bring the ESP out of sleep mode? Can the VCNL4040 light sensor or the BNO085 motion sensor do this? thx

  • @geepytee
    @geepytee 2 дня назад

    This is really cool!

  • @BamTehBrent
    @BamTehBrent 3 дня назад

    Insanely cool

  • @MadonnaDiFonti
    @MadonnaDiFonti 3 дня назад

    I think this is exactly what many were looking for. I will take some.
    However another downside of the USB C port location is that it might be a bit inconvenient to make it accessible when printing a case with a 3d printer

    • @CarlBugeja
      @CarlBugeja  3 дня назад +1

      so far i've built multiple cases for different projects and i have to agree.. but it a small inconvenience considering what it packs in such a small area..some clever 3d design can also make it easier for the usb connector to be more accessible through the housing

  • @Maxjoker98
    @Maxjoker98 3 дня назад +2

    Pro tip: Most of the ESP boards allow you to reset the chip and put it into boot mode via the serial(by putting the RST line high, if I recall). esp-tool does this if supported!

  • @dummypg6129
    @dummypg6129 3 дня назад +2

    how about vertical usb-c port?

  • @eemhi
    @eemhi 3 дня назад

    Thanks for sharing 🎉

  • @Electheo
    @Electheo 3 дня назад

    Wow I'm amazed. This is so impressive!!!
    How many board layers & what trace thickness did you use to get it this small?

  • @midclock
    @midclock 3 дня назад

    Great work as always.
    What about cutting the PCB antenna and soldering it in vertical?
    I don't know if it invalidates the FCC compliancy (probably yes), but it will make the size smaller, solve the connected usb port issue and also be high a little more of the usb port itself. 🙂

  • @fullsendmarinedarwin7244
    @fullsendmarinedarwin7244 3 дня назад

    Insane how small electronics are getting these days. Very impressive

  • @maker101io
    @maker101io 3 дня назад

    This is really great! I'm jealous 😇🥂

  • @koraypekericli
    @koraypekericli 3 дня назад

    Fantastic stuff, again! 🙂

  • @BloodAsp
    @BloodAsp 3 дня назад +4

    2 weeks ago I bought a bag of 20 ESP32 C3 Super Mini for less than $15 total, shipping included. I hate to not support creators because you did put a ton of work into it and I can see it in the final product. But I apologize, for throwing a ton of sensors around the house with ESPHome, I'm sticking with these little guys. Much love though, your projects are always top notch 100% amazing, keep at it!!

  • @Damian-zf2ij
    @Damian-zf2ij 3 дня назад

    Amazing!

  • @diyaneshwaran.s7693
    @diyaneshwaran.s7693 4 часа назад

    "Is there any possibility of making a 3D space mouse using magnets and this board?"

  • @portaillstonk1526
    @portaillstonk1526 2 дня назад

    that great it look like it could be use for Vr Full body tracking.

  • @dfgaJK
    @dfgaJK 2 дня назад +1

    Is it possible to make a thinner version with the esp32-c3-mini-1u ? I.e. a 0.8 or 1mm board instead.

  • @DanelonNicolas
    @DanelonNicolas 3 дня назад +1

    I want a kit to build that tiny robot car 🥰

  • @livdbest2942
    @livdbest2942 3 дня назад

    Keep up the Good Work !!!!👍👍
    Bravoooo 👏👏👏

  • @william64201
    @william64201 День назад

    Amazing

  • @MaDmanEXE
    @MaDmanEXE 3 дня назад +3

    So if a radio module is FCC/CE certified, then whole board can be?

    • @houba28
      @houba28 3 дня назад

      good question that I would like to know the answer too!

    • @chrisrose708
      @chrisrose708 3 дня назад +5

      New board would need certified as well, but the process is cheaper/faster than it would be otherwise.

    • @houba28
      @houba28 3 дня назад

      @@chrisrose708 thanks

    • @AverageJoe928
      @AverageJoe928 2 дня назад

      Yep, chrisrose708 is correct. A final device needs to be certified to FCC CFR 47, part 15 if it has an oscillator above 9kHz. The scope of testing is reduced if you use a certified wireless chip. I had EMC testing performed on a device about 2 years ago that uses an ESP32 chip and the testing and report cost about $2,100.

    • @jimjjewett
      @jimjjewett День назад

      @@AverageJoe928 Is it easier because the part that isn't certified yet isn't an _intentional_ oscillator, or is there some extra advantage to having components that already went through certificattion?

  • @gsestream
    @gsestream 3 дня назад +2

    small and cool, nice. small camera also would fit there nicely. yep cell phone style camera. small speaker etc. maybe.

    • @willcubemakes
      @willcubemakes 3 дня назад +1

      Yes!! Another small robotics video!!
      Edit: why did it reply to this comment instead of commenting??

  • @casper5314
    @casper5314 3 дня назад

    babe, Carl Bugeja uploaded a video!

  • @WoLpH
    @WoLpH 2 дня назад

    The XIAO ESP32C6 is the same size as the C3 and has an internal antenna in addition to a connection for an external one. And it has zigbee, which could be convenient for power usage.

    • @WoLpH
      @WoLpH 2 дня назад

      With that in mind, you could make your design smaller by using one of those ceramic 3D antenna's that Seeed uses for the XIAO C6.

  • @Jindraxx20
    @Jindraxx20 3 дня назад

    Thank you Carl for this great content once again ! I would like to drop a question because I'm kind of curious here. How do you make a living ? Is this channel a hobby project or main job ?
    Regards, kyf

  • @akosbalint3485
    @akosbalint3485 3 дня назад

    Great board! BNO086 may be better for IMU.

    • @CarlBugeja
      @CarlBugeja  3 дня назад +1

      Considered it but it's price was more expensive.. So the 085 was a good compromise

  • @andrewzarb4241
    @andrewzarb4241 3 дня назад

    As someone who loves to play with ESP32 modules, this is brilliant! does it support analog input from potentiometers? what about pwm output for dimmable leds? Keep up the great work, much love from Gozo

    • @CarlBugeja
      @CarlBugeja  3 дня назад

      Thanks! 🇲🇹 Yes it definitely does - check out the pinout on the website explaining which pins can be used for the adc and pwm

  • @erniea5843
    @erniea5843 3 дня назад

    Skills! 🦾

  • @Kmnri
    @Kmnri 3 дня назад

    Which Battery charger with dynamic power path chip are you using?

  • @anddop
    @anddop 3 дня назад

    Whoa he posted 👍

  • @robotboy3525
    @robotboy3525 2 дня назад

    Hey Bugeja! What is the 9-Axis motion sensor you're using ??

  • @voxar3206
    @voxar3206 2 дня назад

    Could these work well with solar cells for power harvest?

  • @ANorminalHuman
    @ANorminalHuman 2 дня назад

    WIll it be possible to add sim card capability to it in future itirations? Or will that be too big?

  • @surajit3052
    @surajit3052 3 дня назад

    Ig i have seen a similar kind of dev board from xaio itself they make even more advanced cam board for very small form factor

  • @davidbell6101
    @davidbell6101 2 дня назад

    bravo

  • @Ncky
    @Ncky 3 дня назад

    Which battery charger did you use? Nvm, found it BQ24232

  • @idkfkingknowlmao
    @idkfkingknowlmao 2 дня назад +1

    As someone who designs and measures antennas, the problem is not that the cable is shielded or not.
    The problem is that those antennas are designed while assuming that underneath them is free space, if you introduce an object (obviously metallic objects are worse) in the antenna's near-field, you change it's S11 (reflection coefficient) and radiation pattern, and it's efficiency *MIGHT* drop, since more power is reflected back to the source.
    I say might because the response is actually unpredictable, even I designing antennas for a living don't exactly know what might happen when certain objects are placed. RF is black magic after all.
    However, as you tested, the antenna seems to be responding quite well to the USB-C cable so... fair game! Good job though!

    • @jimjjewett
      @jimjjewett День назад

      Would it still be a problem when the cable isn't plugged in, just because of the socket? Because otherwise, it seems pretty reasonable to not use wireless _while_ it is plugged into USB.

    • @idkfkingknowlmao
      @idkfkingknowlmao 10 часов назад

      @@jimjjewett It depends on where the socket is placed, rule of thumb you try to follow the "Antenna cutout" most datasheets include and not place anything beneath it which, as you can see at 5:28, he followed pretty well, so the socket such cause little to no problems. It also helped that he used a thicker substrate on the bottom, keeping the socket further away from the antenna.
      Usually the problems you see is just a loss of efficiency and the antenna still works at those frequencies, just a little worse (unless you really ignore the cutout and just place whatever you want underneath it).

  • @Drawliphant
    @Drawliphant 2 дня назад

    Time for 150 gram melty brain combat robot

  • @WagonLoads
    @WagonLoads 2 дня назад

    I just saw a vid where someone connected a NANO to a digital caliper through i2c.
    It used 1.5v logic.. Would your CodeCell be able to do that and post data to MySQL?

  • @mrfashionguy1
    @mrfashionguy1 3 дня назад

    Are your products open source? I'd love to be a part of your journey in any way possible.

  • @timhu6104
    @timhu6104 20 часов назад

    xiao esp32 c6 is a good option as well.

  • @erik8362
    @erik8362 7 часов назад

    This seems like a great product! I noticed that the version with the motion sensor does not allow me to include the battery when ordering. Is this not supported or do I just need to buy it separately my self?

    • @CarlBugeja
      @CarlBugeja  5 часов назад

      It currently went out of stock.. We will restock it soon

  • @MohamedAfzal
    @MohamedAfzal 2 дня назад

    nice. which chip used for charging?

  • @Sacred-Lotus
    @Sacred-Lotus 3 дня назад

    This immediately remind me of SlimeVR trackers. Will you sell units with wiring & solder points for IMU but without the actual IMU?coz I have a bunch of BNO around 😄. I can solder them myself. This tiny C3 board should be ideal for assembly of super tiny SlimeVR trackers!😉 Pls consider selling ESP-C6 ver too. Having 2.4GHz ax channel can be helpful sometimes. Thanks.

  • @nidavis
    @nidavis 2 дня назад

    Great! Can this use ESP-NOW?

    • @CarlBugeja
      @CarlBugeja  День назад

      Yes microbots.io/blogs/learn/codecell-wifi-remote

  • @EasyOne
    @EasyOne 2 дня назад

    nice

  • @tarasluchka6886
    @tarasluchka6886 3 дня назад +1

    Great board, but 1-9 weeks shipping within the EU, or 30 euro to ship in Europe thats too much((

    • @CarlBugeja
      @CarlBugeja  3 дня назад +3

      sorry for the mistake we will update the website - in most case for the eu it will arrive in 2 weeks for standard shipment

    • @tarasluchka6886
      @tarasluchka6886 3 дня назад +1

      @@CarlBugeja great thank you!!

  • @abidshahriar7095
    @abidshahriar7095 3 дня назад

    EMI cries in the side

  • @WagonLoads
    @WagonLoads 2 дня назад

    Can it be software patched into tablets that do not have a compass,
    so I could use it to tell Google Sky Map what star my telescope is pointed at?

  • @JohnJones-oy3md
    @JohnJones-oy3md 3 дня назад

    It's already on AliExpress for $1.79 shipped.

  • @shakil1524
    @shakil1524 2 дня назад

    ESP32C3 Seeed studio's wifi & bluetooth will work without external antenna. i used it my smart watch showing internet ntp clock without antenna. please check that once without antenna it has good connections. i dont know how its work without antenna but its working.

  • @mrharvest
    @mrharvest 3 дня назад +2

    Great project! I want to give you a bit of advice for your audio though. You're hitting the compressor really hard and the first syllable of every line comes too loud. Especially obvious around 4-5 minute mark in the video. You need to use a compressor with look ahead to avoid this, or side chain the compressor to a duplicate audio track you've nudged forward by the same amount as the attack.

    • @CarlBugeja
      @CarlBugeja  3 дня назад +1

      thanks for the tip :) will look into it

  • @multiplysixbynine
    @multiplysixbynine 3 дня назад

    Will it run esphome?

  • @chipcode5538
    @chipcode5538 3 дня назад

    Nice

  • @VegetableJuiceFTW
    @VegetableJuiceFTW 3 дня назад

    why not just an UART instead of USB-C?
    A cheap USB-UART dongle can supply 3V and 5V and you could save space
    Also, half of my ESP boards have broken surface mount USB-C ports, they don't work well for prototyping :D

  • @gm64x
    @gm64x 2 дня назад

    What programs you use to project ?

  • @Kabodanki
    @Kabodanki 3 дня назад

    there's watchdog in the esp32

  • @stardustsupernova
    @stardustsupernova 19 часов назад

    I'm new to programming and microcontrollers, does anyone know if this would be compatible with circuitpython?

  • @Electorr
    @Electorr День назад

    nice

  • @111chicane
    @111chicane 2 дня назад

    ESP32 drains over 100mA with BT and Wi-Fi on. Not sure how is that a good choice for a battery operated miniature robot.

  • @Devthedev.
    @Devthedev. 3 дня назад

    try making a gyroscope