Difference between revisions of "SpaceAPI:Button"

From Technologia Incognita
Jump to: navigation, search
(Wiring)
(Power)
Line 28: Line 28:
 
==Power==
 
==Power==
  
The nanode is now powered through the USB-port on the wireless router.
+
The nanode is now powered through a USB-port.
 
 
DO NOT power it any other way, there are some issues with the
 
voltage regulator (which is not used when fed through USB.
 
  
 +
DO NOT power it using 9V current. There are some issues
 +
with the voltage regulator (which is not used when fed
 +
through (5V) USB.)
  
 
== Notification App ==
 
== Notification App ==

Revision as of 04:02, 2 November 2012

Projects
Participants Brainsmoke, Guido, Realitygaps
Skills nanode, arduino, basic electronics
Status Active
Niche Electronics
Purpose Infrastructure

Nanode code

https://github.com/techinc/SpaceButton

The code uses DHCP to obtain an IP address and find a gateway.

Wiring

The button is a circuit breaker. Connected to pin 3, it pulls this input pin to ground when not pressed.

The code enables the internal pull-up resistor, so no external one is needed.


The LED is connected to pin 5, also by means of a pull-down circuit.

Power

The nanode is now powered through a USB-port.

DO NOT power it using 9V current. There are some issues with the voltage regulator (which is not used when fed through (5V) USB.)

Notification App

An Android app is available to monitor the current state of the space and notify when it changes. The source code is available on GitHub: Source

The app can be downloaded from Google Play or GitHub