Quote:
Originally Posted by esali1987
Ok so this is what I have pinned out from the USB to RS-232 cable to the 2X3 board header:
Pin 2 >> header pin 1 (MISO)
Pin 3 >> header pin 4 (MOSI)
Pin 5 >> header pin 6 (CONTROL_GND)
This gives me a FF or Null in the command prompt. Is this wrong?
|
I've attached a picture of the driver board with the pins circled.
I'm not sure which header you are connected to. My header is 1x3, tx rx and gnd are from the reference of the control board. So tx goes to 2=RX on the USB serial port, rx goes to 3=TX on the USB serial port, gnd goes to 5=GNd on the USB serial port
Sorry for the google search on the serial port. I don't have a suitably sized picture handy to post.
https://www.google.com/search?q=seri...LXSmrvj4tMqHM:
This is a log at 115,200 baud, no parity, 8 data bits, 1 stop bit, from power up. config shows the present settings. It appears that i didn't hit CR first.
Code:
AC controller firmware, ver. 1.0
config
motor-type=1
kp=04000 ki=00064
current-sensor-amps-per-volt=0480
max-regen-position=0390
min-regen-position=0490
min-throttle-position=0510
max-throttle-position=0610
fault-throttle-position=0005
max-battery-amps=0200 amps
max-battery-amps-regen=0400 amps
max-motor-amps=600 amps
max-motor-amps-regen=600 amps
precharge-time=0050 tenths of a sec
rotor-time-constant=018 ms
pole-pairs=002
max-rpm=06000 rev/min
throttle-type=0
encoder-ticks=0064 ticks/rev
pi-ratio=000
raw-throttle=0505
Hope this helps!