ESP32 for robot control - you should try it out!

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024

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

  • @MistahHeffo
    @MistahHeffo 3 месяца назад +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 3 месяца назад +1

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

  • @JoeEarlam
    @JoeEarlam 3 месяца назад +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 3 месяца назад +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  3 месяца назад +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 3 месяца назад

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

  • @bengtkarlsson9747
    @bengtkarlsson9747 3 месяца назад

    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  3 месяца назад

      @@bengtkarlsson9747 thanks so much man!

  • @buranowu
    @buranowu 3 месяца назад

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

  • @JimWreyford
    @JimWreyford 3 месяца назад

    An introduction with induction.
    Very interesting looking board.

  • @jakesheffey9256
    @jakesheffey9256 3 месяца назад

    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  3 месяца назад

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

  • @robotarenachallenge
    @robotarenachallenge 3 месяца назад

    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  3 месяца назад

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

  • @rogerramjet69
    @rogerramjet69 3 месяца назад +1

    nice work mate

  • @damani662
    @damani662 3 месяца назад

    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  3 месяца назад +1

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

  • @etreimanis
    @etreimanis 3 месяца назад

    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  3 месяца назад +1

      True, thanks man!

  • @emilbiju2564
    @emilbiju2564 2 месяца назад

    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  2 месяца назад

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

    • @emilbiju2564
      @emilbiju2564 2 месяца назад

      Yes I did

    • @emilbiju2564
      @emilbiju2564 2 месяца назад

      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  2 месяца назад

      @@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 2 месяца назад

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

  • @flolorenzo
    @flolorenzo 3 месяца назад

    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  3 месяца назад

      Thanks dude! Induction indeed

  • @tomaszkarwik6357
    @tomaszkarwik6357 3 месяца назад +1

    ToF FOR THE WIN! Love me some tof sensors

    • @hxtec32
      @hxtec32  3 месяца назад

      @@tomaszkarwik6357 facts! Thanks dude!

  • @pravinvaz
    @pravinvaz 3 месяца назад

    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  3 месяца назад

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

  • @YigalBZ
    @YigalBZ 3 месяца назад

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

    • @hxtec32
      @hxtec32  3 месяца назад +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.

  • @santynolo
    @santynolo 3 месяца назад +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  3 месяца назад +1

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

    • @santynolo
      @santynolo 3 месяца назад +1

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

  • @fotografm
    @fotografm 3 месяца назад

    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  3 месяца назад

      @@fotografm envato elements subscription

  • @shaileshparab3485
    @shaileshparab3485 3 месяца назад

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

    • @hxtec32
      @hxtec32  3 месяца назад

      @@shaileshparab3485 true, true. Thanks!

  • @DaztronPlays
    @DaztronPlays 3 месяца назад

    How about an induction for time of flight sensors

  • @boredbuilder
    @boredbuilder 3 месяца назад

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

    • @hxtec32
      @hxtec32  3 месяца назад

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

  • @conorstewart2214
    @conorstewart2214 3 месяца назад

    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  3 месяца назад

      @@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 :)

  • @ighost_1337
    @ighost_1337 3 месяца назад

    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  3 месяца назад

      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 3 месяца назад

      @@hxtec32 Much appreciated, thank you.

  • @imadaddin818
    @imadaddin818 3 месяца назад

    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  3 месяца назад

      @@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

  • @bato6640
    @bato6640 3 месяца назад

    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  3 месяца назад +1

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

  • @thegaminglounge7827
    @thegaminglounge7827 2 месяца назад

    Haase is such a cutie patootie

  • @right_curve
    @right_curve 3 месяца назад

    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  3 месяца назад

      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 3 месяца назад

      @@hxtec32 Thanks I will try

  • @akauppi2
    @akauppi2 3 месяца назад +1

    Induction stove is not in my kitchen.

    • @hxtec32
      @hxtec32  3 месяца назад

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

  • @smb1397
    @smb1397 3 месяца назад

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

    • @hxtec32
      @hxtec32  3 месяца назад

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

  • @peterlue9274
    @peterlue9274 3 месяца назад

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

    • @hxtec32
      @hxtec32  3 месяца назад

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

    • @peterlue9274
      @peterlue9274 3 месяца назад

      @@hxtec32 tyvm!

    • @peterlue9274
      @peterlue9274 3 месяца назад

      @@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.

  • @dhrubasaha08
    @dhrubasaha08 2 месяца назад

    Inducted

  • @ZackShane
    @ZackShane 3 месяца назад

    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  3 месяца назад

      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 3 месяца назад

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