Arduino EV J1772 Charging Station

Picture of Arduino EV J1772 Charging Station
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
Build and ARDUINO proto shield.

I used the Shield from Adafruit.

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.
ksmith30363 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.
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!

Get More Out of Instructables

Already have an Account?


PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!