Checking Whether It’s Time to Turn a Valve On or Off

Next, let’s look at the data from the RTC and figure out how we’ll use this to decide whether it’s time to turn something on or off. If you go back to the RTC example ds1307, you’ll see how the time is printed: Conveniently, this is already a number, so comparing with the hours and minutes… Continue reading Checking Whether It’s Time to Turn a Valve On or Off

Coding

Guess what? Writing code (coding) requires planning as well. You need to think a little about what you are trying to do before you start typing away. Similar to the way you tested the new electronics before doing the whole design, you’ll test each piece of code before going on. The less code there is,… Continue reading Coding

Testing the Temperature and Humidity Sensor

The DHT11 is a popular Temperature and Humidity Sensor. Like the RTC, it is inexpensive and easy to use with Arduino. According to the data sheet, the DHT11 is connected as shown in Figure 8-13. Note the pullup resistor on the data pin. Because we’re adding a component that needs one, let’s add another 10K ohm resistor… Continue reading Testing the Temperature and Humidity Sensor

Electronic Schematic Diagrams

Most electronic circuits are completely defined by two things: 1) which components are used and 2) how they are to be connected. By capturing only this information as clearly as possible, a schematic diagram is the clearest way to visualise and communicate an electronic circuit. A schematic diagram intentionally does not convey the size, shape,… Continue reading Electronic Schematic Diagrams

Electronic Schematic Diagrams

Most electronic circuits are completely defined by two things: 1) which components are used and 2) how they are to be connected. By capturing only this information as clearly as possible, a schematic diagram is the clearest way to visualise and communicate an electronic circuit. A schematic diagram intentionally does not convey the size, shape,… Continue reading Electronic Schematic Diagrams

Planning

Start by thinking about what you want to achieve and what bits and pieces you’ll need. This project will use common gardening electric water valves, available in home improvement stores. While at the store, you will also need one power supply, or transformer, suitable for these water valves. How to use a MOSFET to control a… Continue reading Planning

Untitled

What you had learned about Arduino into a project, the Arduino Networked Lamp. Part of the fun was to combine some of the simple exercises into a practical project. You also learned about the Processing language and how to use it to create a proxy on your computer to do things that would be difficult… Continue reading Untitled