User Tools

Site Tools


tutorials:iotc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:iotc [2012/03/19 03:54]
pburgess [Parts and Software Lists]
tutorials:iotc [2016/01/28 18:05] (current)
Line 6: Line 6:
 The //Eye-Fi// card is a tiny wireless memory card. It stores photos and fits inside a camera just like a regular SD card, but also has built-in WiFi transceiver that can upload images to your computer, smartphone or to various photo-sharing sites. We use one here when taking pictures for our tutorials — it’s a great timesaver, eliminating the extra USB transfer step that’s otherwise necessary. The //Eye-Fi// card is a tiny wireless memory card. It stores photos and fits inside a camera just like a regular SD card, but also has built-in WiFi transceiver that can upload images to your computer, smartphone or to various photo-sharing sites. We use one here when taking pictures for our tutorials — it’s a great timesaver, eliminating the extra USB transfer step that’s otherwise necessary.
  
-{{ :​tutorials:​iotc:​eye-fi-cards.jpg?​nolink&​ |}}+{{ :​tutorials:​iotc:​eye-fi-card.png?​nolink&​ |}}
  
 Can the Eye-Fi card work in an Arduino SD card adapter? You bet! Adding a TTL Serial JPEG camera, together with some minimal prep work, we can then create a self-contained wireless monitoring camera with motion-sensing capabilities. Hide it inside a hollowed-out book or a plush dinosaur toy and discover who’s been eating all your Thin Mints cookies! Can the Eye-Fi card work in an Arduino SD card adapter? You bet! Adding a TTL Serial JPEG camera, together with some minimal prep work, we can then create a self-contained wireless monitoring camera with motion-sensing capabilities. Hide it inside a hollowed-out book or a plush dinosaur toy and discover who’s been eating all your Thin Mints cookies!
- 
-**We’ve found this works with the first generation cards such as the “Explore” and “Share.” The latest “X2” cards are giving us some difficulty with the Arduino, but we’ll update this tutorial when a solution is found.** 
  
 {{ :​tutorials:​iotc:​iotc.jpg?​nolink&​ |}} {{ :​tutorials:​iotc:​iotc.jpg?​nolink&​ |}}
Line 28: Line 26:
   * TTL Serial JPEG Camera (either the [[https://​www.adafruit.com/​products/​397|bare board]] or [[https://​www.adafruit.com/​products/​613|weatherproof version]])   * TTL Serial JPEG Camera (either the [[https://​www.adafruit.com/​products/​397|bare board]] or [[https://​www.adafruit.com/​products/​613|weatherproof version]])
   * [[https://​www.adafruit.com/​products/​85|Shield Stacking Headers for Arduino]] make it easier to change the wiring around as needed   * [[https://​www.adafruit.com/​products/​85|Shield Stacking Headers for Arduino]] make it easier to change the wiring around as needed
-  * [Eye-Fi wireless SD card (first generation ​model — **the latest “X2” cards do not yet work with this**). You can still find earlier non-X2 cards on eBay, etc.+  * Eye-Fi wireless SD card (any model).
   * A suitable power supply: either a [[https://​www.adafruit.com/​products/​63|9V 1A wall adapter]]…or,​ for standalone wireless use, our [[https://​www.adafruit.com/​products/​248|6-cell AA battery holder]] is best. For the smallest possible package, a [[https://​www.adafruit.com/​products/​14|MintyBoost]] can also work, but provides only about two hours’ run time.   * A suitable power supply: either a [[https://​www.adafruit.com/​products/​63|9V 1A wall adapter]]…or,​ for standalone wireless use, our [[https://​www.adafruit.com/​products/​248|6-cell AA battery holder]] is best. For the smallest possible package, a [[https://​www.adafruit.com/​products/​14|MintyBoost]] can also work, but provides only about two hours’ run time.
   * The usual electronic project bits and bobs: wire, soldering tools, etc.   * The usual electronic project bits and bobs: wire, soldering tools, etc.
Line 37: Line 35:
   * [[https://​github.com/​adafruit/​Adafruit-VC0706-Serial-Camera-Library|VC0706 Serial Camera Library]] (required)   * [[https://​github.com/​adafruit/​Adafruit-VC0706-Serial-Camera-Library|VC0706 Serial Camera Library]] (required)
   * [[https://​github.com/​adafruit/​RTClib|Realtime Clock Library]] (required)   * [[https://​github.com/​adafruit/​RTClib|Realtime Clock Library]] (required)
-  * [[http://​code.google.com/​p/​sdfatlib/​downloads/​detail?​name=sdfatlib20111205.zip&​can=2&​q=|SdFat Library]] (optional, but includes the SdFormatter sketch, highly recommended) 
   * [[http://​support.eye.fi/​downloads/​|Eye-Fi Center configuration software]] for PC and Mac (not Adafruit code — please contact Eye-Fi tech support for any help or issues with this software)   * [[http://​support.eye.fi/​downloads/​|Eye-Fi Center configuration software]] for PC and Mac (not Adafruit code — please contact Eye-Fi tech support for any help or issues with this software)
  
Line 66: Line 63:
 Before proceeding any further, back up any data you might currently have on your Eye-Fi card. Just in case there’s some bug that’s been overlooked in the sketch, I’d hate to be the one to clobber your priceless irreplaceable wedding photos. So please, PLEASE back that up first! Before proceeding any further, back up any data you might currently have on your Eye-Fi card. Just in case there’s some bug that’s been overlooked in the sketch, I’d hate to be the one to clobber your priceless irreplaceable wedding photos. So please, PLEASE back that up first!
  
-The Data Logging Shield requires that the card be properly formatted. Some cameras and operating systems use a bit of “artistic license” when formatting SD cards, and the shield can’t always read or write these. ​The best solution is to use the SdFormatter sketch [[http://​www.adafruit.com/​forums/​viewtopic.php?​f=31&​t=20861|as described in this forum thread]]…or jump right to the [[http://​code.google.com/​p/​sdfatlib/​downloads/​detail?​name=sdfatlib20111205.zip&​can=2&​q=|download for the SfFat library and SdFormatter sketch here]].+The Data Logging Shield requires that the card be properly formatted. Some cameras and operating systems use a bit of “artistic license” when formatting SD cards, and the shield can’t always read or write these. ​You might need to borrow a friend’s more recent digital camera to format ​the cardRecent versions of both Mac OS X and Windows 7 seem to handle this better ​as well; with the latter, select FAT32 with a 32K allocation block size when formatting.
  
 With the card connected to your computer though a USB reader, you can then use an application downloaded from the Eye-Fi web site to configure it for access to your wireless network and select various settings for how and where you want images transferred. Once configured, if you have a digital camera, test it with that first. When the digital camera setup is known working and images are being transferred as expected, you can erase the images on the card and move it over to the Data Logging Shield. With the card connected to your computer though a USB reader, you can then use an application downloaded from the Eye-Fi web site to configure it for access to your wireless network and select various settings for how and where you want images transferred. Once configured, if you have a digital camera, test it with that first. When the digital camera setup is known working and images are being transferred as expected, you can erase the images on the card and move it over to the Data Logging Shield.
Line 74: Line 71:
 Next, upload the EyeFi sketch, then re-install the jumpers between pins 0-2 and 1-3. You can then either press the reset button to start the sketch, or disconnect from the computer and attach a power adapter or battery. Next, upload the EyeFi sketch, then re-install the jumpers between pins 0-2 and 1-3. You can then either press the reset button to start the sketch, or disconnect from the computer and attach a power adapter or battery.
  
 +**If using the latest Eye-Fi “X2” cards, you'll need to enable this one extra line in the sketch (it’s commented out by default)…around line 122:**
 +
 +  SD.enableCRC(true);​
 ===== Use It! ===== ===== Use It! =====
  
/home/ladyada/public_html/wiki/data/attic/tutorials/iotc.1332129287.txt.gz · Last modified: 2016/01/28 18:05 (external edit)