SquareWear Sewable Microcontroller Board

If you’re into adding electronics to your wearable items this little board will be of interest. The 1.6″x1.6″ board is called SquareWear and comes in several different flavors.

It may be a bit of a surprise that this is not an Arduino compatible board. [Ray] tried a few projects with PIC microcontrollers and ended up really liking them. He chose to go with the PIC 18F14K50 for this project. The chip has USB functionality and is running a bootloader. He thinks this makes it easier to work with over a wide range of computers than the Lilypad (a sewable Arduino compatible board which sometimes runs into FTDI driver issues the first time you try to program it).

We like the fact that it is open source. As we mentioned earlier, it comes in a few different flavors. There is a red or white version that uses a LiPo battery, and one that is driven from a CR2032 coin cell. If you’re working on a small project to which you would like to add a rechargeable battery this will serve as a cheap and easy reference design.

[via Adafruit]

A PIC Powered Pair Of Electronic Dice

[Timothy] is honing his microcontroller skills with this electronic dice project. In addition to giving him an opportunity to work on some code, the use of an 8-pin chip provides a design challenge for driving the twelve pips and providing a user input.

The project started off with some $4 strings of LED Christmas lights. He promptly disassembled the strands, each yielding 100 LEDs. The microcontroller he chose to work with is a PIC 12F629. It’s DIP8 package provides six I/O pins to work with. When examined closely you will find that the pips on a die are always present in pairs with the exception of the center pip. This means that only four pins are needed to drive one die. You can see a pair of transistors above; one is a PNP, the other an NPN. These are both driven from the same uC line, which toggles between the pair of die. This accounts for 5 of the available pins, with the sixth monitoring the push button.

Driving An LCD Character Display Using Custom HID Codes

Here’s an external display meant to help you keep track of your computer’s status. It connects via USB and is driven by a PIC microcontroller. It listens for a small set of commands, using those to implement a simple control protocol to drive the screen.

[Andrew Gehringer] designed the device around a PIC 18F2550, which offers native USB control. He’s using Microchip’s USB stack to enumerate the module as an HID device. It listens for commands 0x10 through 0x23. These clear the display, write strings to each of the four lines of the display, and switch the LCD backlight. Of course the project includes a program [Andrew] wrote to feed the display. It  has a GUI which let’s him decide what information is displayed and how it is formatted. This helper app hangs out in the system tray for easy access.

TinyMatrix Derivative Uses PIC Instead Of AVR

[Stu] has a teenage niece whose birthday is coming up and he wanted to give her something unique as a gift. He’s working on an LED matrix pendant that can display pixel graphics, play animations, and scroll messages.

He began the work after drawing inspiration from the TinyMatrix project. That clever design uses a DIP AVR chip soldered directly to the legs of a 5×7 LED matrix. It was powered by a coin cell with the power and ground wires acting as the necklace for the pendant. [Stu] is more comfortable developing using PIC chips, so he based his project on a 16F88. It will not run from a 3V source so he’s got a few issued to work out before the final design is finished.

One thing that’s quite interesting is his side project. After growing weary of hand coding the arrays for each frame of an animation he wrote a GUI in C# that let him design the image and output the code with a few clicks of the mouse.

Motivating Engineering Students With Microcontrollers

We see a lot of microcontroller based hacks around here, and it’s not hard to see why learning how to use microcontrollers is valuable to prospective engineeer. Unfortunately, microcontroller courses are dreaded by students since they focus on theory instead of application. In The First Lecure, [Colin] talks to a class of engineering students about how to get practical with microcontrollers.

He starts with an overview of a bomb countdown project that he used to learn the basics of microcontrollers. This started as a 555 based timer, but he ended up using a PIC18 after having issues with timing and reliability. Next, he discusses a paintball sentry gun inspired by a Hackaday post.  He finishes off some advice and gives the students some hardware: a Pickit2 programmer and a Saleae Logic Analyzer.

It’s easy to lose motivation due to the heavy focus on theory in engineering. [Colin]’s advice to start building stuff will hopefully motivate these students to take an interest in microcontrollers. We also like how he advises students to read Hackaday. Check out the full video of the lecture after the break.

Continue reading “Motivating Engineering Students With Microcontrollers”

PIC Programming Adapter For The Raspberry Pi

Here’s another offering when it comes to PIC programming from the Raspberry Pi. The design seeks to adapt the GPIO header so that it may be used for programming PIC microcontrollers, but this does involve a bit more than just physically connecting pins to the target chip. Most of the PIC family require a 12V programming level, and this setup makes that possible.

The sets of NPN transistors shown in the schematic fragment above are arranged in darlington pairs. They’re actually switching voltage from the 6V linear regulator built into the system using the Pi’s 3.3V pins. There’s also a 12V regulator, so you’re going to need a power supply that is capable of sourcing more than that.

We’ve seen a similar concept before but this design carries it a step further. There are several status LEDs built into the programmer, and it includes support for detecting which chip is being programmed. So far this covers just four different chips, but we’re sure that it could be adapted to fit your own needs.

[via Reddit]

LED Cyber Eyes; More Nerdy Than Just Taping Your Glasses

Regular glasses are okay, but these light up and respond to your movement. [Dr. Iguana] is at it again, designing a very interestingly shaped PCB to augment your visual augmentation devices.

The circuit board has two thin curving wings which conform to the shape of a pair of glasses. In the middle there’s a larger area that holds most of the components but it’s still smaller than a common coin cell battery that powers the device. Over each eye there are a half dozen red LEDs which are driven by a PIC 12F1840. It can flash a bunch of patterns the but the interactivity is the real gem of the project. The doctor included an MMA8450 3-axis accelerometer. As you can see in the clip after the break, shaking your head this way and that will be reflected in the pattern of lights.

Continue reading “LED Cyber Eyes; More Nerdy Than Just Taping Your Glasses”