Lazzzorauth: Unterschied zwischen den Versionen

aus Metalab, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Wechseln zu: Navigation, Suche
(Protocols)
K
(7 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
 +
=NEEDS CLEANUP,PICS,GITHUB UPLOAD, PLEASE HELP =
 +
 +
[[Datei:lazzzorauth.jpg|300px|thumb|left|done.]]
 +
 +
<p style="clear:both">
 +
 +
 
== Hardware  ==
 
== Hardware  ==
 +
 +
  
 
Consists of:
 
Consists of:
  - Raspberry Pi
+
  - Seagate Dockstar (because the raspberry pi SD-cards died several times)
 
  - Arduino
 
  - Arduino
  - 16x2 LCD
+
  - RGB 16x2 LCD
  - OneWire (iButton suport)
+
  - OneWire Socket (iButton support)
  - 3 Leds for status indication
+
  - A red Button
- 1 Button
+
 
  - a 6-Port Network Switch
 
  - a 6-Port Network Switch
 
  
 
== Software ==
 
== Software ==
  
2012-07-15-wheezy
+
dockstar linux distro from usb stick
  
Node.js
+
Node.js Server / Database
  
Arduino code
+
Arduino code (because there was a spare arduino laying around..)
  
 
== How ==
 
== How ==
Zeile 23: Zeile 30:
 
Hardware documentation
 
Hardware documentation
 
[[Datei:Lazzzorauth_bb_small.png|200px|thumb|left|Breadboard aufbau (made with fritzing)]]
 
[[Datei:Lazzzorauth_bb_small.png|200px|thumb|left|Breadboard aufbau (made with fritzing)]]
- TODO: needs doku
+
[[Datei:Lazzorauth sensor.jpg|200px|thumb|left|The hall effect sensor + Preamp]]
  
  
<p style="clear:both">
+
There is a hall effect sensor placed right over the valve of the airassist.
  
Software documentation
+
This valve is opened to enable a static airflow as soon as a laserjob starts and is disabled when the job ends.
* tbd (pitfalls, config, buildprocess)
+
  
 
== Protocols ==
 
== Protocols ==
  
  
''' this is partially wrong and needs correction'''
+
All states are now handled by the embedded system.
 
+
Arduino SENDS:
+
 
+
 
+
{|
+
!align ="left" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"|<small>Code</small>
+
! align ="center" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"| <small>Parameter<small>
+
! align ="center" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"| <small>Expected reply<small>
+
! align ="center" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"| <small>What does it mean<small>
+
! align ="center" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"| <small>Example<small>
+
|-
+
|style="border:1px dotted lightgray;"| I
+
|style="border:1px dotted lightgray; text-align:center;"|<iButton ID>
+
|style="border:1px dotted lightgray; text-align:center;"| A, N
+
|style="border:1px dotted lightgray; text-align:center;"| IButton scanned
+
|style="border:1px dotted lightgray; text-align:center;"| I:33-000000000000
+
|-
+
|style="border:1px dotted lightgray;"| X
+
|style="border:1px dotted lightgray; text-align:center;"| NONE
+
|style="border:1px dotted lightgray; text-align:center;"| O
+
|style="border:1px dotted lightgray; text-align:center;"| Lazzzor shutdown button hit (eXit)
+
|style="border:1px dotted lightgray; text-align:center;"| X
+
|-
+
|style="border:1px dotted lightgray;"| P
+
|style="border:1px dotted lightgray; text-align:center;"| NONE
+
|style="border:1px dotted lightgray; text-align:center;"| P
+
|style="border:1px dotted lightgray; text-align:center;"| Ping! /Heartbeat
+
|style="border:1px dotted lightgray; text-align:center;"| P
+
|}
+
 
+
 
+
 
+
Raspberry sends:
+
 
+
  
{|
+
The Arduino only displays what the ELS sends it.
!align ="left" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"|<small>Code</small>
+
! align ="center" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"| <small>Parameter<small>
+
! align ="center" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"| <small>Expected reply<small>
+
! align ="center" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"| <small>What does it mean<small>
+
! align ="center" style="border:1px dotted lightgray; border-bottom:1px solid lightgray;"| <small>Example<small>
+
|-
+
|style="border:1px dotted lightgray;"| A
+
|style="border:1px dotted lightgray; text-align:center;"|<username>
+
|style="border:1px dotted lightgray; text-align:center;"| NONE
+
|style="border:1px dotted lightgray; text-align:center;"| Authenticated
+
|style="border:1px dotted lightgray; text-align:center;"| A:OVERFLO
+
|-
+
|style="border:1px dotted lightgray;"| N
+
|style="border:1px dotted lightgray; text-align:center;"| NONE
+
|style="border:1px dotted lightgray; text-align:center;"| NONE
+
|style="border:1px dotted lightgray; text-align:center;"| Not authenticated (invalid Button)
+
|style="border:1px dotted lightgray; text-align:center;"| N
+
|-
+
|style="border:1px dotted lightgray;"| O
+
|style="border:1px dotted lightgray; text-align:center;"| NONE
+
|style="border:1px dotted lightgray; text-align:center;"| NONE
+
|style="border:1px dotted lightgray; text-align:center;"| Off (in response to X)
+
|style="border:1px dotted lightgray; text-align:center;"| O
+
|-
+
|style="border:1px dotted lightgray;"| P
+
|style="border:1px dotted lightgray; text-align:center;"| NONE
+
|style="border:1px dotted lightgray; text-align:center;"| NONE
+
|style="border:1px dotted lightgray; text-align:center;"| Heartbeat / PING
+
|style="border:1px dotted lightgray; text-align:center;"| P
+
  
|-
+
The arduino sends ibutton scans and pushbutton events.
|style="border:1px dotted lightgray;"| E
+
|style="border:1px dotted lightgray; text-align:center;"| <Error>
+
|style="border:1px dotted lightgray; text-align:center;"| NONE
+
|style="border:1px dotted lightgray; text-align:center;"| Some Error occured
+
|style="border:1px dotted lightgray; text-align:center;"| E:Network down!
+
  
 +
== Links ==
 +
# GIT - Arduino source
 +
# GIT - Dockstar linux mods +scripts
 +
# GIT - Node.js application
  
|}
+
[[Kategorie:Howto]]
 +
[[Kategorie:Infrastruktur]]
 +
[[Kategorie:Lazzzor]]
 +
[[Kategorie:Metalab_OS]]
 +
[[Kategorie:Projekte]]

Version vom 29. Januar 2013, 00:36 Uhr

NEEDS CLEANUP,PICS,GITHUB UPLOAD, PLEASE HELP

done.

Hardware

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

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.

Protocols

All states are now handled by the embedded system.

The Arduino only displays what the ELS sends it.

The arduino sends ibutton scans and pushbutton events.

Links

  1. GIT - Arduino source
  2. GIT - Dockstar linux mods +scripts
  3. GIT - Node.js application