Difference between revisions of "Userspace Arduino:cape ideas 2"

From eLinux.org
Jump to: navigation, search
Line 3: Line 3:
 
==I2C==
 
==I2C==
  
It would be advantageous to go with devices which have existing Arduino sketches, since they are more likely to be widely used and tested with. A quick check at a local vendor revealed the following common sensors/devices being used with the I2C bus. Note: All of them work on a 3.3V interface.
+
It would be advantageous to go with devices which have existing Arduino sketches, since they are more likely to be widely used and tested with. A quick check at a local vendor revealed the following common sensors/devices being used with the I2C bus. Note: All of them work on a 3.3V interface and they almost always require only the 2 I2C pins for communication.  
  
 
* [http://www.sparkfun.com/tutorials/253 BMP085]: Barometric Pressure Sensor Module, a breakout board from Sparkfun. The libraries are available here [https://dlnmh9ip6v2uc.cloudfront.net/assets/b/9/5/3/f/512d1197ce395fcc3f000001.zip]. Looking at the datasheet [https://www.sparkfun.com/datasheets/Components/General/BST-BMP085-DS000-05.pdf], we can see some pretty basic protocols for reading from and writing to the onboard registers using the I2C bus.  
 
* [http://www.sparkfun.com/tutorials/253 BMP085]: Barometric Pressure Sensor Module, a breakout board from Sparkfun. The libraries are available here [https://dlnmh9ip6v2uc.cloudfront.net/assets/b/9/5/3/f/512d1197ce395fcc3f000001.zip]. Looking at the datasheet [https://www.sparkfun.com/datasheets/Components/General/BST-BMP085-DS000-05.pdf], we can see some pretty basic protocols for reading from and writing to the onboard registers using the I2C bus.  
 
* [http://playground.arduino.cc//Main/MPU-9150 MPU-9150]: Accelerometer + Gyro + Magnetometer with breakout board available at [http://www.sparkfun.com/products/11486]. A sketch is already available [http://playground.arduino.cc//Main/MPU-9150?action=sourceblock&num=1].
 
* [http://playground.arduino.cc//Main/MPU-9150 MPU-9150]: Accelerometer + Gyro + Magnetometer with breakout board available at [http://www.sparkfun.com/products/11486]. A sketch is already available [http://playground.arduino.cc//Main/MPU-9150?action=sourceblock&num=1].
* [http://www.adafruit.com/products/255 DS3231], [http://www.pjrc.com/teensy/td_libs_DS1307RTC.html DS1331] are very popular RTC chips and can be easily integrated using the [http://playground.arduino.cc/Code/time Time library]
+
* [http://www.adafruit.com/products/255 DS3231], [http://www.pjrc.com/teensy/td_libs_DS1307RTC.html DS1331] are very popular RTC chips with nice breakout boards from Adafruit (the ChronoDot Ultra-Precise Real Time Clock). The added advantage here would be the development/testing of the time library [http://playground.arduino.cc/Code/time Time library]. This can infact be used for time-keeping on the Beaglebone.
  
 
==SPI==  
 
==SPI==  

Revision as of 12:59, 27 August 2013

Ideas for hardware for the Beaglebone Black, which can be used to interface with peripherals like SPI, I2C etc.

I2C

It would be advantageous to go with devices which have existing Arduino sketches, since they are more likely to be widely used and tested with. A quick check at a local vendor revealed the following common sensors/devices being used with the I2C bus. Note: All of them work on a 3.3V interface and they almost always require only the 2 I2C pins for communication.

  • BMP085: Barometric Pressure Sensor Module, a breakout board from Sparkfun. The libraries are available here [1]. Looking at the datasheet [2], we can see some pretty basic protocols for reading from and writing to the onboard registers using the I2C bus.
  • MPU-9150: Accelerometer + Gyro + Magnetometer with breakout board available at [3]. A sketch is already available [4].
  • DS3231, DS1331 are very popular RTC chips with nice breakout boards from Adafruit (the ChronoDot Ultra-Precise Real Time Clock). The added advantage here would be the development/testing of the time library Time library. This can infact be used for time-keeping on the Beaglebone.

SPI

  • SCP1000: Barometric Pressure Sensor Module
  • SHARP Memory Display: A very cool display which is a cross between an e-ink display and an LCD.
  • PN532 NFC/RFID: A popular (I have this one!) RFID chip with breakout board which is compatible with several protocols. Could be really cool, except for the part where an antenna might need to be embedded in the cape.

PWM

  • SD Card Audio: A great way to get audio output from the Beaglebone using one (or two) PWM outputs.