element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Pi IoT
  • Challenges & Projects
  • Design Challenges
  • Pi IoT
  • More
  • Cancel
Pi IoT
Blog [Pi IoT] Alarm Clock #Summary
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fvan
  • Date Created: 29 Aug 2016 9:37 PM Date Created
  • Views 3652 views
  • Likes 12 likes
  • Comments 14 comments
  • fvan_piiot
  • summary
  • smartalarmch
  • piiot
  • iot_projects
Related
Recommended

[Pi IoT] Alarm Clock #Summary

fvan
fvan
29 Aug 2016

  • Features
  • Devices
    • Energy Monitor
    • IP Camera
    • Key Holder
    • Alarm Clock
    • Control Unit
  • Demo
  • Conclusion

 

It's been a tough, stressful, but certainly fun three months competing in this challenge. As if the challenge itself wasn't challenging enough, I also moved house halfway the challenge. Though the move was more time consuming than originally anticipated, I managed to complete most of the objectives I had set originally.

 

This is my final post for element14's Pi IoT Design Challenge, summarising and demonstrating my project builds.

 

Features

 

Following features were implemented, making several rooms smarter:

  • configuration management
  • monitoring
    • contact (doors or windows)
    • temperature
    • energy
    • video
    • key presence
  • control
    • lights
    • music
    • voice

 

  • [Pi IoT] Alarm Clock #03: Puppet
  • [Pi IoT] Alarm Clock #04: Installing OpenHAB With Puppet
  • [Pi IoT] Alarm Clock #05: EnOcean Pi and Sensors 
  • [Pi IoT] Alarm Clock #08: IoT Tower Light 
  • [Pi IoT] Alarm Clock #09: Philips Hue

 

Unfortunately I couldn't crack the code of my domotics installation yet, but help seems to be on the way.

 

  • [Pi IoT] Alarm Clock #21: Domotics

 

Devices

 

To accommodate all of the above mentioned features, five different devices were created:

  • a smart alarm clock
  • a touch enabled control unit
  • a smart key holder
  • two IP cameras
  • a energy monitor

Energy Monitor

 

The energy monitoring device makes use of an open source add-on board for the Raspberry Pi, called emonPi. Using clamps, it is able to measure the current passing through a conductor and convert it in power consumption. I combined the emonPi with a Raspberry Pi Zero and two currents clamps: one to measure the power consumption of the shed, the other for the lab. This can of course be applied to any room, as long as the clamp is attached to the proper conductor.

 

Want to know more about emonPi?:

  • [Pi IoT] Alarm Clock #06: emonPi

 

IP Camera

 

Two IP cameras were installed for live monitoring: one in the lab, and one in the shed. Both make use of the Raspberry Pi Zero v1.3 with camera port. The video stream is converted to MPJEP and embedded in OpenHAB in the matching view.

 

  • [Pi IoT] Alarm Clock #10: Camera Feeds

 

Key Holder

 

A mini build which was not originally foreseen, but which I thought would fit nicely in this challenge. The concept is simple: four connectors are foreseen to which keys can be attached. When a key is attached, a GPIO pin changes status, reporting the change to the control unit.

image

A future improvement could be to either use a different connector per key, or make use of different resistors and an ADC to know which key is inserted where.

 

The full project is described in a dedicated blog post:

  • [Pi IoT] Alarm Clock #22: Key Holder

 

Alarm Clock

 

The idea of the smart, voice-controlled alarm clock started in 2014. The result was a functional prototype, but too slow and bulky to be really useful. This challenge was the perfect opportunity to revisit this project, and I'm quite happy with the way it turned out!

 

Here's a side-by-side comparison:

imageimage

 

The original Raspberry Pi 1 B with Wolfson audio card has been replaced by the new Raspberry Pi 3 B with USB microphone and I2S audio module. The difference in performance is incredible. The result is a near real-time, voice controlled device capable of verifying sensor status, fetching internet data such as weather information or even playing music.

 

Most of the work was done for this device, and simply reused by the others. The posts cover voice control, setting up OpenHAB, controlling displays, and much more:

  • [Pi IoT] Alarm Clock #11: Clock Display
  • [Pi IoT] Alarm Clock #12: Voice Control
  • [Pi IoT] Alarm Clock #13: Text to Speech
  • [Pi IoT] Alarm Clock #14: Front Panel
  • [Pi IoT] Alarm Clock #15: Finished Enclosure
  • [Pi IoT] Alarm Clock #16: Wiring
  • [Pi IoT] Alarm Clock #17: I2S Audio      

 

Control Unit

 

The Control Unit has the same guts as the alarm clock: I2S audio, USB microphone, speaker, Raspberry Pi 3, etc ... It does however add a keypad and touch screen, allowing control via touch on top of voice. The keypad switches between different webpages on the touch screen, which is locked in kiosk mode.

 

The touch screen can be used to trigger actions, visualise historic data (power consumption, temperature), consult the weather, etc ...

 

imageimage

 

You can find the relevant posts below:

  • [Pi IoT] Alarm Clock #18: Second Unit
  • [Pi IoT] Alarm Clock #19: Kiosk
  • [Pi IoT] Alarm Clock #20: Finished Enclosure II 

 

Demo

 

Various demonstrations were already made over the course of the challenge. But as this is a summary post, I've created a video showcasing the entirety of the project. Hope you like it!

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

 

Because this project wouldn't have been possible without the plethora of online content and tutorials allowing me to combine and modify functionality to give it my own twist, I am publishing all the code created as part of this challenge in a dedicated GitHub repository. You can find it here: https://github.com/fvdbosch/PiIoT

 

The repository contains the Python scripts, Puppet modules and diagrams, all categorised in a way I thought would make sense. I will make sure the repository is updated as soon as possible!

 

Conclusion

 

I'd like to thank element14, Duratool, EnOcean and Raspberry Pi Foundation for organising and sponsoring another great challenge. It's been a wild ride, thank you! I would also like to thank element14Dave, fellow challengers and members for their input and feedback over the course of the challenge. Finally, a big thank you to my wife and kids for allowing me to participate and even help me do the demonstrations!

 

Time for some rest now, and who knows, perhaps we'll meet again in a future challenge.

 


image

 


Navigate to the previous post using the arrow.

  • Sign in to reply

Top Comments

  • fvan
    fvan over 9 years ago in reply to mcb1 +4
    It's a bit of a mixed feeling On one had, glad it's over, and I got to return to normal life, especially with the kids starting school again. On the other hand, I feel a void now the challenge has ended…
  • rhe123
    rhe123 over 9 years ago in reply to fvan +3
    Haha, no problem. I've been a teacher of Computer Science in high school, so I've probably seen much worse
  • mcb1
    mcb1 over 9 years ago +2
    Well done, especially given the extra challenges you added for yourself. I know how much it takes for these challenges, and this one is certainly a larger one. Good luck, I'm sure just finishing, returning…
  • volly
    volly over 9 years ago

    fvan...Great idea.

    Enjoy the slower approach to it!!!

    YV!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fvan
    fvan over 9 years ago in reply to mcb1

    It's a bit of a mixed feeling image

     

    On one had, glad it's over, and I got to return to normal life, especially with the kids starting school again. On the other hand, I feel a void now the challenge has ended.

     

    Anyway, I'm continuing to work on and improve the project, only this time, at a lower pace without pressure image

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mcb1
    mcb1 over 9 years ago

    Well done, especially given the extra challenges you added for yourself.

     

    I know how much it takes for these challenges, and this one is certainly a larger one.

     

    Good luck, I'm sure just finishing, returning to 'normal' and enjoying the new place will be reward enough.

     

     

    Mark

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • fvan
    fvan over 9 years ago in reply to carmelito

    Thanks carmelito!! I really like the voice control, and it's not so hard to use. The fact that it processes everything offline is a big plus also, no internet required!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • carmelito
    carmelito over 9 years ago

    Great project fvan. After checking out your demo video , i have only one word to describe the project "WOW".. And yes ! great wood working skills.Hoping to incorporate the voice control section in my project , that for all the detailed info.. Best wishes - Carmelito

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube