Tag: Raspberry Pi

  • Work Experience with KnowNow

    Work Experience with KnowNow

    This last week we have been lucky to have Joseph with us on work experience from Cams Hill School in Fareham. He was able to work on a few of our current projects and describes the experience below.

    Joseph with David celebrating a successful work experience!
    Joseph with David celebrating a successful work experience!

    Hi, I'm Joe and I have been gifted with the opportunity of working with KnowNow for a week. I am 15 and I love computers and programming. For my Work Experience, I was delighted to know that KnowNow was happy to take me on.

    In school, we had been had been using tools such as Raspberry Pi's to create our own Minecraft servers. I also was part of a club of programmers in our school. We use languages such as HTML and CSS to provide more online applications for teachers.

    Using the Raspberry Pi

    Raspberry Pi with CamJam kit
    Raspberry Pi with CamJam kit

    At KnowNow I have had the privilege to use great tools. This includes the Raspberry Pi, the Arduino, and the CamJam EduKit. Using the Raspberry Pi and Edukit I was able to make  LED's that could turn on and off. I also made a Morse code machine with a buzzer that gave out the message SOS. This used Python on the Raspberry Pi, which was new for me but I picked it up quite quickly.

    I was then introduced to Bluemix, an application developed to build, run, deploy, and manage applications on the cloud, where I then made a simple static webpage. Bluemix enables me to transfer the skills I learned using EduKit and hopefully have a working dashboard on a Bluemix website.

    In the future, I will be using Bluemix to develop my ideas further such as getting LED lights that can be controlled with a webpage on Bluemix. I will also take back the skills I have learned at KnowNow and use them in projects at school that would account for my GCSE grade.

    Results of my work experience

    In conclusion, I have had a great week at KnowNow. I would definitely like to come back here in the future.

  • IoT Dollshouse – visualising comfort.

    IoT Dollshouse – visualising comfort.

    We spent part of last week building a doll house. Are we mad? Our home monitoring solution needed an easy and accessible way for people to visualise the resulting data. Rather than build a set of flashy dashboards we thought we would visualise it in 3D using a non-state-of-the-art Victorian toy – an IoT dollshouse.

    Article by Connor Moore – responsible for the KnowNow IoT Dollshouse project

    A picture of the IoT dollshouse as being constructed by Connor
    The Dolls House being built with the LED's turned on.

    BeatHouse – the start of the story

    Companies are starting to realise that the data that they are creating through their business creates new value for the company. At KnowNow Information we like to help these companies by consulting and providing data services that include data management and analytics.

    Beat House is a project we have been working on that involves a Passivhaus, a highly insulated pre-fabricated house, in this case in the beautiful setting of the South Downs National Park. Beat House is heated only through four towel rails and it is therefore important to find out the comfort levels of the occupants.

    Beathouse - Front elevation
    Beat House – architectural plan of Front elevation

    Beat House is owned by our good friend Mr David Pepper. What he has completed so far is demolishing the old house and construction is well underway for the new Passivhaus. This is where we come into the mix. He wants us to create a dashboard that can display the different levels of comfort in each room. Comfort is measured from data gathered from a year's worth of temperature both indoor and outdoor. The way we record this is by monitoring the temperature in each room when occupied and finding out the specific temperatures and humidity that the tenants like via a simple app which just asks them whether they are comfortable at that time.

    The IoT DollsHouse idea came from a need to visualise the data gathered from Beat House. The original plan for the Dolls House visualisation was going to be three separate LEDs for each room; Red, Green, and Blue. This would indicate the comfort levels of the occupants. Red is too hot, Blue is too cold and Green is just the correct temperature to be comfortable at. When fiddling around with the LED idea, we had to power it using a Raspberry Pi. This became troublesome when we found out that some of the pins in our Pi did not work. With more research, we found tiny LED's from BangGood that allowed us to create a spectrum of light from two pins on the Raspberry Pi GPIO ports across a series of LEDs that allow you to alter the colour to gradually change from one colour to another. For example, instead of it going from Red to instantly Green, the Red will slowly transition into Green so the user will know that it is cooling down.

    Leaping from visualisation to actuation!

    We built a demo version of some air vents that can be used in the home to move heat from one room to another.

    How was it created?

    Boathouse demonstraton in Perspex
    Demo of our actuations for Beathouse

    We have a designated Friday every month called “Maker Friday”. This allows us to bring the ideas of a project alive. First of all, we decided which materials we would need for the project. We needed to find the correct size box, 10cm³ and then the right texture, which was transparent. We ordered a couple and when they arrived we instantly worked on them, aligning them to each other we made some rough marks so there would be a visible mark to drill through. After the holes are drilled through and sanded down, we attach the servo motor inside of the box and create a small window for the servo motor.

    How does it work?

    There is a temperature sensor inside the box. The box simulates a room in the house. The temperature sensor gathers the data which is fed to the Raspberry Pi using node red. Once the temperature reaches the point where it will become uncomfortable for the occupants, the servo motor will be activated and the heat will pass to the next room. For example, if the room is too hot, the motors will react to the heat and open up to vent the hot air out and the cool air in.

    What have we done with the IoT Dollshouse since?

    Picture of Connor and the IoT DollsHouse at Thames Valley IoT
    Connor and Dolls House at Thames Valley IoT

    I took the IoT dollshouse along to the Thames Valley Internet of Things meetup and, along with Chris, we spoke about the process of working with our customer to develop the software and hardware required for the project. People were very interested to see a real live project that was actually being used in a customer situation. Lots of the people there had great ideas both on how we could develop the idea further and also for potential commercial exploitation.

    In my next blog update, I will describe the process of building the demo for yourself.

    Thanks for reading, I'd welcome suggestions on improving the project in the comments below, Connor.

  • IoT project – BeatHouse

    IoT project – BeatHouse

    This week we have been setting up a demonstration of our IoT project, BeatHouse, at the IBM Internet of Things (IoT) lab in Hursley, Winchester.  IBM is using it to demonstrate how you can use their suite of technologies to rapidly develop new services using real-time information.

    What is our IoT project "BeatHouse" anyway?

    BeatHouse - Grand Prix analytics for your home
    BeatHouse – Grand Prix analytics for your home

    BeatHouse is our home monitoring and actuation system. It allows you to automate the control of heat and energy throughout your home. Sensors measure the temperatures in various spaces and signals are sent to vents that allow the heat to be efficiently shared.

    The name BeatHouse comes from the initial deployment – a new build home being built in the middle of the South Downs National Park. It is replacing the old police house that stood in its place, hence the name.

    The new BeatHouse is being built to Passivhaus specifications which means that it will be highly insulated. It will only take 4 towel rails and heat from occupants to provide all the required heat. This has made it the perfect location for us to test our sensor technologies.

    So how does BeatHouse from KnowNow Information work?

    Firstly, we deploy temperature sensors in the primary living spaces. Then we place additional temperature sensors in the warmest place of the house, the conservatory. A corresponding sensor goes in the coldest part of the house, the outside north elevation. The roof void contains the final sensor as this space is often either a heat store.

    Our IoT Project BeatHouse Node Red Setup - Easy IoT!
    The BeatHouse Node-Red Setup – Easy IoT!

    The data is then sent via wi-fi to a Raspberry Pi which acts as an MQTT broker. This allows us to feed the data via the cloud into NodeRed which is absolutely perfect for controlling IoT devices. Our lead developer, Tom Ashcroft has aggregated the sensor data into relevant topics ready for storing in a Cloudant database, running on the IBM Cloud platform.

    The whole process takes us very little time to set up. Setting up the demonstration for IBM labs took less than a day. IBM Cloud allows us to rapidly build, test, and deploy each version.

    Where does this IoT project go from here?

    We are currently in talks with device manufacturers who may be able to create a specific sensor pack and MQTT broker that will greatly reduce the deployment costs per house. This will mean that a home monitoring IoT solution will become more affordable for individual homeowners as well as the care homes, eco houses, and smart homes into which we are currently deploying units.

    The aim of our current research efforts is the integration of wearable technologies into the system. This will gather more information about the individuals within a house and begin to use predictive analytics to work out well-being. Tom, in particular, is busy playing with an Arduino Grove kit so we can augment the current sensors.

    Available now – from KnowNow Information

    So the BeatHouse service is available today. Whether you are an individual who would like to monitor your own home, someone who provides care for a relative, or someone who manages hundreds of social houses then we'd be happy to speak with you.

    Similarly, BeatHouse scales very well for larger buildings and developments. Leveraging IBM's technologies we are able to deploy the service for large housing developments, luxury apartments, or anyone who wonders why their car has a futuristic dashboard whilst their house has nothing of the kind.

    By Connor Moore and David Patterson. Contact us via the form at the bottom of our homepage to find out more.

  • Sensor Project on Raspberry Pi

    Sensor Project on Raspberry Pi

    From late August and throughout September, KnowNow Information trialled the first five prototype sensor packs, built in conjunction with our partner and using Raspberry Pi. They are designed to deliver precise real-time and historical readings of various data to our clients from any location in the UK with cellular coverage, regardless of network – provided by our partner Mobius Networks.

    During the trial period, we focused on temperature sensing. All five sensor packs ran for close to 4 weeks with no interruptions. We had one here in the KnowNow office, while the other four were deployed remotely, at two controlled locations. The flow of data was great to watch, with updates coming from each device whenever a change of 0.1° Celsius was detected; 30~70 updates per day per unit. In this respect, the devices proved both reliable and consistent:

    Sensor Graphs
    001/002 @ Controlled Location, 003 @ KnowNow and 004/005 @ Controlled Location#2

    Problems We've Faced

    During the trial period we encountered no critical errors or hardware failures. However…

    Given the granularity of the data, you would expect a high level of data use – and you'd be right! Unfortunately, all five far exceeded their individual data limit, a whopping 2MB, due to a combination of factors. Firstly, in the event of connection loss, the sensor packs are designed to store and queue unsent updates for later simultaneous transmission. Previously, these queued packets were non-optimally packetized, resulting in small spikes of up to 50KB throughout the day. This was resolved in an OTA (Over-The-Air) programming update on the 19th of September. Secondly, we are still seeing large (up to 100KB) spikes around midnight. Sadly, this accounts for the majority of the data usage as of late. We've had some trouble analyzing this problem, although I believe it's most likely due to nightly update checks, which are performed alongside an automatic midnight reboot. Reducing the update interval to alleviate this problem is the simplest solution.

    What's next? More Sensors!

    We're currently investigating the most efficient way of expanding the sensor pack capabilities to include humidity, CO², gas and electricity whilst retaining the same level of quality you can see in the temperature readings. The eventual goal is to generate a comprehensive energy footprint of any location, and incentivize responsible energy use.

    Watch this space for future updates on the project!

    Andy.