Dear robo durden, thankyou for this video and the online compiler.. with out these my project would have failed and died...It now works 100% thanks to You!!!
Danke für den Compiler! Ohne den, hätte ich es wohl nie geschafft, die Motoren mit dem original Controller zum laufen zu bringen. Es ist super, so einen Einblick in die Welt der Programmierung zu erhalten. Die Erklärungen in den Files sind auch sehr hilfreich. gruss aus dem Emmental. 😀
I've just put male header pins on the board, put markers for +,-, swd,sck, and cables are on the ST-Link dongle. And, by the way, I use KeiluV IDE for compiling and debugging. In my case, code written for the STM32, after compiling, works the same for Giga Device GD130.
Hallo Robo Durden Ich versuche seit ein paar Tagen, die Firmware meines Hoaverboards zu hacken. Ich habe alles versucht. Ich habe zwar eine Hex-Datei von lucyrausch draufgelegt, aber sobald ich das Hoaverboard einschalte, drehen sich die Räder eine Weile vorwärts und rückwärts und dann schaltet es sich automatisch aus. Ich versuche, es mit zwei 100bk-Potentiometern zu steuern, aber das funktioniert nicht.Ich verstehe nicht viel über Programmierung und mein Englisch ist auch nicht so gut. Gibt es irgendwo eine Hex-Datei, die damit funktioniert?
ich bin wirklich kurz davor, alle meine videos zu löschen, weil Ihr alle eh verblödet seid. Es wäre wohl hilfreich zu sagen, welche hex datei Du wo heruntergeladen hast. Aber okay, lucyrausch bietet eigentlich nur eine einzige firmware an und die dreht nun mal nur zum test vorwärts und rückwärts. Jetzt musst Du eigene firmware compilieren. Ist in dem video hier erklärt. Gehst Du zu meinem online compile, wählst die EFeru FOC firmware und aktivierst in der config.h VARIANT_ADC.
@@robodurden Hallo Robodurden Vielen Dank für Ihre schnelle Antwort. Ich habe erst vor kurzem damit angefangen, also weiß ich nicht viel darüber, aber man ist nie zu alt, um zu lernen und um Hilfe zu bitten. Ich werde es noch einmal versuchen, wie du mir jetzt sagst, ich hoffe, dass es mir gelingen wird. Und noch einmal vielen Dank für Ihre Hilfe.
Hi! when I try to hit Program&Verify in the target menu it always gives me the error "cannot connect to target! If you're trying to connect to an STM32W1xx device, please select Normal or HotPlug mode from Target->Settings menu. If you're trying to connect to a low frequency application , please select a lower SWD Frequency mode from Target->Settings menu." Then, when I change it to Normal or Hotplug it says: "Can not connect to target! Please select "Connect Under Reset" mode from Target->Settings menu and try again. If you're trying to connect to a low frequency application , please select a lower SWD Frequency mode from Target->Settings menu." Would be grateful for any help!
@@ValFPV these new boards with the 403 chip are not compatible anyway.. go to EFeru GitHub and offer another $10 for a beginner tutorial on how to compile a port of his firmware. Do it.
Niklas Fauth nennt sich inzwischen LucysRausch: github.com/lucysrausch/hoverboard-firmware-hack/blob/master/build/hover.hex Oder bei mir compilieren: pionierland.de/hoverhack/
Mega 😘 super schnelle Anwort 👍 Deine Seite kenne und liebe ich. Vor ca. 1 Jahr habe ich mir eine fahrende Bierkiste gebaut und mich da ausgiebig mit deiner Seite befast. Aktuell habe ich 2 neue Projekte. 1. Skateboard 🤙 2. Rasenmäher der mit RC Fernsteuerung gesteuert wird. Die Firmware für das Skateboard habe ich wird mit deiner Seite angepasst. Nur leider läuft der Motor am linken Ausgang schlechter. Er läuft nicht mit dem rechten zusammen an bzw. sehr unregelmäßig. Deshalb fand ich die "test firmware" sehr praktisch. Bevor ich da jetzt verzweifel, erstmal schauen, ob alle i.O. ist.
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
hi i have the exact same board tried flashing EFeru's firmware and connecting to arduino test code the motor starts spinning at high velocity and never stops unless Tx is removed. I noticed that the hall sensors cables are not exactly color matched from this board to my motor's encoder pins.... could this be the problem Did you make any changes in your hall sensor wiring with this board. I tried matching the colors and the results were the same :( please help
I never needed to change the 5 pin hall sensor sockets. But you might need to change the three phases. And beware of +15 volt on the black cable of the serial cables. Those with wrong color was also the one with wrong color in the three phases
Can you advise. I am having connection problem, I am using stm32 cube programmer and st link V2, upgraded the firmware, diconnected and reconnected st link, still couldn't establish connection
Try connecting to a "blue pill stm32f103c8t6" with a cheap St link V2 clone: a.aliexpress.com/_EHW9bLn Make sure you have a hoverboard controller with a stm32f103 on board. New boards have the 32f403 and there is currently now easy Tutorial how to flash a new firmware.
@@sayedme2uc as I said, learn how to flash a hello world onto a blue pill. If you then still can not do the same with the hoverboard controller, there must be something wrong with it. I never had an issue with one being write protected. First time you get a pop-up and confirm to unlock the board..
Hi do you have any idea which firmware will work on split board I got dual pcb GD32F103C8T6 it also have external interface connecter but no information available about it.
Hey man! I am trying to build a 4wd hoverboard skateboard with your firmware. the problem is that I am trying to use the field weaking feature, but the problem is that the wheels doesn't spin free when I am stop squeezing the throttle. do you have a solution?
Hey, I ran the firmware and just uncommented the adc control and when I start the board the motor rapidly spins to max speed and when I move the Potis just changes a lil bit the speed. It also cuts out when accelerating rapidly
Probably wrong colors on the three motor phases. Try connecting differently. Flash the lucysrausch firmware as it operators in test mode without any modifications. When this works but adc not, then there is something wrong with your potentiometer.
@@robodurden Hey, when I connect the battery and press the button it does not start, I measured the power button connector and it has 39v, what may be wrong?
@@gianlucadionisi6730 First the motors spin strangely now the board does not even start up. When you keep information for yourself I can not help you. Watch my repair video with the three voltage controllers on the board..
@@gianlucadionisi6730 nothing. Take a look at page 5 of github.com/EFeru/hoverboard-firmware-hack-FOC/raw/main/docs/20150722_hoverboard_sch.pdf The 39V are behind a 30k resistor and get pulled down by a 2k resistor when on-switch is pressed.
hi thanks for your aswome work! A question : can i control independently the motors ? for exemple : right motor to 5kmh and left motor to 1kmh ? i want to use this project for a gate opener :) thanks !
There might be a tank mode where you can control each Motor directly. Take a look at all the variant_xy of Emanuel Firmware. But you can always use speed and steer to set speed for left and right.
Wonderful compiler and nice videos. Everything works for me. So we’ll now i am into a new project: Bluetooth joystick made with app invetnor and Esp32 to control the hoverboard. Is there anyway to contact you in private? Thanks 🙏
@@robodurden if that’s your choice i am sure you are doing find with it! 💪🏼 It would be interesting to see a video tutorial about the simple subject I mentioned before. If you help me i can make some subtitles in spanish for some of your videos. Not friends, just collaborative
Hi! What resistance of potentiometers should i use to control these boards after slashing? I can't find that info anywhere which value is the best, or does that not really matter?
@@YouCantNow You can flash the good old Niklas Fauth firmware (now called LucysRausch) with CONTROL_MOTOR_TEST. This does not need any input and simply spins the motors forwards and backwards: raw.githubusercontent.com/lucysrausch/hoverboard-firmware-hack/master/build/hover.hex
@@YouCantNow ??? I posted the link. If TH-cam indeed does not show a GitHub link, find the GitHub repo of lucysrausch = NiklasFauth yourself. Or use my online compiler to compile the hex/bin yourself.
Can you advise if main board is flashed and working with potentiometers, how to get connected rc receiver instead of potentiometers? Updates. All is done, board is working as should, video with lawnmower on my channel.
@@andrewkennett940 yes. And If pwm input is on long UART cable, be sure to only send 3.3 V. Short UART can take 5V. But better use that one for debug output..
@@SAMETELMACI go to the GitHub repos and study the nice wireing photo. The long UART cable uses two stm32 pins that can also do ADC. So the Rx and tx wires can take 3.3V analog input. The short UART cable is only digital. But can take 5V.
gracias por tanto, muy bueno tu video. quiero poner hoverboard a mi silla de ruedas pero llego a emanuelfoc y no entiendo. podrias ayudarme?, gracias, abrazo.
Thank you so much for great video. I'm new here, following your tutorial to firmware flash, do we need to provide 36v supply to hoverboard while connecting to stm32 link. Because when I connect 3.3v of STM32 link to hoverboard, STM32 link blue light goes of and stmcube shows target not found. pls help. God bless you
Yes I didn't watch, after watching full video I found answer of question, I will try later then let you know the results. One word for you , you are a star. Thx .God bless you
there are so many, just search 'usb serial' on aliexpress or ebay. You should buy one which has a DTR pin - good for programming an Arduino Mini. And 3.3V/5V jumper/switch. This one is nice for debugging outdoor: www.aliexpress.com/item/32617951363.html Buy two or three different ones, they are cheap.
@@robodurden Unfortunately, this comes up when I delete the two // and compile-ends. In file included from Inc/defines.h:27:0, from Src/setup.c:38: Inc/config.h:664:4: error: #error DEBUG_SERIAL_USART3 and FEEDBACK_SERIAL_USART3 not allowed, choose one. #error DEBUG_SERIAL_USART3 and FEEDBACK_SERIAL_USART3 not allowed, choose one. ^~~~~ Inc/config.h:668:4: error: #error DEBUG_SERIAL_USART2 and DEBUG_SERIAL_USART3 not allowed, choose one. #error DEBUG_SERIAL_USART2 and DEBUG_SERIAL_USART3 not allowed, choose one. ^~~~~ Inc/config.h:686:4: error: #error CONTROL_ADC and SERIAL_USART2 not allowed. It is on the same cable. #error CONTROL_ADC and SERIAL_USART2 not allowed. It is on the same cable. ^~~~~ make: *** [build/setup.o] Error 1
@@robodurden I connected it vía ardurino nano with Emanuel serial code, and later with your test code but there is no output. I will try with usb UART adapter when I buy one:D
@@dawidh6422 our Arduino example codes can output the Feedback struct. Take another Arduino and use it as an uart dongle by receiving on a software serial. If it is a low frequency beeping it probably is the missing serial communication. Check that both baud rates are the same.
@@robodurden I used the serial USB to uart adapter and there is no Output. I tried diferent baud Rates and connections between RX and TX. So i am guessing that the board is Broken?
@@dawidh6422 as I said in the video, first always flash and test the test version of the Niklas original. As your board is beeping, the microcontroller seems to be okay.
so if I put a new firmware on my stock mainboard I can control the motor with a Thumbthrottle via one of the two controler board with the gyroscope on it? Am I Right?
You usually control the motors with potentiometers or ppm or pwm or uart or nun huck controll. You Tell me if Emanuel Feru offers a variant_xy that uses the acceleration sensor of a daughter board as input.
@@robodurden I meant the cables where the stock controllerboards are attached... these are the Uart cables right? And if I put a potentiometer on one of the two uart cables, I can controll the speed of the motors. Did I got that right?
@@TheLeMarcDe yes the blue and green cable of the long daughter board cables are used as adc inputs for variant_adc. Watch my absolute beginners video :-( these two cables are NOT 5V tolerant!
@@robodurden OK after your "full tutorial video" I think i got it... when the st link arrives I will try it... no matter how it turns out i will tell my progress... Thanks and greetings from Frankfurt
The St link came today but the File from niklas isnt a BIN file... I got the Files from Github and unpacked it, but now its a normal Folder and the st link software does not list it.
Hi, robo durden ! Your video was very helpful to me. There were many problems, but I finally uploaded the firmware. One problem is that I want to reduce the maximum speed to a quarter. I'm not good at coding. However, I wonder which part of the source code should be changed. Please.
@@andesjose8 you can add speed *= 0.25; in main.c at line 278. Depending on CTRL_MOD_REQ in line 144 of config.h this will quater the max pwm or max voltage or max torque. Not really a good idea as the efficiency of the motor is best at 100%.
@@bahrulhuda5564 if you want to make use of the steer value than better go with the original Emanuel Feru Firmware. My fork is only for my variant_uartcar which only need the speed because a car has a steering wheel. You can connect the two potentiometers of the joystick directly to the hoverboard controller as I have shown in this video. Or choose a uart communication variant and let the esp32 read the joystick and send serial speed and steer commands.
@@robodurden my friend I am looking for your help to make wheels backwards i am use one potentiometer with green wire . I try many time nothing successful
Dear robo durden, thankyou for this video and the online compiler.. with out these my project would have failed and died...It now works 100% thanks to You!!!
Danke für den Compiler! Ohne den, hätte ich es wohl nie geschafft, die Motoren mit dem original Controller zum laufen zu bringen. Es ist super, so einen Einblick in die Welt der Programmierung zu erhalten. Die Erklärungen in den Files sind auch sehr hilfreich. gruss aus dem Emmental. 😀
Thank you so much Robo Durden, it's working now . I changed the main board. It's working. You are super mam .Great video.
I've just put male header pins on the board, put markers for +,-, swd,sck, and cables are on the ST-Link dongle.
And, by the way, I use KeiluV IDE for compiling and debugging. In my case, code written for the STM32, after compiling, works the same for Giga Device GD130.
Great video man, been looking how to wire a RPI with serial. This definitely helps !
Hallo Robo Durden
Ich versuche seit ein paar Tagen, die Firmware meines Hoaverboards zu hacken.
Ich habe alles versucht.
Ich habe zwar eine Hex-Datei von lucyrausch draufgelegt, aber sobald ich das Hoaverboard einschalte, drehen sich die Räder eine Weile vorwärts und rückwärts und dann schaltet es sich automatisch aus.
Ich versuche, es mit zwei 100bk-Potentiometern zu steuern, aber das funktioniert nicht.Ich verstehe nicht viel über Programmierung und mein Englisch ist auch nicht so gut.
Gibt es irgendwo eine Hex-Datei, die damit funktioniert?
ich bin wirklich kurz davor, alle meine videos zu löschen, weil Ihr alle eh verblödet seid. Es wäre wohl hilfreich zu sagen, welche hex datei Du wo heruntergeladen hast.
Aber okay, lucyrausch bietet eigentlich nur eine einzige firmware an und die dreht nun mal nur zum test vorwärts und rückwärts.
Jetzt musst Du eigene firmware compilieren. Ist in dem video hier erklärt. Gehst Du zu meinem online compile, wählst die EFeru FOC firmware und aktivierst in der config.h VARIANT_ADC.
@@robodurden Hallo Robodurden
Vielen Dank für Ihre schnelle Antwort.
Ich habe erst vor kurzem damit angefangen, also weiß ich nicht viel darüber, aber man ist nie zu alt, um zu lernen und um Hilfe zu bitten.
Ich werde es noch einmal versuchen, wie du mir jetzt sagst, ich hoffe, dass es mir gelingen wird.
Und noch einmal vielen Dank für Ihre Hilfe.
my board makes high pitch noise when i press power button, i think it is dead, is it dead?
I watched full video and followed every step exactly as you mentioned in video. But getting error target not found. Pls help
Hi!
when I try to hit Program&Verify in the target menu it always gives me the error "cannot connect to target! If you're trying to connect to an STM32W1xx device, please select Normal or HotPlug mode from Target->Settings menu. If you're trying to connect to a low frequency application , please select a lower SWD Frequency mode from Target->Settings menu."
Then, when I change it to Normal or Hotplug it says: "Can not connect to target! Please select "Connect Under Reset" mode from Target->Settings menu and try again. If you're trying to connect to a low frequency application , please select a lower SWD Frequency mode from Target->Settings menu."
Would be grateful for any help!
Does the USB dongle show up in the windows device manager ?
Does the board hase a gd32F103 or stm32f103 CPU ?
On-switch on board bridged ?
@@robodurden yes, it shows up as "STM32 STLink".
The cpu on it says AT32F403RCT6 (maybe it's not compatible?) and the on-switch is bridged
@@ValFPV these new boards with the 403 chip are not compatible anyway.. go to EFeru GitHub and offer another $10 for a beginner tutorial on how to compile a port of his firmware. Do it.
@@robodurden is the EFeru firmware compatible with the 403 chip?
@@ValFPV no. But someone succeeded porting it and made a Tutorial how to compile and flash. But it is not for beginners.
Hi, vielen Dank für das hilfreiche Video 👍
Wo bekomme ich die test firmware von Niklas Fauth her?
Finde die nirgendwo 🤷♂️
Niklas Fauth nennt sich inzwischen LucysRausch: github.com/lucysrausch/hoverboard-firmware-hack/blob/master/build/hover.hex
Oder bei mir compilieren: pionierland.de/hoverhack/
Mega 😘 super schnelle Anwort 👍
Deine Seite kenne und liebe ich. Vor ca. 1 Jahr habe ich mir eine fahrende Bierkiste gebaut und mich da ausgiebig mit deiner Seite befast.
Aktuell habe ich 2 neue Projekte.
1. Skateboard 🤙
2. Rasenmäher der mit RC Fernsteuerung gesteuert wird.
Die Firmware für das Skateboard habe ich wird mit deiner Seite angepasst.
Nur leider läuft der Motor am linken Ausgang schlechter.
Er läuft nicht mit dem rechten zusammen an bzw. sehr unregelmäßig.
Deshalb fand ich die "test firmware" sehr praktisch.
Bevor ich da jetzt verzweifel, erstmal schauen, ob alle i.O. ist.
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
Sorry I don't really know what you meant so I will not help and please do not ask again. Sorry.
@@robodurden he's just asking if there is a way to make the hoverboard more sensitive so you don't have to lean your feet as much to move.
hi i have the exact same board tried flashing EFeru's firmware and connecting to arduino test code the motor starts spinning at high velocity and never stops unless Tx is removed. I noticed that the hall sensors cables are not exactly color matched from this board to my motor's encoder pins.... could this be the problem Did you make any changes in your hall sensor wiring with this board.
I tried matching the colors and the results were the same :(
please help
I never needed to change the 5 pin hall sensor sockets. But you might need to change the three phases. And beware of +15 volt on the black cable of the serial cables. Those with wrong color was also the one with wrong color in the three phases
Can you advise. I am having connection problem, I am using stm32 cube programmer and st link V2, upgraded the firmware, diconnected and reconnected st link, still couldn't establish connection
Try connecting to a "blue pill stm32f103c8t6" with a cheap St link V2 clone: a.aliexpress.com/_EHW9bLn
Make sure you have a hoverboard controller with a stm32f103 on board. New boards have the 32f403 and there is currently now easy Tutorial how to flash a new firmware.
@@robodurden Yes, my hoverboard controller is stm32f103 and cheap Chinese St link V2 however, still couldn't establish connection
@@sayedme2uc as I said, learn how to flash a hello world onto a blue pill. If you then still can not do the same with the hoverboard controller, there must be something wrong with it. I never had an issue with one being write protected. First time you get a pop-up and confirm to unlock the board..
@@robodurden Can you send and or attach a link on "how to flash a hello world onto a blue pill"
@@robodurden Thank you for your prompt response, I'll let you know how it went once I receive my order as per your recommendation
Hi do you have any idea which firmware will work on split board I got dual pcb GD32F103C8T6 it also have external interface connecter but no information available about it.
github.com/flo199213/Hoverboard-Firmware-Hack-Gen2/issues/10
Hey man! I am trying to build a 4wd hoverboard skateboard with your firmware. the problem is that I am trying to use the field weaking feature, but the problem is that the wheels doesn't spin free when I am stop squeezing the throttle. do you have a solution?
Try torque mode as a zero torque might be your freewheeling.
Otherwise ask Emanuel on his GitHub.
Hey, I ran the firmware and just uncommented the adc control and when I start the board the motor rapidly spins to max speed and when I move the Potis just changes a lil bit the speed. It also cuts out when accelerating rapidly
Probably wrong colors on the three motor phases. Try connecting differently.
Flash the lucysrausch firmware as it operators in test mode without any modifications. When this works but adc not, then there is something wrong with your potentiometer.
@@robodurden Hey, when I connect the battery and press the button it does not start, I measured the power button connector and it has 39v, what may be wrong?
@@gianlucadionisi6730 First the motors spin strangely now the board does not even start up. When you keep information for yourself I can not help you.
Watch my repair video with the three voltage controllers on the board..
@@robodurden What dam trying to say Is that with the battery connected, the pins from the power button, have 39volts, what may be shortened?
@@gianlucadionisi6730 nothing. Take a look at page 5 of github.com/EFeru/hoverboard-firmware-hack-FOC/raw/main/docs/20150722_hoverboard_sch.pdf
The 39V are behind a 30k resistor and get pulled down by a 2k resistor when on-switch is pressed.
One thing I noted is that "donot connect the 3.3v pin to the STL usb"
Yes, only gnd and the two data lines. From the hoverboard to the st-link USB dongle. Sorry if I did not mention it in the video.
hi thanks for your aswome work!
A question : can i control independently the motors ? for exemple : right motor to 5kmh and left motor to 1kmh ? i want to use this project for a gate opener :) thanks !
There might be a tank mode where you can control each Motor directly. Take a look at all the variant_xy of Emanuel Firmware.
But you can always use speed and steer to set speed for left and right.
@@robodurden thank you very much i will try that :)
Do we need to install any driver for hoverboard
Wonderful compiler and nice videos.
Everything works for me. So we’ll now i am into a new project: Bluetooth joystick made with app invetnor and Esp32 to control the hoverboard.
Is there anyway to contact you in private?
Thanks 🙏
I don't have friends.
@@robodurden if that’s your choice i am sure you are doing find with it! 💪🏼
It would be interesting to see a video tutorial about the simple subject I mentioned before.
If you help me i can make some subtitles in spanish for some of your videos.
Not friends, just collaborative
Hi! What resistance of potentiometers should i use to control these boards after slashing? I can't find that info anywhere which value is the best, or does that not really matter?
Does not really matter. Anything from 1k to 100k will do. 1k will have a current of 3.3/1000 = 3.3mA . Better use a 10k poti.
@@YouCantNow You can flash the good old Niklas Fauth firmware (now called LucysRausch) with CONTROL_MOTOR_TEST. This does not need any input and simply spins the motors forwards and backwards: raw.githubusercontent.com/lucysrausch/hoverboard-firmware-hack/master/build/hover.hex
@@YouCantNow ??? I posted the link. If TH-cam indeed does not show a GitHub link, find the GitHub repo of lucysrausch = NiklasFauth yourself. Or use my online compiler to compile the hex/bin yourself.
@@YouCantNow watch my tutorials :-( In them i explain what can be done. log output, etc.
@@YouCantNow Too many questions. Sorry and bye.
Can you advise if main board is flashed and working with potentiometers, how to get connected rc receiver instead of potentiometers?
Updates. All is done, board is working as should, video with lawnmower on my channel.
Variant ppm or pwm of EFeru firmware
So you just simply uncomment varient pwm and compile? Is there anything I am missing?
@@andrewkennett940 yes. And If pwm input is on long UART cable, be sure to only send 3.3 V. Short UART can take 5V. But better use that one for debug output..
@@andrewkennett940 not really. There some settings, what you would need to check, as in default it still may not meet your hardware.
hi where is that cable came from of mainboard ı cant understand? 13:21 which is connecting of diy 2 pot module
That is the long UART cable for the little side boards. Long cable is only 3.3V tolerant !!!
@@robodurden as ı know uart have tx and rx cable, how you wiring the 2 pot of that pin ı dont understand thanks
@@SAMETELMACI go to the GitHub repos and study the nice wireing photo.
The long UART cable uses two stm32 pins that can also do ADC. So the Rx and tx wires can take 3.3V analog input. The short UART cable is only digital. But can take 5V.
@@robodurden okey thanks much, ı build a robot now like that
@@SAMETELMACI if you need total rotation angle, i adapted that for the EFeru firmware..
can i firmware with stm32 cube mx and st motor control
You could.
gracias por tanto, muy bueno tu video. quiero poner hoverboard a mi silla de ruedas pero llego a emanuelfoc y no entiendo. podrias ayudarme?, gracias, abrazo.
Very helpful info, thanks!
Thank you so much for great video. I'm new here, following your tutorial to firmware flash, do we need to provide 36v supply to hoverboard while connecting to stm32 link. Because when I connect 3.3v of STM32 link to hoverboard, STM32 link blue light goes of and stmcube shows target not found. pls help. God bless you
You did not watch the video. Bye.
Yes I didn't watch, after watching full video I found answer of question, I will try later then let you know the results. One word for you , you are a star. Thx .God bless you
hi robodurden nice video,
i have a doubt, the second usb the name is port serial? or have another name? i will buy,
there are so many, just search 'usb serial' on aliexpress or ebay. You should buy one which has a DTR pin - good for programming an Arduino Mini.
And 3.3V/5V jumper/switch.
This one is nice for debugging outdoor: www.aliexpress.com/item/32617951363.html
Buy two or three different ones, they are cheap.
@@robodurden ok, ok, thanks
Hi !Please help me! How do I execute the "uncoming" command to use the hoverkart variation? thanks
You want to know how to uncomment one of the variant_xy: simply remove the // at the beginning of the line.
@@robodurden thank you!
@@robodurden And then I need to compile again? And copy this hex or bin file to the hoverboard chip?
Sure.
@@robodurden Unfortunately, this comes up when I delete the two // and compile-ends. In file included from Inc/defines.h:27:0,
from Src/setup.c:38:
Inc/config.h:664:4: error: #error DEBUG_SERIAL_USART3 and FEEDBACK_SERIAL_USART3 not allowed, choose one.
#error DEBUG_SERIAL_USART3 and FEEDBACK_SERIAL_USART3 not allowed, choose one.
^~~~~
Inc/config.h:668:4: error: #error DEBUG_SERIAL_USART2 and DEBUG_SERIAL_USART3 not allowed, choose one.
#error DEBUG_SERIAL_USART2 and DEBUG_SERIAL_USART3 not allowed, choose one.
^~~~~
Inc/config.h:686:4: error: #error CONTROL_ADC and SERIAL_USART2 not allowed. It is on the same cable.
#error CONTROL_ADC and SERIAL_USART2 not allowed. It is on the same cable.
^~~~~
make: *** [build/setup.o] Error 1
I Flashed my board with emanuel FOC and i get only beeping after powering on. Do you have some sugesstions what could it be?
Watch this video :-(
Usb uart dongle ...
@@robodurden I connected it vía ardurino nano with Emanuel serial code, and later with your test code but there is no output. I will try with usb UART adapter when I buy one:D
@@dawidh6422 our Arduino example codes can output the Feedback struct.
Take another Arduino and use it as an uart dongle by receiving on a software serial.
If it is a low frequency beeping it probably is the missing serial communication. Check that both baud rates are the same.
@@robodurden I used the serial USB to uart adapter and there is no Output. I tried diferent baud Rates and connections between RX and TX. So i am guessing that the board is Broken?
@@dawidh6422 as I said in the video, first always flash and test the test version of the Niklas original.
As your board is beeping, the microcontroller seems to be okay.
so if I put a new firmware on my stock mainboard I can control the motor with a Thumbthrottle via one of the two controler board with the gyroscope on it? Am I Right?
You usually control the motors with potentiometers or ppm or pwm or uart or nun huck controll. You Tell me if Emanuel Feru offers a variant_xy that uses the acceleration sensor of a daughter board as input.
@@robodurden I meant the cables where the stock controllerboards are attached... these are the Uart cables right? And if I put a potentiometer on one of the two uart cables, I can controll the speed of the motors. Did I got that right?
@@TheLeMarcDe yes the blue and green cable of the long daughter board cables are used as adc inputs for variant_adc.
Watch my absolute beginners video :-( these two cables are NOT 5V tolerant!
@@robodurden OK after your "full tutorial video" I think i got it... when the st link arrives I will try it... no matter how it turns out i will tell my progress... Thanks and greetings from Frankfurt
The St link came today but the File from niklas isnt a BIN file... I got the Files from Github and unpacked it, but now its a normal Folder and the st link software does not list it.
How to get more speed using your method?
?? The Emanuel Freu firmware has FOC which gives you about 10-15% more speed at less energy consumption as the original Niklas firmware.
can you help me how to connect Arduino with hoover board wiring diagram and code for Arduino for speed control
Start with the Arduino code on my FOC fork github or the original Emanuel FOC github
Hi, robo durden ! Your video was very helpful to me.
There were many problems, but I finally uploaded the firmware.
One problem is that I want to reduce the maximum speed to a quarter. I'm not good at coding. However, I wonder which part of the source code should be changed. Please.
Emanuel Feru firmware or Niklas Faith firmware ? What control method ?
@@robodurden Emanuel Feru,
and potentiometers for control.
@@andesjose8 you can add speed *= 0.25; in main.c at line 278.
Depending on CTRL_MOD_REQ in line 144 of config.h this will quater the max pwm or max voltage or max torque.
Not really a good idea as the efficiency of the motor is best at 100%.
@@robodurden So, which firmware is efficient? I do not need more than 5 km/h
I know that low speed consumes less energy. I tested it with A-tec's firmware, and it ran for more than 5 hours at 4km/h. With 2 motors
compiling failed :-(
could not parse original config.h
the results of your github robodurden foc..
That's only a message not a compilation error. Just continue and click the 'compile at your risk button'.
And don't be so fearful ;-)
@@robodurden
Sir
I want to use bluetooth esp32 and joystick which is usually used in Arduino projects
what variant is recommended
@@bahrulhuda5564 if you want to make use of the steer value than better go with the original Emanuel Feru Firmware.
My fork is only for my variant_uartcar which only need the speed because a car has a steering wheel.
You can connect the two potentiometers of the joystick directly to the hoverboard controller as I have shown in this video.
Or choose a uart communication variant and let the esp32 read the joystick and send serial speed and steer commands.
ahora probare con el firmware de NiklasFauth
too much coffee i think....
I flash with lucysrausch firmware , can i use a pedal instead potentiometer and a button for reverse?
Yes.
@@robodurden my friend
I am looking for your help to make wheels backwards i am use one potentiometer with green wire . I try many time nothing successful
@@YouCantNow learn how speed is calculated in main.c or find a nice variant_xy from the EFeru firmware that already does what you want.