The Arduino Uno, and variants, should only be used for directly powering peripheral modules and not devices. Consider the maximum current consumption when determining what is a device and what is a module. A string of lights is more of a device as opposed to a panel indicator light, motor controller boards are modules, not the motors they drive, MOSFET boards, not the valves or solenoids that they control.
Connecting all your devices to the Raspberry Pi is very easy, but you want to do it in a specific order so it can recognize all your devices when it boots up. First, connect your HDMI cable to your Raspberry Pi and your monitor, then connect your USB devices. If you’re using an Ethernet cable to connect to your router, go ahead and connect that as well. Finally, once everything is connected, go ahead and plug in your power adapter. The Raspberry Pi does not have a power switch, so once you connect the power adapter, it’ll turn on all by itself.
My name is Cory, I'm a Technical Craftsman specializing in creative problem solving within electronics and software engineering. Professionally, I've worked as an electronics engineer, a plastics fabricator, software engineer, an industrial laser technician, and, of course, a coffee barista. I've spent the last several years working on a Smart Garden System project I named, hydroMazing. I'm sharing my work with you because I would like to empower everyone who is interested in a "Smart" approach to gardening.
"TheDecider" was originally hardcoded with specific values that were fixed in place until I changed them in the Arduino sketch, recompiled, and uploaded. There are two types of decisions that TheDecider executes, timed-based, and sensor-based rules. The time-based rules simply compare the current time to the last time the appliance was turned-on or off. The sensor-based rules use a minimum value threshold and a maximum value threshold that are compared to the current sensor reading and then execute the corresponding action for the appliance. For example, if the temperature is below 55° then turn-off the ventilation fans; if the temperature is above 80° then turn-on the ventilation fans. Each appliance has corresponding rules for sensor reading thresholds, time-based automation, and a combination of both, priority depending on the order of the rules.
In my previous article , I explain how to setup the Raspberry Pi to be a web server. I also demonstrate searching log files for "footprints" from the IP requests that have been made to your web server. Now, I would like to discuss protecting your web server from becoming a victim to a potentially malicious attack.
It was two years ago when I decided to try using an Arduino Uno microcontroller to replace my individual Lux WIN100 Heating & Cooling Programmable Outlet Thermostat. These outlets control an appliance, such as a small heater or, in this case, a ventilation fan. A device that is plugged into the outlet turns on... Continue Reading →