

Liftlighter
personal project for driving an old lift indicator I found
- Size
- 96.5 × 78.7 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 51
- Nets
- 44
- Pads
- 147
- Tracks, vias
- 139, 4
- Routed
- Yes
- KiCad
- KiCad 4
- Created
- 27 Jan 2016
- Updated
- 5 Dec 2017
Overview
Liftlighter is an open-source printed circuit board by dsprenkels, from the dsprenkels/liftlighter repository on GitHub, published under the MIT licence. It is a 2-layer board of 96.5 × 78.7 mm with 51 parts on 44 nets, routed with 139 tracks and 4 vias.
It is built around the LD1117S33TR(MS) and BC548. Its parts include 13 resistors, 13 connectors, 10 transistors, 6 capacitors and 2 ICs. It belongs with the AVR (ATmega, ATtiny) boards of this library.
Main components
2README
README.mdLiftLighter
I once found an old lift indicator in Radboud University's Faculty of Science (credits to Luuk van Summeren). If you don't know what I mean, here is an example.
The indicator has ten lights: down, 1, 2, 3, 4, 5, B, S, K and up. This repository contains the KiCad files for the circuit board and the software for the Atmega8 microcontroller.
Components
The board (as you can see in the schematic) is reasonably modular. If you are going to build your own setup, I recommend doing so with a 3.3V power supply with LEDs instead of 12V lights.
For a breadboard-proof-of-concept:
- 1x Atmega8 microcontroller
- 11x LED + resistor
- 1x 32.768kHz crystal
- 2x 22 pF capacitors (for use with crystal)
- 1x pull-up resistor (30-80kΩ) for reset
- 1x control button
For a very complete setup, add:
- 1x reset button
- 1x switch or pin header w/ jumper for PD5.
- 12V setup
- 1x 3.3V voltage regulator
- 1x 100nF capacitor (for use with voltage regulator)
- 1x 10μF capacitor (for use with voltage regulator)
- 10x 12V led light + transistor + resistor (instead of LEDs)
- 1x fuse
- 1x 3.3V backup battery
- 1x diode (for use with backup battery)
- 1x diode (for prevention of backflow current)
- Pin headers (whichever amount you are going to need)
Getting started
If you are interested in this project, ask me personally about it. Although I try to keep my documentation complete and readable, I think it may be hard to get your setup correctly. Anyway, here goes:
I use a Raspberri Pi to flash my microcontrollers, for this I use a customized
version of the avrdude tool which uses linuxspi (more info about
this). If you have your own methods to
flash your microcontrollers you can just use them. In this README I assume you
will be using my method.
- Install
KiCad(I used version 4.0.3) - Install
gcc-avr,avr-libcand Kevin Cuzner'savrdudetool on your Raspberri Pi. git clone https://github.com/dsprenkels/liftlighter.gitcd liftlighter- Wire up the microcontroller and all the components on a breadboard
according to the KiCad
liftlighter.schfile. I recommend tweaking the setup, using LEDs instead of 12V lights (which allows you to ditch all the transistors). Parts like the 32.768kHz crystal are important! - Connect the Raspberri Pi's GPIO pins to the microcontroller (see below).
make flash- Send me an e-mail, because something did not work as expected.
If all went well, the Atmega8 microcontroller should now be executing the liftlighter
Wire connections
All the wiring used during the normal operation of the program can be viewed
in pcb/liftlighter.sch using KiCad. Furthermore, a PCB layout can be found
in pcb/liftlighter.kicad_pcb.
To flash the microcontroller, I use my Raspberri Pi and Kevin Cuzner's
avrdude tool. When using this setup, you will have to connect the following
(physically numbered) pins:
| type | Pi | Atmega8 |
|---|---|---|
| Vcc | 17 | 7 & 2 |
| GND | 20 | 8 & 22 |
| RST | 22 | 1 (PC6) |
| MOSI | 19 | 17 (PB3) |
| MISO | 21 | 18 (PB4) |
| SCLK | 23 | 19 |
You can actually use any free GPIO pin for reset, as long as you tell arvdude
which one you are using in the Makefile.
make fuse calls avrdude and the Pi should immediately see the Atmega8. If
it does not work, check your connections. More reading about using a Raspberri
Pi to flash a microcontroller can be found on Cuzner's blog. Additionally, you may find the datasheet for the
Atmega8 helpful. You can also write me an email.
Questions
Feel free to send me an email on my Github associated e-mail address.
Parts
51| Qty | Value | Footprint | References |
|---|---|---|---|
| 11 | CONN_01X02 | Terminal_Blocks:TerminalBlock_Pheonix_MPT-2.54mm_2pol | P2, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13 |
| 10 | BC548 | TO_SOT_Packages_THT:TO-92_Molded_Wide | Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, Q10 |
| 10 | R | Discret:R4 | R14, R15, R16, R17, R18, R19, R20, R21, R22, R23 |
| 3 | 100nF | Capacitors_ThroughHole:C_Disc_D6_P5 | C1, C5, C6 |
| 2 | 22pF | Capacitors_ThroughHole:C_Disc_D6_P5 | C3, C4 |
| 2 | 50K | Discret:R4 | R1, R2 |
| 2 | SW_PUSH | Buttons_Switches_ThroughHole:SW_PUSH_SMALL | SW1, SW2 |
| 1 | 10uF | Capacitors_ThroughHole:C_Disc_D6_P5 | C2 |
| 1 | 160 | Discret:R4 | R3 |
| 1 | 3V | Connect:CR2032H | BT1 |
| 1 | ATMEGA8-P | Housings_DIP:DIP-28_W7.62mm | IC1 |
| 1 | CONN_01X02 | Pin_Headers:Pin_Header_Straight_1x02 | P3 |
| 1 | CONN_01X06 | Pin_Headers:Pin_Header_Straight_1x06 | P1 |
| 1 | Crystal | Crystals:Crystal_Watch | Y1 |
| 1 | D | Diodes_ThroughHole:Diode_DO-41_SOD81_Horizontal_RM10 | D1 |
| 1 | FUSE | CUSTOM:FUSE_ROUND | F1 |
| 1 | LD1117S33TR | TO_SOT_Packages_THT:TO-220_Neutral123_Vertical | U1 |
| 1 | LED | LEDs:LED-3MM | D2 |
Similar boards
- 2 layers65 × 56 mm

- 2 layers100 × 100 mm

- 2 layers65 × 56 mm

- 2 layers

Robot MGR
rayvburn/diff_drive_mapping_robot
ROS driver for the Raspberry Pi based differential drive robot
95 parts27 - 4 layers111.8 × 80.8 mm

- 4 layers45.5 × 50 mm

Adapter
strfry/LG360VR
This about making the LG 360 VR Goggles usable with a normal DisplayPort outlet.
58 parts19 - 2 layers74.9 × 40.6 mm

Anavi fume extractor
AnaviTechnology/anavi-fume-extractor
Open source WiFi development board for a portable fume extractor with 5V USB-powered fan for absorbing smoke.
34 parts17 - 2 layers74.9 × 40.6 mm

Anavi thermometer
AnaviTechnology/anavi-thermometer
WiFi Smart Thermometer with ESP8266, DHT22, DS18B20, OLED display and slots for up to 3 I2C sensor modules
25 parts17
Questions
How big is the Liftlighter PCB?
It measures 96.5 × 78.7 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Liftlighter use?
51 parts, built around the LD1117S33TR(MS) and BC548. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Liftlighter KiCad files?
From the dsprenkels/liftlighter repository on GitHub, at the commit this page was made from: the board is pcb/liftlighter.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Liftlighter design in my own project?
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).