The XM1000 is basically a Z1 mote (both MCU are quite similar, I'm not being mean), you can see how the tmp102/sht2x sensors are implemented. The Z1 mote already has a built-in ADXL345 accelerometer, so reviewing the driver might save you some porting pain :)
Cheers, --Antonio On Tue, Jun 18, 2013 at 6:23 PM, TinyUser <[email protected]> wrote: > Hello everybody! > I started a new project which involves working on an Advanticsys XM1000 > mote ( http://www.advanticsys.com/wiki/index.php?title=XM1000 which runs > TinyOS) and I2C sensors. For now I just have one MCP9800 temperature sensor > ( http://ww1.microchip.com/downloads/en/DeviceDoc/21909d.pdf ). Since I > couldn't find any tutorial/example about I2C + TinyOS i was wondering if > some of you had already worked on something like that. Basically I was > trying to retrieve the temperature (I would be satisfied even just > retrieving the raw bit data from the sensor's register) from the sensor but > I can't find anything online. > > (Yes, I know that the mote already has a temp sensor. I'm just trying to > learn how to work with I2C since i'm planning to expand the mote with > accelerometer/gyroscope sensors soon) > > > > -- > View this message in context: > http://tinyos-help.10906.n7.nabble.com/XM1000-and-I2C-tp23281.html > Sent from the TinyOS - Help mailing list archive at Nabble.com. > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- -- Antonio LiƱan Colina R+D+I Engineer @: [email protected] @: [email protected] ------------------------------ Advancare T: +34 93 582 02 70 http://www.advancare.com http://www.zolertia.com http://zolertia.sourceforge.net http://webshop.zolertia.com
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
