OpenEVSE - Open Source Charging Station

My Nissan Leaf Forum

Help Support My Nissan Leaf Forum:

This site may earn a commission from merchant affiliate links, including eBay, Amazon, and others.
Hi Greg, will you please provide a .pde of the OpenEVSE firmware 1.0.0 with ADVPWR - BTNMNU - SERIALCLI - GFI or the source code
so I can see how you changed the code from the OpenEVSE firmware 1.0.0? I know there are other examples and instructions on the OpenEvse site
but it's kind of spread out and I really want to learn this stuff.

Thanks

Latisha
 
Latisha said:
Hi Greg, will you please provide a .pde of the OpenEVSE firmware 1.0.0 with ADVPWR - BTNMNU - SERIALCLI - GFI or the source code
so I can see how you changed the code from the OpenEVSE firmware 1.0.0? I know there are other examples and instructions on the OpenEvse site
but it's kind of spread out and I really want to learn this stuff.

Thanks

Latisha

Hi Latisha,

The code under devolipment is hosted on github here:
https://github.com/lincomatic/open_evse" onclick="window.open(this.href);return false;
You can click history to see all the changes between versions or download any version you wish.

Hope it helps...
 
I have written up a Wiki entry for the 75A OpenEVSE build I completed:

https://code.google.com/p/open-evse/wiki/75AOpenEVSE" onclick="window.open(this.href);return false;

Waiting for a Tesla Model S to take advantage of the higher current capabilities.
 
garygid said:
What connectors are on the 75 amp J1772 cable?
It seems to say that there are TWO circular connectors.

Also,it is not in stock, with a 10 week order time.

Yes, I noticed it wasn't in stock last night when I created the Wiki...

It's an ITT 75A connector, has 6AWG for the 2 hots (red and black), 8AWG for the ground (green), the pilot (orange) and proximity (blue) are 18AWG. I used 4' of liquidtight to get a few extra feet, so the cable starts near the garage floor, rather than halfway up.

I bought mine on eBay for $250 a month or two ago. Not many uses for a 75A EVSE yet, except for Tesla, most can't use the capability. I have a Tesla Model S reservation, it has a 10KW onboard charger, and I am getting the 2nd optional 10KW onboard charger. I built this because it was about half the cost of the Tesla HPWC ($1,200)
http://www.teslamotors.com/sites/default/files/downloads/highpowerwallconnector.pdf" onclick="window.open(this.href);return false;

For now it's supplying about 10AMPS to a Plug in Prius :). It's temporarily plugged into a 14-50 on a 10AWG SOOW cable, while I was testing and debugging it (and I had some issues as well), once I installed the 250V MOV & the 4 filters (before and after the contactor), beefed up the ground wiring to the OpenEVSE, and shielded the wiring between the OpenEVSE and the AdaFruit RGB LCD display, moved the 12V relay further away from the 75A contactor, all was well. I have the 1" SCH40 PVC and the #3 THHN/100A breaker ready to wire in this weekend.

A local Tesla Model S owner may come over and test it, he has the 2nd onboard charger as well.
 
Barbouri said:
Leviton now has a 75 amp 25' J1772 available on its website A2055-PEV.
http://store.leviton.com/Electric-Vehicle-Charge-Connector-A2055-PEV/dp/B009UCEXYI
Thanks for pointing that out. That's a really good price for what you get. Also worth noting, the 30 amp cable assembly goes for $133.98. Looks like there is no need to order those from dodgy vendors in China now.

1
 
Barbouri said:
garygid said:
What connectors are on the 75 amp J1772 cable?
It seems to say that there are TWO circular connectors.

Also,it is not in stock, with a 10 week order time.
Leviton now has a 75 amp 25' J1772 available on its website A2055-PEV.
http://store.leviton.com/Electric-Vehicle-Charge-Connector-A2055-PEV/dp/B009UCEXYI

Greg C.

Wish they had that out a few months ago, I bought the 20' ITT 75A J-1772 cable on eBay for $250, then spent money on 4' of liquidtight and fittings to get a few extra feet... $218.69 for a 25' 75A J-1772 cable is a great deal. Take note Tesla Model S owners, now you can build a high power EVSE for half the price of the Tesla HPWC ($1,200)

Edit: just updated the 75A OpenEVSE Wiki page with the Leviton link/pn/price, now it's down to $637.83 to build a high power EVSE, just over half of the Tesla HPWC... If you can find a less expensive enclosure for the SquareD contactor you could do even better, but let me warn you, it's about 5.5 inches in height.
 
Hi Greg I just finished you V4 board nice job on the BOM and the layout. I put a .1uf in at C22 and C8 was not listed in your BOM also the link for C5 gives you a 10uf I have a 4.7 Digi-key replacement but I left the part number in the lab. I also sourced the screw terminals a Digi-key if you want the Part numbers.
At school we only have access to 120V. When I powered up your board it goes through all the checks and stops at "Set up Service Level" with a red background. I tried the hot 120V on pin 1 and pin 3 of JP1 and the return is in pin 2. The display buttons do not change the display. I used the OpenEVSE firmware 1.0.0 with ADVPWR - BTNMNU - SERIALCLI - GFI.
Can you please give me some more help!

Thank you
 
Latisha said:
At school we only have access to 120V. When I powered up your board it goes through all the checks and stops at "Set up Service Level" with a red background. I tried the hot 120V on pin 1 and pin 3 of JP1 and the return is in pin 2. The display buttons do not change the display. I used the OpenEVSE firmware 1.0.0 with ADVPWR - BTNMNU - SERIALCLI - GFI.
Can you please give me some more help!

Thank you
Hi Latisha,
On the "L1/L2 sense / stuck relay connector", pin 1 and 3 are the hot wires, and pin 2 is ground.
For a 120 VAC input pin 1 hot, pin 2 ground, pin 3 neutral.
The AC sense input wires should attach after the relay where the J1772 cable L1,L2 wires are connected.
The board should also be connected to ground by a connection to pin 1 GND on the Pilot connector
I tested out firmware version 1.0.6 on the V4 board today and all functions worked using an Adafruit LDC RGB shield and button attached to select input.
I have never seen the display stop at "Set up Service Level", maybe someone else can shed some light on what might cause this other than no sense input.
Is the relay closing during the startup/test sequence?

Thanks,
Greg C.
 
Greg, you instructions worked! To help others I will explain how I had It wired, I had L1/L2 sense on the unswitched side of the relay and board side as I described in my previous post. The relay did close and open for the self-test I have a 100w light bulb for a load. Now I just need to set the L1 to 16a for a 20a circuit I tried the buttons but they don’t seem to do anything after boot. I remember reading about using the buttons on the OpenEVSE site but do I have to enable that in the sketch? I know, I’m asking too much I will go back through and do my homework. Update; I just tried to compile the latest Open EVSE Firmware prog_char VERSTR[] PROGMEM = "1.0.8";
At Gethub and I get this error “open_evse.pde:-1: error: 'A3' was not declared in this scope”
Also I went to OpenEVSEand saw this post by Chris

The biggest new feature is a LCD button menu to configure EVSE options with a single button and the LCD. I will post more details here very soon.
LCDs supported via:
Adafruit i2c backpack
Adafruit RGB LCD "shield"
Button supported
OpenEVSE A3 - button - 10k - GND

Adafruit RGB LCD "shield" select button
From the LCD you can change:
Service Level - Auto (with Advanced Power supply) - L1 - L2
Current - options based on service level
Vent required check - Enable - Disable
Diode check - Enable - Disable
Ground check - Enable - Disable
The CLI also has new commands to set everything above plus:
Stuck relay detection Enable - Disable
Serial Debug - Enable - Disable

So do I have to connect A3 on the V4 board with a 10k to GND to enable the buttons and is it just me or is the new uploded .pde buggy?
Thanks for your help and your most excellent board!

UPDATE I USED a 10K resister tied to ground and touched pin 26 of the ATMEGA328P and changed L1 to 16A
But the Select button on my Adafruit RGB 16X2 does not work with the V4 with OpenEVSE firmware 1.0.0 with ADVPWR - BTNMNU - SERIALCLI - GFI. I know the buttons work on my Adafruit RGB they have been tested with other sketches.
 
Latisha said:
Update; I just tried to compile the latest Open EVSE Firmware prog_char VERSTR[] PROGMEM = "1.0.8";
At Gethub and I get this error “open_evse.pde:-1: error: 'A3' was not declared in this scope”
...
UPDATE I USED a 10K resister tied to ground and touched pin 26 of the ATMEGA328P and changed L1 to 16A
But the Select button on my Adafruit RGB 16X2 does not work with the V4 with OpenEVSE firmware 1.0.0 with ADVPWR - BTNMNU - SERIALCLI - GFI. I know the buttons work on my Adafruit RGB they have been tested with other sketches.
Hi Latisha,
I have also had problems when I verify/compile firmware V1.0.8, but have not had the time to find out why.
You might want to try V1.0.6 as it has worked for me when using the select button on the Adafruit RGB LCD shield.
It does require that you add LiquidTWI2 to the library. https://github.com/lincomatic/LiquidTWI2

When you get it all working I would love to see a picture of your project.
Greg C.
 
Latisha said:
I also sourced the screw terminals a Digi-key if you want the Part numbers.

If you have DigiKey part numbers for any of the parts sourced from SparkFun, that would be great. Cutting down on the number of suppliers you need to order from lowers the cost to build the DIY board (fewer/lower shipping charges, fewer orders to wait for)

Sparkfun PRT-10877 Header 2x3 ISP1 1 $1.50 http://www.sparkfun.com/products/10877" onclick="window.open(this.href);return false;
Sparkfun PRT-00116 Header straight 0.1sp. FTDI,LCD,CT1,I/O 1 $1.50 http://www.sparkfun.com/products/116" onclick="window.open(this.href);return false;
Sparkfun PRT-08084 Connector 3.5mm 2P Rly1,S1/2,SP 3 $0.95 http://www.sparkfun.com/products/8084" onclick="window.open(this.href);return false;
Sparkfun PRT-08432 Connector 5.0mm 2P DCIN,PILOT 2 $0.95 http://www.sparkfun.com/products/8432" onclick="window.open(this.href);return false;
Sparkfun PRT-08235 Connector 3.5mm 3P JP1 1 $0.95 http://www.sparkfun.com/products/8235" onclick="window.open(this.href);return false;

Thanks,
 
mitch672 said:
If you have DigiKey part numbers for any of the parts sourced from SparkFun, that would be great.
I have updated the V4 parts list with Digikey parts for the headers and power supply.

Greg C.
 
Barbouri said:
Latisha said:
Update; I just tried to compile the latest Open EVSE Firmware prog_char VERSTR[] PROGMEM = "1.0.8";
At Gethub and I get this error “open_evse.pde:-1: error: 'A3' was not declared in this scope”
...
UPDATE I USED a 10K resister tied to ground and touched pin 26 of the ATMEGA328P and changed L1 to 16A
But the Select button on my Adafruit RGB 16X2 does not work with the V4 with OpenEVSE firmware 1.0.0 with ADVPWR - BTNMNU - SERIALCLI - GFI. I know the buttons work on my Adafruit RGB they have been tested with other sketches.
Hi Latisha,
I have also had problems when I verify/compile firmware V1.0.8, but have not had the time to find out why.
You might want to try V1.0.6 as it has worked for me when using the select button on the Adafruit RGB LCD shield.
It does require that you add LiquidTWI2 to the library. https://github.com/lincomatic/LiquidTWI2

When you get it all working I would love to see a picture of your project.
Greg C.
It’s a deal, I will send you some pictures and I am working on your BOM. I just noticed that the 1.0.8 file was just updated I tried it again and it only has to lines of error code for me now;

open_evse.cpp: In member function 'void Btn::init()':
open_evse.pde:-1: error: 'A3' was not declared in this scope


I do have LiquidTWI2 in my Library. and where can I find the V1.0.6 file?

Thanks
 
mitch672 said:
Latisha said:
I also sourced the screw terminals a Digi-key if you want the Part numbers.

If you have DigiKey part numbers for any of the parts sourced from SparkFun, that would be great. Cutting down on the number of suppliers you need to order from lowers the cost to build the DIY board (fewer/lower shipping charges, fewer orders to wait for)

Sparkfun PRT-10877 Header 2x3 ISP1 1 $1.50 http://www.sparkfun.com/products/10877" onclick="window.open(this.href);return false;
Sparkfun PRT-00116 Header straight 0.1sp. FTDI,LCD,CT1,I/O 1 $1.50 http://www.sparkfun.com/products/116" onclick="window.open(this.href);return false;
Sparkfun PRT-08084 Connector 3.5mm 2P Rly1,S1/2,SP 3 $0.95 http://www.sparkfun.com/products/8084" onclick="window.open(this.href);return false;
Sparkfun PRT-08432 Connector 5.0mm 2P DCIN,PILOT 2 $0.95 http://www.sparkfun.com/products/8432" onclick="window.open(this.href);return false;
Sparkfun PRT-08235 Connector 3.5mm 3P JP1 1 $0.95 http://www.sparkfun.com/products/8235" onclick="window.open(this.href);return false;

Thanks,

Take a look at these

CONN HEADER 6POS DUAL VERT PCB
http://www.digikey.com/product-detail/en/75869-131LF/609-2845-ND/1302569" onclick="window.open(this.href);return false;

CONN HDR BRKWAY .100 40POS VERT
http://www.digikey.com/product-detail/en/4-103239-0/A26512-40-ND/297935" onclick="window.open(this.href);return false;

CONN TERM BLOCK T/H 3POS 3.5MM
http://www.digikey.com/scripts/dksearch/dksus.dll?vendor=0&keywords=277-1722" onclick="window.open(this.href);return false;

TERM BLOCK 5.08MM VERT 2POS PCB
http://www.digikey.com/product-detail/en/OSTTC022162/ED2609-ND/614558" onclick="window.open(this.href);return false;

TERM BLOCK 2POS SIDE ENT 3.5MM
http://www.digikey.com/product-detail/en/1776275-2/A98036-ND/1826899" onclick="window.open(this.href);return false;
 
Latisha said:
I do have LiquidTWI2 in my Library. and where can I find the V1.0.6 file?

Thanks

Hi Latisha,
here is a link to lincomatic's open evse download page https://github.com/lincomatic/open_evse/downloads

I found out a bit more about the errors. You must un-comment one of the display types if you have BTN_MENU defined in V1.0.8.

//Adafruit RGBLCD
//#define RGBLCD
Un-comment this line for Adafruit RGB LCD shield

// Adafruit LCD backpack in I2C mode
//#define I2CLCD
Greg C.
 
Barbouri said:
Latisha said:
I do have LiquidTWI2 in my Library. and where can I find the V1.0.6 file?

Thanks

Hi Latisha,
here is a link to lincomatic's open evse download page https://github.com/lincomatic/open_evse/downloads

I found out a bit more about the errors. You must un-comment one of the display types if you have BTN_MENU defined in V1.0.8.

//Adafruit RGBLCD
//#define RGBLCD
Un-comment this line for Adafruit RGB LCD shield

// Adafruit LCD backpack in I2C mode
//#define I2CLCD
Greg C.

Hi Greg, It was alredy un-commented see below;


// GFI support
#define GFI

// serial port command line
#define SERIALCLI

//Adafruit RGBLCD
#define RGBLCD

// Adafruit LCD backpack in I2C mode
//#define I2CLCD

I used find to serch for "adafruit" for commented out lines see below also I have not made any chenges to the
Sketch








// #ifdef LCD16X2 //Adafruit RGB LCD
// g_OBD.LcdSetBacklightColor(RED);
// g_OBD.LcdMsg_P(g_psStuckRelay,g_psTestFailed);
// #endif //Adafruit RGB LCD
// }
// else {
// #ifdef LCD16X2 //Adafruit RGB LCD
// g_OBD.LcdMsg_P(g_psStuckRelay,g_psTestPassed);
// delay(1000);
// #endif //Adafruit RGB LCD


// #ifdef LCD16X2 //Adafruit RGB LCD
// g_OBD.LcdSetBacklightColor(RED);
// g_OBD.LcdMsg_P(g_psEarthGround,g_psTestFailed);
// #endif //Adafruit RGB LCD
// }
// else {
// #ifdef LCD16X2 //Adafruit RGB LCD
// g_OBD.LcdMsg_P(g_psEarthGround,g_psTestPassed);
// delay(1000);
// #endif //Adafruit RGB LCD

V1.0.0 eror
open_evse.cpp: In member function 'void Btn::read()':
open_evse.pde:-1: error: 'A3' was not declared in this scope
V1.0.6 error
In file included from C:\arduino-1.0.1\libraries\EEPROM\EEPROM.cpp:25:
C:\arduino-1.0.1\hardware\arduino\cores\arduino/Arduino.h:213:26: error: pins_arduino.h: No such file or directory
V1.0.8 Error
open_evse.cpp: In member function 'void Btn::init()':
open_evse.pde:-1: error: 'A3' was not declared in this scope

My settings for the board are
[usbtinyisp]ATmega328
My settings for the programmer are
USBtinyISP
This is the first time I have tried the USBtinyisp . Could that be causing the problems
I have been having? I have been using the UNO to do all my sketches before this.
 
Back
Top