Hi Nick, Enabling the voltage monitoring is available in ShimmerConnect/BoilerPlate. When you got to Tools->Configure Shimmer you will see an option that says "Enable Voltage monitoring". This will change the "AnEx ADC0" and AnEx ADC7" channels to "VSenseReg" and "VSenseBatt" respectively. Specifically the "SET_PMUX_COMMAND" in BoilerPlate manages the state of this mux: http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-2.x-contrib/shimmer/apps/BoilerPlate/Shimmer.h?content-type=text%2Fplain
The part that has not been implemented is to toggle this option quickly in order to inter-space voltage monitoring with measuring the external ADC channels, or any method to convert the difference between the two voltage measurements to instantaneous current (as described in the manual). Mike On Sat, Apr 14, 2012 at 1:48 AM, Nicholas Hosein <[email protected]>wrote: > Does the boiler plate app have this implemented by chance? or does the > shimmer connect software use something besides the boilerplate. > > Much Thanks, > > Nick > > > On Fri, Apr 13, 2012 at 1:15 AM, mike healy <[email protected]> wrote: > >> Hi Nick, >> >> The battery monitoring is multiplexed with the two ADC channels exposed >> on the external connector (i.e. ADC0 and ADC7). So you cannot sample the >> battery voltages and these channels at the same time. But you can switch >> between the two of them quickly if required. >> >> See section 2.4.4. of the Shimmer User Manual for further details. See >> the FAQ page to see how to convert the raw ADC value you receive back to >> battery voltage: http://www.shimmer-research.com/links/faqs#S9. Remember >> to double the value due to the halving of the voltage before it is measured >> (as mentioned in the referenced section in the manual). >> >> Mike >> >> On Wed, Apr 11, 2012 at 7:37 AM, Nicholas Hosein <[email protected]>wrote: >> >>> I noticed that the shimmer software can access the batter state on the >>> mote. In my experience the battery monitor and data bus share the same bus >>> so battery updates cannot be made while collecting data (I could be wrong >>> about this though). Was there an update to the boiler plate app that allows >>> battery monitoring (by percentage or voltage) in realtime while collecting >>> data? >>> >>> Much Thanks, >>> >>> Nick >>> >>> _______________________________________________ >>> Shimmer-users mailing list >>> [email protected] >>> https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users >>> >>> >> >
_______________________________________________ Shimmer-users mailing list [email protected] https://lists.eecs.harvard.edu/mailman/listinfo/shimmer-users
