[Paulo’s] garden lights are probably a bit more accurately automated than anyone else’s on the block, because they use latitude and longitude clock to decide when to flip the switch. Most commercial options (and hobbiest creations) rely on mechanical on/off timers that click on an off every day at the same time, or they use a photosensitive element to decide it’s dark enough. Neither is very accurate. One misplaced leaf obscuring your light-dependent resistor can turn things on unnecessarily, and considering the actual time of sunset fluctuates over the year, mechanical switches require constant adjustment.
[Paulo’s] solution addresses all of these problems by instead relying on an algorithm to calculate both sunrise and sunset times, explained here, combined with swiftek’s Timelord library for the Arduino. The build features 4 7-segment displays that cycle through indicating the current time, time of sunset and of sunrise. Inside is a RTC (real time clock) with battery backup for timekeeping along with an Omron 5V relay to drive the garden lamps themselves. This particular relay comes with a switch that can force the lights on, just in case.
Check out [Paulo’s] project blog for the full write-up, links to code and more details, then take a look at some other home automation projects, like the SMS-based heater controller or occupancy-controlled room lighting.
Home automation keeps popping up here at Hackaday, so [Cristian Zatonyl] decided to share his Raspberry Pi-based system with us. This build takes a firm stance on the “automated” side of the automation vs. control debate we had last week: no user input necessary. Instead, [Cristian] relies on geofencing to detect whether he has driven outside the set radius and automatically turns off the lights and locks his door.
The build takes advantage of Z-Wave products, which are your typical wireless remote-control gadgets, but tacks on a third-party “RaZberry” board to a Raspi to give it control over off-the-shelf Z-wave devices. The final step is the integration of a custom iOS app that keeps tabs on the geofence boundaries and signals the Pi to control the lights and the front door lock.
[Cristian’s] tutorial covers the basics and admits that it’s a proof of concept without any security features. Judging by his other YouTube videos, however, we’re sure more developments are underway. Check out the video below for a demonstration of the system, then feel free to speculate on security concerns in the comments. Our article on Z-wave security from a few years ago might be a good starting point.
Continue reading “Raspi Z-Wave Automation is Automated”
We’re not entirely sure what’s become of the term “home automation.” The definition seems to have settled for any user interface in the home—via tablets, phones, handheld remote controls, etc. Some of these devices lack any form of automation and instead require manual input. Even Wikipedia’s home automation article suggests a move toward this trend, offering the following definition (emphasis ours):
It is automation of the home, housework or household activity. Home automation may include centralized control of lighting, HVAC (heating, ventilation and air conditioning), appliances, security locks of gates and doors and other systems, to provide improved convenience, comfort, energy efficiency and security.
Though “automation” is clearly included in the first sentence, one could interpret the bolded potion as meaning either:
- Truly automated systems may also include centralized control (as a feature).
- The category of home automation also includes systems that merely provide centralized controls.
So, are automated components optional? Judging by the phrasing of projects submitted to our tips line: yes sir. Truly automated systems exist, but if you browse through any home improvement store’s “home automation” section, you’ll be pummeled by a string of remote-controlled light dimmers and outlets. How many of these are designed to interact with sensors as feedback systems or otherwise function unattended?
Our articles often favor an “automation-optional” categorization. Should we, however, reserve the “automation” label for projects like the light switch based on room occupancy and deny other builds, like the voice-activated lights/outlets system or the RasPi lighting and audio control via web interface? Hit up the comments and help shed some light on how to properly use the terminology.
Greenhouse owners might find [David Dorhout]’s latest invention a groundbreaking green revolution! [David]’s Aquarius robot automates the laborious process of precision watering 90,000 square feet of potted plants. Imagine a recliner sized Roomba with a 30 gallon water tank autonomously roaming around your greenhouse performing 24×7 watering chores with absolute perfection. The Aquarius robot can do it all with three easy setups; add lines up and down the aisles on the floor for the robot to follow, set its dial to the size of your pots and maybe add a few soil moisture sensors if you want the perfect amount of water dispensed in each pot. The options include adding soil moisture sensors only between different sized plants letting Aquarius repeat the dispensing level required by the first plant’s moisture sensor for a given series.
After also digging through a pair of forum posts we learned that the bot is controlled by two Parallax propeller chips and has enough autonomous coding to open and close doors, find charging stations, fill its 30 gal water tank when low, and remember exactly where it left off between pit stops. We think dialing in the pot size could easily be eliminated using RFID pot identification tags similar in fashion to the Science Fair Sorting Project. Adjusting for plant and pot size as well as location might easily be automated using a vision system such as the featured Pixy a few weeks back. Finally, here are some featured hardware hacks for soil moisture sensing that could be incorporated into Aquarius to help remotely monitor and attend to just the plants that need attention: [Andy’s] Garden sensors, [Clover’s] Moisture control for a DIY greenhouse, [Ken_S’s] GardenMon(itoring project)
[David Dorhout] has 14 years experience in the agriculture and biotech industry. He has a unique talent applying his mad scientist technology to save the future of mankind as seen with his earlier Prospero robot farmer. You can learn more about Aquarius’s features on Dorhout R&D website or watch the video embedded below.
Continue reading “Fully automated watering robot takes a big leap forward toward greenhouse automation”
In industrial applications, controlling relays, servos, solenoids, and the like isn’t just a matter of wiring in an Arduino and plugging in some code. No, for reliable operation you’ll need a PLC – a programmable logic controller – to automate all your hardware. PLCs are usually pretty expensive pieces of hardware, which led [Warwick] to come up with his own. He built two versions, one large and one small that can handle just about any task thrown at them.
Both devices are powered by an ATMEL SAM7S ARM chip running at 48 MHz. The smaller of the two devices has 10 digital inputs, 4 analog inputs, and 8 digital outputs able to sink 200 mA each. The larger PLC has 22 digital ins, 6 analog ins, and 16 digital outputs. Both of these devices have a ton of connectivity with USB, RS-232 and RS-485 ports
Below you can see the large PLC being used as a barcode scanner and as a strange device using compressed air to levitate a ping-pong ball. There’s also a demo of the smaller PLC lighting up some LEDs.
Continue reading “Open source PLC”
The members of Shackspace continue to put up impressive hacks based around the tiny TP-Link routers. This time around [Timm] has shoehorned a DALI controller inside the router case. This is a protocol we don’t remember hearing about before. The Digital Addressable Lighting Interface is a control network for commercial lighting. That way people responsible for taking care of large buildings can shut off all the lights at night (to name just one use). The new room at Shackspace has this style of controllers in its lights.
The two brown wires coming into the router make up the data bus for the DALI system. It connects to the add-on PCB which uses an Atmel AT90PWM316 microcontroller. The chip is specifically designed for DALI networks which made the rest of the project quite easy. It talks to the lights, the router talks to it, bob’s your uncle, and you’ve got network controlled lighting. Get this in a big enough building and you can play some Tetris.
In case you were wondering. Yes, this project has already been added to their TP-Link firmware generator.
This office has a Foosball league that automatically tallies and posts the standings for each employee. This is thanks to all of the extra electronics that were added to the Foosball table in the break room.
The system is connected to the internet via WiFi. This allows it to store the final results of each game for use on the leader board. Player first identify themselves to the system using the RFID tag embedded in their employee badge (normally used to open doors in the building). From there the game play proceeds much like you’d expect, but the scoring is handled automatically. Each goal has a laser pointed across it which is broken when the ball passes through. But there are a pair of arcade buttons in case of a scoring error.
Standings are listed at the webpage linked above. There’s even functionality for new employees to registers through this page. Don’t miss a glimpse of the build in the clip after the break.
Continue reading “Electronically augmented Foosball brings competition to the office”