Introduction to Microcontrollers - Buttons and Bouncing

Mike Silva
2 comments

[quicklinks]   What Is A Button? To your hardware, that is.  As discussed in Introduction to Microcontrollers - More On GPIO, a button (or key, or switch, or any form of mechanical contact) is generally hooked up to a microcontroller...


Arduino robotics #4 - HC-SR04 ultrasonic sensor

Lonnie Honeycutt
1 comment

Arduino Robotics Arduino robotics is a series of article chronicling my first autonomous robot build, Clusterbot.  This build is meant to be affordable, relatively easy and instructive.  The total cost of the build is around $50....


Arduino robotics #1 - motor control

Lonnie Honeycutt
2 comments

Arduino Robotics Beginner robotics is a series of article chronicling my first autonomous robot build, Clusterbot.  This build is meant to be affordable, relatively easy and instructive.  The total cost of the build is around $50....


Introduction to Microcontrollers - Timers

Mike Silva
2 comments

[quicklinks]   Timers - Because "When" Matters Computer programs are odd things, for one reason because they have no concept of time.  They may have the concept of sequential execution, but the time between instructions can be...


Introduction to Microcontrollers - More On Interrupts

Mike Silva

[quicklinks]   A Little More Detail About The Interrupt Mechanism It's time to look a little closer at what happens in an interrupt request and response.  Again this is in general terms, and different microcontroller designs may do...


Introduction to Microcontrollers - Interrupts

Mike Silva
1 comment

[quicklinks]   It's Too Soon To Talk About Interrupts! That, at least, could be one reaction to this chapter.  But over the years I've become convinced that new microcontroller programmers should understand interrupts before being...


Introduction to Microcontrollers - More On GPIO

Mike Silva
2 comments

Now that we have our LED Blinky program nailed down, it's time to look more closely at outputs, add button/switch inputs, and work with reading inputs and driving outputs based on those inputs.   [quicklinks]   It's ON - No, It's...


Introduction to Microcontrollers - Hello World

Mike Silva
3 comments

[quicklinks]   Embedded Hello World A standard first program on an embedded platform is the blinking LED.  Getting an LED to blink demonstrates that you have your toolchain set up correctly, that you are able to download your program...


Introduction to Microcontrollers - Further Beginnings

Mike Silva
3 comments

Embedded Programming Basics This tutorial entry will discuss some further embedded programming basics that you will need to understand before proceeding on to the LED blinky and other example programs. We will do this by looking at the...


Lost Secrets of the H-Bridge, Part III: Practical Issues of Inductor and Capacitor Ripple Current

Jason Sachs
4 comments

We've been analyzing the ripple current in an H-bridge, both in an inductive load and the DC link capacitor. Here's a really quick recap; if you want to get into more details, go back and read part I and part II until you've got equations coming...