Re: [Tinyos-help] Excitation Voltage

2010-08-23 Thread Francesco Ficarola
Miklos Maroti ha scritto:
 Hi!
 
 Seacrh for the MicaBusC component, it provides the GeneralIO
 interfaces which you can use to do the thing what you need.
 
 Miklos

Hi Miklos.
I tried it with success.

Thank you very much for your help.

I implemented it in this way:

*** CONFIGURATION ***
ADCReadC.TWO_HALF_VOLT - MicaBusC.PW2;
ADCReadC.THREE_VOLT - MicaBusC.PW3;
ADCReadC.FIVE_VOLT - MicaBusC.PW5;

*** MODULE ***
interface GeneralIO as TWO_HALF_VOLT;
interface GeneralIO as THREE_VOLT;
interface GeneralIO as FIVE_VOLT;
...
call TWO_HALF_VOLT.set();
call THREE_VOLT.set();
call FIVE_VOLT.set();

-- 
Francesco Ficarola francesco.ficarola_at_gmail_dot_com
Presidente LUG-PV (http://lugpv.netsons.org)
Mailing List: lugpv_at_lists.linux_dot_it

[GPG KeyID: 0xDBA99D92]
http://lugpv.netsons.org/gpgkeys/francesco_ficarola.asc

Il nuovo modo di fare ricerca: www.tradoogle.it



signature.asc
Description: OpenPGP digital signature
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Excitation Voltage

2010-08-22 Thread Francesco Ficarola
Hi everybody.

How do I enable excitation voltage (pin with 2.5V, 3.3V and 5.0V) in
MDA300CA sensorboard? My gateway is MIB520 and my wireless module is
IRIS XM2110.
I use TinyOS 2.1.0. I noticed that in TinyOS 1.x there is
TOSH_SET_xx_PIN macro, while in TinyOS 2.x (in
tos/chips/atm1281/atm128hardware.h file) there is SET_BIT(port,bit)
macro. Is it the right macro? However, what are port and bit values for
excitation pins? How can I identify them?

Thanks.
-- 
Francesco Ficarola francesco.ficarola_at_gmail_dot_com
Presidente LUG-PV (http://lugpv.netsons.org)
Mailing List: lugpv_at_lists.linux_dot_it

[GPG KeyID: 0xDBA99D92]
http://lugpv.netsons.org/gpgkeys/francesco_ficarola.asc

Il nuovo modo di fare ricerca: www.tradoogle.it



signature.asc
Description: OpenPGP digital signature
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

[Tinyos-help] Excitation Voltage

2010-08-21 Thread Francesco Ficarola
Hi everybody.

How do I enable excitation voltage (pin with 2.5V, 3.3V and 5.0V) in
MDA300CA sensorboard? My gateway is MIB520 and my wireless module is
IRIS XM2110.
I use TinyOS 2.1.0. I noticed that in TinyOS 1.x there is
TOSH_SET_xx_PIN macro, while in TinyOS 2.x (in
tos/chips/atm1281/atm128hardware.h file) there is SET_BIT(port,bit)
macro. Is it the right macro? However, what are port and bit values for
excitation pins? How can I identify them?

Thanks.
-- 
Francesco Ficarola francesco.ficarola_at_gmail_dot_com
Presidente LUG-PV (http://lugpv.netsons.org)
Mailing List: lugpv_at_lists.linux_dot_it

[GPG KeyID: 0xDBA99D92]
http://lugpv.netsons.org/gpgkeys/francesco_ficarola.asc

Il nuovo modo di fare ricerca: www.tradoogle.it



signature.asc
Description: OpenPGP digital signature
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Re: [Tinyos-help] Excitation Voltage

2010-08-21 Thread Miklos Maroti
Hi!

Seacrh for the MicaBusC component, it provides the GeneralIO
interfaces which you can use to do the thing what you need.

Miklos

On Sat, Aug 21, 2010 at 11:07 AM, Francesco Ficarola
francesco.ficar...@gmail.com wrote:
 Hi everybody.

 How do I enable excitation voltage (pin with 2.5V, 3.3V and 5.0V) in
 MDA300CA sensorboard? My gateway is MIB520 and my wireless module is
 IRIS XM2110.
 I use TinyOS 2.1.0. I noticed that in TinyOS 1.x there is
 TOSH_SET_xx_PIN macro, while in TinyOS 2.x (in
 tos/chips/atm1281/atm128hardware.h file) there is SET_BIT(port,bit)
 macro. Is it the right macro? However, what are port and bit values for
 excitation pins? How can I identify them?

 Thanks.
 --
 Francesco Ficarola francesco.ficarola_at_gmail_dot_com
 Presidente LUG-PV (http://lugpv.netsons.org)
 Mailing List: lugpv_at_lists.linux_dot_it

 [GPG KeyID: 0xDBA99D92]
 http://lugpv.netsons.org/gpgkeys/francesco_ficarola.asc

 Il nuovo modo di fare ricerca: www.tradoogle.it


 ___
 Tinyos-help mailing list
 Tinyos-help@millennium.berkeley.edu
 https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


Re: [Tinyos-help] Excitation Voltage

2010-08-21 Thread Francesco Ficarola
Miklos Maroti ha scritto:
 Hi!
 
 Seacrh for the MicaBusC component, it provides the GeneralIO
 interfaces which you can use to do the thing what you need.
 
 Miklos

Thanks for the quick reply Miklos.I try to implement it soon and after I
will inform you.

-- 
Francesco Ficarola francesco.ficarola_at_gmail_dot_com
Presidente LUG-PV (http://lugpv.netsons.org)
Mailing List: lugpv_at_lists.linux_dot_it

[GPG KeyID: 0xDBA99D92]
http://lugpv.netsons.org/gpgkeys/francesco_ficarola.asc

Il nuovo modo di fare ricerca: www.tradoogle.it



signature.asc
Description: OpenPGP digital signature
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help