Archive | August 2012

DIY twitter-controlled message display

Although originally designed to be an automated way of leaving messages on your office door, this project can be used anywhere that an Ethernet-enabled Arduino board can be installed. Using some nifty coding, the Ardiuno can parse an RSS feed from your twitter account and display messages on an LCD module when the appropriate sequence of characters has been detected in the feed. This could be considered a one-way paging unit where the message comes from the twitter world. Furthermore it can also read the temperature from an external service and display this as well. Neat.

Although this may sound complex, it’s pretty easy. So click here to get started. And we’re on twitter and Google+, so follow us for news and product updates as well.

 

Looking to do this for yourself? Then you need an Ethernet-enabled Arduino board. We have two, the Freetronics EtherTen:

… the Arduino-Uno compatible with onboard Ethernet, microSD socket and optional PoE. Or if you need an Arduino Mega2560 board, consider the Freetronics EtherMega:

Quite simply the EtherMega is the fully-loaded Arduino-compatible board on the market today. Apart from being completely Arduino Mega2560-compatible, it includes full Ethernet interface, a microSD card socket, full USB interface, optional Power-over-Ethernet support and still has a circuit prototyping area with extra I2C interface pins. So if your project is breaking the limits, upgrade to the EtherMega today. 

Make your own simple Kitchen Timer

And now something for those just starting to experiment with their Arduino boards – a great little kitchen timer project brought to us by Instructables user ‘anonymouse197’. By using their Arduino, ten LEDs and other simple hardware along with a piezo buzzer – a customisable timer can be made. The LEDs are used to show the time left during operation, and also form part of the user interface. Watch the following video for more notes and a demonstration:

 

As always this project is open for modification, such as reducing the time periods represented by the LEDs or having it play a tune when the alarm activates. So to get started, click hereAnd we’re on twitter and Google+, so follow us for news and product updates as well.

When making your own projects that require a buzzer or the ability to play a reasonable tune – use the Freetronics SOUND: sound and buzzer module:


This versatile piezo-element module can be used for both input or output! It can be used as a noise-maker driven by your microcontroller for audible feedback of events, and it can also be used as a knock-detector input to sense events and react to them. Includes a built-in 1M resistor to allow the piezo element to detect shocks. For more information and to order, click here


Thoughts about Arduino and Finite State Machines

Over at the ‘hacking majenko’ site, Matt has articulated his thoughts on different methods of programming an Arduino. Not different as in language, different as in the algorithm created to solve the problem. In his article Matt proposes thinking about a project in the terms of a finite state machine (FSM). In doing so, this increases the structure and reduces the need to rely on if, then, else, while and the delay functions. Furthermore by thinking of your project as an FSM, it is easier to add more functionality to the code later in following updates, as you’re just introducing more actions that can happen upon an event. 

 

Apart from theoretical discussion Matt has included examples of an Arduino sketch to demonstrate his points. For more information click here. And we’re on twitter and Google+, so follow us for news and product updates as well.

 

If you’re interested in more detailed and useful projects based around an Arduino board – read a copy of “Practical Arduino” by Jonathan Oxer and Hugh Blemings:

 

Create your own Arduino-based designs, gain an in-depth knowledge of the architecture of Arduino, and learn the easy-to-use Arduino language all in the context of practical projects that you can build yourself at home. Get hands-on experience using a variety of projects and recipes for everything from home automation to test equipment. For more information and to order, click here

Make a typewriter with an old keyboard, dot matrix printer and Arduino

Francisco Reinoso has found a fun way to use technology that ordinarily would probably be left on the footpath for the garbage collection. He has used an old PC keyboard with the original DIN-interface, a dot-matrix POS printer with a Centronics interface and connected the two with an Arduino. This results with a project whereby the user can simply type something on the keyboard, press enter – and the text is printed. For the non-believers, check the following video where Francisco runs through the entire project:

 

This is one of those projects that show how easily you can control something with an Arduino. For the sketch, notes and schematics download Francisco’s pdf file. And we’re on twitter and Google+, so follow us for news and product updates as well.

 

Although working with a Centronics interface is easy with Arduino, there are some devices that use a 3.3V line voltage instead of 5V. When you’re faced with this situation – don’t panic! Make sure you have some of our LEVEL: bidirectional 5V-3.3V level converters in stock. For more information and to order, click here.

Control a RC Car via a PC and Arduino

Almost any inexpensive remote-control car or toy has a simple remote control that consists of normal buttons. Taking advantage of this, the remotes can be opened and connected to digital outputs of an Arduino board to allow control via the sketch. The people at the JBprojects blog have taken this one step further by writing Java software to create a control panel which can then forward commands to the car via the Arduino and the USB-serial connection on the board. Here is a quick demonstration of it in action:

 

The hardware required to complete this project is incredibly easy, and would make a fun afternoon tooling around. So to get started, click here for the detailed instructions, Java code and Arduino sketch. And we’re on twitter and Google+, so follow us for news and product updates as well.

 

 

Display PC CPU and memory load with analogue meters

From “The mad science of an insane ginger” blog comes a simple project of interest to the PC performance enthusiasts. Using an Arduino and two analogue panel meters, the CPU load and memory usage can be displayed using information sent from a python script running on the PC. Analogue panel meters can be driven quite easily using pulse-width modulation and this is also the case in this project. And by making your own background images for the meters and a nice housing, you can turn this into a professional project.

For more information, the Arduino sketch and python code head over to the articlehere. And we’re on twitter and Google+, so follow us for news and product updates as well.

 

If Arduino is new to you, a great start is our Freetronics Eleven – the Arduino-Uno compatible with low-profile USB socket, onboard prototyping space and easy to view LEDs:

Improved Arduino timer library

Arduino enthusiast and author Simon Monk has created his own version of the Arduino timer library in order to overcome some shortcomings of using the delay() function – as it holds up everything. With his library you can create multiple events that can be activated within a sketch and operate on their own timings. It’s a clever library and worth investigating further. 

To do so, visit Simon’s blog for more examples and to download the library. And we’re on twitter and Google+, so follow us for news and product updates as well.

 

For longer timing events that require working with real time and date – consider using our super-accurate real-time clock module. Based on the DS3232, it has a temperature-controlled crystal oscillator for accurate time keeping, battery backup and 236 bytes of non-volatile memory for user data. For more information, see our modules page

Make your own coffee bean roaster with Arduino

Instructables user ‘nightlife31’ has modified a simple popcorn make to instead roast coffee using some imagination, Arduino and external hardware. By controlling the speed of the fan in the popcorn maker, the temperature of the beans inside can be controlled – and an excellent candidate for automation. The results are effective and you can also control and calibrate the system with a PC as they’re using the POID library. Please note that this project involves working with mains current which is dangerous to say the least, and that all work must be completed by a licensed electrician. 

So if you’re a coffee fiend and enjoy your own roast, head over here to get started. And we’re on twitter and Google+, so follow us for news and product updates as well.

 

When making your own version of the coffee roaster, consider the Freetronics LCD & Keypad shield which contains a bright 16×2 character LCD and five buttons that can be read from only one analog input pin:

MatrixClock: an 8×8 LED matrix clock without buttons

Once again Freetronics customer Mark Wilson has published another in his great series of Arduino-based projects. In this instalment he has shown us the “MatrixClock”. As you can see in the following video, the time is displayed using the LED matrix in a unique method. An accelerometer is used to detect movement, and the clock’s modes and settings are changed by physically moving it about. Furthermore there’s a light sensor to control dimming of the display.

 

Kudos to Mark for such a great project and we look forward to his next works of art. For more videos and images of the clock, click here – and the sketch can be foundhere. And we’re on twitter and Google+, so follow us for news and product updates as well.

 

Have you created a project using Freetronics equipment? We’d love to hear about it – you can post details in our Project Showcase forum.

 

When working with time and Arduino (or any other system with the I2C bus), consider using our super-accurate real-time clock module. Based on the DS3232, it has a temperature-controlled crystal oscillator for accurate time keeping, battery backup and 236 bytes of non-volatile memory for user data. For more information, see our modules page

Control Arduino via Android and TCP

There are many ways to control an Arduino board with an Android device – for example via bluetooth or direct connection with our USBdroid board. However Abdulrahman Alotaiba in Qatar has created another way of doing so – by creating a TCP server in python that waits for commands from any device connected to it (in this case his Nexus S phone) and then sends serial commands to an Arduino. Check out the following demonstration:

 

A great wireless solution and also open-source. To get started click here. And we’re on twitter and Google+, so follow us for news and product updates as well.

 

For a direct Android interface or other applications that require a USB host shield – consider our Freetronics USBDroid:

 

The USBDroid combines the functionality of theFreetronics Eleven along with a USB host-mode controller and a microSD memory card slot all merged together into a single, integrated board that is 100% Arduino compatible. This is the ideal platform for developing peripherals or projects based around Android devices with ADK (Android Developer Kit) functionality, but without requiring a USB host controller shield stacked onto an Arduino. Connect your Android phone for all kinds of controller and networking features, and other USB devices like game controllers, Bluetooth dongles, digital cameras, etc. For more information and to order – click here!