Skip to content

bschapendonk/sensorclock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sensorclock

Alt text Alt text

I'm a software engineer by trade and I was looking for a nice project to use Windows 10 IoT Core running on a Raspberry Pi 2 Model B. So I decided on an clock inspired by Steve Gardner's 6 Digit LED Clock project. Initially I only planned on the clock, but I ended up addeding a bunch of sensors that might be used for some "IoT" in the feature.

Everything is controlled thru I2C, except the RGB leds which use SPI, some GPIO's for the rotary encoder, interrupts from the sensors and control lines to turn off the +3V3 (to reset all I2C devices). Basically any MCU that has I2C, SPI and some GPIO's can be used.

The new Raspberry Pi 3 is pin compatible and runs even better

things learned / improvements / mistakes

  • U2 has an invalid I2C address
  • [Workaround] Use ALLCALL to enable SUBADDR1 on all PCA9622's, then disable SUBADDR1 on the good addressed PCA9622's and use SUBADDR1 to address the wrong addressed U2
  • The MCP3425 and DS3231 have the same I2C address #fail
  • [Workaround] For now I cut the SDA/SCL traces to the DS3231
  • The interconnect between te sensorclock and the Raspberrry Pi 2
  • This is a custom cable which saved time in design process of the board (less complex routing), but in hindsight this was a mistake since the assembly of the cable is quite difficult and error prone.

features

  • Windows 10 IoT Core controlled
  • Six 7-segment 70mm (2.3") high displays
  • Eight APA102C serial controlled RGB led's for ambient lighting or mood indication
  • Temperature, humidity, barometric pressure, ambient light and air quality sensors
  • Mechanical rotary encoder with switch for user input

components

clock

sensors

!!This is a work in progress, use at your own risk!!

renders

Alt text Alt text Alt text Alt text

About

2.3" Digit clock running Windows 10 IoT Core with sensors powered by an Raspberry Pi 2 Model B

Resources

License

Stars

Watchers

Forks

Packages

No packages published