Jason (Tse-Kang) Wang
How to make (almost) anything!

Week 07

embedded programming


This week, we are assigned to program the hello world board we made last week to do something. (I also finish and update week03's hellp ISP board since I received my new parts for it.)

To begine, I use Arduino IDE and program the board to use the on board LED and button to switch between three flashing pattern, fast, slow, and stay on,

After that is done, I add to resistors and made the back side of the board into a Capacitive Sensor to detect human touch. If the it touch a human body, the LED will light up.

Arduino IDE "hello-world-blink"


Writing and programming the board


Arduino IDE is probably one of the easiest software to use for this week in Windows envirement. Again, using the Fab Academy archives, I found out the pin number of each pin in Arduino IDE.
Using the FabIsp I made weeks ago, program the hello world board. I also try to program the board with USBasp, which can supply the voltage for the hello world board: no need for FTDI cable. Here is the Link to the video of the programmed board working.


Bonus: Modify the board and code


Here I modify the board to be able to detect if someone is touching the back of the board. The board will light up the LED if it sense a touch, and stay on as long as the touch remain.