I3TwitterBot

From i3Detroit
Revision as of 00:21, 17 May 2014 by Charlie247 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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
  • COMMENT CODE

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
Inside box with all hardware installed
Mounted and closed up

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.