Laser/Lazzzorauth: Unterschied zwischen den Versionen

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen
Zeile 1: Zeile 1:
 
== Hardware  ==
 
== Hardware  ==
 +
 +
[[Datei:lazzzorauth.jpg|200px|thumb|left|done.]]
 +
  
 
Consists of:
 
Consists of:

Version vom 21. Januar 2013, 21:43 Uhr

Hardware

done.


Consists of:

- Raspberry Pi
- Arduino
- 16x2 LCD
- OneWire (iButton suport)
- 3 Leds for status indication
- 1 Button
- a 6-Port Network Switch

Software

2012-07-15-wheezy

Node.js

Arduino code

How

Hardware documentation

Breadboard aufbau (made with fritzing)
The hall effect sensor + Preamp


There is a hall effect sensor placed right over the valve of the airassist.

This valve is opened to enable a static airflow as soon as a laserjob starts and is disabled when the job ends.


Software documentation

  • tbd (pitfalls, config, buildprocess)

Protocols

this is partially wrong and needs correction

Arduino SENDS:


Code Parameter Expected reply What does it mean Example
I <iButton ID> A, N IButton scanned I:33-000000000000
X NONE O Lazzzor shutdown button hit (eXit) X
P NONE P Ping! /Heartbeat P


Raspberry sends:


Code Parameter Expected reply What does it mean Example
A <username> NONE Authenticated A:OVERFLO
N NONE NONE Not authenticated (invalid Button) N
O NONE NONE Off (in response to X) O
P NONE NONE Heartbeat / PING P
E <Error> NONE Some Error occured E:Network down!