Get your VAT back + 15% discount on all items. (Coupon code: VAT+15%OFF)

Powering up the Microcontroller

Posted by Mohammed 15/11/2014 0 Comment(s) Microcontrollers,
Hello! This is the second tutorial in getting started with Microcontrollers. In this tutorial, we are going to use the power supply which we made previously to power up our microcontroller. We will assume that the microcontroller is pre-loaded with a program which will toggle the pins PORTB (if you buy from zero ohm, you can request us to pre-load the microcontroller at no extra cost!). Therefore, once the microcontroller is powered-up correctly and the LED is connected, we should see a blinking LED!
Why (do you need this)?
Essential steps for any microcontroller circuit
What (do you need)?


list of items for this tutorial
5v Supply (from previous tutorial)1
Microcontroller (ATmega328)1
Capacitor - 0.1uF2
Green (or any color) LED1
Resistor – 10K1
Resistor - 300 ohm1
(The components are available on our online store)
(sorry, I forgot to include thw two resistors on the picture)
How (to make it)?
Before we connect anything, let us have a look at the microcontroller pin-out
You can find this in the microcontroller’s datasheet ( or just google "ATmega328 datasheet"
Have a closer look at pin 7,8, 20, 22, YES these are the power lines, so let us go ahead and connect them up
We also need to make the following connection to make sure the microcontroller does not RESET unintentionally, more on this later. Connect a 10KΩ resistor between pin1 (PC0) and VCC
Finally connect the positive LED (the longer lead) to pin14 (PB0) and the other on GND, [you do not need a pull-up resistor because the MCU output is limited to 20mA)
That is it!
Power-up the circuit, you should see the power LED (red) ON steadily, and the green LED blinking ON-OFF
Now the microcontroller is up and running, the next step is to write your own program and download it!

All the components are available on our online store

Leave a Comment