Space status: Difference between revisions

From NURDspace
No edit summary
No edit summary
Line 1: Line 1:
{{Project
{{Project
|ProjectSkills=coding
|ProjectSkills=coding, Micro-electronics
|ProjectStatus=Active
|ProjectStatus=Active
|ProjectNiche=Software
|ProjectNiche=Software

Revision as of 18:52, 27 April 2012

NURDspace Project
link=File:{{{Name}}}.jpg
Participants Bjornl, User:buzz
Skills
Status
Niche
Purpose
Tool
Location
Cost
Tool category

{{{Name}}}Property "Tool Name" (as page type) with input value "{{{Name}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. Property "Tool Image" (as page type) with input value "File:{{{Picture}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process. {{{Picture}}} {{#if:{{{Tool}}} | [[Tool Owner::niz buZz? you? | }} {{#if:{{{Tool}}} | [[Tool Cost::{{{Cost}}} | }}

Spacebot hw.jpg

Goal: (semi)automatic updates when space opens and closes. Hardware based on Arduino with all manner of sensors (contact, LDR, temperature). Software: SpaceBot

Media

Trigger

  • Nice big red button?
  • Motion detection @ cam?
  • Detection @ lock?
  • ...

Update 10 april 2012

Since we have internet, we can now have updates! First step is the iBook G4 that runs a small Java IRC bot that can be controlled from the console by typing 'o' or 'c' (for 'open' and 'close'). It then updates the space status in the #nurds topic. Next step is a GUI (Swing).

Update 12 april 2012

An LDR has been connected to the half-broken Arduino and the iBook has been freed of its duties. buZz installed Java on the Dockstar and the software runs there now. The Arduino has been connected and everything works. We also proved that the bot can send DMX commands, currently fading in the only lamp connected as the space opens and fading it out as it closes.

Update 18 april 2012

DS18B20 has been connected! You can now query the lights status, temperature or a summary using !lights, !temp and !status.

Update 19 april 2012

DS18B20 no longer functioning :( stopped working when soldering everything to a board. LDR gives wrong readings. Unfortunately, we can't seem to find out what's wrong...

Update 23 april 2012

Faulty soldering of the 100 kOhm pull-down resistor for the LDR was at least partly to blame. LDR works correctly again and SpaceBot has been restarted. DS18B20 has been removed for now.

Update 25 april 2012

Everything has been resoldered and a spare DS18B20 is used now. Everything seems to work again.

Sources

All Arduino sources have been checked in to the Subversion repository 'nurdspace' under /spacebot/arduino

Further steps

Further steps may include:

  • connect an Arduino to the iBook and access it using a Java API (you'll need http://silveiraneto.net/2009/03/01/arduino-and-java/ );
  • connect a Big Red Button to the Arduino to control space status; automatic > manual
  • LDR close to the fluorescent lighting connected to the Arduino;
  • detection inside the lock connected to the Arduino;
  • complete redesign of code, it's messy as hell now;
  • redesign of hardware, it's messy as hell now;

Do we need more media? buZz mentioned something about a JSON on a public HTTP... probably this: https://hackerspaces.nl/spaceapi/ So I will need:

  • a logo;
  • icons for 'open' and 'closed'

Someone care to draw some stuff?

  • separate lamp to announce space status (connected to the dimmer);
  • incorporating the temperature sensor (currently on the Teensy) on the Arduino;
  • fix and/or replace DS18B20
  • fix LDR