Difference between revisions of "TrafficCam"

From Earlham CS Department
Jump to navigation Jump to search
(Research)
(Shopping)
Line 14: Line 14:
  
 
===Shopping===
 
===Shopping===
* [http://www.hawkingtech.com/products/productlist.php?CatID=32&FamID=58&ProdID=267 directional wifi antenna] / [http://www.newegg.com/Product/Product.aspx?Item=N82E16833164156&Tpk=HAO14SDP Newegg url]
+
* <s>[http://www.hawkingtech.com/products/productlist.php?CatID=32&FamID=58&ProdID=267 directional wifi antenna] / [http://www.newegg.com/Product/Product.aspx?Item=N82E16833164156&Tpk=HAO14SDP Newegg url]</s>
 
** comes with N-Type, RP-SMA and RP-TNC connectors
 
** comes with N-Type, RP-SMA and RP-TNC connectors
 
** We will definitely need 2 or 3 of these [http://www.amazon.com/RP-SMA-Pigtail-Adapter-Orinoco-Protect/dp/B0009XCAKG MC to RP-SMA Adaptors/Cables] ([http://i16.ebayimg.com/01/i/03/69/68/6b_1_sbl.JPG example])
 
** We will definitely need 2 or 3 of these [http://www.amazon.com/RP-SMA-Pigtail-Adapter-Orinoco-Protect/dp/B0009XCAKG MC to RP-SMA Adaptors/Cables] ([http://i16.ebayimg.com/01/i/03/69/68/6b_1_sbl.JPG example])
 
** Also, we will need at least 10ft RP-SMA extension cable (male to female)
 
** Also, we will need at least 10ft RP-SMA extension cable (male to female)
* [http://www.switching-powersupplies.com/pfc-series.html AC to DC power supply] (I think one of these will do)
+
* <s>[http://www.switching-powersupplies.com/pfc-series.html AC to DC power supply] (I think one of these will do) </s>
 
** SP-100-12 12V, 0~8.5A
 
** SP-100-12 12V, 0~8.5A
 
** SP-150-12 12V, 0~12.5A
 
** SP-150-12 12V, 0~12.5A
Line 26: Line 26:
 
* New PMP
 
* New PMP
 
* Speed Sensor [Radar]
 
* Speed Sensor [Radar]
* Linksys Router [From Maduna]
+
* Linksys WRT54GL Router
 +
* Shrubbery
  
 
===Current wifi card===
 
===Current wifi card===

Revision as of 11:45, 4 September 2008

TrafficCam

Gear to record video of the pedestrian crossing and the speed of Eastbound traffic in front of Earlham on National Road West.

Research

Shopping

  • directional wifi antenna / Newegg url
    • comes with N-Type, RP-SMA and RP-TNC connectors
    • We will definitely need 2 or 3 of these MC to RP-SMA Adaptors/Cables (example)
    • Also, we will need at least 10ft RP-SMA extension cable (male to female)
  • AC to DC power supply (I think one of these will do)
    • SP-100-12 12V, 0~8.5A
    • SP-150-12 12V, 0~12.5A
    • SP-150-13.5 13.5V, 0~11.2A
    • SP-200-15 15V, 0~13.4A
    • SP-150-15 15V, 0~10A
  • New PMP
  • Speed Sensor [Radar]
  • Linksys WRT54GL Router
  • Shrubbery

Current wifi card

Current battery and charge controller:

Possible technologies

  • Technologic Systems single-board computer
  • WiFi interface with directional antenna
  • DRS1000 Delta speed sensor
  • Axis weatherproof camera - Consider the AXIS 211
  • POE injector - homebrew with e.g. Linksys vs one with native 12VDC input capability
  • Weatherproof case - Consider the AXIS ACH13HB, the datasheet is available at the same URL as the AXIS 211 camera (above) or the AXIS 290B
  • Mounting pole
  • Step ladder
  • Rope
  • Power Source
  • Large IDE HDD (750GB / 1TB)

Tasks

  • upgrade Stewie's HDD
  • stop webcam cron jobs
  • unmount weather cam from roof
  • prepare green pelican case
  • prepare pmp1
  • prepare wifi antenna
  • mount cam in enclosure on Dennis roof
  • update cacti hdd monitoring
  • configure stewie BIOS
  • disconnect cam in closet
  • rename new HDD on stewie
  • ask for the pmp1's EC WiFi IP to be available from off-campus
  • log power up for pmp and cam using cron
  • control wifi up/down on boot
  • camouflage / paint bright colored gear
  • port forwarding using router
  • change camera power cable
  • capture an MPG-4 / MJPEG @ 15 FPS and stream to stewie via pmp1 port 80 / 554
  • install speed sensor
  • turn off one antenna on router
  • redo camera interface to be customized for this project
  • measure power consumption of complete unit
  • deploy functional traffic cam unit

Image volume calculation

  • 60 seconds/minute x 60 minutes/hour x 24 hours/day x 7 days/week x 4.5 weeks/month x 12 months/year = 32,659,200 seconds/year
  • 1 frame/second x 20 KB/frame x 32,659,200 seconds/year = 653,184,000 KB/year or 637,875 MB/year or 623 GB/year

Software architecture:

  • Cache 2 minutes locally
  • Use infobomb stack to transfer and append to current day's movie
  • 4a-3:59a movies, sync with infobomb and roll-over, simple trac or fancydir listing by year-month

Questions for Doug

  • Interface - 1 second frames, manual video review, automated video review, speed/video correlation,
  • Overall duration, 1 year?
  • Better density