Chatbox Wireless IM Client

[Utpal Solanki] wanted to do some text chatting from the comfort of the couch. He built this wireless chat client that he calls Chatbox using a microcontroller, a character LCD screen, and a keypad that he built himself.

The device communicates via an Infrared emitter and receiver. It pairs up with an Arduino using an IR shield that [Utpal] built. The handheld unit flashes a pair of white LEDs whenever it receives a message from the Arduino. You can then hit the Inbox button and scroll through to read what was received. To reply  just type on the keypad the same way you would with a cellphone, then hit the send button to shoot that message back to the Arduino.

On the computer side of things the messages are being relayed to and from the Arduino over a USB connection. Early on in the video demonstration (embedded after the break) [Utpal] shows his Chat Box program communicating via the handheld unit in the same way that other messenger programs work.

Looks to us like he’s built his own non-pink version of what the IM-ME was originally intended to do.

Continue reading “Chatbox Wireless IM Client” →

HsNet: Node Communications For Feature-limited Microcontrollers

[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” →

PIC-based Temperature Logger With Onboard Storage

pic_temp_logger

Last summer, [Rajendra Bhatt] built himself a simple PIC-based temperature monitor with data logging abilities and recently got around to sharing it on his site. The sensor is based on a PIC12F683 micro controller and measures the ambient temperature on a set interval, storing the values on the MCU’s internal EEPROM.

He used a Maxim DS18B20 temperature sensor, which communicates with the PIC over a 1-wire bus. The sensor is read based upon the interval chosen by the user, and can be configured to measure the temperature every second, every minute, or every 10 minutes. The data is stored on the aforementioned EEPROM and can be uploaded to a computer via a serial connection. The PIC has the ability to store 254 readings before the data must be cleared from the device.

It’s a great beginner project, and has plenty of room for improvement. As [Rajendra] points out, an external EEPROM could be added to expand the recording capacity, and it would be nice to have a real-time clock on hand for accurate time stamping. If we were to build one ourselves, a means of wireless data transfer would be first on our list of potential enhancements.

Hackaday Reader Throwdown: Electronic Dice

electronic_dice

Hackaday reader [Daid] posted in our forums showing off a set of electronic dice he recently constructed. Back in January, we featured a similar set of electronic dice built with an Arduino that was way overpowered as far as [Daid] was concerned. Not satisfied with simply saying it could be done better, he put his money where his mouth is – something we would love to see more of.

He used an ATTiny2313 to provide the device’s logic, outputting the dice values on a set of four 7 segment displays. The whole setup is controlled by a single push button that serves triple duty rolling the dice, configuring how many sides the dice have, as well as selecting how many dice are being thrown.

He admits that the wiring job is a bit of a mess, but he was going for function over form, and it works just fine. He also says that he would have finished it far sooner if it hadn’t been for those meddling kids some broken 7 segment displays.

We think he did quite a nice job, though we’re all ears if you think you can do it better.

How Low Can You Go?

That’s exactly what [Kenneth Finnegan] figured out with his original investigation into low powered MSP430-based circuits. He was able to keep a count-up timer running off of 20F worth of capacitors for over 10 weeks. Although quite impressive by its own merit, many people left comments that questioned whether similar results would be seen in a circuit with functionality more advanced than simply incrementing a single digit on an LCD. Well folks, [Kenneth] has stepped it up again with this ultra low power LCD clock.

The biggest challenge in creating this clock was finding an efficient way to drive the 28 LCD segments off of the limited number of pins on his MSP430G2231 chip while still having open pins for button inputs as well. An ICM7211 LCD driver is definitely up for the task (with a few clever modifications to drive the auxiliary characters such as the center colon), but requires 8 pins to drive it. A standard 74HC595 latching shift register brings this number down to a more manageable number of 3 total pins.

Once completed the total current consumption was found to be around 12μA – low enough for a claimed run-time of approximately two and a half years from the 3V 200mAh CR2032 coin cell used. If true, a set of standard AA alkaline cells in series as found in many clocks would run this little circuit for decades.

Stick around for a short video after the break and make sure to check out the original blog entry for schematics and the complete source code!

Continue reading “How Low Can You Go?” →

Sequencer Built On A Cycle II FPGA Board

[Matt’s] finishing up his computer science degree. As part of a class assignment he programmed his own sequencer which runs on a Cyclone-II FPGA development board. We’ve embedded a video below the fold that shows you what it can do. The buttons and LEDs offered on the board actually allowed him to create a nice user interface. Each slide switch has a surface mount LED above it, giving feedback for which beats in the loop are on and off. There’s also a bank of momentary-push buttons seen in blue above. [Matt] uses these to tweak settings like the pitch that is stored for each slide switch. He even puts on a light show with the VGA output.

We’ve seen this Altera board before, used to drive a falling sands game. The hardware will run you around $200 but that’s not bad considering all of the fun things you can do with it.

Continue reading “Sequencer Built On A Cycle II FPGA Board” →

Simulating VHDL Of An AVR8 Soft Processor

Okay, now we’re beginning to feel a bit like [Alice]. This tutorial shows you how to simulate VHDL code. This code is intended to run on an FPGA and includes a software-only version of the AVR 8-bit microcontroller core. Essentially, you’ll simulate VHDL code that simulates AVR hardware. Wrap your mind around that!

The code is intended to run on a Papilio Field Programmable Gate Array development board. We saw an early version of this board running the AVR8 core about a year ago. However, you don’t need to have any hardware to follow along and recreate this simulation yourself. It might be a great way to get your feet wet with FPGA programming before making that first hardware buy. Five different screencasts take you through the process of getting the AVR8 code, using an altered Arduino IDE for it, setting up a free version of Xilinx ISE to run the simulation, then setting it free and interpreting the data that the simulator spits out the other end.