Zum Inhalt springen

Laser/Lazzzorauth: Unterschied zwischen den Versionen

Overflo (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
K Pk verschob die Seite Lazzzor/Lazzzorauth nach Laser/Lazzzorauth
 
(13 dazwischenliegende Versionen von 6 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
[[Datei:lazzzorauth.jpg|300px|thumb|left|done.]]
== SYSTEM IS LIVE! Here is how it works ==
[[Datei:Lazzzorauth snippet.jpg|300px|right]]


<p style="clear:both">
'''Important notes:'''


'''You need a key, or a key owner to log in for you before you can lazzzor!'''


== Hardware  ==
If you have lazzzor privileges but not yet a key, get in touch with [[Benutzer:mzeltner|mzeltner]], [[Benutzer:overflo|overflo]] or [[Datei:core.png]]!




<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.


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 ==
Currently public list of people with lazzzor privileges:


dockstar linux distro from usb stick
{{Lasermenschen}}


Node.js Server / Database
=== Workflow / Howto ===
* '''Logging in''': put in your key
* Print as per usual!
* '''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
* '''Log out''': tap logout once (if you're done lazzzoring or overseeing lazzzoring!)
__TOC__
== Hardware  ==


Arduino code (because there was a spare arduino laying around..)
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 ==


* Dockstar linux distro from USB stick
* Node.js Server / Database
* Arduino code (because there was a spare Arduino laying around..)


== How ==
== How ==


Hardware documentation
Hardware documentation
[[Datei:Lazzzorauth_bb_small.png|200px|thumb|left|Breadboard aufbau (made with fritzing)]]
{|width="100%"
[[Datei:Lazzorauth sensor.jpg|200px|thumb|left|The hall effect sensor + Preamp]]
|width="33%"| [[Datei:Lazzzorauth_bb_small.png|340px|thumb|center|Breadboard Aufbau (made with fritzing)]]
|width="33%"| [[Datei:Lazzzorauth.jpg|300px|thumb|center|wall mount box]]
|width="33%"| [[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 airassist.
There is a hall effect sensor placed right over the valve of the air-assist. 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 42: Zeile 57:
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 System sends it.
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 67: Zeile 82:




The embedded System sends:
The embedded system sends:
<pre>
<pre>
'A' followed by text for the FIRST line
'A' followed by text for the FIRST line
Zeile 73: Zeile 88:
'C' Turn color on LCD to  
'C' Turn color on LCD to  


GREEN =1
RED =2
BLUE =4
</pre>
</pre>


== Where ==
== Where ==
Zeile 81: Zeile 97:
LazzzorAuth runs @ 10.20.30.27
LazzzorAuth runs @ 10.20.30.27


Its located right begind the Lazzzorstation on the wall.
Its located right behind the Lazzzor station on the wall.
 


== Links ==
== Links ==
[[https://github.com/Metalab/LazzzorAuth/arduino Arduino source ]]
[https://github.com/Metalab/LazzzorAuth/ Arduino + Embedded system code on github]
[[https://github.com/Metalab/LazzzorAuth/embedded Linux part (node.js, cronjobs, ...) ]]
 


== Gotchas ==
== Gotchas ==
Zeile 96: Zeile 109:
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 The embedded system is up it sends a welcoming message over serial and this flushed the display.
Once the embedded system is up it sends a welcoming message over serial and this flushes the display.


[[Kategorie:Howto]]
[[Kategorie:Infrastruktur]]
[[Kategorie:Infrastruktur]]
[[Kategorie:Lazzzor]]
[[Kategorie:Lazzzor]]
[[Kategorie:Metalab_OS]]
[[Kategorie:Metalab_OS]]
[[Kategorie:Projekte]]
[[Kategorie:Projekte]]