Editing MicroMoody

From Chaosdorf Wiki
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 3: Line 3:
|description=I²C → RGB
|description=I²C → RGB
|project category=Hardware
|project category=Hardware
|image=Micromoody front.jpg
|image=Micromoody usb.jpg
|status=obsolete
|status=beta
|people={{U|derf}}, {{U|muzy}}
|people={{U|derf}}, {{U|muzy}}
|source=https://github.com/muzy/MicroMoody{{!}}github
|source=https://github.com/muzy/MicroMoody{{!}}github
}}
}}
Ein Produkt des [https://wiki.raumzeitlabor.de/wiki/MicroMoody RaumZeitLabor].
Ein Projekt des [https://wiki.raumzeitlabor.de/wiki/MicroMoody RaumZeitLabor].


[[File:Micromoody back.jpg|ATTiny85 und I²C (Pin 1 ist unten rechts)|200x200px|thumb|right]]
[[File:Micromoody front.jpg|RGB|200x200px|framed|right]]
[[File:Micromoody circuit.png|Schaltplan|200x200px|thumb|right]]
[[File:Micromoody back.jpg|ATTiny85 und I²C|200x200px|framed|right]]
[[File:Micromoody usb.jpg|USB → I²C → MicroMoody|200x200px|thumb|right]]


* ATTiny85 mit 8K Flash und toller heller RGB-LED
* ATTiny85 mit 8K Flash
* Tolle helle RGB-LED
* Diverse voreingestellte Blinkenmodi
* Diverse voreingestellte Blinkenmodi
* Unterstützt beliebige Fadesequenzen aus bis zu 64 Schritten (ähnlich zu [https://wiki.raumzeitlabor.de/wiki/RZLblink RZLblink] bzw. [http://thingm.com/products/blink-1.html blink(1)])
* Per I²C frei ansteuerbar (z.B. per [https://github.com/derf/vusb-i2c USB → I²C Bridge])
* Versorgung per 6pin ISP-Kabel (5V), Stromverbrauch ≤ 70mA
* Bald: [[SI2C]]-kompatibel (inkl. Slots an der Wand)
* Per I²C ansteuerbar, bis zu 65534 Geräte pro Bus (z.B. per [https://github.com/muzy/MicroMoody/blob/master/example/arduino/SerialToI2C/SerialToI2C.ino Arduino] oder [https://github.com/derf/vusb-i2c USB → I²C Bridge])


{{U|derf}} hat Bausätze dazu, gibts gegen einen Unkostenbeitrag von 5€.
{{U|derf}} hat bald Bausätze dazu. Es ist wenig Lötarbeit und prima geeignet, um mal SMD-Löten zu lernen. Empfohlene Spende: 5€ je Bausatz.
Bitte beachten: Im Bausatz ist kein Netzteil oder USB-Stromversorgungskabel enthalten, darum müsst ihr euch selber kümmern.
 
== Pinout ==
 
Pin 1 befindet sich (wenn man so aufs Board schaut, dass die Beschriftung lesbar ist) unten rechts. '''SDA und SCL sind auf der Platine falsch beschriftet (vertauscht)'''.
 
<pre>
Pinout:
            ┌───┐
        GND │6 5│    (RESET)
  (MOSI) SDA │4 3│ SCL (SCK)
        VCC │2 1│    (MISO)
            └───┘
</pre>
 
== Anleitung ==
 
[[File:Micromoody parts.jpg|Bauteile|200x200px|thumb|none]]
 
Folgende Bauteile sollte dein Bausatz enthalten:
 
* 1x Platine
* 1x RGB-LED
* 1x ATTiny85 SMD
* 1x 10kΩ SMD (R1)
* 3x 100Ω SMD (R2, R3, R4)
* 1x 100nF SMD (C1)
* 1x 6pin ISP Header
 
Es empfiehlt sich, die Bauteile in folgender Reihenfolge zu löten:
* C1, R1 bis R4 — Am besten zuerst ein Lötpad verzinnen, dann das Bauteil ins Lötzinn drücken. Anschließend ausrichten und das andere Pad verlöten
* ATTiny85 (auf Ausrichtung achten — Der Punkt auf dem Gehäuse muss mit dem Platinenaufdruck übereinstimmen)
* 6pin Header
* LED (Von der anderen Seite durchstecken, auch hier den Aufdruck beachten)
 
Der ATTiny wird ohne Firmware geliefert, d.h. bevor euer Gerät leuchtet, müsst ihr noch eine Firmware flashen. Der entsprechende Code (geht von einem [[USBASP]] aus) findet sich unten, ansonsten helfen euch auch gerne {{U|derf}} oder andere Chaosdorfler dabei.
 
<source lang="bash">
> git clone https://github.com/muzy/MicroMoody.git
> cd MicroMoody
> make
> make program
</source>
 
== I²C-Bus ==
 
Beachten: Pin 1 ist aus Platzmangel auch mit der grünen LED verbunden. D.h. wenn mehr als ein MicroMoody an einem Bus hängt, muss zwischen
'''jedem''' Moody Pin 1 unterbrochen sein (Der Pin wird nur zum Flashen und für die grüne Farbe verwendet, für I²C ist er unwichtig).
 
Das Moody verhält sich Standardkonform, auch ein Mischbetrieb mit anderen Devices am Bus ist möglich.
 
== Gehäuse ==
 
{{U|operative}} hat ein Gehäuse zum Selbstdrucken gebaut: [https://tinkercad.com/things/95oamJ6cvMw-micromoody-top MicroMoody Deckel] und [https://tinkercad.com/things/3rw4mUPhU2m-micromoody-bottom MicroMoody Unterseite]
Please note that all contributions to Chaosdorf Wiki are considered to be released under the Attribution 3.0 Unported (see Chaosdorf Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)