Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Power OneWire salve #2

Closed
guiguid opened this issue Apr 12, 2013 · 4 comments
Closed

Power OneWire salve #2

guiguid opened this issue Apr 12, 2013 · 4 comments

Comments

@guiguid
Copy link

guiguid commented Apr 12, 2013

Hi,
you made a POWER class that control power of internal composants.
Is it possible to extend this class to drive slaves like OneWire ones ?

Power consumation of OneWire salve can be reduce by disconnecting the pull up resistor.

example :
D1 ------|==R==|-------
D2 --------------------------+-------
' ONEWIRE SLAVES
GND --------------------------------/

In this way, D1 & D2 can be put in High Impedance mode in order to preserve power when ONEWIRE bus is not need.

the class may include a delay when power on the ONEWIRE bus to let some time to initialize the slaves.

my 2ct

guillaume

@guiguid
Copy link
Author

guiguid commented Apr 12, 2013

sorry, you can close :
CosaVWIsender.ino
// Virtual Wire Interface Transmitter and Power Control pins
VWI::Transmitter tx(Board::D2, &codec);
OutputPin pw(Board::D1);

sincerely sorry.

guillaume

@mikaelpatel
Copy link
Owner

ok!

@mikaelpatel
Copy link
Owner

This could be added to the CosaVWItempsensor.ino example sketch. I will include this.

Cheers

@ghost ghost assigned mikaelpatel Jul 5, 2013
@mikaelpatel
Copy link
Owner

Updated the CosaVWItempsensor example sketch to allow power control of the 1-Wire pullup.
e8106b2

Cheers!

@mikaelpatel mikaelpatel removed their assignment Jul 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants