|
|
(10 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt) |
Zeile 1: |
Zeile 1: |
| + | |
| + | |
| + | [[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 == |
| | | |
− | Occidentalis 0.1 (RaspberryPI distro from Adafruit)
| + | dockstar linux distro from usb stick |
− | Node.js
| |
− | Arduino code
| |
| | | |
| + | Node.js Server / Database |
| + | |
| + | Arduino code (because there was a spare arduino laying around..) |
| | | |
| == How == | | == How == |
| | | |
| Hardware documentation | | Hardware documentation |
− | * tbd (how is everything connected)
| + | [[Datei:Lazzzorauth_bb_small.png|200px|thumb|left|Breadboard aufbau (made with fritzing)]] |
| + | [[Datei:Lazzorauth sensor.jpg|200px|thumb|left|The hall effect sensor + Preamp]] |
| | | |
− | Software documentation
| |
− | * tbd (pitfalls, config, buildprocess)
| |
| | | |
− | == Protocols ==
| + | There is a hall effect sensor placed right over the valve of the airassist. |
− | Arduino SENDS:
| |
| | | |
| + | This valve is opened to enable a static airflow as soon as a laserjob starts and is disabled when the job ends. |
| | | |
− | {|
| + | == Protocols == |
− | !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:
| + | 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. |
− | !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
| |
| | | |
− | |-
| + | == Links == |
− | |style="border:1px dotted lightgray;"| E
| + | # GIT - Arduino source |
− | |style="border:1px dotted lightgray; text-align:center;"| <Error>
| + | # GIT - Dockstar linux mods +scripts |
− | |style="border:1px dotted lightgray; text-align:center;"| NONE
| + | # GIT - Node.js application |
− | |style="border:1px dotted lightgray; text-align:center;"| Some Error occured
| |
− | |style="border:1px dotted lightgray; text-align:center;"| E:Network down!
| |
| | | |
| | | |
− | |}
| + | [[Kategorie:Projekte]] |
| + | [[Kategorie:Infrastruktur]] |
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
- GIT - Arduino source
- GIT - Dockstar linux mods +scripts
- GIT - Node.js application