diff --git a/README.md b/README.md index 0388540..cd5ea2e 100644 --- a/README.md +++ b/README.md @@ -39,13 +39,15 @@ gpios = { } ``` -Edit the crontab configuration so the script starts at every reboot/start-up: +Make sure to enable the setting "Wait for network on boot" in the Raspberry Pi config screen. Use `sudo raspi-config` to go to the settings. + +Edit your `rc.local` file to make the script run at boot. Edit it using the command: ```sh -sudo crontab -e +sudo nano /etc/rc.local ``` Using your cursor keys scroll to the bottom and add the following line : ```sh -@reboot python /path/to/the/script/rpi-jenkins-tower-light/jenkinslight.py & +python /path/to/the/script/rpi-jenkins-tower-light/jenkinslight.py & ``` Reboot your Raspberry Pi: ```sh @@ -66,13 +68,19 @@ At startup of the scripts all light's and buzzer will be toggled once. ## Circuit Board The board is created with a few simple components like 220 Ohm resistors, N-Channel MOSFET's and an Adafruit Perma Proto board HAT for the Raspberry pi. -Below you will see the component layout in Fritzing as well as the end result. I re-created the Perma Proto HAT board in Fritzing to have an accurate image of the component layout. +Below you will see the component layout in Fritzing. I re-created the Perma Proto HAT board so I could have an accurate as possible layout of the component. This made the transfer to the physical board a breeze! Feel free to re-use the board for other projects. Fritzing -End result board +The finished circuit board attached to the Raspberry Pi zero inside of the enclosure. + +End result board + +The enclosure before closing everything up with all the switches on front. The white calble to the left is the micro-USB to USB with an Ethernet to USB connector plugged in. + +Enclosure -Schematics and Fritzing files can be found in the `/fritzing` directory. +Schematics and Fritzing files can be found in the `/fritzing` directory and all the images in the `/images` directory. #### Components used - 4x N-Channel MOSFET (IRLB8721) diff --git a/images/board.png b/images/board.png new file mode 100644 index 0000000..8f4a0eb Binary files /dev/null and b/images/board.png differ diff --git a/images/enclosure.png b/images/enclosure.png new file mode 100644 index 0000000..93e2843 Binary files /dev/null and b/images/enclosure.png differ