I recently downloaded Mr. Damien Maguire's Software (Based on the work of Tom deBree, Arber Kramer, Colin Kidder, EVTV and others.) to run the Opel Ampera / Chevy Volt Charger Over CAN from his https://github.com/damienmaguire/AmperaCharger
I am using an original Arduino Due and a proven to work CAN Bus Waveshare transceiver (as it works with SaavyCAN)
I am able to compile his code and using the serial monitor press ? to bring up the menu and configure the voltage and current and save it to the EPROM, however when I press e to enable the charger nothing happens and I can never interrogate the charger to acquire more data readings from it
please help
Damien Maguire's Et Al. Software to run the Opel Ampera / Chevy Volt Charger Over CAN Topic is solved
- Gregski
- Posts: 2535
- Joined: Tue Sep 14, 2021 10:28 am
- Location: Sacramento, California
- Has thanked: 447 times
- Been thanked: 780 times
- Contact:
Damien Maguire's Et Al. Software to run the Opel Ampera / Chevy Volt Charger Over CAN
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
-
- Posts: 1801
- Joined: Sun Apr 03, 2022 1:57 pm
- Has thanked: 102 times
- Been thanked: 349 times
Re: Damien Maguire's Et Al. Software to run the Opel Ampera / Chevy Volt Charger Over CAN
Not used this but looking at the code it seems to use CAN1 for the charger interface not the Due default of CAN0. Which one do you have hooked up?
- Gregski
- Posts: 2535
- Joined: Tue Sep 14, 2021 10:28 am
- Location: Sacramento, California
- Has thanked: 447 times
- Been thanked: 780 times
- Contact:
Re: Damien Maguire's Et Al. Software to run the Opel Ampera / Chevy Volt Charger Over CAN
and that folks, is why I luv this forum so much, Pete anyway we can get you to go work for Splunk, their tech support could sure use someone like you, ha ha
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
- Gregski
- Posts: 2535
- Joined: Tue Sep 14, 2021 10:28 am
- Location: Sacramento, California
- Has thanked: 447 times
- Been thanked: 780 times
- Contact:
Re: Damien Maguire's Et Al. Software to run the Opel Ampera / Chevy Volt Charger Over CAN
just some extra detail for us Arduino newbs, here is what I changed in the code
void setup() {
Can0.begin(CAN_BPS_500K); //CAN bus
Can1.begin(CAN_BPS_500K); //CAN bus
Can1.watchFor(); from that to simply this Can0.watchFor();
pinMode(13, OUTPUT); //led
Serial2.begin(19200); //setup serial 2 for wifi access
and where ever else Can1 was attached to a function or method or called out
void setup() {
Can0.begin(CAN_BPS_500K); //CAN bus
Can1.begin(CAN_BPS_500K); //CAN bus
Can1.watchFor(); from that to simply this Can0.watchFor();
pinMode(13, OUTPUT); //led
Serial2.begin(19200); //setup serial 2 for wifi access
and where ever else Can1 was attached to a function or method or called out
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg