[Diego Spinola] wrote in to tell us about a node communication system he’s been working on called HsNet. The aim is to build a system of nodes that can be made up of small and inexpensive microcontrollers. The problem is that the least expensive controllers often don’t have a hardware UART. HsNet implements the RS485 protocol using a software UART along with a slim and sleek addressing scheme.
The first module developed, seen in the image above and video after the break, is a single channel pulse-width-modulation node using a PIC 12F683. It can be sent commands in the payload of the HsNet packet format. The PWM modules accept three different commands; one is a desired PWM value, another is a delay between steps for the PWM, and the last toggles a blink function.
He has also developed an analog sensor module and an Arduino-based TCP/IC gateway module. Now that the packet communications have been established, it will be rather simple to add nodes based on that groundwork. [Diego] brought these components together to build an interactive wall which can also be seen after the break.
Continue reading “HsNet: Node communications for feature-limited microcontrollers”
Here’s a way to make sure you don’t leave your Leatherman multitool somewhere. It’s an alarm system that will start a timer when the tool is removed from the holster. After five minutes the module beeps to remind you to put the tool back where it belongs. Annoying? Possibly, but if you’re not done with your work just press the
reed leaf switch on the module to reset the timer. A PIC 12F683 handles the timing and generates the waveform for the piezo buzzer. Perhaps this could have been accomplished with a dual 555 chip like the LM556 (one timer for the countdown and another for the piezo waveform) but the PIC has power-down modes available that should make the button batteries last a long time.
[Markus] got his hands on a split-flap display and built a controller for it. These sometimes can be found on really old alarm clocks, but [Markus] was a lucky-duck and managed to acquire this large 8-digit display which previously made its home in a railroad station. They work like a Rolodex, mounting flaps around a cylinder for a full alpha-numeric font set.
A PIC 12F683 was selected to control the display, using optoisolation to separate the 42V display motors from the driver circuit. From the video after the break we think he did a wonderful job of getting this working. It only takes six I/O pins to control and the sound and look of the digits scrolling leaves us quite jealous.
So what’s he got in store for it? The first thing he did was use it to count down to the New Year.
Continue reading “Driving an 8-digit split flap display”
[Isaac] grabbed the motor from an old printer and used it to make a spider run up and down the wall for Halloween. A PIC 12F683 uses a MOSFET to drive the motor. The program loop has a little bit of dramatic flare to it, raising the arachnid with a bit of a jerky motion to give it some life, then wait for a time before quietly lowering the spider (hopefully onto an unsuspecting party-goer). The driver board is set up for two motors, making it easy to reuse in future projects. This is quite effective, and the only addition we might suggest is to add a couple of red LEDs as some glowing eyes.
Take a look at the finished product after the break.
Continue reading “Halloween props: Dancing spider”