Unfortunately I couldn't finish the project before Halloween because I moved recently and didn't bring the right tools with me. However, I will continue the build and blogs. Different from my last blog Step by Step Build Trick or Trivia Halloween Candy Dispenser #4 - LED blink test, GUI Interface, today I will blog the build of audio amplifier. Usually the sequence when I manually solder components is from low profile parts to high profile parts. To get a good sense of the solderi ...

While I am waiting for answers about starting Python interpreter in privilege mode mentioned in my previous blog Step by Step Build Trick or Trivia Halloween Candy Dispenser #3, I'd like to continue my journey. This is going to be a short blog about how I work on LED blink. I wrote a small piece code LED_Blink_Test.py which blinks LED(toggling red/green LEDs every second) until I hit the enter key. It works as expected.
import RPi.GPIO as GPIO
import time
import sys
import select
G ...

Following my previous blog Step by Step Build Trick or Trivia Halloween Candy Dispenser #2, I will start with the Python GUI in this blog. I got the LCD display work and I can SSH to my Pi 2 in the last two blogs, so I decided to try out Python GUI code in the SSH session. However, it didn't work. I thought I could create a widget on the LCD by typing Python code root=TK() in SSH session. Obviously, I was wrong.
pi@candydispenser1 ~ $
pi@candydispenser1 ~ $ python
Python 2.7.3 (defau ...

Following the previous blog Step by Step Build Trick or Trivia Halloween Candy Dispenser #1, I will start from configuring WiFi. I used a couple of links to help me set up Wifi: https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md and How-To: Add WiFi to the Raspberry Pi | Raspberry Pi HQ. Basically you need add a new network in /etc/wpa_supplicant/wpa_supplicant.conf file like this
network={
ssid="your router ssid"
psk="wifi ...

This series of blogs will show how I build theTrick or Trivia Halloween Candy Dispenser project step by step following Charles_Gantt's series of blogs Trick or Trivia Halloween Candy Dispenser #001 - Project Introduction. First of all, thank element14Dave & element14 for giving me this opportunity. I received my kit a few days ago. Below is what in the box. I noticed that the kit includes a 4GB SD card instead of microSD card, so I have to find myself a 8GB micro SD card as ...