Skip to content

2 Hardware

jgyates edited this page Apr 30, 2018 · 31 revisions

This project has been developed and tested with a Raspberry Pi 3 as the base platform. Since the serial port and network are the only external ports used, the program could be used on other platforms with minor modifications and testing.

In development and testing I used the Raspberry Pi3 with built in WiFi. Depending on your WiFi signal and your generator proximity to the access point your results may vary.

Below is a list of hardware that I used. Since your generator may be different and your network will be different you will need to validate these for your setup.

  • Raspberry PI 3 and SD Card

  • Battery to USB Power Supply

    Power supply for the Raspberry Pi is attached to battery on the generator. Note, this is needed to ensure the raspberry Pi and the generator controller share a common ground. If you use a two prong wall adapter to power your pi you will likely see CRC errors unless you connect ground from the controller through your cable insuring your Pi and Controller share a common ground. I opted for USB power connected to the battery, at the time I started the project I did not know the pinout for power and ground on the controller connector so this option worked best for me. An alternate way to power your Pi is to take 5V and ground from the generator controller connector and power your Pi via the power and ground connections on the GPIO connector. The wiki page on making a cable has additional details on the controller pinout.

NOTE: Some people have reported undervoltage errors on the Pi 3 (not the Pi Zero) when powering through the controller connector. While this has not been reported to prevent the application from running it may not be an ideal way to power the Pi. See this issue for more details.

This is the DigiKey part number of the connector that you will use on your cable (plug). This is required.

This is the DigiKey part number of the connector on the controller (receptacle). This is for informational purposes and is not required.

  • Plug = WM3603-ND
  • Male pin = WM2500CT-ND

I used a molex connector on my enclosure and routed the two wires to a break-out box that a DB-9 (see link above) however there are endless ways to make the connection to your enclosure on the Pi.

Creating a Cable

See the project wiki for info on creating a cable, including alternate methods that do not require using a crimping tool.