Call 01295 722 823

Build your own ventilation system; using CO2 data and Raspberry Pis

by Hermione Crease, Marketing, Purrmetrix

This is cool: the team at LCMB have been using Purrmetrix to go beyond data gathering and get into some home brewed building control. 

LCMB have been monitoring the environment in a university facility for several months using Purrmetrix CO2 and temperature sensors to look at the relationship between comfort and productivity. One space in particular caught the attention of LCMB and the university estates team: an office area which had obvious ventilation problems. With a lot of people using the space the building systems were struggling to keep up with the ventilation needed, especially in winter, when opening windows was unattractive. 

It was commonplace to see CO2 levels rising above 1500 ppm, a level where concentration and decision making becomes impaired.

But rather than going for a costly building services overhaul, the LCMB team decided to go one better and implement their own fix, using ducted fans and a Raspberry Pi to keep the CO2 in the office within controlled limits. Two fans were set up to provide good coverage across the whole space; each had their own Raspberry Pi low cost computer to read the data from API on the Purrmetrix web service and to drive the fans using a digital to analogue converter. The fans were ducted from outside so the set up also needed a heater in front of the air to temper it to the right temperature. This might not be the prettiest set up, but it’s a prototype and a big improvement on a COheadache.

The project took a few days of tinkering time to connect the hardware, in particular setting up the Pi and configuring the internet access for it from the university network. But once the hardware was connected and the right scripts were implemented it produced an immediate result:

There had been some concerns about noise levels and air movement – in practice the team found that to keep levels of CO2 around 700 ppm (+/- 100 ppm) the fan was operating at 50 – 60% for much of the day. This delivered a good trade off between air quality and noise level. Allowing a higher CO2 level (around 1000 – 1200 ppm, which is considered acceptable) fans could be quieter, cycling on/off most of the day. In warmer weather as windows are opened, the fans are working much less frequently.

‘Once we had the data from Purrmetrix it was irresistible to have a go at creating a solution.’ explains Tom Cudmore, Senior consultant at LCMB, ‘We considered using the alerts system within Purrmetrix to create a HTTP call that would activate the fan, but in the end we decided to keep the alerts for exceptions and take the data direct from the API every two minutes. It took a few weeks to source the right fan product and write the scripts, but we think the results speak for themselves – we’d be happy to work in this environment now.’

If you have a problem office and would like to re-create this low cost solution, to trail the impact in your workplaces, here are the components you will need:

  •  Fan (we used Helios RR-EC in-line duct fan) sized according to the room volume and desired conditions
  •  Ducting and window blanking plate
  •  Heater to put in front of the fan and temper the outside air
  •  Power supply for fan and heater
  •  Wiring from analogue convertor to fan
  •  Digital to analogue convertor – we used a LucidControl device
  •  Raspberry Pi with internet access and configured for remote access
  • Purrmetrix kit – in this case with CO2   sensor

And if you want a copy of the script that LCMB developed or if you have any questions, just get in touch with John O’Brien, MD and Founder at LCMB on t: 01295 722823 or e:


Hermione Crease, Marketing, Purrmetrix,  

After nearly 20 years of working with M2M and IoT solutions, Purrmetrix founder Hermione Crease has a deep understanding of how the market for B2B IoT solutions is developing.  Her interest in energy efficiency in commercial property is even more longstanding, dating back to her early career as a Chartered Surveyor and property manager.




Tom Cudmore, Senior Consultant, LCMB 

Tom is an experienced project manager with an MSc in Energy & Sustainable Development. With a background in health, well-being and human performance. Tom has seen first-hand the impact poor indoor conditions have on the health of employee’s, and believes much more needs to be done to improve working environments for building users. 

The following two tabs change content below.
LCMB Building Performance Ltd

LCMB Building Performance Ltd. (LCMB) improves the financial and environmental sustainability of buildings and estates, and the productivity and well-being of the people using them. We do this by reducing building operating costs, energy used and improving workplace environments and building space utilisation. We offer Facilities Management, Carbon and energy reduction and project management support.

Our clients include Tata Technologies, King’s College London, Birmingham Airport, Nando’s, Howard Tenens and England Golf.

Contact John O’Brien MD and Founder if you’d like to discuss how we can ensure your real estate and building projects return more value and enhanced Return on Investments (ROI).

Leave a Reply

  • From the blog

  • Recent News