In SX Microcontrollers, SX/B Compiler and SX-Key Tool, John Kauffman wrote: I'm using a Memsic accelerometer (Parallax part #28017) and an SX28. The project needs to be small, so I am building it around a couple of DIP sockets strapped to a 9 volt battery. I recall from another project on a forum that if the current demands were not too high, the SX pins could be used as the Vdd and VSS for the sensor. Then SX can then turn on the sensor only when needed. The SX datasheet says SX pins source/sink 45 mA. Memsic sensor datasheet says it uses less then 5 mA. The question is how to actually wire and code it. - Do I set the sensor pin +5 to RC.1 and sensor ground pin to RC.2 and then in code set RC.1 high and RC.2 low? - Do I need at least one of the sensor pins to go directly to the power supply? - An additinal sensor pin is supposed to always be low. Can I just wire that to RC.3 & set RC.3 low? Thanks. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=267375 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)