ElectricMotorcycleForum.com

  • September 01, 2026, 05:44:47 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Electric Motorcycle Forum is live!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - freqmod

Pages: [1]
1
It seems like 05019C00#2901004516 05019C00#2905004516 are valid commands, i.e that the set voltage command is a bitfield. At least they work with my strange flatpack.

the 05019C00#2901004516 command can be used to set up a voltage. This may be useful if somebody wants to control a flatpack without logging in.
It will be kept until the device power cycles, or some body logs in and the session times out. It even seems to work without logging in once, and also if the can bus is disconnected (stops acknowledging the packets).

I am not sure what #2905... does i can't see it affect the voltage, but it is acknowledged by the flatpack.



2
Thanks a lot for the suggestion. I let it rest for a night, but no success:

can0  05014010   [8]  1A 00 00 5D 11 E9 00 1B
can0  05004805   [8]  09 07 71 14 44 61 00 00
can0  05014010   [8]  1A 00 00 5F 11 E9 00 1B
can0  05014010   [8]  1A 00 00 63 11 E9 00 1B
can0  05014010   [8]  1A 00 00 63 11 E9 00 1B
can0  05014010   [8]  1A 00 00 65 11 E9 00 1B
can0  05014010   [8]  1A 00 00 66 11 E9 00 1B
can0  05014010   [8]  1A 00 00 68 11 E9 00 1B
can0  05019C00   [5]  29 15 00 44 16
can0  05014010   [8]  1A 00 00 6A 11 E9 00 1B
can0  05014010   [8]  1A 00 00 6C 11 E9 00 1B
can0  05014010   [8]  1A 00 00 6E 11 E9 00 1B
can0  05014010   [8]  1A 00 00 70 11 E9 00 1B
can0  05014010   [8]  1A 00 00 70 11 E9 00 1B
can0  05014010   [8]  1A 00 00 77 11 E9 00 1B

The amperage goes to 0100 after around 10 sec of power (before the walk in is complete) on and eventually goes to 0200.

3
I have nothing connected (except my multimeter). However i had that on the 3 other flatpacks too, and i was able to program them. I unfortunately do not have any load which i dare put that much into.

I am wondering if the programming command is dependent on the serial number in any way, or that  the firmware is locked in some fashion.

I have ordered a leonardo board so i can worst case attach that permanently and program that to log in and keep the voltage.

I tried to disconnect everything, but i still get:

can0  05014004   [8]  23 02 00 E5 14 EA 00 27

and no acknowledgements.

I will let it rest for an hour without power and see if i can get it to report no current.

4
I think the label is wrong, i have not made sense out of any of the labels so i have used the serials reported on the can bus.

I am only able to log in used the reported serial. However then i do that i get more frequent updates, and i am able to set the voltage using the serial i have provided. The voltage stays until the more frequent updates sieze. Also i am able to set the slow walk in, which is persistent during power cycles.

The printed serial is : 103871171760 i am not sure how to transform it to the can bus commands.

cansend can0 05004804#10387117176000 which does not work
cansend can0 05004804#09077114446100 is the one that works.

5
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.

Pages: [1]