welcome to the club... MS
Li, Haixia wrote: > Hello, Michael, > > Thank you for your guide. I have connected my sensor on mda100, and I did a > small modify for PhotoImpIP component. It works. However, I still cannot > understand it clearly. > > thanks and regards, > Haixia Li > ________________________________________ > From: Michael Schippling [[email protected]] > Sent: Friday, November 13, 2009 5:59 PM > To: Li, Haixia > Cc: [email protected] > Subject: Re: [Tinyos-help] sensor problem > > I really can't help with that because I don't know what you are > trying to design. If your sensor works just like the photo cell > on one of the boards you might just be able to solder it in place. > Otherwise the mda100 may have room to attach whatever you need. > I haven't used any of them though. > MS > > > Li, Haixia wrote: >> hi MS, >> >> Thank you very much. Now I read the PotoC at the /mda100 , I found this one >> is more complicated than the another version at /basic . The sensor I used >> also needs power control. I think I can change that one. Now I have mda 100 >> and mda 320. Do you think can I use mda 320 with the potoc version at >> sensorboards/basic ? Or, Which sensor boards is easier for me to use? >> Because my project needs to due, I don't have many time to try. Please give >> me a hint. >> >> regards, >> Haixia Li >> ________________________________________ >> From: [email protected] >> [[email protected]] On Behalf Of Michael >> Schippling [[email protected]] >> Sent: Friday, November 13, 2009 3:11 PM >> To: Akankshu Dhawan >> Cc: [email protected] >> Subject: Re: [Tinyos-help] sensor problem >> >> Somewhere at the bottom of the pile of code and configs should be an >> ADC connection. There used to be a "make micaz docs" command that >> generated a module connection diagram from a working program, and >> after hours of study you could actually figure out what it was >> trying to tell you about the component relationships. >> >> Or you can cheat and look at the schematic... >> >> MS >> >> Akankshu Dhawan wrote: >>> Hi All >>> How can I find similarly which ADC is the Microphone (MicP and MicStream >>> components) connecting to ??? I am using MICAZ motes and mts310 sensorboard >>> >>> I want to know where should I look to find the exact ADC I am getting >>> the data from ? >>> >>> Thanks >>> Akankshu >>> >>> On Fri, Nov 13, 2009 at 3:55 PM, Michael Schippling <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> The DemoSensor component is supplied for each kind of sensor board >>> in order to confuse you about how things work...actually to make it >>> possible to reuse upper level code without change depending on the >>> sensor board definition. It fundamentally exposes an ADC interface >>> connected to whatever the original coders thought was a convenient >>> sensor. So to see what your specific system is doing you need to >>> look at the DemoSensor.nc file associated with the platform or >>> attached sensor board, e.g., the sensorboards/mda100 version. >>> >>> You can just replace DemoSensor with a config for ADC0 in your >>> program if you are attaching directly and don't need to do any >>> other control, like powering up the Photo sensor. Look at how >>> DemoSensor or Photo configs an ADC for an example. >>> >>> MS >>> >>> Li, Haixia wrote: >>> > Hello, >>> > >>> > I am using Tinyos 2.x on IRIS. I read the DemoSensorC component at >>> > \tos\sensorboards\basicsb\. I found there is another DemoSensorC >>> > component at \tos\sensorboards\mda100. I traced the first one. I >>> found >>> > the ADC 6 and PortC1 are used for the sensor. Now I want to connect a >>> > sensor to ADC 0. So Can I just imitate PhotoP, PhotoDeviceP, and >>> PhotoC >>> > to write components for my sensor? >>> > >>> > In addition, I want to connect my sensor by mda 320 or mda 100cb >>> to a >>> > node. So, does it mean I have to imitate the DemoSensorC at >>> > \tos\sensorboards\mda100? Is there anyone can guide me? >>> > >>> > Any help will be appreciated. >>> > >>> > >>> > Haixia Li _______________________________________________ Tinyos-help >>> > mailing list [email protected] >>> <mailto:[email protected]> >>> > >>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>> _______________________________________________ >>> Tinyos-help mailing list >>> [email protected] >>> <mailto:[email protected]> >>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >>> >>> >>> >>> >>> -- >>> First they ignore you, then they laugh at you, then they fight you, then >>> you win. >>> - Mahatma Gandhi >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
