Not much there right now, but it is a start.
The problem with delay() is that your code is stuck waiting for the time to elapse. What if you wanted to do something more in that time? There are places where you don’t need to do anything with your processor resource but more often then not, you need to be doing something useful. The IsTime() function introduced lets you use all that time to do more things.
This is the first of two related articles. First we discuss the limitations associated with using delay() type functions and introduces the IsTime() solution. The second article will introduce the PolledTimer library which simplifies things even more.
Happy New Year! I hope you call can keep your New Year’s resolutions. One of mine is to get back to blogging at uCHobby. I have been doing lots of projects but just don’t find the time to blog. There are so many things to distract me…
We have moved the site to a Linux server with help from Eric Wolf. The new server should improve performance while at the same time helping with cost. Eric is a Linux wizard so it was painless. Thank you Eric!
Eric blogs about his projects at: ”The Ramblings of a Crazy Man“
As always, leave a comment with any suggestions. I do have a backlog of articles, some that I need to write and a few that were submitted.
Posted in uC Hobby Site.
Cool new microcontroller board available from Wright Hobbies. The BahBots controller has its own web site, includes a microSD card slot and XBee headers. It uses the ATMega1284P which has 128K of program space, 16K RAM and 4K EEProm. This is a big step up from the typical Arduino.
The BahBots controller does not have USB but it will soon have an Arduino boot loader and should work with the Arduino environment. It’s not going to take shield boards but it is packed with IO and the price is right at about $35. Read more of the specifications over at the BahBots site or at Wright Hobbies.
I’ve just got started playing with this board. Using AVR Studio and an ICSP rather then the Arduino tools. I will try the Arduino environment when they are ready to support it. I’m impressed with the value and performance of this robotics targeted board. I’m sure you will see future articles here using the BahBots controller.
Anyone out there herd of or using this board?
Posted in Uncategorized.
Doing some clean up around the house I found an old wireless doorbell but not the remote to activate it. I started to toss this in the trash. Rather then throw it away I decided to turn it into an alert box for connection to an Arduino or maybe my PC to alert me when something needed my attention. Here is the result, an awesome sounding bell and a very bright LED, driven by two power MOSFETS. Just about anything can drive the signals to make a bell or flash a bright red LED.
The enamel coated, transformer wires come from the bell ringing solenoids. Only one is used. The way this doorbell was setup, one coil would ring both bells and one would ring just the longer bell. I intended to remove the shorter bell so I only connected the coil for the long bell.
A power N-Channel MOSFET controlled from a digital output drives the gate to turn on the FET which pulls down on the coil to ring the bell.
A second FET pulls down the return on a high brightness LED. You can easily see the LED though the plastic cover. You might see this LED from the Moon if it were not covered. This is a 1 Watt LED I got some time ago, it is one of the few parts that was not scrounged here.
The MOSFETS were new as well. I tried to use one I had scrounged but it required too much gate to source voltage and I ended up blowing it.
Here is the finished box. The wires coming out of the side are currently connected to my Umbuntu box. I have some custom software that I’m working on. it rings the bell or flashes the LED. I’m thinking of connecting this to IRC to let me know when someone mentions my nick (uCHobby). But I need to learn a but more about Linux software development first. It could also be driven by an Arduino. I might wire this up to my front panel project which will use an Arduino to control switches, lights, meters etc…
Posted in Uncategorized.
Two plastic shelf kits from Lowe’s assemble into a 24 inch (2 foot) deep, 9 foot long standing work bench. The link above is not exactly the model displayed in the picture. These shelf units are available in different sizes and styles for $40-$80 each. While assembly the two shelf units stop when you are around waist high, 3 of 5 levels. With the left over’s, make a third short shelf and a double high self for the center section.
This solar garden/path light was found at Target for $3! Nothing special about path lights, and the low price is no surprise in our times but this item looks very interesting for home projects. Instead of the fancy curved “good looking” enclosures it’s a simple cube. Very easy to reuse this enclosure. Reuse the enclosure, rip out the guts and build something cool. Use the Led, Battery, and the stake part to mount and power your latest creation. These kinds of things inspire me. I am compelled to find something interesting to do with it.
More details after the jump… Share your ideas in the comments
Just a quick note about the uCHobby web site. We have been having some trouble with our database server not starting as a service. If you see a database error when visiting please try again later. I can manually start the MySQL DB so the site will return. We should have this issue sorted soon.
Giveaway Program Ends.
We are discontinuing the giveaway program. It was great fun to give away parts to hobbyist but I want to put more focus on my own projects for awhile. I have gotten lazy, using submissions rather then projects of my own.
We enjoyed the giveaway program and it may return in the future.
There are lots of places to publish hobby projects compared to when we started the giveaway program. Let us know when you publish a home project. I hope to have a short post now and then with links to interesting projects around the web.
Expect to see some more interesting microcontroller projects here in the near future. I am playing with an all terrain robot project, more audio developments, new breadboard adaptor designs, and Android software development.
Go learn something, have fun, and share! Let us know how your doing.