RZLblink/en: Unterschied zwischen den Versionen

Aus RaumZeitLabor Wiki
Zur Navigation springen Zur Suche springen
KKeine Bearbeitungszusammenfassung
(Projektkategorie „Elektronik“ setzen)
 
(3 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
{{LanguageBox |msg=Diese Seite gibt es auch auf Deutsch: [[RZLblink|hier]]}}
{{LanguageBox |msg=Diese Seite gibt es auch auf Deutsch: [[RZLblink|hier]]}}


'''Caution! This page is not yet fully translated! Parts may be misleading.
'''
{{ProjektInfoBox
{{ProjektInfoBox
|name        = RZLblink
|name        = RZLblink
Zeile 6: Zeile 8:
|image      = blinkv21a.jpg
|image      = blinkv21a.jpg
|description = Let there be light using your blink(1) derivative.
|description = Let there be light using your blink(1) derivative.
|author      = [[user:hog|hog]]  
|category    = Elektronik
|author      = [[user:muzy|muzy]]  
|username    =  
|username    =  
|version    = 2.1a
|version    = 2.1a
Zeile 25: Zeile 28:
While soldering please do watch out to properly position the components according to the illustration below. All components are placed horizontally, the resitors R1 and R2 being the only exception since they ''have'' to be soldered in vertically.  
While soldering please do watch out to properly position the components according to the illustration below. All components are placed horizontally, the resitors R1 and R2 being the only exception since they ''have'' to be soldered in vertically.  


Bitte achte beim Löten unbedingt auf die Bauteilposition. Alle Bauteile werden waagerecht platziert, Ausnahme sind hier die Widerstände R1 und R2, die zwingend senkrecht gelötet werden müssen. Dazu auch folgende Vorher-Nachher Illustration der Bauteilposition:


[[Datei:RZLblinkBauteilPosition.png|thumb|410px|Vorher-Nachher Illustration der Bauteilposition]]
[[Datei:RZLblinkBauteilPosition.png|thumb|410px|Before and after schematic for positioning the components]]
 
 
 
# First you solder in the resistors R1 and R2 vertically. To do so you first moisten a pad with a bi of solder. Then you pick up the component with a pair of pliers (hold them in your non-writing hand) and re-heat the solder. Now you carefully push the component into the liquid solder until it is in the correct position. Then you take the soldering iron away from the solder and wait for the solder to solidify while still holding it in position with your pliers. Once it has solidified, you can release the component.
# Repeat these steps for the capacitors C1 and C2 as well as the resistor R3 and fuse F1.
# Now solder in the resistors R4, R5 and R6 in similar fashion. Always be mindful where you place which one since mistaking one for another will cause your RZLblink to not work properly and might also shorten the components lifetime.
# Continue with diode D1.
 


# Zunächst die Widerstände R1 und R2 senkrecht einlöten. Dazu benetzt du zunächst jeweils ein Pad mit etwas Lötzinn, nimmst mit einer Pinzette das Bauteil in deine nicht-primäre Hand und erwärmst das Lötzinn wieder. Nun schiebst du vorsichtig das Bauteil in das flüssige Lötzinn, hälst das Bauteil fest mit der Pinzette an der Seite und entfernst den Lötkolben sobald das Bauteil an der richtigen Stelle ist. Sobald das Lötzinn nicht mehr flüssig ist kannst du das Bauteil mit der Pinzette loslassen.
# Das gleiche mit den Kondensatoren C1 und C2 sowie mit dem Widerstand R3 und der Sicherung F1. Hier genauso verfahren wie mir R1 und R2.
# Nun lötest du die Widerstände R4, R5 und R6 genau wie die vorherigen Widerstände an. Achte dabei bitte genau darauf, wo du die Widerstände platzierst. Vertauschst du die Widerstände, funktioniert dein RZLblink nicht oder hat eine verkürzte Lebensdauer.
# Weiter geht es mit der Diode D1. Hier verzinnst du am besten das einzelne Lötpad und lötest, analog zu den Widerständen, das einzelne Beinchen fest. Dabei kannst du das Bauteil direkt richtig ausrichten. Genauso wird auch der Microcontroller aufgelötet. Achte auf die Orientierung; ein kleiner Punkt markiert Pin 1. Hier empfiehlt es sich zunächst diagonal liegende Beinchen anzulöten und danach den Rest
# Weiter geht es mit der Diode D1. Hier verzinnst du am besten das einzelne Lötpad und lötest, analog zu den Widerständen, das einzelne Beinchen fest. Dabei kannst du das Bauteil direkt richtig ausrichten. Genauso wird auch der Microcontroller aufgelötet. Achte auf die Orientierung; ein kleiner Punkt markiert Pin 1. Hier empfiehlt es sich zunächst diagonal liegende Beinchen anzulöten und danach den Rest
# Zuletzt folgen die LED und der USB-Stecker. Die LED darf nicht zu warm werden, daher diese bitte vorsichtiger löten. Etwas Flussmittel hilft hier, das Lötzinn unter die LED zu bekommen.  
# Zuletzt folgen die LED und der USB-Stecker. Die LED darf nicht zu warm werden, daher diese bitte vorsichtiger löten. Etwas Flussmittel hilft hier, das Lötzinn unter die LED zu bekommen.  
Zeile 40: Zeile 47:
== Software ==
== Software ==


Das RZLblink ist mit der exzellenten Software von ThingM ([https://github.com/todbot/blink1/ Github Source]) vorgeflasht und hat eine eindeutige Seriennummer. Die Client-Software für deinen PC findest du ebenfalls unter diesem Link.
The RZLblink is already flashed with the fine Software from ThingM ([https://github.com/todbot/blink1/ Github Source]) and posesses a unique serial-id. The client-software for your PC can also be found following that [https://github.com/todbot/blink1/ link].
 
For initial tests using linux the blink1-tool is recommended. Maybe a UDEV-Rule has to be configured appropriately or you could run the programm as root-user.  
 
 
== Case ==


Für erste Tests unter Linux empfiehlt sich das blink1-tool. Gegebenenfalls muss man eine UDEV-Regel anpassen oder das Program als root-user ausführen.
operative from the [https://wiki.chaosdorf.de/Chaosdorf Chaosdorf] has designed a Case for printing with a 3D-printer. It can be found here:


== Gehäuse ==
* [https://tinkercad.com/things/6Ee6jyoB2tE-rzlblink-deckel RZLblink Lid]
* [https://tinkercad.com/things/hDbEDJYCFHf-rzlblink-unterseite RZLblink Bottom shell]


operative vom [http://chaosdorf.de Chaosdorf] hat ein Gehäuse für den 3D-Druck designed. Dies findet sich hier: [https://tinkercad.com/things/6Ee6jyoB2tE-rzlblink-deckel RZLblink Deckel] und [https://tinkercad.com/things/hDbEDJYCFHf-rzlblink-unterseite RZLblink Unterseite]
echox from [https://raumzeitlabor.de/ Raumzeitlabor] has designed a closed version: [http://www.thingiverse.com/thing:129772 Pictures and OpenSCAD-files]


echox hat alternativ eine geschlossene Version designed.
Bilder und das OpenSCAD-File finden sich hier: http://www.thingiverse.com/thing:129772


== F.A.Q. ==
== F.A.Q. ==


'''Das RZLblink leuchtet nur kurz, auf wenn ich es an den USB Port stecke'''
'''RZLblink only lights up briefly when i plug it into the USB-Port'''
:''Das RZLblink merkt, wenn es an einen USB-Port am PC gesteckt wird und wartet auf Kommandos. Bekommt es nur 5V-Spannung und entdeckt keine USB-Kommunikation blinkt es initial die Kombination "rot grün blau" durch.
:''RZLblink notices when it is plugged into an USB-port of a PC and then waits for commands. If it only gets 5 Volt and no data-connectivity, it will only blink an initial code of "red green blue".
''
''
'''Ich sehe das RZLblink nicht am USB-Port, aber es faded die Kombination "rot grün blau"'''
'''I cannot see the RZLblink at the USB port but it is fading the combination "red green blue".'''
:''Du hast wahrscheinlich R1 und R2 waagerecht statt senkrecht eingelötet. Schau bitte auf dem Bauplan, ob die Bauteile die richtige Orientierung haben.
:''You probably soldered in R1 and R2 horizontally instead of vertically. Please refer to the schematic plan to see if they are inserted in the correct orientation.  
''
''
'''Mein RZLblink funktioniert nicht'''
'''My RZLblink just doesn't work'''
:''Löte Lötstellen die nicht so schön aussehen einmal nach und teste mit einem Multimeter die einzelnen Verbindungen durch. Sollte alles valide aussehen und leiten, löte Kabel an die sechs Programmierpunkte und versuche die Firmware erneut zu flashen. Gerne helfen wir dir dabei!
:''Re-solder any soldering spots that don't look flawless and test individual connections with a multimeter. If all is looking fit, solder wires to the six Programming-connectors and try flashing the firmware again. We're happy to be of assistance for you.  
''
''


Zeile 69: Zeile 80:
!Lizenz
!Lizenz
|-
|-
|Schaltplan
|circuit-diagram
|[[Medium:SchaltplanRzlBlink.png|.png]]
|[[Medium:SchaltplanRzlBlink.png|.png]]
|CC-BY-ND
|CC-BY-ND
|-
|-
|Bauteileliste
|list of parts
|[[Medium:Parts.txt?|.txt]]
|[[Medium:Parts.txt?|.txt]]
|CC0
|CC0
Zeile 79: Zeile 90:
|Sourcecode (Github)
|Sourcecode (Github)
|[https://github.com/todbot/blink1]
|[https://github.com/todbot/blink1]
|CC-BY-NC-SA
|CC-BY-SA
|-
|-
|}
|}


== Firmware Mods ==
== Firmware Mods ==
Zeile 109: Zeile 119:
[[Kategorie:Raum-Kommerz-Labor]]
[[Kategorie:Raum-Kommerz-Labor]]
[[Kategorie:Shop]]
[[Kategorie:Shop]]
[[Kategorie:Projekt]]
[[Category:Wiki Cleanup/ToDo‏‎ ]]

Aktuelle Version vom 12. Dezember 2019, 19:23 Uhr

English Diese Seite gibt es auch auf Deutsch: hier

Caution! This page is not yet fully translated! Parts may be misleading.

         
RZLblink

Release status: stable [box doku]

Beschreibung Let there be light using your blink(1) derivative.
Kategorie  Elektronik
Autor(en)  muzy
Letzte Version  2.1a
Mindestpreis/Bausatz  (Price) 8€ per kit

RZLblink is your Do-It-Yourself USB RGB LED and is based on the blink(1) found on ThingM[1]. Whether as a flashy Lightsource or as a display for status-notification: RZLblink is a Highlight!


Assembly

Assembly of the RZLblink is rather easy! Follow the following steps and don't fear the Soldering iron. The only heat-sensitive components are the Microcontroller (packaged in antistatic bags) and the LED.

While soldering please do watch out to properly position the components according to the illustration below. All components are placed horizontally, the resitors R1 and R2 being the only exception since they have to be soldered in vertically.


Before and after schematic for positioning the components


  1. First you solder in the resistors R1 and R2 vertically. To do so you first moisten a pad with a bi of solder. Then you pick up the component with a pair of pliers (hold them in your non-writing hand) and re-heat the solder. Now you carefully push the component into the liquid solder until it is in the correct position. Then you take the soldering iron away from the solder and wait for the solder to solidify while still holding it in position with your pliers. Once it has solidified, you can release the component.
  2. Repeat these steps for the capacitors C1 and C2 as well as the resistor R3 and fuse F1.
  3. Now solder in the resistors R4, R5 and R6 in similar fashion. Always be mindful where you place which one since mistaking one for another will cause your RZLblink to not work properly and might also shorten the components lifetime.
  4. Continue with diode D1.


  1. Weiter geht es mit der Diode D1. Hier verzinnst du am besten das einzelne Lötpad und lötest, analog zu den Widerständen, das einzelne Beinchen fest. Dabei kannst du das Bauteil direkt richtig ausrichten. Genauso wird auch der Microcontroller aufgelötet. Achte auf die Orientierung; ein kleiner Punkt markiert Pin 1. Hier empfiehlt es sich zunächst diagonal liegende Beinchen anzulöten und danach den Rest
  2. Zuletzt folgen die LED und der USB-Stecker. Die LED darf nicht zu warm werden, daher diese bitte vorsichtiger löten. Etwas Flussmittel hilft hier, das Lötzinn unter die LED zu bekommen.
  3. Ist auch der USB-Stecker angelötet, empfiehlt es sich hier mit einer Flachzange die seitlichen Beinchen zur Platine zu biegen um den Stecker mechanisch weiter zu fixieren.


Software

The RZLblink is already flashed with the fine Software from ThingM (Github Source) and posesses a unique serial-id. The client-software for your PC can also be found following that link.

For initial tests using linux the blink1-tool is recommended. Maybe a UDEV-Rule has to be configured appropriately or you could run the programm as root-user.


Case

operative from the Chaosdorf has designed a Case for printing with a 3D-printer. It can be found here:

echox from Raumzeitlabor has designed a closed version: Pictures and OpenSCAD-files


F.A.Q.

RZLblink only lights up briefly when i plug it into the USB-Port

RZLblink notices when it is plugged into an USB-port of a PC and then waits for commands. If it only gets 5 Volt and no data-connectivity, it will only blink an initial code of "red green blue".

I cannot see the RZLblink at the USB port but it is fading the combination "red green blue".

You probably soldered in R1 and R2 horizontally instead of vertically. Please refer to the schematic plan to see if they are inserted in the correct orientation.

My RZLblink just doesn't work

Re-solder any soldering spots that don't look flawless and test individual connections with a multimeter. If all is looking fit, solder wires to the six Programming-connectors and try flashing the firmware again. We're happy to be of assistance for you.

Download

Datei Format Lizenz
circuit-diagram .png CC-BY-ND
list of parts .txt CC0
Sourcecode (Github) [2] CC-BY-SA

Firmware Mods

  • Man kann bis zu 12 Pattern (Zeit und Farbwert) im EEPROM von RZL-Blink ablegen. Diese Pattern können dann mit dem Befehl "p" abgespielt werden. Optional kann die Startposition als Parameter mitgegeben werden. Dann werden die vorher programmierten Pattern ab dieser Position abgespielt. Es sind 12 Pattern möglich. Dummerweise startet die Firmware nach dem 12. Pattern wieder bei 0 und nicht bei der vorher übergebenen Position. Bug oder Feature? Ich habe keine Ahnung, habe aber die zwei fehlenden Zeilen hier eingefügt.


  • Firmware neu Flashen über SPI ... warum? Schließlich hat das RZL-Blink den doppelten Speicher von blink(1) (ATtiny85 statt ATtiny45) und einen USB-Anschluss. Da ist noch genug Platz für einen 2KB USB-Bootloader. Ich packe hier mal ein fertiges hex file hin, dann müsst ihr nicht selbst konfigurieren und den alten avr-gcc4.3.3 rauskramen, um es zu kompilieren. (Link kommt noch)

Bilder

Beispiel Applikationen

Gleitzeitampel

Die Gleitzeitampel steckt im Bürorechner. Wird dieser morgens eingeschaltet, prüft das Programm, ob er heute zum ersten Mal eingeschaltet wurde. Ist dies der Fall, wird eine Timestamp in die Settings.ini geschrieben. Im Anschluss prüft das Programm alle 5 sec, ob die Sollzeit für diesen Tag erreicht ist und wechselt, falls ja, die Farbe auf Gelb. Man kann nun gehen, ohne Verlust zu machen. Außerdem kann man festlegen, wie viel Zeit man pro Tag gerne aufbauen möchte. Ist die Sollzeit + die Aufbauzeit erreicht, wechselt die Ampel auf grün.

Die erste schmutzige aber getestete Version liegt auf Github. Feel free to improve.

Binaries gibts hier.

--ThinkJD (Diskussion) 10:13, 15. Aug. 2013 (CEST)