Pin definitions

A project log for Raspberry Pi EVSE Hat

Use a Raspberry Pi to build an EV charging station

Nick SayerNick Sayer 10/06/2019 at 01:020 Comments

To make this work, you need to manipulate these GPIO pins (note these are GPIO numbers, not the actual pin numbers on the Pi GPIO connector):

In addition to the above, the MCP3004 ADC is connected to the SPI system, on device zero (/dev/spidev0.0). The first three channels are connected to:

To make a proper pilot, you must configure the Raspberry Pi hardware PWM timers (the PWM functionality in the Python GPIO library won't do).

To make the ADC available, you must use raspi-config and enable SPI. In order to turn on the hardware PWM on pin 18, you need to add:


to /boot/config.txt.