Page 5 of 5

Re: I bought a Chevy Volt Gen1 DC-DC Converter - Now What?

Posted: Fri Mar 18, 2022 2:02 pm
by mjc506
Ahhh bugger. Amazon? Or get hold of an Arduino Due?

Re: I bought a Chevy Volt Gen1 DC-DC Converter - Now What?

Posted: Fri Mar 18, 2022 2:12 pm
by Gregski
mjc506 wrote: Fri Mar 18, 2022 2:02 pm Ahhh bugger. Amazon? Or get hold of an Arduino Due?
yup, I got an Arduino Due and SaavyCAN works fine on that, I am trying to get it working on Teensy to show folks how it works on there type of thing, plus I like pain

Re: I bought a Chevy Volt Gen1 DC-DC Converter - Now What?

Posted: Fri Mar 18, 2022 2:15 pm
by mjc506
Ah, good to have a working system to compare against :)

Just a thought, have you got Teensyduino installed? (The Arduino IDE that's been "teensyfied")

Re: I bought a Chevy Volt Gen1 DC-DC Converter - Now What?

Posted: Fri Mar 18, 2022 2:21 pm
by Gregski
mjc506 wrote: Fri Mar 18, 2022 2:15 pm Ah, good to have a working system to compare against :)
this is actually worthy of a discussion or comment, I feel like to really make it headache free you need a dedicated computer or laptop just to a platform because all these microcontroller boards and Arduino sketches totally conflict with one another, I am constantly pulling this library out and putting this one in when going between Damien Maguire's Lexus GS450h VCU (which I luv by the way) and my UNO to talk to my ISA current shunt, to the DUE for CAN Busing and the Teensy for SimpBMSing, anyone else experienced this? I think I saw Damien with multiple laptops in a couple of his videos.
mjc506 wrote: Fri Mar 18, 2022 2:15 pm Just a thought, have you got Teensyduino installed? (The Arduino IDE that's been "teensyfied")
yes and got it working with Tom de Bree's SimpBMS

PJRC Download.jpg
Teensy 1.jpg
Teensyduino.jpg
Teensy COM Port.jpg

Re: I bought a Chevy Volt Gen1 DC-DC Converter - Now What?

Posted: Fri Mar 18, 2022 2:41 pm
by arber333
DOH! I will have to learn all the new systems now!!!

Re: I bought a Chevy Volt Gen1 DC-DC Converter - Now What?

Posted: Sat Mar 19, 2022 10:33 am
by mjc506
Things do seem to be more stable on Linux, but that's another thing to learn, so... :) I would have expected everything to play nicely though, just have to change the 'board' each time you swap projects. But yes, library conflicts can be a pain. Although, once you've got each board programmed, they should just talk over serial (ie, you don't need to even have the Arduino IDE open to use Savvycan, and Arduino set to compile for a Due will happily talk to an Uno over the serial monitor for example. Or you could even use another Serial terminal. Apologies if I'm teaching you to suck eggs...

Re: I bought a Chevy Volt Gen1 DC-DC Converter - Now What?

Posted: Wed May 18, 2022 1:15 pm
by Gregski
so I've been beating up on the Chevy Volt first gen DC-DC converter in a companion thread called: I think I CAN, I think I CAN... but I want to share some highlights in here as well from what I learned

first here is how to check the polarity ie figure out which wire is positive which one is negative

23_03_2020, 17_03 Office Lens.jpg

IMG_2655.JPG

no light so polarity is correct
IMG_2657.JPG

Re: I bought a Chevy Volt Gen1 DC-DC Converter - Now What?

Posted: Wed May 18, 2022 1:19 pm
by Gregski
and here is something I learned, GM crossed the wires in the intermediate cable running from the converter to the battery pack

IMG_2659.JPG
IMG_2661.JPG
IMG_2663.JPG
IMG_2665.JPG

Re: I bought a Chevy Volt Gen1 DC-DC Converter - Now What?

Posted: Wed May 18, 2022 1:20 pm
by Gregski
here's a close up

IMG_2667.JPG
IMG_2669.JPG
IMG_2673.JPG

Re: I bought a Chevy Volt Gen1 DC-DC Converter - Now What?

Posted: Mon Jun 06, 2022 9:34 pm
by Roadstercycle
Hi Guys,
Been a bit since I've been here. I've been using the Chevy volt Gen 1 DC-DC converter on 3 of my builds. I use a Teensey and 1 line of code to run them. Very simple. Here's the code. I believe I set it to 14.0 volts. I'm on vacation so I can't verify at the moment. The charger is hooked up all the time with no relay, I just turn power on to the teensey and the DC-DC with ignition or when the J1772 is plugged in to run water pump and cooling fan.

Happy Charging!


#include <FlexCAN_T4.h>


const int ledPin = 13;

FlexCAN_T4<CAN1, RX_SIZE_256, TX_SIZE_16> Can1;


void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(ledPin, OUTPUT);

Can1.begin();
Can1.setBaudRate(500*1000);

}

void loop() {
Can1.events();
static uint32_t t = millis();
if ( millis() -t > 4 ) {
CAN_message_t frame;
frame.id = 0x1D4;
frame.len = 2;
frame.buf[0] = 0xA0;
frame.buf[1] = 0xB1;
Can1.write(frame);




t = millis(); // reset 5 second counter
}

if ( millis() -t > 4 ) {

Serial.print("CAN1 ");
Serial.print(" ID: 0x");
}



digitalWrite(ledPin, !digitalRead(ledPin));

}

Re: I bought a Chevy Volt Gen1 DC-DC Converter - Now What?

Posted: Thu Jun 29, 2023 3:15 pm
by Gregski
well it's been forever and a day since I played with this stuff, but I am finally ready to hook up the DC DC converter on my truck and was wondering if anyone has gotten it to work with a Teensy in a real world example, and since so much time has passed did they ever come out with a Teensy with a built in CAN Bus transceiver on it for compactability

and I know I have been out of the Teesnyduino game for a minute, but tell me this is wrong and they just forgot a decimal

Teensy 3.6 on eBay.jpg