Energy Monitor Optically Couples To Smart Meter

Hackers love to monitor things. Whether it’s the outside temperature or the energy used to take a shower, building a sensor and displaying a real-time graph of the data is hacker heaven. But the most interesting graphs comes from monitoring overall power use, and that’s where this optically coupled smart-meter monitor comes in.

[Michel]’s meter reader is pretty straightforward. His smart wattmeter is equipped with an IR LED that pips for every watt-hour consumed, so optical coupling was a natural approach. The pulse itself is only 10 ms wide, so he built a pulse stretcher to condition the pulse for a PIC microcontroller. The PIC also reads the outside temperature with a DS18B20 and feeds everything to the central power monitor, with an LCD display and a classic Simpson meter to display current power usage. The central monitor sends the power and temperature data to Thingspeak, along with data from [Michel]’s wood-stove monitor and a yet-to-be-implemented water heater monitor.

[Michel] is building out an impressive suite of energy and environmental monitors for his Quebec base of operations. We’re looking forward to seeing how he monitors that water heater, and to see what other ideas he comes up with.

Continue reading “Energy Monitor Optically Couples To Smart Meter”

USB-less WiFi For The Pi Zero

Since the introduction of the Raspberry Pi Zero, the hacker, maker, and hobbyist electronics world has been thrown into turmoil. ‘The Raspberry Pi Foundation is corrupt,’ the detractors said, ‘and the Pi Zero is just a marketing ploy to get their name out.’ Others chimed in that the Raspberry Pi Zero doesn’t even exist. Despite what a million monkeys on a million keyboards say, the Raspberry Pi Zero does exist and is very cool, despite how limited it is. There’s only one USB port, but that doesn’t mean you can’t have WiFi. [ajlitt] came up with a WiFi hat for the Pi Zero that goes right through the GPIO pins, and shouldn’t cost more than a few dollars to implement on any Raspberry Pi.

There is no Ethernet port on the Pi, and apart from a single USB OTG port, no apparent high-speed interfaces to the outside world. On the other hand, there’s a few things hidden deep down in the SoC on the Pi including two MMC controllers. One of these controllers is used for the SD card, but the second can be broken out on a few GPIO pins. By tapping into those pins and configuring the kernel just right, SDIO is available on the GPIO pins, giving the Pi WiFi through a cheap ESP8266 module.

We’ve seen [ajlitt]’s work on SDIO devices on the Pi before, but he’s slowly been reworking this build with the Pi Zero in mind. It didn’t begin as a project for the Hackaday Prize, but already it’s one of the more popular entries so far. Of course there are thousands of projects on Hackaday.io that aren’t entered into the Hackaday Prize this year, and if you’re behind one of those, this is your call to step up.

The HackadayPrize2016 is Sponsored by:

Make Your Own ESP8266 Breadboard Adapter

Want to play around with the ESP8266? You’ll need a breadboard adapter, which allows you to connect the ESP8266 to a breadboard as you refine your design. Sure, you could just buy one, but where’s the fun in that?

[Markus Ulsass] designed a simple breadboard adapter for his ESP8266 that can be easily etched and built at home, but which has most of the features of the commercial versions. His adapter features a voltage regulator that can handle anything up to 7 volts and which has reverse polarity protection and a reset switch that puts the ESP8266 into flash mode, where it can be reprogrammed.

It’s a neat, simple build that makes it easier to tap into the power of the ESP8266 , which can be used to do everything from running a webcam to automating your home.

Alarm System Upgrade Tips The Functionality Scale

Residential-grade commercial alarm systems are good at a few things but terrible at others, like keeping pace with telephone technology. So what to do when a switch to VOIP renders your alarm system unable to call in reinforcements? Why not strip out the old system and roll your own value-added alarm and home automation system?

Generally, the hardest part about installing an alarm system is running the wires to connect sensors to the main panel, so [Bill Dudley] wisely chose to leverage the existing wiring and just upgrade the panel. And what an upgrade it is. [Bill]’s BOM reads like a catalog page from SparkFun or Adafruit – Arduino MEGA 2560, Ethernet shield, a sound board, stereo amplifier, X10 interface, and a host of relays, transformers, and converters. [Bill] is serious about redundancy, too – there’s an ESP8266 to back up the wired Ethernet, and a DS3231 RTC to keep the time just in case NTP goes down. The case is a bit crowded, but when closed up it’s nicely presentable, and the functionality can’t be beat.

Rehabilitating old alarm systems is a popular project that we’ve covered plenty of times, like this Arduino upgrade for a DSC 1550 panel. But we like the way [Bill] really went the extra mile to build add value to his system.

ESP8266 Based Irrigation Controller

If you just want to prevent your garden from slowly turning into a desert, have a look at the available off-the-shelf home automation solutions, pick one, lean back and let moisture monitoring and automated irrigation take over. If you want to get into electronics, learn PCB design and experience the personal victory that comes with all that, do what [Patrick] did, and build your own ESP8266 based irrigation controller. It’s also a lot of fun!

[Patrick] already had a strong software background and maintains his own open source home automation system, so building his own physical hardware to extend its functionality was a logical step. In particular, [Patrick] wanted to add four wirelessly controlled valves to the system.

Continue reading “ESP8266 Based Irrigation Controller”

Home Automation And Monitoring With Edison

[Tyler S.] has built a home automation and monitoring system dubbed ED-E, or Eddie. The name is an amalgam of its two main components, the Edison board from Intel, and some ESP8266 modules.

ED-E’s first job is to monitor the house for extraordinary situations. It does this with a small suite of sensors. It can detect flame, sound, gas, air quality, temperature, and humidity. With this array, it’s probably possible to capture every critical failure a house could experience, from burglars to water pipe leaks. It uploads all this data to Intel’s Analytics Cloud where we assume something magical happens to it.

ED-E can also sense the state of other things in the house, such as doors, with remote sensors. The door monitors, for example, are an ESP8266 and a momentary switch in a plastic case with a lithium ion battery. We’re not sure how long they’ll run, but presumably the Analytic Cloud will let us know if the battery is low via the aforementioned magic.

8728871444406519500_smallLastly, ED-E, can turn things in the house on and off. This is accomplished in 100% Hackaday-approved (if not UL-approved) style with a device that appears to be a lamp cable fed into a spray painted Altoids tin.

ED-E wins some style points for its casing. It’s a very well executed hack, and we’d not previously considered just how many awful situations can be detected with off the shelf sensors.

CarontePass: Open Access Control For Your Hackerspace

A problem faced by all collaborative working spaces as they grow is that of access control. How can you give your membership secure access to the space without the cost and inconvenience of having a keyholder on site at all times.

[Torehc] is working on solving this problem with his CarontePass RFID access system, at the Kreitek Makerspace (Spanish, Google Translate link) in Tenerife, Canary Islands.

Each door has a client with RFID readers, either a Raspberry Pi or an ESP8266, which  connects via WiFi to a Raspberry Pi 2 server running a Django-based REST API. This server has access to a database of paid-up members and their RFID keys, so can issue the command to the client to unlock the door. The system also supports the Telegram messaging service, and so can be queried as to whether the space is open and how many members are in at a particular time.

All the project’s resources are available on its GitHub repository, and there is a project blog (Spanish, Google Translate link) with more details.

This is a project that is still in active development, and [Torehc] admits that its security needs more work so is busy implementing HTTPS and better access security. As far as we can see through the fog of machine translation at the moment it relies on the security of its own encrypted WiFi network, so we’d be inclined to agree with him.

This isn’t the first hackerspace access system we’ve featured here. The MakerBarn in Texas has one using the Particle Photon, while the Lansing Makers Network in Michigan have an ingenious mechanism for their door, and the Nesit hackerspace in Connecticut has a very fancy system with video feedback. How does your space solve this problem?

The HackadayPrize2016 is Sponsored by: