Skip to content

Source code to support the Mystic Pants C1 environmental sensor board released in April 2017.

Notifications You must be signed in to change notification settings

mysticpants/envsensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Environmental Sensor

Sensors

The I2C sensors are all on i2cAB. Use this setting for i2C clock speed hardware.i2cAB.configure(CLOCK_SPEED_400_KHZ); By default the tempHumid Sensor takes the max number of samples, to average. So 256 for temp and 512 for humidity.

Sleep

The imp goes into deep sleep when after it takes some sensor readings. The wake pin is pinW. The accelerometer is setup to generate an interrupt when it recognizes a doubleClick.

LEDs

There are two LEDs on the environmental sensor, a green LED and a blue LED. Both are active low. The blue LED is on pinP. The green LED is on pinU.

Config Page

There is a user configuration page hosted by the agent. Currently, the device only retrieves new configurations on power cycle. The Imp Explorers need about 10 seconds unpowered for successful power cycling.

About

Source code to support the Mystic Pants C1 environmental sensor board released in April 2017.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •