Lifeboat Farm » The finished Arduino wireless water sensor Back at the end of 2009 I started playing about with an Arduino solution to monitor the water level in a water tank about 300m from the house. The tank isn’t visible from the house so a standard visual tank indicator wouldn’t work. In a nutshell, this sensor measures resistance through an array submerged in the tank to determine the water level, then sends that data back to a server in the house for humans to read. There were a few more steps beyond the prototype required to make it really useful and along the way I discovered some issues with the first model which I’ve improved on, but that’s why you call it a prototype. Here is the Arduino with an added WiFly shield – an add-on that gives the Arduino the ability to (mostly) seamlessly communicate over the farm’s existing 802.11 WiFi network. And here’s the whole assembly in the waterproof (IP66) project box. The close up shows it’s a pretty snug fit in there. The enclosure mounted on a post just above the water tank. The Code:
Colorduino | Nick's LED Projects Beta Board Preview Colorduino running the Plasma demo. The Colorduino takes a lot of the difficulty out of of controlling an RGB LED matrix, something I was stumped with as a beginner in electronics. It’s built around the ATmega328 CPU, the heart of the Arduino platform, and builds on previous matrix controllers like the Rainbowduino from Seeed Studio. iTead have made sure the Colorduino is pin compatible with the Rainbowduino so it can slot in with existing projects, but have upped the specifications to get better performance. The Colorduino board One of the Colorduino’s main features is that it uses a DM163 LED driver chip to provide hardware PWM. The DM163 chip also provides 3 x 6bit correction registers, useful for calibrating the respective brightness of each color channel in software. Colorduino (left) and Rainbowduino Colorduino and LED matrix from Cool Components Power to the board is either via pin headers or 2 sets of mini screw terminals. Colorduino rear showing pin connections.
View topic - Website controlled Arduino Ethernet • Jaycon Systems Forum Description:There are many pages online offering to show you how to host a website from an Arduino Ethernet, and control the Arduino from that hosted website, but those mainly share the same method: sending a request by changing the website url address.In this tutorial, I will be using the second available HTML method: sending a request by actually sending a DATA packet. Video Hardware:Arduino Ethernet: Shield V2: ResultHere's a screenshot of what I get with the code in this tutorial.Hosted by an Arduino! Advantages or this method- You can send any data type (including files), and are not limited to ASCII- You can send any data length and are not limited by the url size- Your data is Hidden, can be encrypted, and is difficult to hack (has to be used for applications using passwords) Code: Select all #include <SPI.h>#include "Ethernet.h" Code detailed Ethernet configuration
How’s the weather? TMP102 The TMP102 is a very simple, yet accurate, ambient temperature sensor which is capable of detecting .0625ºC changes between -25 and +85°C, with an accuracy of 0.5°C. And the real kicker… It does all of this while only consuming 10µA (10 millionths of an amp). The thing is quite tiny, so SparkFun has put it on a breakout board to make things easier. Naturally, you probably already ordered a few of these for your room-to-room sensor-network to prove to your landlord that the heat is dropping below the agreed temperature. The TMP102 is an I2C device, so when we are done with it, it will actually tell you the temperature, not send an analog signal that you then need to interpret. For this, and all other I2C devices connected to your arduino, all you need to know is that I2C is a 2-wire serial connection, SDA (Data) and SCL (Clock) – On your Arduino (everything but the mega) SDA is on analog pin 4, and SCL is on analog pin 5. Arduino 1.0 Compatible Conclusion We want you to blog with us
Wise time with Arduino Drive a webpage in real-time using Arduino, SensorMonkey and Processing.js Remote visualization of real-time sensor data. This tutorial describes in detail how to use the free SensorMonkey service to push real-time sensor data from an Arduino to a webpage for visualization using Processing.js. No server-side coding or Ethernet shield is required. A standard, run of the mill Arduino will work perfectly. After configuring the Arduino to sample sensor values, I use SensorMonkey to publish the data live over the Internet in real-time (Disclosure: I co-founded the company developing SensorMonkey). UPDATE 26-06-2012: Non-Windows Users As an alternative to Bloom for non-Windows users, I have uploaded a Processing sketch, named SensorMonkeySerialNet, to our GitHub account.
Internet Radio player using a NSLU2 nas-device Inspired by MightyOhm's (www.mightyohm.com) wifi radio, I started my project using a nslu2 "slug" as the basis for an internet radio a few weeks ago. I wanted to build a tuning device so I could listen to radio without using any pc, monitor or keyboard. - Tuning as well as setting the volume should be done the old fashioned way by turning a knob.- Seeing the station name on a display would be nice, but not a must- Device should have a built in amp with a speaker (sound quality not important at the beginning)This is how the "Slug Radio" looks at the moment: OS installation========= I installed SlugOS 5.3 beta on a 4 GB stick (excellent description on how to do that in unslung.org: ... ugOSSystem)Installed a Delock USB 7.1 sound adapter (12,- Euros)Made soundcard work: MPD and MPC (mpc is from an "optware feed". mpc play nn #!
Stepper Motor 5V 4-Phase 5-Wire & ULN2003 Driver Board for Arduino - Geeetech Wiki Stepper Introduction A stepper motor is an electromechanical device which converts electrical pulses into discrete mechanical movements. The shaft or spindle of a stepper motor rotates in discrete step increments when electrical command pulses are applied to it in the proper sequence. The motors rotation has several direct relationships to these applied input pulses. The sequence of the applied pulses is directly related to the direction of motor shafts rotation. The speed of the motor shafts rotation is directly related to the frequency of the input pulses and the length of rotation is directly related to the number of input pulses applied.One of the most significant advantages of a stepper motor is its ability to be accurately controlled in an open loop system. Features The rotation angle of the motor is proportional to the input pulse. Stepper motor 28BYJ-48 Parameters Interfacing circuits The bipolar stepper motor usually has four wires coming out of it. Example code Code Document
HC-SR04 Ultrasonic Sensor The HC-SR04 ultrasonic sensor uses sonar to determine distance to an object like bats or dolphins do. It offers excellent range accuracy and stable readings in an easy-to-use package. It operation is not affected by sunlight or black material like Sharp rangefinders are (although acoustically soft materials like cloth can be difficult to detect). Power Supply :5V DC Quiescent Current : <2mA Effectual Angle: <15° Ranging Distance : 2cm – 500 cm/1" - 16ft Resolution : 0.3 cm Basic use of the HC-SR04 Ultrasonic Sensor Please see the datasheet for an excellent description of how the sensor operates. HC-SR04 Datasheet Using the HC-SR04 with a PICAXE microcontroller There is a nice tutorial right here at LMR with sample code for using an ultrasonic sensor with a PICAXE 28 project board (thanks Frits!). “How to connect SRF05 to Picaxe 28 pin Project board” tutorial Using the HC-SR04 with an Arduino There is an Arduino library for the HC-SR04 that offers two ways to use the sensor. Ultrasonic Library
arduino-new-ping - Fast ultrasonic Arduino library for the HC-SR04, SRF05, SRF06, DYP-ME007 & Parallax PING))) ultrasonic distance sensors Background: When I first received an ultrasonic sensor I was not happy with how poorly it performed. I soon realized the problem wasn't the sensor, it was the available ping and ultrasonic libraries causing the problem. The NewPing library totally fixes these problems, adds many new features, and breathes new life into these very affordable distance sensors. Having a Conflict with the Tone Library or Timer 2? Instead of the tone library, use my NewTone or toneAC libraries which instead uses timer 1 (and also has many other advantages). Features: Works with many different ultrasonic sensor models: SR04, SRF05, SRF06, DYP-ME007 & Parallax PING)))™. Download: Download NewPing v1.6 BETA Example: Simple NewPing Example Sketch Syntax: NewPing Syntax Show Your Appreciation: Help future development by making a small donation (yes, the FreeRingers payee is correct). Supporters: Duane G. $10.00 4/7 Ronald B. Scheduled for Release in v1.6: (Download NewPing v1.6 BETA)
CGCOLORMAX LCD Shield Example This example project shows how to program an LCD Shield installed on the CGCOLORMAX. To use Shields, the Shield footprint is populated with female single inline sockets. Two six-by-one and two eight-by-one headers are soldered in place on the CGCOLORMAX so that a Shield (or a stack of them) can be added to the board. The LCD Shield is actually two distinct circuits: an interface to a character-based LCD module, and a group of five buttons that can be read programmatically. The buttons connect to Shield line A0 which is read by MMBasic with PIN(35). The function created to return the state of the buttons is below: ' Return button state ' 0 = no button ' 1 = right, 2 = up, 3 = down, 4 = left ' Because A/D on CGCOLORMAX is 3.3V max and this is a ' 5V resistor chain the SEL button does not work. FUNCTION LCDShield_Button( ) ' Button Input line LCDShield_Button = 0 LCDShield_Button = 4 LCDShield_Button = 3 LCDShield_Button = 2 LCDShield_Button = 1 The function created to send a command to the LCD is:
Jones on Stepping Motors Index Abstract This tutorial covers the basic principles of stepping motors and stepping motor control systems, including both the physics of steppers, the electronics of the basic control systems, and software architectures appropriate for motor control. Introduction Stepping motors can be viewed as electric motors without commutators. For some applications, there is a choice between using servomotors and stepping motors. In making a choice between steppers and servos, a number of issues must be considered; which of these will matter depends on the application. Stepping motors can be used in simple open-loop control systems; these are generally adequate for systems that operate at low accelerations with static loads, but closed loop control may be essential for high accelerations, particularly if they involve variable loads. Stepping motors are known in German as Schrittmotoren, in French as moteurs pas à pas, and in Spanish as motor paso a paso. Other Sources of Information Web Sites Books