Schreib einfach eine E-Mail an:
(Zum Schutz vor Spam ist diese Adresse nicht anklickbar.)
The project has been discontinued. Kits are no longer available. These pages serve as a reference only.
Hacklace - A hackable necklace
An ideal beginners project for those who like pixel art and are willing to discover the realm of light, electronics and microcontroller programming. “Hacklace squared” is a geeky electronic trinket with boundless possibilities. It's an arduino-compatible microcontroller system with a bright dot-matrix display running from a single coin cell battery.
Watch the video!
Write ticker texts and design your own animations. Program your own apps with ease by using set-up templates. Extend the Hacklace by attaching sensors and explore its many applications.
For more than four years the Hacklace2 has brought a smile to thousands of people's faces. But by now even the last batch is completely sold out. As my personal focus of interest has shifted I do not plan another production run in the foreseeable future. Many thanks to all Hacklace2 fans for their support and the great time.
The printed circuit board comes pre-assebled with all the tiny surface mount components. That makes building your Hacklace2 a breeze. With proper help and instructions even complete electronic noobs can do it. What you need are elementary soldering skills and some basic soldering tools. If you are lacking the skills or the tools ask for help in your local hackerspace. They will be happy to assist you. The Hacklace2 kit is an ideal entry-level project for learning electronics and getting a first hands-on experience in soldering.
The front of the Hacklace2 has no print whereas the back carries a white print on it.
Then you assemble the push buttons on the front. There are four pads for each button. First put some solder on one of the pads.
In order to not burn your fingertips it is best to use some pliers to hold the push button. Your other hand carries the soldering iron. Soften the solder with the soldering iron and put down the button onto the pad. Adjust the position until the button is perfectly aligned with the four pads. Now solder the remaining three pads. Do the same with the second button.
The coin cell holder is assembled on the back. It sits on the microcontroller.
Important: You have to watch out for the right polarity of the holder. A wrong polarity of the supply voltage will destroy the Hacklace!
The pin at the round end of the holder is the negative terminal, the pin at the rectangular end is the positive terminal. On the board the corresponding pads are marked '-' and '+'. If the battery holder is in correct position its round end will protrude somewhat from the edge of the board.
With a wire cutter cut the pins so that they are flat with the board surface. Then solder the pins.
With the display you also have to pay attention to the correct position. If you are looking on the side print of the display, pin 1 is on the left front. On the board the pad for pin 1 is square and marked by a '1', all other pads are round. Insert the display from the front. When soldering the pins next to the coin cell holder please take care not to touch the holder with the soldering iron (it would melt).
The wire has no electrical function. It merely serves as a support string if you are carrying the Hacklace as a necklace. Strip off the insulation at both ends by approx. 2 millimeters and tin the ends with solder. As a strain-relief measure guide each wire end through one of the big drill holes. Then solder it to the large rectangular pad. Make sure you use the rectangular pads as they have no electrical contact. If you used the round pads you would have built a short circuit.
If you like you can replace the wire by a leather strip or small chain.
Congratulations, you've made it!
Simply insert the coin cell (plus on top) and the Hacklace2 will come to live showing “DL”, which means that the Hacklace is now in download mode.
You operate the Hacklace with its two push buttons.
In general each app can assign the push buttons a different functionality.
The Hacklace hardware is described by the schematic and assembly drawings. They are provided in the download section.
Hacklace2 is arduino-compatible and can be used with the Arduino development platform. It is equipped with an ATmega328P microcontroller from Atmel running at 3 V / 8 MHz. The Hacklace2 can therefore be seen as an Arduino Pro Mini extended by a battery supply, push buttons and a dot-matrix display. For programming you need a 3,3 volt USB-to-serial converter, like e. g. the Hack-Key.
This port gives you access to the serial interface of the microcontroller. It serves to exchange data with a PC or to re-program the Hacklace. One can also use the RX- and TX-pins as general I/O pins for individual applications and there is even an analog input (ADC7) available.
(*) Usually pin 3 is not connected. By closing solder jumper J1 the supply voltage of the Hacklace is routed to this pin. This can be useful if you want to supply external hardware from the battery of the Hacklace.
If J1 is closed please remove the jumper plug on your Hack-Key.
Important: Most USB-to-serial converters provide a voltage of 3.3 or 5 volts on pin 3. If this is the case jumper J1 must not be closed! If it were closed the external voltage would be impinged on the battery. This would cause excessive heat in the battery and might even lead to explosion. If you use the Hack-Key with its jumper plug removed you are safe.
External sensor circuits can easily be attached to the sensor port. This gives room for a whole range of new applications not possible with the former Hacklace classic.
The pads are quite large so that many components can be directly soldered onto the board, e. g. resistors, smd components of size 0805 or 1206 and leds. Or you can attach a pin header for easy plugging and unplugging of external hardware.
Thanks to the integrated bootloader programming of the Hacklace can be done via USB using the Hack-Key and the Arduino-IDE. The ISP connector is not needed and therefore not populated.
However if you don't use Arduino and prefer ISP-programming you can solder a 2×3 pin header to the back of the board. Ideally this is done before assembling the 6-pin header for the communication port. For programming you will need a special programmer (like Atmel AVRISP or USBASP).
For occasional use of the ISP you can insert a 2×3 pin header without soldering. During programming a slight sidewards pressure will tilt the pins in the drill holes of the pads to give a good electrical contact.
For the Hacklace to exchange data with your PC you need a USB-to-serial adapter. There are many types and brands using different ICs. Ideally the adapter should operate with 3.3 volt logic levels but 5 volts are also tolerated. For downloading texts and animations a simple adapter that only provides RX and TX signals is sufficient. If you also want to program your own apps or modify the firmware an adapter that can issue a reset via the DTR signal is needed to start the bootloader of the Hacklace. You can find suitable adapters by searching the web for “arduino mini usb adapter”. Here are some examples:
If your operating system does not recognize the converter automatically you have to download and install the appropriate drivers. After that you will find a new virtual serial interface on your computer by which you can communicate with the Hacklace. Parameters are:
2400 baud, 8 data bits, no parity, 1 stop bit
For a description of the data format see "Downloading Texts and Animations".
Important: Most USB-to-serial converters provide a voltage of 3.3 or 5 volts on pin 3. If the solder jumper J1 on the Hacklace board has been closed, you have to take care that the voltage from the converter is not impinged on the battery (this can make the battery explode). When using the Hack-Key simply remove its jumper plug. For other converter brands you have to remove the Hacklace battery.
The Hacklace2 comes with a bright orange-colored display. If you are familiar with LEDs and you like a different color better you may want to swap the display for a compatible one (for specifications see picture).
For the power supply of the Hacklace2 you can choose from three options:
Big battery holder
As an option you can get the big battery holder for two AAA-type batteries. The battery holder is soldered to the back of the board. The big batteries will supply plenty of power offering a much longer time of operation
If you keep a gap between the battery holder and the board you can clip the Hacklace to your belt. For this application it is advisable to trim the display pins before soldering the display in. If you like you can hot-glue a small plastic sheet to the board to cover the electronic components.
Battery lifetime depends on many different factors and it is impossible to make a general statement. Especially the selected display brightness and the kind of content (more or less pixels turned on) have a huge effect on power consumption. In addition different battery brands may have differnet energy content. The Hacklace is able to operate at rather low voltages. After which time the battery is “empty” depends on, when you consider the display brightness to be insufficient. That is a very subjective decision.
As a rough estimate with the Hacklace showing ticker texts at low brightness and using a CR2032 coin cell battery from Panasonic the time of operation should exceed 40 hours.
The Hacklace comes without a housing. But with little effort you can build your own.
The two drill holes in the PCB have a diameter of 2.5 mm and are intended to fix the board to a case. If necessary you can re-bore them to 3 mm. At the long edges of the board there are no components within a 1.5 mm margin, making it easy to slide the board into two grooves that are 26 mm apart.
Here are some inspirations for you:
You can get a standard electronics housing type 1551HBK from Hammond Manufacturing. Drill and mill the openings for the Hacklace. The push buttons will be replaced by taller ones so that they protrude from the housing. For the communications port replace the 90 degree pin header by a straight one. A piece of plastic foam will hold the board in place.
Cut an acrylics board to size (66 mm x 53 mm). Mill two V-grooves for bending and two U-grooves that will hold the circuit board. Heaten the plastic along the V-grooves and bend it by 90 degrees. This will make a U-shaped cover that snaps onto the Hacklace.
A frame is constructed from beech wood. The height of the push buttons should match the height of the display. You may use a piece of paper or a thin piece of veneer as front cover. That the block is not just solid will only become apparent when the Hacklace is switched on.
If you like working with wool you might think of knitting or crocheting some “clothes” for your Hacklace. With that you are at the fashion peak and with a message that fits the occasion you silently communicate.
Some folks have used a 3D printer to realise their own ideas of a Hacklace case. See http://gpio.kaltpost.de/?p=2278
Go to the software documentation.
Find many more applications here.
|Hacklace2 sourcecode||see license.md|
|Hacklace Bitmap Calculator (2)||CC-BY|
(1) = Java command line tool for converting graphics; developed by SubOptimal
(2) = Excel- resp. Calc-sheet to design Hacklace2 graphics; developed by Johannes
(*) = Java command line tool developed by SubOptimal