Instructables
Picture of Arduino EV J1772 Charging Station
6936540027_d3529887b9.jpg
6936562013_12beff1819.jpg
6790542104_7bb9f511f7.jpg
6938951247_52be2ba9a2.jpg

Based on the OpenEVSE project

OpenEVSE

OpenEVSE Store

Arduino Electric Vehicle Charging Station "Electric Vehicle Supply Equipment" (EVSE) implementing the J1772 protocol.

J1772 is used in the current generation of Electric Vehicles and Plug ins such as the Nissan LEAF and Chevy Volt.

The EVSE advertises the Maximum current available to the EV with a 1khz pilot signal. The Duty Cycle of the pilot sets the available current the EV may draw. The EVSE also functions as a safety device, the 240V AC lines of the J1772 plug are not hot until the EVSE and EV command the start of charging. The EVSE also functions as A ground fault interrupt device (GFCI).

Parts list and Schematics are attached as images.

 
Remove these adsRemove these ads by Signing Up

Step 1: Setup ARDUINO Shield

Picture of Setup ARDUINO Shield
6936558467_9900de059d.jpg
6936556819_2118c088d3.jpg
Build and ARDUINO proto shield.

I used the Shield from Adafruit. http://www.adafruit.com/products/55

Solder 2 x 8pin and 2 x 6pin headers to the outside holes.

Solder 2 x 5mm 2 Position Terminal headers to the protoboard for the Relay and J1772 Pilot

Step 2: Status LEDs

Solder Common Cathode RGB LED to proto board and 1 x 330 Ohm resistor each for Red, Green and Blue.

Solder the Common Cathode to Ground.

Solder Signal Wires:
Red - D5
Blue - D8
Green - D13

LED pinout (CC RGB LED from Sparkfun)
Blue - Green - GND (longest lead) - RED

Step 3: Relay Driver

2N2222A NPN transister connects to R11 (330 ohm) then to D8 (also connects to LED blue), GND and the Relay Output.

Step 4: Pilot DC/DC converter

The J1772 Pilot requires a 1khz signal that swings from -12V to +12V. A D107E DC\DC converter from MicroPower Direct converts 5VDC to both positive 12V and negitive 12V. The converter requires a minimum draw so a 2.4k resistor and 1uf capacitor is added from each output to ground.

I connected the MPD D107E such that the 5V and GND pin lined up with the central 5V and ground rails on the proto board.
Excellent project. How much did the whole thing cost. I already have my J1772 plug and inlet for my EV, now all I need is to build this kit. I was wondering what the build cost was? Thanks in advance and I look forward to testing this unit!

Dear Sirs.

I am also in progress to load my Renault Kangoo with 16A in single wire 240V.

But I am alsolut not able to do that, and I don´t know why.

Did anybody have a scrennshot of the Pilot signal?

Regards

Carsten

flyguy161 (author) 7 months ago

@arwooldridge

At 12V there is no 1000hz output, it is DC until the resistance drops the voltage to 9v.

Negative -12v is to support the J1772 diode check. Many commercial units skip this check but it is important to detect a real EV resistance vs. dropping the handle in a puddle of mud.

Sure, you could implement the protocol with analog circuits, but it would likely be a much more complicated circuit unless you skipped many of the required safety features such as diode check, ground monitoring, stuck relay check, GFCI, GFCI self check.

OpenEVSE was designed to implement all required safety checks, it is still a relatively simple circuit even with a microprocessor.

arwooldridge7 months ago

That's interesting that it gives a 12 volt 1000Hz output straight away. Suggesting its not necessary to output +12volts DC on open circuit.

I checked my Polar networks Chargemaster outlet.

It gives +12volt DC at CP on open circuit and gives a 1kHz 25% PWM ( its a 16amp outlet) 9 volt output when loaded with 2.7kohms. Again it does not go negative suggesting this is not necessary.

You could make a very simple circuit indeed, without microprocessor just a dual or quad comparator on the peak rectified CP signal, and a quad Schmidt nand CMOS gate and a counter ( one Schmidt to make the oscillator the others for PWM selection and gating) Add a transistor, relay, and RCD for a very simple low cost charging outlet.

In fact the J1772 protocol was designed to be easily implemented without processor.

ksmith303611 months ago

I think the Circuit could be simplified a bit, since using a pilot pulsing at 1000Hz using ordinary square pulses, with 0V for off and 12V for on works perfectly with many cars.

I bought an aftermarket charge-cable/controller here in Norway, which I have used for a year and half on my Nissan LEAF. I connected a oscilloscope to the CP (pilot signal) the other day, and saw that it just pulsed between 0V and 12V when unconnected. The circuit just used a decade counter coupled with 1N4148 diodes on the output to the car, so also no other possibility in that circuit!

The cable/controller is said to be compatible with LEAF, Mitsubishi MIEV, etc, so I guess the cars isn't that picky!

Never mind, saw the price and built specs above on the first step. Missed that the first read through. I'm going to try and get the parts and build this tomorrow.

Thanks for this project. Excellent work. I'm going to test it on a Plug In Prius I have.