About Microcontrollers

This page contains an archive of all entries posted to Gadget Master in the Microcontrollers category. They are listed from oldest to newest.

Lighting is the previous category.

Motor controllers is the next category.

Many more can be found on the main index page or by looking through the archives.

Sponsored by RS

Sponsored by RS This blog is brought to you in association with DesignSpark, powered by RS.

Subscribe


Sign up for the fortnightly Gadget Master eNewsletter. Get design ideas and circuit schematics straight to your email inbox, no fuss. Just tick the option for Circuits.


RSS Subscribe to this blog's feed
[What is this?]
ElectronicsNews on Twitter Follow ElectronicsNews

Archives

Recent Comments

Alun Williams - Electronics Weekly.com on A Steampunk fax machine?: Good point. I suspect, Matt, that early incarnations ma

Matt Wilmshurst on A Steampunk fax machine?: I may be exposing my ignorance but that fax machine loo

Alun Williams - Electronics Weekly.com on Washing Machine + Arduino == Laundrino: Good one, Pete - you sound like the perfect reader for

Alun Williams - Electronics Weekly.com on Musical GPS guides cyclists on their way: Interesting LJ - could you please email me the title of

Alun Williams - Electronics Weekly.com on Washing Machine + Arduino == Laundrino: 'Laundrino particle'? I like it - it would explain so m

Anonymous on Washing Machine + Arduino == Laundrino: Surely the Laundrino is what individual socks turn into

LJ on Musical GPS guides cyclists on their way: I already have an android gps program that vibrates dep

Pete on Washing Machine + Arduino == Laundrino: Long before home computing, I installed a moving coil a

Chris on Projects to Make with a Dead Computer: Oh, and it's £8.99 on Amazon, not £6.99 :-(

Chris on Projects to Make with a Dead Computer: Apart from the howler on p7 (DC depicted as sinusoidal)

Sponsored by...

Sponsored by RS This blog is brought to you in association with RS.

Main

Microcontrollers Archives

October 23, 2007

Top 10 Tips for the PIC16C508

A common complaint shared by electronics engineers is that they run out of output lines when programming. Many projects need lots of drive lines and if one needs more than around eight, it may be wise to jump to another microcontroller.

micro.JPG

Continue reading "Top 10 Tips for the PIC16C508" »

October 29, 2007

Build your own 89C51 PABX

This 89C51 PABX project is basically an eight line intercom from which you can call one to eight numbers.

dial1.JPG

Continue reading "Build your own 89C51 PABX" »

October 30, 2007

Gadget Master Halloween Special

Michael Seppanean shows us how to use a Basic Stamp microcontroller combined with a Park Zone Stoplight and a hacked Epsom printer to make a pumpkin pop up automatically when a visitor comes to the door.

halloween1.JPG

Continue reading "Gadget Master Halloween Special" »

November 12, 2007

Arduino Sound - Part One

David Fowler writes:

"This is the first in a series of articles about generating sound with an Arduino."

arduino%20sound.JPG

Continue reading "Arduino Sound - Part One" »

November 14, 2007

Arduino Sound Part Two: Hello World

David Fowler writes:

"This is the second in a series of articles about generating sound with an Arduino. The first article covered the various methods available for sound generation with an Arduino."

Arduino.JPG

Continue reading "Arduino Sound Part Two: Hello World" »

November 28, 2007

Arduino Sound Part Three: Playing a Melody

This is the third in a series of articles about generating sound with an Arduino.

arduino%203.JPG

Continue reading "Arduino Sound Part Three: Playing a Melody" »

December 5, 2007

Arduino Interrupts

David writes:

"Often when working on microcontroller projects you need a background function to run at regular intervals. This is often done by setting up a hardware timer to generate an interrupt. The interrupt triggers an Interrupt Service Routine (ISR) to handle the periodic interrupt."

arduino1a.JPG

Continue reading "Arduino Interrupts" »

January 2, 2008

Using a Digital Multimeter

uCHobby does an instruction MindBite video about Digital Multimeters (DMM).

DMM.JPG

Continue reading "Using a Digital Multimeter" »

January 4, 2008

Jerry had high ambitions

How high can you go? That's a question that model rocket enthusiast Jerry Baumeister wanted an answer to. Cheap enough to be used in even "risky" launches, Jerry's battery-powered device features a circuit designed around a Flash microcontroller that performs an analog-to-digital conversion of the voltage produced by an absolute pressure transducer. Altitude and operational data is then output to two LEDs. Since the output is in A/D units, Jerry just has to do a quick mathematical conversion and he's flying high. Or at least he knows if his rockets are.

Jerry.JPG

Continue reading "Jerry had high ambitions" »

January 9, 2008

Arduino Audio DAC Options

DAC is short for Digital to Analog Converter. In this article we play around the code Michael Smith created for a PWM based DAC.

arduinodac.JPG

Continue reading "Arduino Audio DAC Options" »

January 30, 2008

Les wears his silicon on his sleeve

Looking for cool way of wowing that special someone on Valentines Day? Build her a flashing heart made from LEDs driven by a programmable microcontroller. Les' gadget is simple to build and made from easily-obtainable parts. The unique thing about this design is the LEDs are in an X-Y matrix so each LED is addressable. This allows an unlimited combination of displayed patterns for the heart. Source code and schematics are all available here and if you're not into hand wiring, even the PCB can be had for a small fee. Diamonds may be a girl's best friend but gadgets are forever.

les1.JPG

Continue reading "Les wears his silicon on his sleeve" »

March 20, 2008

Business card breakout boards

Looking for a new way to make your business card stand out from the pack? Imagine the expression on a potential contact's face when you hand them this.

From the extremely well-titled Evil Mad Scientist site, comes a unique - not to mention fully functional - twist on the good old business card.

buscard1.JPG

Continue reading "Business card breakout boards" »

August 15, 2008

Peter's F1 gantry start-lights race into position

gf aug 08 lights and board.jpg
Peter Griffiths - the man who turned a lamp into a work of art - moves into pole position with the featured Gadget master for August.

Based around LED cluster modules and a microcontroller, the circuit drives F1-style gantry race start lights.

Who wouldn't want to be the race controller, with their finger on the starting switch?

Fully documented in terms of parts and the build process, Peter has provided loads of photos to help navigate construction. And for those of you who don't have access to PCB making facilities, there are photos of building the project on stripboard.

Continue reading "Peter's F1 gantry start-lights race into position" »

September 23, 2008

Modding the Nintendo GAMECUBE into a PC

gamecube old.gifIt's not a new concept taking an existing object and modifying it into something new, particularly with games consoles. For instance it didn't people long to channel the power of the PS3 into a Linux based PC or, more recently, an old NES into an alarm clock.

It then comes as no surprise that someone has taken a shot at modifying an old GAMECUBE and it has to be said they've done rather a good job.

Dubbed the Picocube, the fabled Nintendo machine now sports a tiny Pico-ITX motherboard (100mm x 75mm), 100GB of SATA hard disk space, 1GB of RAM, two USB ports and a VGA port!
 

Continue reading "Modding the Nintendo GAMECUBE into a PC" »

October 14, 2008

Is the future of computing going pen-shaped?

pen shaped 1 only.jpgThis friends could be the future... and it comes from 2003! A friend told me last week about plans he had seen for an entire computer confined to five pen-shaped objects. With mobile phone functionality, too.

At first I didn't believe him. I could see how most of the computer would work like this, flash memory can be confined to brilliantly small spaces and there are devices on the market at the moment that can project a virtual keyboard onto a work surface. However what about the CPU and the monitor, how could they fit into something the size of an ordinary pen?

Continue reading "Is the future of computing going pen-shaped?" »

January 20, 2009

SpikePOV - Bicycle LED persistence of vision

spokepov 2.gifThanks to our Technology Editor, Steve Bush, for spotting this one - SpokePOV, or "persistence of vision for your bike". It's a way to have a bit of fun, driving LED lights to improve your bike's visibility.

According to the website, "Spoke POV is an easy-to-make electronic kit toy that turns your bicycle wheel into a customized display!"

"The project includes a free schematic design, open software for uploading and editing stored bitmap images, and a high-quality kit with all the parts necessary to build your own."

It promises, with one spoke, total persistence at 15mph. Two spokes, 10mph. Three spokes, 7mph. (Assuming a mountain bike wheel).

Details of the specification include:

Continue reading "SpikePOV - Bicycle LED persistence of vision" »

March 16, 2009

Bella Italia

bocca di verita.jpgAhead of the imminent March/April competition post, here is an Italian-themed round up of Gadget Master posts.

As a self-confessed Italophile, I needed no prompting to choose this one, and we have a rich set of posts to choose from. The Italian designers Flavio Dellepiane and Alberto Ricci Bitti, in particular, have submitted a number of excellent full projects.

The posts range from LEGO robots and fridge alarms to remote monitoring and plant watering systems. All involving Italian-originated submissions, check out:

Continue reading "Bella Italia" »

May 19, 2009

Sigh Collector breathes on wireless Arduino system



This is hilarious. You may have seen the Bone Collector, well, here is the Sigh Collector.

One inventor has built a system that measures and 'collects' sighs. It records the degrees of his sighing during the day, and then represents the amount of air expelled in a separate visual display.

It is an Arduino-based system made up of two parts. There is a large, inflatable "red air bladder" system, activated by appropriate wireless signal. There is also a few pieces of kit to be worn by the user, with a chest strap monitoring breathing and communicating with the red bladder.

Continue reading "Sigh Collector breathes on wireless Arduino system" »

May 29, 2009

The many faces of Arduino

laser harp arduino smaller.jpg
Ahead of the imminent June/July competition, and inspired by the recent Sigh Collector and Peggy 2 LED array posts, here is an Arduino-based roundup of Gadget Master blogs.

Once again, we were spoiled for choice, with the posts ranging from Jingle Bells, through beer thermostats to laser harps.

Check out these Arduino nine:

* Build your own laser harp

* Arduino Audio DAC Options

Continue reading "The many faces of Arduino" »

August 4, 2009

While my Wacom guitar gently weeps...

crayon guitar.jpg
After the Laser Harp, here comes the tablet guitar... more musical instruments melded with technology.

I wonder what Slash would make of this - a specially modded guitar that uses a tablet to help create electronic sounds. You draw the chords, as it were.

Credited to one Sébastien Coulombe, it is dubbed "la Guitare à crayon" - the Crayon Guitar, in English pounds, I guess. It takes the body of an accoustic guitar and inserts a tablet over the sound board, enabling freeform sketches of the hand to trigger sounds of a particular character.

Continue reading "While my Wacom guitar gently weeps..." »

October 30, 2009

Video: MCU turns the gears of time



Check out this inventive use of an MCU and stepper motor by one Alan Parekh.

This great looking gear clock tells the time in a unique way. A PIC 16F628A microcontroller with an external 20MHz crystal oscillator times a stepper gear, which drives a minute display, which also drives an hour display...

It's 11:21 in the still above, by the way.

Details of Alan's project can be found here: http://alan-parekh.com/projects/gear-clock/

Of the motor, he writes:

Continue reading "Video: MCU turns the gears of time" »

April 12, 2010

Arduino + Accelerometer == DIY music controller

This Gadget Master was facing his Physical Computing and Max MSP finals, and the great project he came up with was... to create a motion-sensitive music controller. It's Tilt to Play!

Physical Computing - Final Project - Max MSP Controller from Ryan Raffa on Vimeo.

Continue reading "Arduino + Accelerometer == DIY music controller" »

June 11, 2010

Watch out, there's a new BeagleBoard about

Beagle_Board logo.jpgIt's not all about the (Atmel AVR-based) Arduino here on Gadget Master, check out the latest (TI OMAP3530-based) BeagleBoard offering, the xM.

Available from Digi-Key for $179, the devkit is equipped with 512MB of memory and an ARM Cortex-A8 based processor to run open source office apps such as OpenOffice.org and Firefox.

There is on-board Ethernet and four USB 2.0 ports that support low, full and high speeds. But here's the hardware spec in full:

Continue reading "Watch out, there's a new BeagleBoard about" »

June 15, 2010

Spinning up time on an LED hard drive clock

Wow. How cool is this? A spinning hard drive that displays the time.

LEDs positioned behind the disk will shine through the cut out numbers in the platter, with a custom controller circuit automatically coordinating the blinking LEDs. These will illuminate the appropriate number windows when they are lined up.

It takes time to warm up - patience, while watching - but when the platter hits the right speed, the time emerges... Magic.



Continue reading "Spinning up time on an LED hard drive clock" »

February 10, 2011

Which is your favourite Beagle Board design?

Beagleboard.jpgTI is running an Open Source Design Challenge for its Beagle Board development system. Why not cast your vote for your favourite design?

The intro to the vote says:
Over the last several weeks, students from the University of Texas at Austin have stepped up to the challenge of finding innovative ways to create a practical application using Texas Instruments' (TI) ARM cortex-A8 processor, also known as the BeagleBoard. You now have the opportunity to check out their designs and vote for your favorite!  There are many great designs.  So if you can't decide, you might consider the application's design complexity, the potential market demand or if the application is truly inspiring.

Continue reading "Which is your favourite Beagle Board design?" »

March 18, 2011

Gameduino spritely takes centre stage

gameduino.JPGWe've often sung the praises of the Arduino - see the roundup The many faces of Arduino, for example - but this has never involved the subject of gaming.

Well, you can now connect your Arduino system to a VGA monitor and speakers, to enable writing an Arduino sketch to create video games (via Forth)...

Thanks to Technabob for highlighting this interesting Arduino-based development - support for 8-bit video gaming via the Gameduino, based on a Xilinx FPGA. It is a properly designed, tested, and documented project created by Gadget Master James Bowman, and it is made available as open-source hardware (BSD license).



Continue reading "Gameduino spritely takes centre stage" »

March 23, 2011

Video: A Wise Clock plays Pong



This one made me smile. Apparently, reports Hackaday, there is a whole genre of such Pong clocks. This one, called the Wise Clock, is apparently one of the better ones, with realistic paddle movements!

You can read in detail about building the Wise Clock on the Wise Time blog, and the source code is available for download here (it compiles with Arduino IDE 21, with target set to "Sanguino").

Continue reading "Video: A Wise Clock plays Pong" »

May 2, 2011

Arduino Reprise: clocks, bikes, words and cameras

word clocks.JPGTime, I think, for another Arduino-based roundup of posts (ahead of the imminent June/July competition). It's a couple of years since the last one - The many faces of Arduino - and there is plenty of new material to highlight.



Topics range from works of art and games to camera blurring and laser clock displays.

Check these out:

Continue reading "Arduino Reprise: clocks, bikes, words and cameras" »

September 23, 2011

Engaged or vacant? iPotti monitor knows when to go

iPotti.jpgThis one kind of reminds me of the Trojan Room coffee pot, the world's first webcam monitoring a coffee pot in the old computing department of the University of Cambridge...

An inventive Gadget Master was frustrated at work by never knowing whether a distantly-located small room was occupied or not. So he set about creating a monitoring system that would help avoid useless trips - he dubbed it iPotti, the box for which carries the slogan ' know when its time to go'. It should be emphasised that sensors rather than webcams are used!

Using a Make interface board powered by an a Atmel Sam7 Arm microcontroller, he also employed some ambient light sensors and some Ethernet connectivity and built the system himself.

Continue reading "Engaged or vacant? iPotti monitor knows when to go" »

November 4, 2011

Lego + microprocessor + Bluetooth == TimeTwister



A bit of fun for a Friday - an impressive twist on lego functionality. Thanks to our sister site New Scientist for flagging this one. It's the work of one Hans Andersson who has developed the eye-catching Time Twister...

Continue reading "Lego + microprocessor + Bluetooth == TimeTwister" »

January 9, 2012

How to build a whistle-activated light switch

whistle switch.jpgThis is a good project - building a whistle-activated light switch. Hold a note to turn it on, and whistle again to turn it off!

Check out the website of Luke Allen, a US Navy officer, where he details the project - Whistle-activated switch - and provides circuit diagrams, C code and explanations, and lots more.
"This device turns my bedroom ceiling light on or off when I whistle a steady tone. It lets me turn on the light before getting up in the morning, to help myself wake up. It also lets me read in bed at night and then turn off the light without getting up. (The project was inspired when I read Atlas Shrugged a few months ago and couldn't put it down. I liked the vehement anti-socialist arguments and the fact that the ideal man in the book is a tall electrical engineer. Both things are true.) Some people might suggest that buying a bedside lamp would accomplish the same thing as this project, but I don't listen to those people. Also, this method lets me control a brighter light and costs slightly less."

Continue reading "How to build a whistle-activated light switch" »

January 12, 2012

Raspberry Pi #0001 goes for £3,500 on eBay

Raspberry Pi 0001 goes for £3,500 on eBayI don't know if you have been following the Raspberry Pi project - it looks very promising material for Gadget Masters - but a £20 Raspberry Pi computer sold for £3,500 on eBay last night, writes Steve Bush. It is intended to cost under £20 when it goes into production.

The Raspberry Pi Foundation, which intends to sell its educational computers directly, auctioned 10 of its beta production board on eBay.

As executive director Eben Upton pointed out in a video on the Foundation's website, this limited auction was aimed at: computer collectors, benefactors intending to donate to the foundation - which is a charity, and software development firm's wanting hardware before full-production boards are released later this month.

Continue reading "Raspberry Pi #0001 goes for £3,500 on eBay" »

January 25, 2012

Video: The Four-bit Maze challenge, via Arduino

Four-bit maze.jpgThis is a good one, from Gadget Master Oskar van Deventer. He had a vision for a mechanical or electronic puzzle without a screen and without lights, purely tactile and purely mechanical...

Based on an Arduino UNO microcontroller, it's programmed for ten different levels of difficulty, with an Arduino Motor Shield operating the motorfaders, reports Engadget.

He writes:
The Four Bit Maze is an electronic mechanical puzzle that is 100% tactile. The object of the puzzle is to move all four sliders from the "0" position to the "1" position. 

Each challenge has only 16 binary states, and the operation of each challenge is 100% deterministic without any hidden states. Some challenges are easy and playful, whereas others are fiendishly hard.
How does it work? Check out the video below:


Continue reading "Video: The Four-bit Maze challenge, via Arduino" »

February 8, 2012

Video: Get to grips with the BeagleBone

beaglebone-in-hand.JPGWe're all for BeagleBoards here on Gadget Master and this is one I meant to flag before - Texas Instrument's system has a little brother: the BeagleBone, powered by the company's Sitara ARM Cortex-A8 processor.

"It builds in the most loved features of the BeagleBoard but has shrunk the size and price while adding more I/O connections," boasts TI in the video below. The RRP is $89.



To get started, simply plug it into your PC (Windows MacOs or Linux) and you can begin development... It will appear as a Flash drive and you will be able to extract the files to get you going.

Continue reading "Video: Get to grips with the BeagleBone" »