Laser/Lazzzorauth: Unterschied zwischen den Versionen
KKeine Bearbeitungszusammenfassung |
Pk (Diskussion | Beiträge) structure streamlining |
||
Zeile 1: | Zeile 1: | ||
[[Datei: | == SYSTEM IS LIVE! Here is how it works == | ||
[[Datei:Lazzzorauth.jpg|300px|right]] | |||
'''Important notes:''' | |||
'''You need a key, or a key owner to log in for you before you can lazzzor!''' | '''You need a key, or a key owner to log in for you before you can lazzzor!''' | ||
Zeile 9: | Zeile 8: | ||
If you have lazzzor privileges but not yet a key, get in touch with [[Benutzer:mzeltner|mzeltner]], [[Benutzer:overflo|overflo]] or [[Datei:core.png]]! | If you have lazzzor privileges but not yet a key, get in touch with [[Benutzer:mzeltner|mzeltner]], [[Benutzer:overflo|overflo]] or [[Datei:core.png]]! | ||
Currently public list of people with | <font color='Red'>If you try to print '''without anyone being logged in, CorelDraw will freeze'''<br />and print jobs will have to be cancelled!</font> After deletion CorelDraw will unfreeze. | ||
Currently public list of people with lazzzor privileges: | |||
* [[Benutzer:Amir|Amir]] | * [[Benutzer:Amir|Amir]] | ||
Zeile 22: | Zeile 23: | ||
=== Workflow / Howto === | === Workflow / Howto === | ||
__TOC__ | |||
* '''Logging in''': put in your key | * '''Logging in''': put in your key | ||
* Print as per usual! | * Print as per usual! | ||
* '''Be externally responsible''': hold logout button for 3 seconds | * '''Be externally responsible''': hold logout button for 3 seconds (display doesn't changes after 3s but after releasing the button) | ||
* External (i.e. not you!) print as per usual | * External (i.e. not you!) print as per usual | ||
* '''Log out''': tap logout once (if you're done lazzzoring or overseeing lazzzoring!) | * '''Log out''': tap logout once (if you're done lazzzoring or overseeing lazzzoring!) | ||
== Hardware == | == Hardware == | ||
Consists of: | Consists of: | ||
* Seagate Dockstar (because the Raspberry Pi SD cards died several times) | |||
* Arduino | |||
* RGB 16x2 LCD | |||
* OneWire socket (iButton support) | |||
* A red Button | |||
* a 6-Port network switch | |||
== Software == | == Software == | ||
* Dockstar linux distro from USB stick | |||
* Node.js Server / Database | |||
Node.js Server / Database | * Arduino code (because there was a spare Arduino laying around..) | ||
Arduino code (because there was a spare | |||
== How == | == How == | ||
Hardware documentation | Hardware documentation | ||
[[Datei:Lazzzorauth_bb_small.png| | {| | ||
[[Datei:Lazzorauth sensor.jpg| | |width="50%"| [[Datei:Lazzzorauth_bb_small.png|340px|thumb|center|Breadboard Aufbau (made with fritzing)]] | ||
|width="50%"| [[Datei:Lazzorauth sensor.jpg|300px|thumb|center|The hall effect sensor + Preamp]] | |||
|- | |||
There is a hall effect sensor placed right over the valve of the | |valign="top"| There is a hall effect sensor placed right over the valve of the air-assist. | ||
|valign="top"| This valve is opened to enable a static airflow as soon as a laserjob starts and is disabled when the job ends. | |||
This valve is opened to enable a static airflow as soon as a laserjob starts and is disabled when the job ends. | |} | ||
== Protocols == | == Protocols == | ||
Zeile 67: | Zeile 62: | ||
All states are now handled by the embedded system. | All states are now handled by the embedded system. | ||
The Arduino only displays what the embedded | The Arduino only displays what the embedded system sends it. | ||
The arduino sends ibutton scans and pushbutton events. | The arduino sends ibutton scans and pushbutton events. | ||
Zeile 92: | Zeile 87: | ||
The embedded | The embedded system sends: | ||
<pre> | <pre> | ||
'A' followed by text for the FIRST line | 'A' followed by text for the FIRST line | ||
Zeile 101: | Zeile 96: | ||
RED =2 | RED =2 | ||
BLUE =4 | BLUE =4 | ||
</pre> | </pre> | ||
Zeile 109: | Zeile 102: | ||
LazzzorAuth runs @ 10.20.30.27 | LazzzorAuth runs @ 10.20.30.27 | ||
Its located right begind the | Its located right begind the Lazzzor station on the wall. | ||
== Links == | == Links == | ||
[https://github.com/Metalab/LazzzorAuth/ Arduino + Embedded system code on github] | |||
== Gotchas == | == Gotchas == | ||
Zeile 122: | Zeile 114: | ||
When the Arduino is plugged in it displays "Linux booting.. hang in there" | When the Arduino is plugged in it displays "Linux booting.. hang in there" | ||
Once | Once the embedded system is up it sends a welcoming message over serial and this flushes the display. | ||
[[Kategorie:Howto]] | [[Kategorie:Howto]] |