Monday, January 23, 2012

Introduction to Microcontrollers

Microcontroller
We will be using the PicAxe 08m as a microcontroller to control electronic components. Microcontrollers are quite useful because they are compact, programmable, control several components, and versatility. We begin by setting up a simple circuit to our microcontroller. Next, we program the microcontroller to blink for a determined duration.
 time = 0
   time > 0

We also built and programmed the same circuit except this time we use a Light Dependent Resistor (LDR) and two LEDs to show the how the microcontroller works with a sensor.

  With light.
Without light.
 
Taking a photo of this circuit proved quite difficult because the flash on my camera kept triggering the LDR which is the reason for why there was a little bit of light left in the green LED.

No comments:

Post a Comment