ESP32 for robot control - you should try it out!

Sdílet
Vložit
  • čas přidán 5. 09. 2024

Komentáře • 70

  • @MistahHeffo
    @MistahHeffo Před 2 měsíci +2

    It was so awesome to see a clip from Photonic Induction. That guy really knows how to blow stuff up in style. Shame he stopped posting again 😞

  • @TalismancerM
    @TalismancerM Před 2 měsíci +1

    That's a nice little induction into a new age of robotics. Cheers!

  • @JoeEarlam
    @JoeEarlam Před 2 měsíci +1

    Hey, this is really cool! It's good to see other people doing custom electronics for combat robots, I think it makes a lot of sense.
    I've been building a beetleweight with custom electronics, I realised I could avoid almost all the wiring spaghetti inside the bot by designing a PCB to handle it all, and then I could also use an MCU to control all four drive motors totally independently, as well as handle weapon control, endstops etc. I'm using a Seeed Xiao RP2040 because it's my go-to MCU in a tiny footprint (and I want to use a regular ibus RC receiver so no need for wireless), plus four integrated motor driver ICs. Rev1 works great, but 3.5A per channel is only just enough for a beetleweight, so rev2 is getting 6.5A per channel and also an IMU, so that I can experiment with closed loop control algorithms for the drive.
    Oh also, I can fill any spare board space with RGB. I bought a pack of 0807 WS281B from aliexpress and I'm going to town.

  • @jolttsp
    @jolttsp Před 2 měsíci +1

    Every time you release a video I desperately wish i had more free time to experiment with the features you mention 😢 one day I'll get back to my physical hardware ~

    • @hxtec32
      @hxtec32  Před 2 měsíci +1

      @@jolttsp thanks man. Hope you’ll make some awesome stuff when you get back to it 😁. Also, your channel badge changed to the 1 month one 👍👍 That’s very

    • @jolttsp
      @jolttsp Před 2 měsíci

      @@hxtec32 just as soon as I get out of this software dungeon 😅

  • @bengtkarlsson9747
    @bengtkarlsson9747 Před 2 měsíci

    Love S3. They are a real beast with 2 core and lots of flash.
    Started in the mid 90' with the M68HC11. Back in the days the HC11 COP watchdog ruled - but without induction ;-)

    • @hxtec32
      @hxtec32  Před 2 měsíci

      @@bengtkarlsson9747 thanks so much man!

  • @rogerramjet69
    @rogerramjet69 Před 2 měsíci +1

    nice work mate

  • @jakesheffey9256
    @jakesheffey9256 Před 2 měsíci

    Awesome induction!!! Im sorry I mean introduction. That buck converter makes your board a serious tool. I’ve been wanting to make my own esp32 board.

    • @hxtec32
      @hxtec32  Před 2 měsíci

      Thanks! Need to do the board layout and maybe even improve the boards shape before I might be able to start selling it though

  • @JimWreyford
    @JimWreyford Před 2 měsíci

    An introduction with induction.
    Very interesting looking board.

  • @buranowu
    @buranowu Před 2 měsíci

    Great work creating all these custom PCBs, with induction oc;) Much respect man!

  • @damani662
    @damani662 Před 2 měsíci

    Some of Malaysian and Indonesian sumo team already using esp32 but many just using the off the shelf module. I am also planning making sumo robot that utilise ToF, and your video come on the time. Thanks for insight and knowledge about the library and pins. Hope the next video you can share in detail about motor driver.

    • @hxtec32
      @hxtec32  Před 2 měsíci +1

      @@damani662 I think that’s what I’ll be doing next video, actually. Thanks so much!

  • @robotarenachallenge
    @robotarenachallenge Před 2 měsíci

    very nice! this is also where the esp32 shines, i would also add that to control pwm motors more than the ledc channel the esp32 has the mcpwm driver with even more timers and generators and posssibility to configure emf sensing pins for bldc control, two mcpwm each with 3 timers and comparators gets 6 more pwm channels!

    • @hxtec32
      @hxtec32  Před 2 měsíci

      @@robotarenachallenge true. Haven’t tried that yet though

  • @etreimanis
    @etreimanis Před 2 měsíci

    I hope one day this video serves as "induction" for waveshare or adafruit release a board like yours! Its so hard to find a dev board with a feature set like yours!

    • @hxtec32
      @hxtec32  Před 2 měsíci +1

      True, thanks man!

  • @emilbiju2564
    @emilbiju2564 Před měsícem

    Dude you grew up. Wow. I remember that child who used to do lego videos. This channel is amazing. Btw, u still remember me?

    • @hxtec32
      @hxtec32  Před měsícem

      @@emilbiju2564 yes, I do bro! Didn’t you win the LEGO giveaway? Thanks, stay tuned for more cool stuff 😁

    • @emilbiju2564
      @emilbiju2564 Před měsícem

      Yes I did

    • @emilbiju2564
      @emilbiju2564 Před měsícem

      I quit lego as well. Nowadays, I'm more into working out and also, I'm studying to get into a medical college to become a doctor in future

    • @hxtec32
      @hxtec32  Před měsícem

      @@emilbiju2564 that’s so cool! I want to start working out soon but I’m too young for the gyms here, even though I’d like a pull up bar or something at home (that would be fun). Hope your studying goes well 😁

    • @emilbiju2564
      @emilbiju2564 Před měsícem

      Just do pushups, ab exercises, squats and school bag curls. Calisthenics is always an option for non gymmers

  • @flolorenzo
    @flolorenzo Před 2 měsíci

    I really like your design, i do want to make my own boards in the future as well, sofar ive only used ready built modules with my projects, but designing your own pcbs levels up every project. induction ftw

    • @hxtec32
      @hxtec32  Před 2 měsíci

      Thanks dude! Induction indeed

  • @pravinvaz
    @pravinvaz Před 2 měsíci

    Well done with your board! Keen to know more if its on Tindie or someplace else. But all in for the induction for now.

    • @hxtec32
      @hxtec32  Před 2 měsíci

      Well if I get enough views and revenue from this video, maybe 😁

  • @fotografm
    @fotografm Před 2 měsíci

    Excellent video ! You offer so much good advice. Where does the video clip at 1:45 come from with the guys sitting in front of all those monitors ?

    • @hxtec32
      @hxtec32  Před 2 měsíci

      @@fotografm envato elements subscription

  • @tomaszkarwik6357
    @tomaszkarwik6357 Před 2 měsíci +1

    ToF FOR THE WIN! Love me some tof sensors

    • @hxtec32
      @hxtec32  Před 2 měsíci

      @@tomaszkarwik6357 facts! Thanks dude!

  • @YigalBZ
    @YigalBZ Před 2 měsíci

    Good and professional video! Do you sell the PCBs? also the remote?

    • @hxtec32
      @hxtec32  Před 2 měsíci +1

      Well, I get enough money from this video and future videos on these PCBs, yes. But for now, I don’t have any money to invest in manufacturing PCBs to sell to people… I would probably need to buy like 100 PCBs and 100 remotes if I was going to sell them.

  • @DaztronPlays
    @DaztronPlays Před 2 měsíci

    How about an induction for time of flight sensors

  • @shaileshparab3485
    @shaileshparab3485 Před 2 měsíci

    Such a Re"Induction" is much needed for generic boards

    • @hxtec32
      @hxtec32  Před 2 měsíci

      @@shaileshparab3485 true, true. Thanks!

  • @santynolo
    @santynolo Před 2 měsíci +1

    Yeah the chip's cool and all... But there is a slight problem... I cant get them locally in my country😂 i can only get the wroom modules(the first ones)😢

    • @hxtec32
      @hxtec32  Před 2 měsíci +1

      Dang… I don’t think I can either actually, all from digikey, mouser, or lcsc

    • @santynolo
      @santynolo Před 2 měsíci +1

      @@hxtec32 yeah, also buying from them isn't possible because of shipping😅

  • @boredbuilder
    @boredbuilder Před 2 měsíci

    Hey! They just updated the ledc library, so you only have to have 2 lines of code in void setup.

    • @hxtec32
      @hxtec32  Před 2 měsíci

      True, but I still use version 2 since it’s stable and not buggy

  • @imadaddin818
    @imadaddin818 Před 2 měsíci

    one issue holding me back from using esp32 is the 3.3v logic while off the shelf sumo ir sensors i have are 5v

    • @hxtec32
      @hxtec32  Před 2 měsíci

      @@imadaddin818 yes, you can use bidirectional logic level shifting, this one is fingernail sized and does 4 channels: www.pololu.com/product/2595 for $3… this is what I do for my own robot. If designing your own PCB, search BSS138 logic level shifting online

  • @ighost_1337
    @ighost_1337 Před 2 měsíci

    I really liked the S3 board. Is the schematic available?
    I want to see the automatic voltage detection to be specific. I have an application where I can feed 5V or 12V, but currently, I need to set a jumper manually. To avoid this manual process and prevent any potential issues, I am willing to automate it.

    • @hxtec32
      @hxtec32  Před 2 měsíci

      I haven't uploaded the schematic yet. But will let you know. In the mean time, here are some application notes about Power ORing which I would recommend reading:
      www.eetimes.com/fundamentals-of-power-system-oring/
      www.eevblog.com/forum/beginners/diode-oring-circuit/
      www.ti.com/lit/an/slvae57b/slvae57b.pdf?ts=1719792864533&ref_url=https%253A%252F%252Fwww.google.com%252F
      www.diodes.com/assets/Datasheets/AP74700Q.pdf - page 17 specifically for the power ORing stuff.
      Hope this helps.

    • @ighost_1337
      @ighost_1337 Před 2 měsíci

      @@hxtec32 Much appreciated, thank you.

  • @bato6640
    @bato6640 Před 2 měsíci

    Very cool project and PCB !
    Does anyonne know how to stop my esp32 from restarting when my servomotors are moving ?
    I think the esp does not love the current spike from the 8 big motors
    Maybe i could had a little induction load or capacitor after my 12V to 5V DC/DC regulator ?

    • @hxtec32
      @hxtec32  Před 2 měsíci +1

      @@bato6640 maybe do separate regulators for the ESP and the servos? I’m not sure though

  • @conorstewart2214
    @conorstewart2214 Před 2 měsíci

    Your current values for the sensors seem to be way off. Most dev boards don’t have high current outputs because it just isn’t needed in most cases. Sensors don’t use much power and if you have any sensitive sensors you will want to use a dedicated linear regulator for it, if you have any high power components then they should get their own supply too.

    • @hxtec32
      @hxtec32  Před 2 měsíci

      @@conorstewart2214 there are multiple sensors per bot. An LED draws about 20mA x 4 = 80mA. High powered IR distance sensors likely draw 30 to 50 mA on average x 4 = 200mA. Multi zone ranging infrared sensors like the one I had in this robot draw 100mA by themselves. I had one here, but would’ve liked to have 2, so 200mA. A buzzer takes anywhere from 200mA (small ones) to 20mA (big ones). This comment about me not knowing why none of the dev boards had a high current output was not to criticise anyone, but address the fact that there are not many ESP32-S3 dev boards designed for robotics. I said ‘these numbers’ also referring to the maximum input voltage of 36V, and the closest one to that is an Arduino Nano which I personally wouldn’t use anything more than a 3S LiPo on so that there’s a safety factor for inductive spikes. The Arduino Nano is quite an exception too, most boards will be damaged when more than 7V is used as the input voltage. Most of the sensors have decoupling on them, so I figured I wouldn’t need 3 x 300mA external LDOs (which I couldn’t even do since I don’t have a 5V source directly stepped down from the battery on this robot), and instead, used the 2.5A output of the 3.3V regulator. It is widely considered as acceptable on most ESP32-S3 boards to run sensors and even very small motors off of the microcontrollers 3.3V supply voltage. Hope this helps. Thanks :)

  • @right_curve
    @right_curve Před 2 měsíci

    I have a doubt about I2C communication in ESP-32-S3-wroom-1 I'm unable to figure out which pin or GPIO to use or there is any function To configure GPIO as SDA or SCL still in confusion please help me also I'm using MPU6050 to measure vibration Of Induction Motor.. to analyse it..

    • @hxtec32
      @hxtec32  Před 2 měsíci

      you can use any GPIOs for SDA or SCL, with Wire.begin(SDA, SCL) in Arduino. That is, any GPIOs which aren't strapping pins (0, 3, 45, 46), PSRAM pins (33, 34, 35, 36, 37), or USB pins (19, 20). Thanks

    • @right_curve
      @right_curve Před 2 měsíci

      @@hxtec32 Thanks I will try

  • @peterlue9274
    @peterlue9274 Před 2 měsíci

    When you go public, I want to get some stock. Induction

    • @hxtec32
      @hxtec32  Před 2 měsíci

      @@peterlue9274 thanks so much man! Will let you know (in a couple years, of course)

    • @peterlue9274
      @peterlue9274 Před 2 měsíci

      @@hxtec32 tyvm!

    • @peterlue9274
      @peterlue9274 Před 2 měsíci

      @@hxtec32 I have an idea for a robotics company that I think will revolutionize the world. It is simple and easily scalable. Sadly, I don't have the money or expertise to get it going. Maybe you will soon.

  • @thegaminglounge7827
    @thegaminglounge7827 Před měsícem

    Haase is such a cutie patootie

  • @akauppi2
    @akauppi2 Před 2 měsíci +1

    Induction stove is not in my kitchen.

    • @hxtec32
      @hxtec32  Před 2 měsíci

      @@akauppi2 Yessss! Thank you so much for your generous donation and membership! You are my second member so far 😁😁

  • @smb1397
    @smb1397 Před 2 měsíci

    i feel like not enough people talk abt the esp8266 thats better than arduino at everythign at the same price

    • @hxtec32
      @hxtec32  Před 2 měsíci

      @@smb1397 I’m pretty sure it’s an 8 year old chip by now. But, yes, I do agree.

  • @dhrubasaha08
    @dhrubasaha08 Před měsícem

    Inducted

  • @ZackShane
    @ZackShane Před 2 měsíci

    It was so awesome, i hope we can be friends.. just now i do my fyp project developing a pcb board for sumo robot using esp32, but i need more knowledge on that.. since u said not many people using that in sumo robot, while i see the agility of the esp32 can go futher then arduino nano .. how can i reach u? Through email or what?

    • @hxtec32
      @hxtec32  Před 2 měsíci

      Yes, through email if you go to the about page of my channel (click on the description), you can contact me if you’d like brief advice with your board (I am very, very busy though)

    • @ZackShane
      @ZackShane Před 2 měsíci

      @@hxtec32yeah sure i can email you , i will share about my fyp project