Hoverboard Reflashing via Arduino / PlatformIO

  Рет қаралды 20,387

Aaron Christophel

Aaron Christophel

4 жыл бұрын

In this video i will show you how to reflash the Mainboard of the Hoverboard and also how to flash an ESP32 Transmitter and Receiver to controll the Hoverboard via ESPnow
Here is the Firmware Paket: atcnetz.de/downloads/Hoverboa...
Part 1 Hardware: • Arduino Speed Hoverboa...
Many thanks to:
github.com/bipropellant/bipro...
and
github.com/NiklasFauth/hoverb...
Musik:
• Neovaii - Your Eyes

Пікірлер: 121
@EricRohlfs
@EricRohlfs 4 жыл бұрын
This video is the missing link! Thank you. Very well done. I'm excited to play with PlatformIO.
@BCreativeDIY
@BCreativeDIY 3 жыл бұрын
Thank you very much for sharing this information. I used a baud rate of 9600 because with a baud rate of 11520 the engines stopped from time to time for a very short time.
@ahmadhussainwebshare1001
@ahmadhussainwebshare1001 2 жыл бұрын
Thank you so much Aaron Christophel , it's working now . I changed the main board. It's working. You are super mam .Great video.
@ToniLopezMM
@ToniLopezMM 4 жыл бұрын
man you are the one did right thing. use esp and the original controller from e scooter
@jonmat1632
@jonmat1632 4 жыл бұрын
Thank you for taking the time to do the tutorial
@jonmat1632
@jonmat1632 4 жыл бұрын
Hi im getting a error on visual studio code when i build it. i get control_usart2 FAILED. how can i fix the problem?
@jonmat1632
@jonmat1632 4 жыл бұрын
i got it work by add the folder into C folder like you said in a old comment. thank you
@jonmat1632
@jonmat1632 4 жыл бұрын
I need help. i was able to upload the firmware to the motherboard and upload the Arduino software to esp32. im receiving data from the nunchuck and from the motherboard but the wheels are not moving. i tried 6 motherboards and the wheels dont move
@ram-projects6545
@ram-projects6545 Жыл бұрын
Cool project, very well explained! I'll have to take a look at ESP Now, it sounds interesting. Viele Grüße, Martin
@Fender90
@Fender90 4 жыл бұрын
Wow, wow and once more WOW! I thought your last video was the most detailed but this one just smashed everything else that relates to this topic :-) You did an amazing job. I cannot thank you enough! By the way, have you tested the max range when using ESPNow? Does it reach 400-500 meters?
@atc1441
@atc1441 4 жыл бұрын
Thank you for your super kind words :) The ESPnow connection is around the same range as wifi maybe a little bit more, but that is tested with the onboard pcb antennas. Maybe external antennas get bedder range. The reconnection speed is super fast and because it is an onboard fetaure is the reason that i used ESPnow.
@Fender90
@Fender90 4 жыл бұрын
@@atc1441 You're always welcome! Another question if you don't mind. Have you tried this on GD based boards? I've achieved pretty awkward behavior on some GD boards while everything worked normally on an STM board. Cheers!
@atc1441
@atc1441 4 жыл бұрын
It is working fine on GD and on STM boards for me See in this discussion github.com/bipropellant/bipropellant-hoverboard-firmware/issues/57
@adrianrevolotaipe3855
@adrianrevolotaipe3855 3 жыл бұрын
You are amazing, thanks to share this information vales oro¡¡¡¡¡
@Biblogie
@Biblogie 4 жыл бұрын
Thanks so much !!
@truthseeker5829
@truthseeker5829 2 жыл бұрын
Thank you for the tutorial. Can you share how you connect the receiver to the two main boards of the hoverboard? And how you build the remote control.
@embeddedmicrocontroller
@embeddedmicrocontroller 3 жыл бұрын
I lean a lot from your channel
@atc1441
@atc1441 3 жыл бұрын
Thank you for the feedback
@bratan007
@bratan007 2 жыл бұрын
I'm curious how did you connected two hoverboard controllers together for 4WD ?
@mohammadmirzaie2209
@mohammadmirzaie2209 Жыл бұрын
hello and thanks about that- Why do bldc motor stop frequently?
@David-iq4vy
@David-iq4vy 2 жыл бұрын
Hi, very nice project. On my board I would like to change only the tilt value of the gyro sensor. I want start hoverboard with smaller tilt. Don't know how to do it? Thank you
@brooklyn_uav4589
@brooklyn_uav4589 3 жыл бұрын
Hi I have a question, I have the softwear uploaded to the hoverboard motherboard and to the esp32 my problem is when I have the wheels running it would then violently jerk..help plz.
@ivanurban2383
@ivanurban2383 7 ай бұрын
I did it! Although why is mine so jerky do you have any idea? And it also breaks instantly and accelerates instantly. Do you have any idea how to change that?
@ProjektHeld
@ProjektHeld 4 жыл бұрын
Great video! You got a new subscriber! Don´t miss my project.
@ashwinar4753
@ashwinar4753 3 жыл бұрын
What do you mean by com [0] sir? actually, we are using a 2 wheel drive sir.and we are trying to send a value from the transmitter side which is not actually processed here and it shuts down immediately.
@don-jp2rs
@don-jp2rs 4 жыл бұрын
Hi, thanks for sharing all this content. is there a video on how you connect all the components in the aluminium chasiss ?
@atc1441
@atc1441 4 жыл бұрын
Hey.i already answered in some of the comments
@don-jp2rs
@don-jp2rs 4 жыл бұрын
@@atc1441 thanks for the rely. would u be interested to build a delivery robot ?
@atc1441
@atc1441 4 жыл бұрын
I am pretty much done with this project
@einargoksyrasen7636
@einargoksyrasen7636 3 жыл бұрын
@@atc1441 Hi and thanks for the videos! I have read all the comments and cant find this info. Could you please describe how you have connected the two main boards? Are they identically flashed and share the same signal input from your remote?
@McKey_YT
@McKey_YT 2 жыл бұрын
error "cannot convert 'esp_interface_t' to 'wifi_interface_t' " occurs during compilation, how can this be solved?
@mathiaschristensen5708
@mathiaschristensen5708 Жыл бұрын
Can anyone explain to me how the wiring for the different components are done? Especially the "Receiver" ESP connected to the main board.
@aleksag
@aleksag 4 жыл бұрын
How do you power your receiver-esp32? Do you use a dc-dc converter, or do you power it directly from the available 5v rails ?
@atc1441
@atc1441 4 жыл бұрын
Hi i use one of these moduls. rover.ebay.com/rover/1/711-53200-19255-0/1?icep_ff3=2&pub=5575152713&toolid=10001&campid=5337805879&customid=&icep_item=263733403095&ipn=psmain&icep_vectorid=229466&kwid=902099&mtid=824&kw=lg and connect it to the switched 42v rail. The mainboard power rails have not enough amps to power the esp32.
@aleksag
@aleksag 4 жыл бұрын
@@atc1441 Awesome, tanks so much for all the info and the effort to make it understandable!
@aleksag
@aleksag 4 жыл бұрын
@@atc1441 Another question, do you run it of a single battery? or do you use two in paralell ? Or have you just left them as is and have a common ground?
@atc1441
@atc1441 4 жыл бұрын
I use only one battery. But you could connect them in paralell only common ground could end bad. I also just have one switch in paralell
@CasperRound
@CasperRound 3 жыл бұрын
Could you please share or write a simple test script? Ive flashed the same firmware, but I would like to run it with just a hardwired joystick without two ESP's. Its driving me mad Ive been doing this for 3 days searching everywhere and cant find any code at all to get anything to move
@ronnieverwijmeren7829
@ronnieverwijmeren7829 Жыл бұрын
which wires use from hoverboard to esp32 and which pins use
@GatoRockYou
@GatoRockYou Жыл бұрын
Hey! thanks for the videos! i have a problem with my STlink V2. When i try to instal drivers with zadig it doesn't works, the first time it couldn't complete the process, the second time and following, it shows "Reinstall drivers" (same as you) and apparently it's with the last version, but if i go to visual to upload it to the board it fails >.
@itsallrhett8061
@itsallrhett8061 3 жыл бұрын
hey great video! any chance you can update this dead link to the firmware? edit: link worked in Edge only had issues with Chrome
@ahmadhussainwebshare1001
@ahmadhussainwebshare1001 2 жыл бұрын
Hey Aaron thanks for the wonderful vedio. I'm new here that's why asking crazy questions sorry for that. I've downloaded vsc, platformio extension and your firmware. But I saw main.c shows errors messages of missing some header files. pls help. Thx.
@reinierpechler454
@reinierpechler454 Жыл бұрын
Hi, Where can I find the Hoverboard Reflashing via Arduino / PlatformIO. I would like to use the hoverboard as an segway with steering. Can you tell me how a can connect the hoverboard ?
@atc1441
@atc1441 Жыл бұрын
Hey. You can use this one github.com/EFeru/hoverboard-firmware-hack-FOC
3 ай бұрын
Hello and sorry, good luck with your work... I have a problem. The communication between the transmitter and the receiver is working and everything seems fine, My problem is that there are no changes when I look at the serial monitor of the transmitter, it looks like this: Raw speed: 255 angle: 255 Computed speed: 1351 angle: 1326 Sending 21 bytes:{"speed":0,"angle":0} 303994 Raw speed: 255 angle: 255 Computed speed: 1351 angle: 1326 Sending 21 bytes:{"speed":0,"angle":0} 304096 Raw speed: 255 angle: 255 Computed speed: 1351 angle: 1326 any idea what it could be? It's a Chinese wii nunchak and it is the same with the other
@KomBinator_Yt
@KomBinator_Yt Жыл бұрын
I solved the build problem by uploading the batch directory to the root directory of the drive. A new problem has arisen. When compiling it shows: "Implicit declaration of function 'sprintf'. This problem occurs in many places.
@ahmadhussainwebshare1001
@ahmadhussainwebshare1001 2 жыл бұрын
Hey Aaron thanks for the amazing video. I followed all steps of tutorials, everything went very well. Built with no error. But in upload it was busy download some files and after few minutes it gave error to failed to open upd. Pls Aaron help.
@ahmadhussainwebshare1001
@ahmadhussainwebshare1001 2 жыл бұрын
Hey Aaron now every thing is fine , I have connected the hoverboard 3.3V to stmlink pin8 3.3v, swclk pa14 to Pin2 SWCLK, GND to Pin6 GND, PA13 SDIO to pin4 SWDIO, when I do this connection the blue LED on stm32 link goes off. and short the white jumper for flash and press download button at vsc it give message OpenOCD init failed. Kindly help me.
@atc1441
@atc1441 2 жыл бұрын
Hey. Sorry its hard to help on that. It could be that the stm needs to be unlocked first.
@ahmadhussainwebshare1001
@ahmadhussainwebshare1001 2 жыл бұрын
@@atc1441 HI thx for prompt response. You are a star. I'm using stm32 link can you give me any idea how to unlock stm32 link .Thx .
@AndresLagunadotCom
@AndresLagunadotCom 2 жыл бұрын
Good Video! didn't work for me but I think is due I didn't understand the pinout connection between the ESP32 receiver and the mother board. any help is welcome. And sorry for my ignorance but just make sure: Receiver to hoverboard Transmitter to nunchuck . Rigth? thank you!
@atc1441
@atc1441 2 жыл бұрын
Hey, sounds about right yes
@AndresLagunadotCom
@AndresLagunadotCom 2 жыл бұрын
@@atc1441 Thanks! and the connection to the hoverboard with the ESP32 receiver is the same like the Nunchucks but to the right short cable of the mother board. Correct?
@Biblogie
@Biblogie 4 жыл бұрын
how do you actually connect the arduino to the hoverboard ? with the tx rx of the right sensor ?
@atc1441
@atc1441 4 жыл бұрын
I am using uart 2 wich is the left sensor board. And on the esp i set the pinout via the serial.begin you can read it there: serial1 = pin 26 and 27 and serial2 = pin 16 and 17.
@Biblogie
@Biblogie 4 жыл бұрын
@@atc1441 ok thanks , when i try to build he firmware i get this : " error: Flashing\bipropellant-hoverboard-firmware/STM32F103RCTx_FLASH.ld: No such file or directory" I just unzip your file and put it there i touched nothing , but I keep having this error
@atc1441
@atc1441 4 жыл бұрын
try putting the folder directly in C HDD and then compile again, also got this sometimes and i think that is because of a long folder name, after shortening the folder name by putting in C id did compiled
@Biblogie
@Biblogie 4 жыл бұрын
@@atc1441 It's work to put it in C !! thanks
@Biblogie
@Biblogie 4 жыл бұрын
Now im trying to change the receiver code to use only one Channel since im using à arduino nano. do you have a code just for 1 serial connections and not 3 ?
@WagonLoads
@WagonLoads 22 күн бұрын
I need to know how to do this using Arduino C on a esp32-S3.. Can you make a video and github for esp32-S3 Arduino C ? If possible do not use tabs in the code. I hate tabs... Are there hoverboard.h libraries? and explain how the esp sends control to the hoverboard PCB... Serial, i2c, PWM, etc.... My plan is to control 6 wheels and get telemetry feedback from onboard sensors like: battery level, compass, GPS, temperature, video, etc... I hope you can help.. Thanks
@raddicon
@raddicon 4 жыл бұрын
Geile Sache! Ich würde gerne das ganze mit nur einem Hoverboard realisieren (also 2WD) - wie muss ich den Code für den Receiver ändern damit es für nur ein Hover-Mainboard funktioniert anstatt für 2? Ich hab es erst alles original aus deinem Firmware Paket gelassen, einen ESP32 als Transmitter und den anderen als Receiver. Per Serial Monitor sehe ich auch dass am Receiver etwas ankommt, aber das Hoverboard reagiert nicht drauf, liegt es daran dass der Receiver noch ein zweites Board erwartet? Per PWM hab ich das Hoverboard schon mit einer normale RC Fernsteuerung steuern können, würde aber gerne 2WD mit ESP über WLAN steuern :) danke!
@atc1441
@atc1441 4 жыл бұрын
Moin. Ich nutze genau den selben code für das zweite (2WD) teil und es funktioniert. Also das sollte kein problem sein. Er zeigt nur von einem der seriellen ports die akkuspannung und geschwindigkeit an aber drehen sollte es bei beiden ports. Es muss also etwas anderes sein. Nutzt du die anderen serial ports? Also pin 27, 26 oder 16, 17 ? Hast du auch das hoverboard mainboard mit dem neuen code geflasht ?
@raddicon
@raddicon 4 жыл бұрын
@@atc1441 Du bist ein geiler Typ, danke für deine Antwort! Ich hab jetzt Hoverboard und beide ESP32 mit deinem Firmware-Paket geflashed und alles original gelassen, nichts am Code verändert. Der Nunchuk wird am Transmitter ESP erkannt, das sehe ich über den serial Monitor. Den Receiver habe ich über GPIO 16 und 17 an PA2 und PA3 vom Hoverboard Mainboard (linkes Sensorboard) angeschlossen. Die Signale vom Transmitter kommen auch am Receiver an (serial Monitor) aber das Hoverboard reagiert nicht drauf und meldet auch keine Daten an den Receiver zurück, habe ich falsch verkabelt? 5V und GND für den Receiver nehm ich momentan noch über Micro USB von einer externen Stromquelle.
@atc1441
@atc1441 4 жыл бұрын
Moin das hört sich eigentlich alles so an wie es soll. Ganz blöde Frage drückst du auch den Z Button beim Nunchuk? Damit wird der Motor erst aktiviert weiß gerade nicht genau ob Z oder C Und piept das Hoverboard auch fröhlich wenn du den Empfänger ansteckst oder abziehst?
@raddicon
@raddicon 4 жыл бұрын
@@atc1441 Ja C und/oder Z Taste habe ich dazu gedrückt beim Stick bewegen. Das Hoverboard piept nicht beim an oder abstecken des ESP32. Hoverboard hatte ich vorher mit der Firmware von Niklas Fauth erfolgreich geflashed und jetzt deine drüber geflashed, vorher natürlich mit "make" compiliert. Könntest du mir die HEX vielleicht zur Verfügung stellen? Gerne per mail: vantanj (at) hotmail.de - Ich danke dir!
@raddicon
@raddicon 4 жыл бұрын
@@atc1441 Ich seh gerade dass du das ganze per Platform.io flashed, das probiere ich jetzt nochmal :)
@Biblogie
@Biblogie 4 жыл бұрын
so there is no modification to do in the bepropellant firmware what so ever ?
@atc1441
@atc1441 4 жыл бұрын
With the firmware package i have in my folder linked in the description everything is ready and should work out of the box. When using the firmware from github you need to change a bit and take the correct protocoll branch.
@Biblogie
@Biblogie 4 жыл бұрын
@@atc1441 ok I will try to do it out the box first, the. modify the code to control the arduino with my phone/ps3 controller via Bluetooth
@atc1441
@atc1441 4 жыл бұрын
That is a nice idea. You can also leave the hoverboard Code as it is because you would only need to change the receiver code. :)
@harishr8327
@harishr8327 2 жыл бұрын
hi, kindly share the the Firmware Paket pls. the like u shared is not working so. pls upload the link again
@atc1441
@atc1441 2 жыл бұрын
Hey. The link still works fine. Just checked it
@brooklyn_uav4589
@brooklyn_uav4589 4 жыл бұрын
Nice job but is it possible to run this on the esp8266?
@atc1441
@atc1441 4 жыл бұрын
Hi. Yes that is possible. Espnow is also available on the esp8266. But you need to change the code a bit
@atc1441
@atc1441 4 жыл бұрын
And the esp8266 does only have one serial port! So only one hoverboard can be connected
@brooklyn_uav4589
@brooklyn_uav4589 4 жыл бұрын
Thank for your response guess I'll be getting some esp32's
@Verial1966
@Verial1966 4 жыл бұрын
@@atc1441 one esp can connect 2 controllers connect the RX TX of two controllers together.
@atc1441
@atc1441 4 жыл бұрын
Hi unfortunately not. I tested it. On 3.3v system that doesnt work. On 5v it does work. You need to somehow split the signal. And also the protocoll is sending data back to the esp so it would be irritated
@ahmadhussainwebshare1001
@ahmadhussainwebshare1001 2 жыл бұрын
Hi Aaron thanks lot for great vedio. I'm new in Robotics programming, I have installed vs2019 in my computer, need help to install platformio IDE and also need stm32 can work , I bought one doesn't work at all with stm32 cube programmer. Pls help me , I can pay you for your services 🙏
@atc1441
@atc1441 2 жыл бұрын
Hey you need vsc not vs2019 greetings
@juanmakabayan6577
@juanmakabayan6577 4 жыл бұрын
Aaron thank you so much for great tutorial. I have some error during compiling. arm-none-eabi-gcc: fatal error: no input files compilation terminated. arm-none-eabi-gcc: fatal error: no input files compilation terminated. arm-none-eabi-gcc: fatal error: no input files compilation terminated.
@atc1441
@atc1441 4 жыл бұрын
Hi and thank you. Unfortunately that is no error i know. What sketch do you want to compile there ?
@juanmakabayan6577
@juanmakabayan6577 4 жыл бұрын
@@atc1441 i'm just trying to compile the platformio.ini fille. Thanks.
@juanmakabayan6577
@juanmakabayan6577 4 жыл бұрын
*** [.pio\build\control_usart2\src\comms.o] Error 1 *** [.pio\build\control_usart2\src\deadreckoner.o] Error 1 arm-none-eabi-gcc: fatal error: no input files
@juanmakabayan6577
@juanmakabayan6577 4 жыл бұрын
Warning! Cannot find a linker script for the required board! Firmware will be linked with a default linker script!
@atc1441
@atc1441 4 жыл бұрын
Ok. Please try then to copy the project folder to the C: HDD directly at the beginning. I had this problem also sometimes. If i understand it correctly. And some other persons here in the comments also.
@MarcoAsTeixeira
@MarcoAsTeixeira 4 жыл бұрын
Hello, does it work with any card? I have a LENZOD card, which looks a lot like yours, but when I plug in the st-link, the card keeps beeping, and is not recognized by the st-link program, link of problem github.com/NiklasFauth/hoverboard-firmware-hack/issues/152
@atc1441
@atc1441 4 жыл бұрын
Hi, should work with it yes, i think you need to unlock the STM first you can do it in the menu of the StFlasher software
@brois2956
@brois2956 Жыл бұрын
hi Aaron Ich habe viele Geräte gekauft und viele Male versucht, das Hoverboard und den ISP zu programmieren, und es ist mir nicht gelungen, also schlage ich vor, dass ich Ihnen 2 Hoverboards mit 2 ISPs schicke, um sie für mich zu programmieren und sie mir und dem Geld, das Sie verlangen, zurückzugeben , wir werden uns darauf einigen, während Sie in Deutschland und ich in Schweden bin
@Verial1966
@Verial1966 4 жыл бұрын
can I see the wiring diagram?
@atc1441
@atc1441 4 жыл бұрын
Hi please look at the other comments. I dont have it but its written in the comments
@Verial1966
@Verial1966 4 жыл бұрын
COM[0]->begin(115200, SERIAL_8N1, 03, 01); COM[1]->begin(115200, SERIAL_8N1, 27, 26); 27-rx 26-tx COM[2]->begin(115200, SERIAL_8N1, 16, 17); 16 - rx 17-tx correctly ?
@atc1441
@atc1441 4 жыл бұрын
Yes that is correct :)
@Verial1966
@Verial1966 4 жыл бұрын
@@atc1441 where do you use COM0 ?
@atc1441
@atc1441 4 жыл бұрын
Com 0 is for debug messages, it is connected to the usb port on the esp32
@KomBinator_Yt
@KomBinator_Yt Жыл бұрын
Hello. I have a problem compiling this project. I get this message in visual studio: arm-none-eabi-gcc: error: Flashing/bipropellant-hoverboard-firmware/STM32F103RCTx_FLASH.ld: No such file or directory *** [.pio/build/control_usart2/firmware.elf] Error 1 Please help
Arduino Speed Hoverboard conversion
10:48
Aaron Christophel
Рет қаралды 43 М.
Alat Seru Penolong untuk Mimpi Indah Bayi!
00:31
Let's GLOW! Indonesian
Рет қаралды 10 МЛН
Luck Decides My Future Again 🍀🍀🍀 #katebrush #shorts
00:19
Kate Brush
Рет қаралды 8 МЛН
🌊Насколько Глубокий Океан ? #shorts
00:42
Hoverboard flashing for beginners (red != +14V)(adc wheelchair)
18:06
GPN18 - HowTo: Moving Objects
39:02
media.ccc.de
Рет қаралды 65 М.
Extracting and Modifying Firmware with JTAG
21:03
Matt Brown
Рет қаралды 35 М.
Motorized IKEA-Sofa from Scraps (Custom Hoverboard FOC)
7:11
Hoverboard Firmware Hack
11:05
JoLi Ull
Рет қаралды 17 М.
hacking hoverboard wii
9:14
tchangly21
Рет қаралды 31 М.
Intro to Hardware Reversing: Finding a UART and getting a shell
12:07
Tony Gambacorta
Рет қаралды 881 М.
Split Hoverboard Gen 2.x firmwares - finally :-)
12:45
robo durden
Рет қаралды 11 М.
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 5 МЛН
#miniphone
0:16
Miniphone
Рет қаралды 3,6 МЛН
Main filter..
0:15
CikoYt
Рет қаралды 12 МЛН
Gizli Apple Watch Özelliği😱
0:14
Safak Novruz
Рет қаралды 4,6 МЛН
APPLE совершила РЕВОЛЮЦИЮ!
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 4,4 МЛН