Questions and discussions about the hardware aspects of the TD RF modules, boards and accessories.
francois
 
Posts: 47
Joined: Tue Jun 16, 2015 6:13 am

TD1208 EVB

by francois Mon Sep 21, 2015 1:29 pm

Hi
I try to cadence the alimentation of an analog sensor connected to the Vcc and Gnd of the EVB header pinout. I want to power the sensor only when we collect the data.
Is there a way to shutdown the Vcc pinout on command?
Thanks
User avatar
lcheminade
 
Posts: 146
Joined: Mon May 11, 2015 7:47 am

Re: TD1208 EVB

by lcheminade Mon Sep 21, 2015 1:32 pm

If you turn off VCC you will shutdown yourself! Why don't you use a GPIO? How much current does your sensor need?
francois
 
Posts: 47
Joined: Tue Jun 16, 2015 6:13 am

Re: TD1208 EVB

by francois Mon Sep 21, 2015 2:17 pm

I would say 10 mA. Is that ok for the GPIO?
User avatar
lcheminade
 
Posts: 146
Joined: Mon May 11, 2015 7:47 am

Re: TD1208 EVB

by lcheminade Mon Sep 21, 2015 2:40 pm

Will be ok if you change the drive mode (20mA).

GPIO_PinModeSet(port, bit, gpioModePushPullDrive,1);
GPIO_DriveModeSet(port, gpioDriveModeHigh);
francois
 
Posts: 47
Joined: Tue Jun 16, 2015 6:13 am

Re: TD1208 EVB

by francois Fri Sep 25, 2015 8:21 am

As a port and bit values I refer to table in section 4.11.7 of TD1208 reference manual. Is that correct?
Francois
User avatar
lcheminade
 
Posts: 146
Joined: Mon May 11, 2015 7:47 am

Re: TD1208 EVB

by lcheminade Fri Sep 25, 2015 8:34 am

Yes indeed!
Return to Hardware

Who is online

Users browsing this forum: No registered users and 19 guests