Difference between revisions of "I3TwitterBot"

From i3Detroit
Jump to: navigation, search
(Goals)
Line 17: Line 17:
 
== TODO ==
 
== TODO ==
 
=== Software ===
 
=== Software ===
*Finish Twitter code.
+
*<strike>Finish Twitter code.</strike>
*Finish/replace IRC code (currently using [http://inamidst.com/phenny phenny], which kind of sucks.)
+
*<strike>Finish/replace IRC code (currently using [http://inamidst.com/phenny phenny], which kind of sucks.)</strike>
*Write IO code, BeagleBone target.
+
*<strike>Write IO code, BeagleBone target.</strike>
**Read switch, preferably on interrupt.
+
**<strike>Read switch, preferably on interrupt.</strike>
**Trigger camera, software/hardware?.
+
**<strike>Trigger camera, software/hardware?.</strike>
**Run SPI-connected 7-segment display for timer.
+
**<strike>Run SPI-connected 7-segment display for timer.</strike>
**Status LEDs.
+
**<strike>Status LEDs.</strike>
*Better website integration, maybe an uploaded file to a2hosting instead of site-hosted file?
+
*Better website integration, maybe SpaceAPI instead of site-hosted file?
*System integration
+
*<strike>System integration</strike>
*Camera?
+
*<strike>Camera?</strike>
*Display alternating date/time when not counting down
+
*<strike>Display alternating date/time when not counting down</strike>
  
 
=== Electrical ===
 
=== Electrical ===
*Custom cape for IO (with OpenAccess stuff too) and power
+
*<strike>Custom cape for IO (with OpenAccess stuff too) and power</strike>
 
*<strike>Switch tie-in, likely replacing switch guts with microswitch.</strike>
 
*<strike>Switch tie-in, likely replacing switch guts with microswitch.</strike>
  
 
=== Mechanical ===
 
=== Mechanical ===
 
*<strike>Gut and refinish switch box.</strike>
 
*<strike>Gut and refinish switch box.</strike>
*Mounting of box, camera, power supply.
+
*<strike>Mounting of box, camera, power supply.</strike>
  
 
== Completed ==
 
== Completed ==
*Some Twitter code
+
*Twitter code
*Some IRC code
+
*IRC code
*New EyeToy camera
+
*Hacky website code
 +
*Camera code
 +
*New camera
 
*Gutted and finished switch box
 
*Gutted and finished switch box
 
**Box completely stripped of old paint using sandblaster
 
**Box completely stripped of old paint using sandblaster

Revision as of 06:34, 30 December 2013

Contents

Introduction

Project lead: User:Agmlego

This project is to wholly replace the currently-installed WelcomeSwitch, adding better maintainability and functionality.

Code and board files live at the i3Detroit Github page.

Goals

  • Timer to show time to picture.
  • New IP camera for picture of switch-flipper.
  • Better integration into website.
  • IRC integration.
  • OAuth support for Twitter.
  • Better physical switch.
  • Tie-in to OpenAccess.

TODO

Software

  • Finish Twitter code.
  • Finish/replace IRC code (currently using phenny, which kind of sucks.)
  • Write IO code, BeagleBone target.
    • Read switch, preferably on interrupt.
    • Trigger camera, software/hardware?.
    • Run SPI-connected 7-segment display for timer.
    • Status LEDs.
  • Better website integration, maybe SpaceAPI instead of site-hosted file?
  • System integration
  • Camera?
  • Display alternating date/time when not counting down

Electrical

  • Custom cape for IO (with OpenAccess stuff too) and power
  • Switch tie-in, likely replacing switch guts with microswitch.

Mechanical

  • Gut and refinish switch box.
  • Mounting of box, camera, power supply.

Completed

  • Twitter code
  • IRC code
  • Hacky website code
  • Camera code
  • New camera
  • Gutted and finished switch box
    • Box completely stripped of old paint using sandblaster
    • Display cutout done with air nibbler (rough), die grinder (less rough), Dremel grinder (almost not rough), and hand files (smooth)
    • Finish on box is polyurethane varnish, 1.5 coats
      • 0.5 coat was applied after rain washed some of the varnish away
      • Yellowed areas are where 0.5 coat pooled
    • Lettering is Liberation Mono, laser-engraved into varnish using Wolverine with speed 100 and power 40
      • Darker lettering is multiple passes; notably, the "i3Detroit Twitterbot" bit is 8 passes
      • Lettering lightly coated after engraving with polyurethane varnish
    • Display is glued to smoked acrylic with acrylic glue, and glued into slot with hot glue
Front panel with buttons, indicator LEDs, and countdown display
Inside box with gutted switch mechanism and new microswitch

Future

  • OpenAccess integration/replacement.
  • Website-hit tie-in to alert space if switch is off and people are looking...
  • IRC/Twitter tie-in for virtual doorbell.