I recently had use for the simple signal generatorI described before for testing out some piezo buzzers I got for next to nothing. I reloaded the code onto a TAP-28 board I had handy, made the connections and was quickly rewarded with some noise.
Since I find this really useful to have around, I decided to dedicate a TAP-28 board to the task and mounted it in an enclosure. The the same time, I wrote a simple Windows (sorry Linux...
What's not to like about the idea? A GPS module is the perfect companion to the humble clock and ensures the time is always accurate and never needs adjusting (unless you live in an area that has daylight savings).
Better still, the GPS module does not require a "lock" to multiple satellites - just one or more. "I want to build one!" I hear you say - well read on...
A friend of mine is evaluating solar panel technology for a large-scale home project. An irradiance meter is a handy tool to help evaluate various options. This irradiance meter is a fusion of pieces that came together to make a simple solution possible.
A Handspring Visor PDA provides a slick user interface and logging capability.
The PIC Tetris game (PICtris) spawned from a recent question by RetroBrad in the forum. He wanted to know how to manipulate LEDs and draw 2D graphics. I'm more of a practical kind of guy and in the past, graphics were never an area of concern. I was intrigued to delve into the world of 2D to find out how things tick.
The 64 LEDs and four buttons are controlled by a single PIC (18LF4520) and two AA batteries. The source code operates very efficiently,...
The purpose of the project was to create a 'box' that could control 12-24 timers independently. Each timer required both visual and audible ques. It was a quick-and-easy fun project that threw some curve balls when it came to writing a program that could control 24 timers which could have different states at any point of time.
With a PIC microcontroller at the core, there was plenty of room for 24 timers. Once again, I've used potentiometers for...
Credit where credit is due, this project was inspired by Jon Chandler's Clock for Geeks.
After reading through one of Jon Chandlers recent projects, I was rather inspired to make my own! The Geek Clock is a great spin on a more then well known concept - displaying time. His method employs a Servo, PIC and a little intuition.
This is my first daughter board for the low cost TAP-28 Development Board made by Jon Chandler. It's future purpose is to be used in my own variant of the Servo Clock (also made by Jon!).
Why use the TAP-28 if I had to physically make my own board anyway? Because the TAP-28 has 90% of the gear required to get any small project online and running.
The first servo clock was built using a name-brand servo known for its linearity. The second iteration was built using a low-cost mini-servo. Its linearity was not as good; uncorrected, the time readout was not acceptable.
In the ideal case, locating the delay value at the starting and ending points would be enough for the clock to read properly across the range. The angle of rotation would vary linearly across the scale. ...
Overview
To ensure my Dedicated Servo Controller worked and was stable, I made a Servo "Ranger" program. It's a dual purpose design (discussed later) that allows the user to control 8 servos via two potentiometers.
One potentiometer selects the servo, and the other sets the position. While there are 8 servos to choose from, there is a 9th mode which displays both the total number of packets sent and the total number of errors that have occurred....
[Note: a more rigorous calibration approach for dealing with non-linear servos can be found here.]
Clocks abound with all kinds of off-beat styles. Here's a clock that appeals to geeks (and also works well for stealth clock watching) .
After a recent article from Jon Chandler, I thought it best to share my recent work on the Sure Electronics 915Mhz Wireless Transceivers.
Here's what one looks like from the box;
It's very important to note here that they come in a pair. That means 2xTransceivers and 2xOmni Antenna. At the time of purchase/writing this article, the modules cost US$17.72 a pair.
The datasheet can be downloaded here: GP-GC011
My most recently completed project is a remote temperature and humidity sensor which wirelessly sends the readings to a base station to display and log the data.
For the base station I used an old iPaq Pocket PC which was past its useful life. The remote sensor is controlled by a PIC18F1220.
Download the Swordfish program and Gerber files here: Dedicated Servo Controller Source Files
This project offers a dedicated solution to control servo motors, which can be controlled via USART data packets. This approach has it advantages, though Andy has made an excellent feature enriched Servo Library which can be used in pretty much any program.
Servo Motor's are one of the many hobby electronic marvels that make life a lot easier when working...
I've recently had a few applications where a wireless link would be handy. Looking on eBay, I found that Sure makes a 2.4 GHz UART module for a decent price (US$14 each on eBay including shipping). These are designed as a cable replacement, with a claimed range of 10 meters.
TAP-28 Introduction
Microprocessor applications often require only a simple microprocessor circuit to control an external board, read a few sensors, control a motor or LED using PWM or even run a servo. Implementation of such a circuit is a hassle: dedicating a complex dev board to the task, maybe using a solderless breadboard or hand-assembling the circuit on perf board. None of these is an ideal solution, costing more than needed, having a less-than-robust...
OK, so this project might not be a killer robot or auto-guided missile, though for what ever reason(s) it has turned out to be a decently sized program! The scenario that brought this project to life would most likely be quite unique and rarely encountered, though I thought it would still be worth sharing as the program has a few handy little features and nifty tricks.
Another quick and easy project, this time focused toward a simple robot that rocks a tank full of PCB etchant.
Anyone that fabricates their own Printed Circuit Boards (PCB's) at home will either have a commercial etching tank, or manually rock their etchant solution until the process is complete. Given the price of commercial models are anywhere between $70 and $150, I thought some DIY was in order here. For less than $20 in parts you can make...
LED Boards
I recently brought a few components from Sure Electronics which included aluminium based LED boards. They caught my eye given the cheap price, US$2.04 (at the time of writing this article) and come completely assembled ready to be connected to 12-13.8V. Here's what they look like;
Note: Please ensure you are using the latest version of SDFileSystem.bas (at time of writing: 4.1.4). If you are updating (or do not have the library), then ensure to remove the old "C:\ProgramData\Mecanique\Swordfish\Library\SDMMC" files (if you haven't already).
A work colleague was about 90% of the way through building his own F16 flight sim cockpit, and from what I saw, the whole project was built from the ground up with the highest of care and attention to detail. From the individual control panels to the different displays and other physical aspects. Better yet, it was all DIY. Everything was a near replica of that in real life, and his final hurdle was to design/build something to interface with a High...
When developing an embedded application using analog sensor inputs, testing at specific sensor levels can be difficult. For example, in my icemaker controller project, actions need to occur at certain water levels. Using the actual sensor...
I recently had use for the simple signal generatorI described before for testing out some piezo buzzers I got for next to nothing. I reloaded the code onto a TAP-28 board...
Header pins are ubiquitous on dev boards. Jumpers can be used to make connections during tests and code development but real-world applications need reliable connections. Connectors for single row headers have always been a problem for me,...
I had a couple of issues when using David Barkers module NMEA.bas on my Big GPS Clock project. In particular, variables were being corrupted making the program very unstable.
I'm not familiar...
I'm working on a control system that will have several relays, a bunch of LEDs and a number of switches. I was rapidly running out of port pins on a TAP-28 board to handle all the desired I/O. Possible solutions included adding an I2C port...
Most micro-controller projects use port pins for outputs, often to turn on an LED or motor. When using a port pin as an output, we usually think of two states. A low state means the pin is connected to ground, while a high state means the...
Recent Comments
Great job Andy0 real nice
By be80be
Hi Mike, The USB adapter I used is one of two that I found on eba...
By Jon Chandler
Very nice Jon. Thank you for sharing. May I ask where you found a...
By Mike, K8LH
Nice project. That box looks like a great find - very handy that ...
By andyo
AmiPIC18 LCD Shield (Amicus18™ compatible) - High Contrast Backli...
By picshop.nl