Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LED light updates #7

Open
crcastle opened this issue Nov 2, 2012 · 0 comments
Open

LED light updates #7

crcastle opened this issue Nov 2, 2012 · 0 comments

Comments

@crcastle
Copy link
Collaborator

crcastle commented Nov 2, 2012

LED should follow the following sequence during Arduino boot:

  • Solid green for 500ms when power is turned on
  • Flashing yellow while booting, connecting to wifi, and making /hello request
    • Flashing red if wifi does not associate with an AP
    • Alternating red and yellow if /hello request returns != 200
    • Solid green if /hello request returns 200

On card scan:

  • Solid yellow if card is scanned successfully and GET request made to server
    • Back to solid green if no response is received from server within 5 seconds
    • Solid red for 500ms if non-200 response is received from server (and make bad sound)
    • Solid blue if 200 response received from server (and open solenoid)
  • Back to solid green if no flow for > 5 seconds (and close solenoid)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant