Over the years many people have made an air quality monitor station, usually of some configuration which measures particulates (PM2.5 & PM10). Some will also measure ozone (O3), but very few will meet the requirements that will allow one to calculate the Air Quality Index (AQI) as used by the EPA and other organizations. [Ryan Kinnett]’s project is one of those AQI-capable stations.
The AQI requires the measurement of the aforementioned PM2.5 (µg/m3), PM10 (µg/m3) and O3 (ppb), but also CO (ppm), SO2 (ppb) and NO2 (ppb), all of which has to be done with specific sensitivities and tolerances. This means getting sensitive enough sensors that are also calibrated. [Ryan] found a company called Spec Sensors who sell sensors which are pretty much perfect for this goal.
Using Spec Sensor’s Ultra-Low Power Sensor Modules (ULPSM) for ozone, nitrogen-dioxide, carbon monoxide and sulfur dioxide, a BME280 for air temperature, pressure and relative humidity, as well as a Plantower PMS5003 laser particle counter and an ADS1115 ADC, a package was created that fit nicely alongside an ESP8266-based NodeMCU board, making for a convenient way to read out these sensors. The total one-off BOM cost is about $250.
The resulting data can be read out and the AQI calculated from them, giving the desired results. Originally [Ryan] had planned to take this sensor package along for a ride around Los Angeles, to get more AQI data than the EPA currently provides, but with the time it takes for the sensors to stabilize and average readings (1 hour) it would take a very long time to get the readings across a large area.
Ideally many of such nodes should be installed in the area, but this would be fairly costly, which raises for [Ryan] the question of how one could take this to the level of the Air Quality Citizen Science project in the LA area. Please leave your thoughts and any tips in the comments.
For serious data collection with weather sensors, a solar shield is crucial. The shield protects temperature and humidity sensors from direct sunlight, as well as rain and other inclement weather, without interfering with their operation. [Mare] managed to create an economical and effective shield for under three euros in materials.
It began with a stack of plastic saucers intended for the bottom of plant pots. Each of these is a lot like a small plate, but with high sides that made them perfect for this application. [Mare] cut the bottom of each saucer out with a small CNC machine, but the cut isn’t critical and a hand tool could also be used.
Three threaded rods, nuts, and some plastic spacers between each saucer yields the assembly you see here. When mounted correctly, the sensors on the inside are protected from direct exposure to the elements while still allowing airflow. As a result, the readings are more accurate and stable, and the sensors last longer.
The top of the shield is the perfect place to mount a UV and ambient light sensor board, and [Mare] has a low-cost DIY solution for that too. The sensor board is covered by a clear glass dish on top that protects the board without interfering with readings, and an o-ring seals the gap.
3D printing is fantastic for creating useful components, and has been instrumental in past weather station builds, but projects like these show not everything needs to be (nor should be) 3D printed.
When building robots, or indeed other complex mechanical systems, it’s often the case that more and more limit switches, light gates and sensors are amassed as the project evolves. Each addition brings more IO pin usage, cost, potentially new interfacing requirements and accompanying microcontrollers or ADCs. If you don’t have much electronics experience, that’s not ideal. With this in mind, for a Hackaday prize entry [rand3289] is working on FiberGrid, a clever shortcut for interfacing multiple sensors without complex hardware. It doesn’t completely solve the problems above, but it aims to be a cheap, foolproof way to easily add sensors with minimal hardware needed.
The idea is simple: make your sensors from light gates using fiber optics, feed the ends of the plastic fibers into a grid, then film the grid with a camera. After calibrating the software, built with OpenCV, you can “sample” the sensors through a neat abstraction layer. This approach is easier and cheaper than you might think and makes it very easy to add new sensors.
Naturally, it’s not fantastic for sample rates, unless you want to splash out on a fancy high-framerate camera, and even then you likely have to rely on an OS being able to process the frames in time. It’s also not very compact, but fortunately you can connect quite a few sensors to one camera – up to 216 in [rand3289]’s prototype.
Of course, this type of setup is mostly suited to binary sensors/switches where the light path is either blocked or not, but other uses can be devised. For example, rotation sensors made with polarising filters. We’ve even written about optical flex sensors before.
We’re all familiar with the “Black Box” used on commercial aircraft, the flight data recorder which captures the minutia of each and every flight on the off-chance that it’s needed in the event of an accident. But even in less dire circumstances, the complete record of the aircraft’s performance versus what was commanded of it by the pilot can be used to fine tune performance or detect faults before they become serious.
As a data engineer for professional motorsports, [Jussi Luopajärvi] knows similar recorders can be just as useful for vehicles stuck here on terra firma. His entry into the 2019 Hackaday Prize, TestLogger, aims to bring that same kind of technology to the world of RC racing. The gadget allows the driver to easily record a wealth of data about the vehicle during races, giving them valuable insight into the vehicle’s performance.
So what kind of variables are there to record on a 1/8th or 1/12th scale car? Don’t be fooled by their diminutive wheelbases, the modern RC car relies on an impressive amount of technical wizardry that benefits from a close eye.
Right now, [Jussi] says TestLogger can record not only obvious elements like battery level and throttle, but also more esoteric variables such as steering input, individual drive wheel speed, angular velocity, and even g-force in three dimensions. There’s also support for a trackside IR beacon that allows TestLogger to record lap times.
All of the data is stored on TestLogger’s SD card in standard CSV files, which makes it easy for us hacker types to parse and analyze. But for those who are more interested in driving than delimiting, there’s also a very slick website that will let users upload and compare their data. This complete user experience gives TestLogger a very professional feel, and we can’t wait to see where [Jussi] takes it from here.
With powerful microcontrollers available for a song, we expect this kind of detailed data collection is only going to become more common.
It’s a simple goal: build a waterproof box full of environmental sensors that can run continuously for the next century. OK, so maybe it’s not exactly “simple”. But whatever you want to call this epic quest to study and record the planet we call home, [sciencedude1990] has decided to make his mission part of the 2019 Hackaday Prize.
The end goal might be pretty lofty, but we think you’ll agree that the implementation keeps the complexity down to a minimum. Which is important if these solar-powered sensor nodes are to have any chance of going the distance. A number of design decisions have been made with longevity in mind, such as replacing lithium ion batteries that are only good for a few hundred recharge cycles with supercapacitors which should add a handful of zeros to that number.
At the most basic level, each node in the system consists of photovoltaic panels, the supercapacitors, and a “motherboard” based on the ATmega256RFR2. This single-chip solution provides not only an AVR microcontroller with ample processing power for the task at hand, but an integrated 2.4 GHz radio for uploading data to a local base station. [sciencedude1990] has added a LSM303 accelerometer and magnetometer to the board, but the real functionality comes from external “accessory” boards.
Along the side of the main board there’s a row of ports for external sensors, each connected to the ATmega through a UART multiplexer. To help control energy consumption, each external sensor has its own dedicated load switch; the firmware doesn’t power up the external sensors until they’re needed, and even then, only if there’s enough power in the supercapacitors to do so safely. Right now [sciencedude1990] only has a GPS module designed to plug into the main board, but we’re very interested in seeing what else he (and perhaps even the community) comes up with.
Imagine that you’re starting a project where you need to measure temperature and humidity. That sounds easy in the abstract, but choosing a real device out of many involves digging into seemingly infinite details and trade-offs that come with them. If it’s a low-stakes monitoring project, picking the first sensor that comes to mind might suffice. But when the project aims to control an AC system in an office of temperature-sensitive coders, it pays to take a hard look at the source of all information: the sensor.
Continuing a previous article I would like to use that same BMaC project from that article as a way to illustrate how even a couple of greenhorns can figure out how to pick everything from environmental sensors to various actuators, integrating it into a coherent system that in the end actually does what it should.
Continue reading “Picking The Right Sensors For Home Automation”
The now-humble PCB was revolutionary when it came along, and the whole ecosystem that evolved around it has been a game changer in electronic design. But the PCB is just so… flat. Planar. Two-dimensional. As useful as it is, it gets a little dull sometimes.
Here’s your chance to break out of Flatland and explore the third dimension of circuit design with our brand new Flexible PCB Contest.
We’ve teamed up with Digi-Key for this contest. Digi-Key’s generous sponsorship means 60 contest winners will receive free fabrication of three copies of their flexible PCB design, manufactured through the expertise of OSH Park. So now you can get your flex on with wearables, sensors, or whatever else you can think of that needs a flexible PCB.
Continue reading “New Contest: Flexible PCBs”