Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A moodlight inspired by the fnordlicht project.Just putting the fnord back into fnordlicht.
C Objective-C C++
Branch: johns

This branch is 1 commit ahead, 33 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
firmware
hardware
img
.gitignore
Mega8_Pinout.ods
README.mkd

README.mkd

PentaFnord

Project Status

General Info: This is a project under development. So please treat the hardware design as non functional until proven otherwise.

  • 2012/04/25 Assembly of board001 completed, trying to get it working \o/

  • 2012/04/10 Finished boards have arrived

  • 2012/02/27 After the first production attempt of the board has been canceled for some reasons we are ready to go for panel production now. In the meanwhile a power led module that is fully interchangeable with the normal led module and can drive up to 5 led channels with up to 700mA has been added. And we created some other usefull gadgets as well! Check out Seb's repository to find a power injector for the haqbus, a capacitor module to stabilize power supply, and an optically insulated data injector complete with FTDI USB to UART bridge.

  • 2012/02/17 A team of highly skilled monkeys from C3D2 started the specification of the haqbus which will be the protocoll talked by the RS485 interface of the PentaFnord and some other devices.

  • 2012/01/27 Finally found time to write a proper Readme.mkd (.this)

  • 2012/01/25 Hardware design and layout of the v0.9 prototype pcbs are finished. We are waiting for the end of the Chinese New Year hollidays to send the designs to actual production.

License

All software is licensed under the Gnu General Public License Version 3 (GPLv3).

The hardware design is licensed under under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

Acknowledgements

PentaFnord was inspired by FnordLicht.

Design Considerations

As cheap as cheap can. (ToDo) Cave: Lots of optional or alternative components!

Partlists and Assembly Alternatives

PentaFnord Control Board - Version 0.9 (PFCB_0.9)

TODO Purpose and some general description

Parts List - PFCB_0.9

TODO list all the parts!

... work in Progress ... BEWARE

IC1 ATMEGA48 D1-D7 SI-Allzweckdiode 4148 0805 C3 10uF/25V SMC-D R1 10K R4, R5 4K7 R6 120 R7, R8 680 C1 100n C2 1u ... to be continued ... FET LED BOard: BSS123

Assembly Considerations - PFCB_0.9

First-time Operation - PFCB_0.9

  • Check for short circuits on +18V and +5V against GND
  • Gently apply apply power to +18V
  • Check on one of the two unmarked wirepads between PB2 and PB3 if +5V ist present
  • Connect your favourite programmer and check if the uC is responding
    • avrdude -c usbtiny -p m48
    • should give: avrdude: safemode: Fuses OK etc.
  • Set fuses for 20MHz crystal and brownout detection (Full Swing Crystal high delay) brownout at 4.3V
    • avrdude -c usbtiny -p m48 -U lfuse:w:0xc7:m -U hfuse:w:0xdc:m -U efuse:w:0x01:m
    • Readout fuses with avrdude -c usbtiny -p m48 -v
    • Standard Fuses are 0x62 0xDF 0x01
    • New Value should be 0xC7 0xDC 0x01
    • Brownout at 2.7 V is 0xC7 0xDD 0x01 (NOT RECOMMENDED)

Bugs Encountered for PFCB_0.9

  • The print denoting pin 1 and 6 of jumper 2 is wrong. Pin 1 is actualy beneath C2 and pin 6 is on the side of the board with all the solderpads for the ports. This is fixed in 0.91
  • Always solder C3 after JP1, one of the pins is hard to reach
  • ripped some solderpads of when trying to unsolder JP2 (it was slightly ill adjusted)
    • be very carefull here
    • it was just the line connecting SPARE_C5, so this is not a pressing problem, but the solderpad for PC5 might not work.
    • Another ripped of solderpad for GND was easy to fix.
  • The SMD pinheaders are difficult to solder, as there is a small gap between pin and solderpad wich has to be filled with tin first to allow the solderpad to heat up.
  • Was to lazy to read the manual thorouhghly and did set DEBUGWIRE fuse bit (fuses f7 9d 01).
    • Chip became unprogrammable (at least in target hardware). So NEVER EVER DO THIS!
    • Exchanged the uC by resoldering a fresh one.
    • A test program switching an LED between +5V and PortB1 (with resistor) on and off didn't work, while brownout detection was set to 4.3 V, albeit programming the uC and setting fuses was still possible and everything worked well when Brownout was set to 2.7 V (0xC7 0xDD 0x01).
    • Diagnosis:
    • There was a small ripple of 100mV for 10ns in power supply when the LED was switched on. Uncritical.
    • Some pins of the uC, especially pin 6 (one of the two +5V pins), pin 18 (AVCC), and pin 24 (ADC1) seemed to have (or actually had) a gap between pin and solderpad. Not good.
    • Solution: Resoldering pins 1-8 and 17-24 solved the issue.

Bugs Encountered for LEdboard

  • a bit screwed, FETs needed, Jumper T2 is wrong so that PORTC3 connects always to ground

Bugs Encountered for Powerledboard

  • Jumper T2 is wrong so that PORTC3 connects always to ground

Example Board PFCB_0.9-Devel

This is the Experimental Development and Debug Configuration and is the first board that was ever built. There is currently only this one board built so far: PFCB#001. Lots of the annotations in the "Bugs Encountered" section gut input from this unit.

board001

PentaFnord LED Board - Version 0.9 (PFLB_0.9)

TODO Purpose and some general description

Parts List - PFLB_0.9

TODO list all the parts!

Assembly Considerations - PFLB_0.9

CAVE: The schematics and hence the board design PFLB_0.9 has some serious bugs.

So this version will be discontinued. To make this design work anyway, the board has to be tweaked and some minor hardware hacks are required.

  • TODO describe assembly hacks

eingebaut in r,g nix, in blau 2*6,8 Ohm0805er in serie Ströme: (bei 20V)

Ohne _LEDs 25mA

red only 118mA Green Only 121 mA Blue only 124 mA White only 115 mA UV only 45 mA

LED Board 0001

colour type distributor measured values R, I in place
RED 50cd 15° OSHR 5111 P SOS electronic 33mA 16.7V
49mA 17.6V
100mA 19.8V
82 Ohm, 28.9 mA
GREEN OSPG 5111P SOS electronic 32mA 16.3V
48mA 17.3V
100mA 19.8 V
100 Ohm, 28,1mA
BLUE 15Cd 15° OSUB 5111 P SOS electronic 33mA 15.7V
48mA 16.5V
100mA 18.3V
120 Ohm, 29.2 mA
WHITE OSPW 5111 P SOS electronic 48mA 15.45V
97mA 17,0V
33 Ohm, 92.3 mA
UV 2000mcd 20-30mA 3,2-3,4 V
(that's what it said on the pack)
no type known mw-shop.com
led-store.de
(possibly these?)
18.5mA 16.9V
26.7mA 17.4V
28.4mA 17.5V
150 Ohm, 22.6mA

Miscellaneous (Mostly) Helpful Links

Something went wrong with that request. Please try again.