Open jpiat opened 5 years ago
Hi,
i'm still struggling to understand how to use the protocol from a machine other than Arduino. I have two questions :
I can communicate with the hoverboard through the ascii protocol using a terminal, but i cannot get anything to work using C/C++ running on my laptop. Any help would be appreciated.
I'm going through the same issue as @jpiat I'm using a Jetson nano in my case
Hi @garyrightbot , I switched to https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC to control the hoverboard over serial using a raspberry-pi or Jetson Nano and it's working well for speed or torque control.
Thanks @jpiat .
Will surely check it out.
@jpiat On further exploration I have found that the repo you have shared does not have an implementation for deriving the hoverbot's position - a feature that is very important to me.
Hi @garyrightbot , I switched to https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC to control the hoverboard over serial using a raspberry-pi or Jetson Nano and it's working well for speed or torque control.
Hi, @jpiat could you share code for controlling hoverboard using raspberry-pi or Jetson nano, please. I tried to connect with UART using python and pyserial, but without any success. Any help would be really appreciated.
I figured it out, thanks anyway :)
Hi,
i tried modifying the example code to simply control the PWM using a raspberry-pi but cannot get it to work. Any idea on what i do wrong ? I only added the serial functions (to init and send) and chnge the UART_Packet type to unsigned char