Simon P Stevens

 

Subscribe

 

 

  • Loading twitter feed...
follow me

 

Microcontroller programming

 

This page contains information on all of my microcontroller projects.

I currently own an Duemilanove, and a Netduino. I've also been playing around with an ADXL345 accelerometer recently so expect some posts on that at some point too.

Arduino have recently revamped their product line and released two new boards. The Uno and the Mega2560, but as these new boards retain compatibility with the older Duemilanove and Mega boards I'm not going to be upgrading just yet.

Some Arduino photos.

 

 

Microcontrollers for Beginners - 5. Input

In this post I am going to show you how to read input data from components connected to your microcontroller. First we need to build a circuit:

...

Read more

Sunday, December 12, 2010 [permalink]

 

 

Microcontrollers for Beginners - 4. Blink program

If you have been following this series of posts you will now have your LED circuit wired up with a resistor and ready to go. In this post I will explain the program to control your circuit for both the Arduino and Netduino platforms.

...

Read more

Saturday, December 11, 2010 [permalink]

 

 

Microcontrollers for Beginners - 3. Ohms Law

Before you get started building your own electronic circuits you are going to need to know a little bit about voltage, current and resistance. The relationship between these three things is known as Ohms Law. In this post I'll explain the equation and run through an example of how it's used.

Ohms Law

V = I * R

[V = Voltage, I = Current, R = Resistance]

...

Read more

Friday, December 10, 2010 [permalink]

 

 

Microcontrollers for Beginners - 2. Equipment

In this post I'll be showing you what equipment you need to get you started with programmable microcontrollers. If you haven't got your board yet, you can read about some of the available boards. in the first post in this series

Multimeters

...

Read more

Thursday, December 9, 2010 [permalink]

 

 

Microcontrollers for Beginners - 1. The Boards

Have you ever wanted your software to interact with something physical. What you need is a a microcontroller. This series of post is a beginner's guide to microcontrollers. I'll be showing you some of the available options, what equipment you need, and most importantly how to get started with your first basic programs.

So what is an Microcontroller?

"A microcontroller is a computer on a single integrated circuit containing a CPU, memory, and programmable input/output peripherals"

...

Read more

Wednesday, December 8, 2010 [permalink]

 

 

Netduino Arrives

My brand new Netduino arrived this morning. It's been on order for a while, but it has been more popular than the manufacturers were expecting so it's taken them a while to catch up with orders. I suspect that might have been something to do with Scott Hanselman's blog posting on it.

Netduino packaging

...

Read more

Wednesday, October 13, 2010 [permalink]

 

 

Arduino Introduction

So what is an Arduino?

"Arduino is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software"

Arduino photo

Arduino is a combination of a hardware package that is fully open and an SDK to control the hardware. The fact that Arduino is an open platform means not only are you free to download the specs and build the hardware for yourself, but there is also a wide range of compatible projects with all kinds of custom modifications.

...

Read more

Sunday, October 10, 2010 [permalink]