Hello,
Dear Edgar,
I posted that already on the GSOC site. Not sure if that is correct
for just exchanging info. So I re-post here to start the discussion.
(Some spelling fixed...)
-----------------
I am a Systems Engineer in TI Industrial Automation lab in Freising,
Germany. Your project sounds interesting to me and I might mentor
this. A few questions:
- can you be more specific on interfaces? Listing all of them is nice
but for the given time you can probably implement a few examples.
Which one have you used before?
I have experience with SPI, I2C and RS232 with Atmel AVR 8 bit
microcontrollers. I also have experience with RS232 with linux. The
problem with SPI and I2C on the Beagleboard is voltage level
conversions. I think the best idea might be to have a daughterboard
(either existing or create a simple new one) to either allow connecting
sensors to voltage level converters so the Beagleboard itself can do I2C
and/or SPI or use a microcontroller like for example an Atmel AVR to
bridge between ADC, SPI and I2C with either RS232 or USB.
I do have some boards I designed myself that expose RS232, SPI, I2C and
the ADC on Atmel AVRs that shouldn't be hard to get connected to the
Beagleboard to be able to get stuff working fast. However maybe thinking
of more standard electronics like Arduino might be a better idea (my
electronics boards is very similar to Arduino).
- Would you mind programming in C++? To my mind C++ OOP is ideal for
creating frameworks of objects representing real world data.
Abstracting the interface from the data and internal implementation
should make the goal of ease of use a real one.
I wouldn't have a problem with coding in C++. Indeed it may be the best
option since the framework would be very object oriented.
- How do you plan to 'acquire' sensors? This could cause major delays
if necessary funding is not available or there are delivery issues. If
you need to implement custom hardware to connect to BeagleBoard it
gets worse.
I was planning to get off the shelf sensors or accessible sensors. I
currently have:
* SHARP GP2Y0A21YK (10-80cm IR sensor, 0-5V analogue)
* MMA7260QT (3 axis accelerometer, 0-3.3V analogue)
* ND-100 (GPS, USB interface)
http://www.globalsat.com.tw/products-page.php?gs_en_product_id=2&gs_en_product_cnt_id=30,
however not sure GPS would enter the scope of this framework
I was thinking some interesting electronics to work with would be:
* WII nunchuck and motionplus (3 axis accelerometer and 3 axis gyro, i2c
interface)
This is readily available and communicates with i2c. Protocol is
available on the web.
* Temperature sensors
Texas instruments has some i2c ones readily available.
* Photocell light sensor
Readily available at electronics store, should be easy to breadboard.
Interface would be analogue, so an ADC would be needed.
* Magneto sensor
Honeywell magneto sensors are popular, there are 2 or 3 axis ones.
Breakout boards can be ordered from multiple online companies. Generally
i2c interfaces.
* Humidity sensor
Breakout also available from sparkfun, Analogue output so would need an
ADC also.
* Pressure sensor
Breakout also available from sparkfun. Has an SPI interface.
Other sensors could be done if there is any interest in doing specific ones.
Shipping for a batch of sensors shouldn't take more then a month,
express could be asked for if needed. It should be also very important
to have a flexible and well documented interface to be able to add,
calibrate and filter new sensors without too much effort.
I can also do "simple" dual sided PCBs at my university and order more
complex ones (to 8 mils, double sided) if necessary. Doing them at my
uni would take around a week, ordering would take around a month without
express shipping.
Just a start... I am also on BeagleBoard IRC usually but not paying
attention all the time. Try a personal message if I don't react and
you want to discuss live (franktango).
Sure thing, I am connected there 24/7 as "bobbens". I may also not
always be at the computer at any given moment, but will always respond
when I see it any messages.
Thanks,
Edgar Simo