Posts with «sensors» label

Wireless Sensor Network for Temperature Sensing


This is an interesting implementation of Arduino and Wireless comunication. The user [priyansmurarka] posted:

Ok, so here is the basic problem statement. I need to develop a temperature sensing system such that the temperature from the sensor node is relayed to a co-ordinator sensor and then the co-ordinator node shows the user in a simple graphical form.

For the wireless communication, I used Xbee Series 2 modules with Arduino Board Shields.

Uses Melexis Temperature sensor and Arduino Board to monitor and plot ambient temperature.

The realization of this project is well documented on the [blog], with code, graphs and pictures.

Arduino Blog 25 Dec 17:45

Sharpy

How about a new way to make music? [cpeckmusic] has it’s way to do it, with is project Sharpy.

Sharpy is an electronic instrument that was designed and built by composer Charles Peck. The instrument utilizes three infrared distance sensors to control the sound, which is produced digitally with an Arduino board and GinSing shield. So as users interact with these sensors, there is a clear auditory connection to their physical actions.

Despite having only three sensors, the instrument is capable of a variety of sounds. This is because Sharpy has three possible operating states, each of which assigns a different set of parameters to the three sensors. State 1 is initiated by covering the sensor on the user’s left first. The instrument will then stay in State 1 until no sensors are being covered. Therefore, the user must completely remove their hands form the instrument in order to change states. Concordantly, State 2 is initiated using the middle sensor and State 3 using the sensor on the right. The short improvisation in this video demonstrates a few of these sonic possibilities.

I suggest you to watch the [video] of the live performance. If you’re interested in more works check his official [website]

[#arduinotour] Matera Report, Prossima Puntata: Reggio Emilia

Ecco un piccolo video report della puntata dell’Arduinotour a Matera (c’é anche un set su Flickr). Questa edizione del tour é stata caratterizzata dalla partecipazione di un ragazzo francese (partito dalla Bretagna e volato per un week-end a Matera – Grande Baptiste!) che ha condiviso con noi la sua esprienza di sviluppatore di open energy monitor, un framework open source per la visualizzazione di consumi online, di cui parleremo presto in una intervista ad hoc. (il blog di Arduino ha trattato precedentemente questa storia, vai al post).

Causa maltempo il workshop é stato ospitato presso le Monacelle, un bed & breakfast poco l’ontano dall’Incubatore, all’interno dei Sassi. Un grazie a Sviluppo Basilicata per il supporto e l’aiuto nell’organizzazione dell’evento.

Per chi si stesse chiedendo quando e dove si farà il prossimo workshop #arduinotour, eccovi serviti: Reggio Emilia a fine gennaio (26-27), presso il neonato Fablab ospitato all’interno dello Spazio Gerra.

Se volete portare l’#arduinotour a casa vostra riempite questo form. Se volete spargere il verbo fate il like sulla pagina dell’arduinotour su facebook.

Hysteresis board

Now that we’re using a 74HC14 Schmitt trigger in the capacitive touch sensor for the hysteresis oscillator, that lab can be the first soldering project, in addition to learning about hysteresis.

I tried laying out a very compact PC board for the students to solder (still requiring them to do some design—they’ll have to breadboard their design first to get appropriate R and C values). I came up with one very compact design that could get 4 copies into the 50mm×50mm limit of the $1 boards from ITEAD, making the boards only 25¢ each.

Compact layout to get 4 hysteresis oscillator boards out of one 50mm×50mm board. The gutters are pretty narrow, though, and I’m not sure I’m skillful enough with the board shears to cut that accurately.  The yellow “airwires” are Eagle telling me that the Gnd and +5V wires are not connected between the different copies.

It seemed a little silly to try to squeeze the price down to 25¢, when the other parts cost 90¢: 59¢ for the screw terminals, 28¢ for the Schmitt trigger chip, 1¢ for the resistor, and 2¢ for the capacitor. With this layout it is also a little tricky for the students to properly wire the unused inputs high.

Given the high risk of ruining the boards trying to cute them with the board shears, I decided to redesign for a 50¢ board.

Much looser layout, having only two copies on the 50mm x 50mm board. This version makes it easier for the students to see how things are connected, and has lots of room for the board shears to make the cut.

The lab would now require that the students measure the thresholds of the Schmitt trigger, breadboard the hysteresis oscillator, make a touch pad out of foil and packing tape, measure the frequency of the oscillation to estimate the touch pad capacitance, adjust the parameters of the Arduino program to match the frequencies of their oscillator, solder up the board, and demonstrate it working to control an LED. I think that is plenty for a 3-hour lab.

When I set up the web pages for the course, I’ll try to make sure I put the Eagle design files (.brd and .sch) for each board the students use on the web, so that future instructors can easily order more copies of the board, even if my laptop gets run over by a beer truck.  That will also make it easier for instructors at other schools to try to duplicate the course.


Filed under: Circuits course, Printed Circuit Boards Tagged: Arduino, bioengineering, capacitive touch sensor, circuits, course design, Printed circuit board, Schmitt trigger, sensors, teaching

Hysteresis lab

Schmitt-trigger oscillator.

Since I decided in Capacitive sensing with Schmitt trigger to use an off-the-shelf Schmitt trigger chip (like a 74HC14) and a very simple oscillator, I needed to rethink the lab and expand it.  Students will no longer be spending much time on building the circuit, so we need to play with other uses for the oscillator circuit and other applications of Schmitt triggers.

The Schmitt trigger is a useful device for students to learn about, since hysteresis is an important concept in detecting signals.  Probably the first thing to have them do is to use the oscilloscope in x-y mode to see the Vout vs. Vin curve for the Schmitt trigger inverter. It would be good for them to devise a way to measure the threshold voltages accurately (with their lab writeup describing both the method used and the thresholds measured), using the equipment they have available.  Perhaps bonus points for methods that don’t require any of the bench equipment? (There are some fairly easy methods using the Arduino for voltage measurements, though precision would be limited to about 5mV.)

After characterizing the inverter, they should design and measure one-inverter oscillators for different frequencies, using different combinations of resistors and capacitors (some low-resistance, high-capacitance designs and some high-resistance, low-capacitance designs).  They should show computations for the frequency using the threshold voltages and the R and C values.  It might be worthwhile to have them estimate the parasitic capacitance of the input to the Schmitt trigger (together with the wiring).

Then they should measure capacitance by hooking up an unknown capacitor with a known resistance, measuring the frequency, and computing the capacitance.  We would have to make up some unknowns with a wide range of different values.

Finally, they should make a capacitive touch pad (a piece of aluminum foil covered with a layer of packing tape). I’ve decided that I like foil covered with packing tape better than foil wrapped in plastic wrap.  The tape may be a bit thicker, but the lack of an air bubble makes for a much more repeatable capacitance, and it is less likely to fall apart when handled.

They should use the oscillator frequency to estimate the capacitance of both the plain pad and the pad when touched by a finger.  After observing the oscillator output on the oscilloscope they should adjust the parameters of a simple hysteresis program to turn an LED on and off with the touch sensor so that a firm touch is needed to light the LED and it doesn’t flicker with a light touch:

void setup(void)
{  pinMode(2,INPUT);
   pinMode(13,OUTPUT);
}

void loop(void)
{   digitalWrite(13, LOW);
    while (pulseIn(2,HIGH) <= 60) {}
    digitalWrite(13, HIGH);
    while (pulseIn(2,HIGH) >= 45) {}
}

 


Filed under: Circuits course Tagged: Arduino, bioengineering, capacitive touch sensor, circuits, course design, Schmitt trigger, sensors, teaching

Capacitive sensing with Schmitt trigger

Capacitive sensing with op amps and Capacitive sensing with op amps, continued used a rather complicated circuit to make a Schmitt-trigger oscillator out of op amps:

Modified circuit for longer period. C1 is just the stray capacitance of the touch sensor, with no deliberately added capacitance.

But if we use an off-the-shelf Schmitt trigger chip (like a 74HC14), then a very simple circuit can be made to oscillate:

Schmitt-trigger oscillator.

Without a touch sensor, it oscillates at about 10 kHz. With an untouched touch sensor, the frequency drops to about 9.5 kHz. With a touched sensor, the frequency drops further to around 6.7 kHz. I can make the touch sensor have a bigger relative frequency change by reducing the capacitor to 157pF (3 470pF in series), from 15kHz down to 8kHz. This oscillator works fine with the code I wrote for the op-amp oscillator. Neither the resistor nor the capacitor values are particularly critical (as long as the addition of about 140pF from the touch drops the frequency enough to be measurable).

The Schmitt trigger is a useful device for students to learn about, since hysteresis is an important concept in detecting signals. In fact, it might not be a bad idea to have the code that detects the frequency and turns the LED on or off have some hysteresis, as code that just uses a time-out for debouncing tends to make the LED flash on and off when a near-touch is done.

This circuit is too simple for a full 3-hour lab. It can be wired in a couple of minutes and tested in a few more. I’ll have to think of other things to do with a Schmitt trigger to make this into a full lab.  Perhaps this could be an Arduino programming lab, where they start with just a simple pulseIn program and make some modifications:

void setup(void)
{  pinMode(2,INPUT);
   pinMode(13,OUTPUT);
}

void loop(void)
{
    uint8_t on = (pulseIn(2,HIGH) >= 50) ;
    digitalWrite(13, on);
}

Perhaps a simple hysteresis program:

void setup(void)
{  pinMode(2,INPUT);
   pinMode(13,OUTPUT);
}

void loop(void)
{   digitalWrite(13, LOW);
    while (pulseIn(2,HIGH) <= 50) {}
    digitalWrite(13, HIGH);
    while (pulseIn(2,HIGH) >= 40) {}
}

Students would have to measure their oscillator waveforms on the oscilloscope, then play with the constants in the code to get reliable switching. It’s still not a 3-hour lab, but it gives another view of hysteresis.

I’ll have to think about this some more.


Filed under: Circuits course Tagged: Arduino, bioengineering, capacitive touch sensor, circuits, course design, op amp, Schmitt trigger, sensors, teaching

Mini Maker Faire and Data Sensing Lab at Strata NY This Week

O'Reilly's Strata + Hadoop World New York kicks off Monday, and while the conference is sold out, there are several events that are part of New York City Data Week that are open to the public, including a data-focused Mini Maker Faire and an experiment with Arduinos, sensors, and XBees (courtesy of Digi) and cloud storage (courtesy of Amazon Web Services). Come and check out cool projects, or join the fun and play with data and sensors.

Read the full article on MAKE

MAKE » Arduino 22 Oct 04:30

Arduino-controlled blinds: a tutorial

Have you ever wanted a smart home that can automatically adjusts the blinds for you? If so, this project is for you.

In this instructable, the author describes his approach to “smart blinds”, by using an Arduino board, an ethernet shield, a motor shield and a couple of sensors.

By means of a simple web-based GUI, the user can manually open and close the blinds, or he/she can setup both temperature and brightness thresholds in order to automate the whole process. Finally, opening and closing events can also be scheduled at pre-defined times of the day, if necessary.

The complete tutorial, together with the source code of the project, can be found here.

[Via: Instructables and Lifehacker]

Arduino Starter Kit is here to Rock

We are eager to announce the launch of the official Arduino Starter Kit! We have been working hard together in developing a complete selection of 15 projects that will let you become a true arduino tinkerer!

But that’s more:

The new starter kit has been developed together with a series of ten video tutorials hosted by Arduino co-founder Massimo Banzi, which can be viewed at www.rs-components.com/arduino. Ideally used in conjunction with the videos, the kit provides an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It contains all of the essential components required to start programming with the Arduino Uno board, and a guidebook featuring 15 different projects, which are designed to evolve the user from beginner to professional level. Comprising a motor, servomotor and driver, the kit also offers particular benefits to users wishing to apply mechatronics to their designs.

read through for the whole components and projects list

We are aware this kit will let a lot of people step in the Arduino world: for this reason we opened a brand new category of the arduino forum. You can buy the Kit on RS Components and will soon be available on the Arduino Store and the other distributors [notify me when this happen]

 

Workshop on “Physical and Wearable Computing”: projects and outcomes

Last July 23-27 2012, the workshop on “Physical and Wearable Computing”, organized by SUPSI within the summer school in “Digital Fabrication and Interaction Design”, has took place involving about 20 participants. This workshop has proved to be a very good approach to introduce future makers to the concepts of digital fabrication, prototyping and design of interactive objects.
On the workshop’s homepage, several prototypes and artifacts manufactured during the workshop are presented. Among them, it’s worth to mention Poetry Zoo, a set of laser-cut and RFID-equipped animals that generate poetries, The Sound of a Line, where simple melodies can be performed by using a ball with conductive ink in combination with a special glove, and Superfluo Shoes, a pair of shoes that react based on movement.
The complete list of projects developed during the workshop can be found on its official home page, while a personal view of this experience by Zoe Romano, who has taught at the summer school together with Massimo Banzi, can be found here.

[Via: homepage of the workshop and Zoe Romano's blog]