Manny
10 W
for my Aprillia project https://endless-sphere.com/forums/viewtopic.php?f=12&t=83316 I want to read data from my sabvoton svmc96080 controller.
the usb connector on the sabvoton is not USB, luckily its just serial.
the original "programming cable" is a usb to serial converter with a usb connctor on the other end.
the +5v and gnd are in the same place, the D+ is the controller Tx and the D- is the controller Rx.
the communication uses the modbus protocol @ 19200 baudrate.
the PC software sends a code to write a register twice(just to be sure i guess) to start the communication. without this when requesting data all the data will be zero.
after the start code the PC software requests the same data continuously.
the data requested is the info you see on the main screen of the PC software.
I know what most of the data represents, some is still unknown.
I made a simple and crude ardino sketch that reads the data and sends the battery voltage to the arduino serial terminal. this code needs work. it is not fault tolerant it doesn't check the CRC on the incoming data. For my project I need to combine this code and the stepper motor code, and I like to do battery state of charge tracking to display on the dial.
the .xlsx file is all i know at the moment.
the usb connector on the sabvoton is not USB, luckily its just serial.
the original "programming cable" is a usb to serial converter with a usb connctor on the other end.

the +5v and gnd are in the same place, the D+ is the controller Tx and the D- is the controller Rx.
the communication uses the modbus protocol @ 19200 baudrate.
the PC software sends a code to write a register twice(just to be sure i guess) to start the communication. without this when requesting data all the data will be zero.
after the start code the PC software requests the same data continuously.
the data requested is the info you see on the main screen of the PC software.
I know what most of the data represents, some is still unknown.
I made a simple and crude ardino sketch that reads the data and sends the battery voltage to the arduino serial terminal. this code needs work. it is not fault tolerant it doesn't check the CRC on the incoming data. For my project I need to combine this code and the stepper motor code, and I like to do battery state of charge tracking to display on the dial.
the .xlsx file is all i know at the moment.