Hi, I have a problem setting default voltage on 1 out of 4 flatpacks and wonder if somebody has any advice.
Thanks for a great forum thread with lots of info how to make a fast charger. I have ordered a Zero DSR and 4 FLATPACK2 40/2000 HE's and i am working on making a charger for my own bike. However i have hit a problem.
I have tried to program all the flatpacks to default to 57 volts. 3 of the flatpacks works immediately, but the last one will not acknowledge my command (see below). I am able to set it up to output 57 volts as long as i am logged in, but i would prefer to work with a system without any microcontrollers at least initially and thus need to be able to set the default voltage.
I am using a raspberry pi + a modified MCP2515 board (
https://www.raspberrypi.org/forums/viewtopic.php?t=141052 ),
so i will paste linux can command lines & output.
Working flatpack:
can0 05004804 [8] 09 32 71 11 23 41 00 00 <-- login command sent by raspberry pi
can0 05014004 [8] 1F 00 00 3F 16 EB 00 20
can0 05014004 [8] 1F 00 00 3E 16 EB 00 20
can0 05002341 [8] 1B 09 32 71 11 23 41 00
can0 05014004 [8] 1F 00 00 3C 16 EB 00 20
can0 05019C00 [5] 29 15 00 44 16 <-- request to set default voltage
can0 05019C00 [8] 2B 15 00 44 16 00 00 00 <-- acknowledgement for default voltage command (i assume)=
can0 05014004 [8] 1F 00 00 3C 16 EB 00 20
Non working flatpack:
can0 05000461 [8] 1B 09 07 71 14 44 61 00
can0 05000461 [8] 1B 09 07 71 14 44 61 00
can0 05004804 [8] 09 07 71 14 44 61 00 00
can0 05014004 [8] 23 03 00 DE 14 EC 00 2C
can0 05014004 [8] 23 03 00 DF 14 EC 00 2C
can0 05014004 [8] 23 03 00 DC 14 EC 00 2C
can0 05000461 [8] 1B 09 07 71 14 44 61 00 <-- login command sent by raspberry pi ( i have also tried with 8 bytes)
can0 05014004 [8] 23 03 00 DC 14 EC 00 2C
can0 05014004 [8] 23 03 00 DC 14 EC 00 2C
can0 05014004 [8] 23 03 00 DE 14 EC 00 2C
can0 05014004 [8] 23 03 00 DC 14 EC 00 2C
can0 05014004 [8] 23 03 00 DA 14 EC 00 2C
can0 05014004 [8] 23 03 00 DC 14 EC 00 2C
can0 05014004 [8] 23 03 00 DE 14 EC 00 2C
can0 05014004 [8] 23 03 00 DE 14 EC 00 2C
can0 05019C00 [5] 29 15 00 44 16 <-- request to set default voltage
can0 05014004 [8] 23 03 00 DE 14 EC 00 2C <-- No acknowledgement, just status info
can0 05014004 [8] 23 03 00 DE 14 EC 00 2C
can0 05014004 [8] 23 03 00 DE 14 EC 00 2C
can0 05000461 [8] 1B 09 07 71 14 44 61 00
can0 05014004 [8] 23 03 00 DF 14 EC 00 2C
I have tried some other commands, but they give responses regardless if i am logged in or not and does not change the default voltage.
can0 05014400 [8] 09 07 71 14 44 61 00 00
can0 05000C00 [5] 29 15 00 80 16 <-- other command
can0 05019C01 [8] 09 00 00 00 80 16 00 00 <-- response
can0 05000461 [8] 1B 09 07 71 14 44 61 00
Set high voltage (inside login session for non working flatpack):
can0 05000461 [8] 1B 09 07 71 14 44 61 00 <-- login
can0 05004804 [8] 09 07 71 14 44 61 00 00
can0 05014004 [8] 23 03 00 E1 14 ED 00 2C
can0 05014004 [8] 23 03 00 DF 14 ED 00 2C
can0 05014004 [8] 23 03 00 DE 14 ED 00 2C
can0 05014004 [8] 23 03 00 DF 14 ED 00 2C
can0 05FF4004 [8] 64 00 44 16 44 16 3E 17 <-- set current & voltage (this causes the voltage to go to 57. volts until the login session times out)
can0 05014004 [8] 23 03 00 91 15 ED 00 2C
can0 05014004 [8] 23 03 00 C6 15 ED 00 2C
can0 05014004 [8] 23 03 00 F5 15 ED 00 2C
can0 05014004 [8] 23 03 00 26 16 ED 00 2C
can0 05000461 [8] 1B 09 07 71 14 44 61 00
can0 05014004 [8] 23 03 00 3C 16 ED 00 2C
can0 05014004 [8] 23 03 00 38 16 ED 00 2C
can0 05014004 [8] 23 03 00 38 16 ED 00 2C
can0 05014004 [8] 23 03 00 36 16 ED 00 2C
can0 05014004 [8] 23 03 00 3C 16 ED 00 2C
I also initially followed the procedure in
http://electricmotorcycleforum.com/boards/index.php?topic=5928.msg44310#msg44310 before i started debugging.
I hope to document how i am making the charger to help others later.