AntiKippenLights-MiniEnglish: Difference between revisions

From BlinkenArea Wiki
Jump to: navigation, search
No edit summary
No edit summary
Line 12: Line 12:
}}
}}


AntiKippenLights-Mini is an AntiKippenLights in the size of a matchbox that consists of 18 SMD LEDs (0805) that are, unlike in the original, driven by an Atmel ATTiny2313 microcontroller. The device is powered by a single CR2032 3V lithium button cell. The circuit can be switched on and off with the key. When it is switched off, it draws only approx. 200nA which in most cases will be less than the battery's self discharge current. To prevent an empty battery when the circuit has bad contact to the battery, it switches itself off when the battery is connected.
AntiKippenLights-Mini is an [[AntiKippenLightsEnglish|AntiKippenLights]] in the size of a matchbox. It consists of 18 SMD LEDs (size 0805) that are, unlike in the original, driven by an Atmel ATtiny2313 microcontroller. The device is powered by a single CR2032 3 V lithium button cell. The circuit can be switched on and off with the button. When it is switched off, it draws only approx. 200 nA which in most cases will be less than the battery's self discharge current. To prevent an empty battery when the circuit has bad contact to the battery, it switches itself off when the battery is (re)connected.


=== Prototype ===
== Prototype ==


The prototype is still the same size as the AntiKippenLights, but it already consists of the parts that will be used in the AntiKippenLights-Mini. The source code that was written for a PIC microcontroller was ported to AVR almost literally, thus the animations are somewhat slower. In addition, the LEDs have a different order, so some animations will start at a different LED than on the original AntiKippenLights.
The prototype is still the same size as the AntiKippenLights, but it already consists of the parts that will be used in the AntiKippenLights-Mini. The source code that was written for a PIC microcontroller was ported to AVR almost literally, thus the animations are somewhat slower. In addition, the LEDs have a different order, so some animations will start at a different LED than on the original AntiKippenLights.
Line 23: Line 23:
</gallery>
</gallery>


=== Circuit ===
== Hardware ==


The PCB measures 45.7x30.5mm and fits exactly in a matchbox. The layout is double sided (of course) and it's recommendable to use thin PCB material (e.g. 1mm). The button cell retainers are the same as the ones used on PC mainboars, so you can desolder one from a defective board. The resistors and the capacitor have to be size 0805, the same size as the LEDs.
The PCB measures 45.7&thinsp;x&thinsp;30.5&thinsp;mm and fits exactly into a matchbox. The layout is double sided (of course) and it's recommendable to use thin PCB material (e.g. 1&thinsp;mm). Up to Rev. 1.2, the button cell retainer is the same as the ones used on PC mainboards, so you can desolder one from a broken board. From Rev. 1.3 onward, an SMD button cell retainer is used. The resistors and the capacitor have to be size 0805, the same size as the LEDs.


==== Schematic ====
=== Rev. 1.2 ===


* [[:Image:Antikippenlightsmini-05.png|PNG file]]
* [[:File:AKLM-1.2.png|Schematic]] (PNG image)
* [[:Image:Antikippenlightsmini-06.sch|Eagle file]]
* [[:Media:AKLM-1.2.sch|Schematic]] (EAGLE 4.x)
* [[:Media:AKLM-1.2.brd|PCB layout]] (EAGLE 4.x)
* [[:Media:AKLM-1.2.pdf|Construction kit instructions]]


==== Layout ====
=== Rev. 1.3 ===


I tested the layout myself and it works great!
* [[:File:AKLM-1.3.png|Schematic]] (PNG image)
* [[:Media:AKLM-1.3.sch|Schematic]] (EAGLE 4.x)
* [[:Media:AKLM-1.3.brd|PCB layout]] (EAGLE 4.x)
* [[:Media:AKLM-1.3.pdf|Construction kit instructions]]


* [[:Image:Antikippenlightsmini-07.png|top side, PNG]]
== Software ==
* [[:Image:Antikippenlightsmini-08.png|top side component placement, PNG]]
* [[:Image:Antikippenlightsmini-09.png|bottom side, PNG]]
* [[:Image:Antikippenlightsmini-10.png|bottom side component placement, PNG]]
* [[:Image:Antikippenlightsmini-11.brd|Eagle-Board]]
 
=== Software ===


All versions can run on all hardware revisions.


* [[:Image:Antikippenlightsmini-0.7.tar.gz|Version 0.7]] (direct port of the AntiKippenLights-Software without the random number generator)
* [[:Image:Antikippenlightsmini-0.7.tar.gz|Version 0.7]] (direct port of the AntiKippenLights-Software without the random number generator)
* [[:Image:Antikippenlightsmini-0.8.tar.gz|Version 0.8]] (on/off key now working)
* [[:Image:Antikippenlightsmini-0.8.tar.gz|Version 0.8]] (on/off button now working)
* [[:Image:Antikippenlightsmini-0.9.tar.gz|Version 0.9]] (key without function (always on) when bridging PD5 and GND)
* [[:Image:Antikippenlightsmini-0.9.tar.gz|Version 0.9]] (button without function (always on) when bridging PD5 and GND)
 
* [[:Image:Antikippenlightsmini-0.9.1.tar.gz|Version 0.9.1]] (improved button debouncing to prevent accidental turn-on)
=== Photos ===
 
The programming adapter is still connected at the moment, thus you can see the 5 thin wires and a piece of paper between the Reset-pin of the AVR and the corresponding pad on the PCB.


<gallery>
== Photos ==
Image:Antikippenlightsmini-03.jpg
Image:Antikippenlightsmini-04.jpg
</gallery>


[http://arne.blinkenarea.org/akl-mini/ More pictures...]
http://arne.blinkenarea.org/akl-mini/


=== Kit ===
== Kit ==


Due to the great success at [[WTHEnglish|WhatTheHack]] and [[CCCampEnglish|22C3]], I am now offering kits to build an AntiKippenLights-Mini all the time via mail. A kit contains all needed parts including the already programmed microcontroller and a CR2032 battery. The kit is available for 10 EUR, please note that shipping to foreign countries might add quite some cost due to the postage. If you want one, please contact me at arne (at) blinkenarea.org.
Due to the great success at [[WTHEnglish|WhatTheHack]] and [[22C3English|22C3]], I am now offering kits to build an AntiKippenLights-Mini all the time via mail. A kit contains all needed parts including the already programmed microcontroller and a CR2032 battery. The kit is available for 10 EUR, please note that shipping to foreign countries might add quite some cost due to the postage. If you want one, please contact me at arne (at) blinkenarea.org.


[[Category:Projects]]
[[Category:Projects]]

Revision as of 22:29, 28 December 2014

project overview
Zur deutschsprachigen Version dieser Seite
Antikippenlightsmini-03.jpg
Year 2005
Number of pixels 18
Grayscales / Colors greyscales
Illuminant SMD LEDs
Power input
Contact person Arne Rossius
Project website

AntiKippenLights-Mini is an AntiKippenLights in the size of a matchbox. It consists of 18 SMD LEDs (size 0805) that are, unlike in the original, driven by an Atmel ATtiny2313 microcontroller. The device is powered by a single CR2032 3 V lithium button cell. The circuit can be switched on and off with the button. When it is switched off, it draws only approx. 200 nA which in most cases will be less than the battery's self discharge current. To prevent an empty battery when the circuit has bad contact to the battery, it switches itself off when the battery is (re)connected.

Prototype

The prototype is still the same size as the AntiKippenLights, but it already consists of the parts that will be used in the AntiKippenLights-Mini. The source code that was written for a PIC microcontroller was ported to AVR almost literally, thus the animations are somewhat slower. In addition, the LEDs have a different order, so some animations will start at a different LED than on the original AntiKippenLights.

Hardware

The PCB measures 45.7 x 30.5 mm and fits exactly into a matchbox. The layout is double sided (of course) and it's recommendable to use thin PCB material (e.g. 1 mm). Up to Rev. 1.2, the button cell retainer is the same as the ones used on PC mainboards, so you can desolder one from a broken board. From Rev. 1.3 onward, an SMD button cell retainer is used. The resistors and the capacitor have to be size 0805, the same size as the LEDs.

Rev. 1.2

Rev. 1.3

Software

All versions can run on all hardware revisions.

  • Version 0.7 (direct port of the AntiKippenLights-Software without the random number generator)
  • Version 0.8 (on/off button now working)
  • Version 0.9 (button without function (always on) when bridging PD5 and GND)
  • Version 0.9.1 (improved button debouncing to prevent accidental turn-on)

Photos

http://arne.blinkenarea.org/akl-mini/

Kit

Due to the great success at WhatTheHack and 22C3, I am now offering kits to build an AntiKippenLights-Mini all the time via mail. A kit contains all needed parts including the already programmed microcontroller and a CR2032 battery. The kit is available for 10 EUR, please note that shipping to foreign countries might add quite some cost due to the postage. If you want one, please contact me at arne (at) blinkenarea.org.