TUTORIAL! Sensor tutorials – DHT11/DHT21/DHT22 low cost temperature/humidity sensors

Dhtsensors T

This tutorial covers the low cost DHT temperature & humidity sensors. These sensors are very basic and slow, but are great for hobbyists who want to do some basic data logging. The DHT sensors are made of two parts, a capacitive humidity sensor and a thermistor. There is also a very basic chip inside that does some analog to digital conversion and spits out a digital signal with the temperature and humidity. The digital signal is fairly easy to read using any microcontroller.

READ MORE.

Filed under: sensorsparts — by adafruit, posted June 23, 2011 at 12:00 am


NEW PRODUCT – DHT22 temperature-humidity sensor + extras

Dht22 Lrg

NEW PRODUCT – DHT22 temperature-humidity sensor + extras. The DHT22 is a basic, low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin (no analog input pins needed). Its fairly simple to use, but requires careful timing to grab data. The only real downside of this sensor is you can only get new data from it once every 2 seconds, so when using our library, sensor readings can be up to 2 seconds old.

Simply connect the first pin on the left to 3-5V power, the second pin to your data input pin and the right most pin to ground. Although it uses a single-wire to send data it is not Dallas One Wire compatible! If you want multiple sensors, each one must have its own data pin! We have written an Arduino library with example code

Compared to the DHT11, this sensor is more precise, more accurate and works in a bigger range of temperature/humidity, but its larger and more expensive

Comes with a 10K resistor, which you will want to use as a pullup from the data pin to VCC.

In stock and shipping now.

Filed under: sensorsparts — by adafruit, posted June 22, 2011 at 5:43 pm


NEW PRODUCT – DHT11 basic temperature-humidity sensor + extras

Dht11 Lrg

NEW PRODUCT – DHT11 basic temperature-humidity sensor + extras. The DHT11 is a basic, ultra low-cost digital temperature and humidity sensor. It uses a capacitive humidity sensor and a thermistor to measure the surrounding air, and spits out a digital signal on the data pin (no analog input pins needed). Its fairly simple to use, but requires careful timing to grab data. The only real downside of this sensor is you can only get new data from it once every 2 seconds, so when using our library, sensor readings can be up to 2 seconds old.

We have written an Arduino library with example code

Compared to the DHT22, this sensor is less precise, less accurate and works in a smaller range of temperature/humidity, but its smaller and less expensive

Comes with a 10K resistor, which you will want to use as a pullup from the data pin to VCC.

In stock and shipping now!

Filed under: sensorsparts — by adafruit, posted at 5:42 pm


NEW PRODUCT – Waterproof DS18B20 Digital temperature sensor + extras

Waterproofds18B20 Lrg

NEW PRODUCT – Waterproof DS18B20 Digital temperature sensor + extras. This is a pre-wired and waterproofed version of the DS18B20 sensor. Handy for when you need to measure something far away, or in wet conditions. While the sensor is good up to 125°C the cable is jacketed in PVC so we suggest keeping it under 100°C. Because they are digital, you don’t get any signal degradation even over long distances! These 1-wire digital temperature sensors are fairly precise (±0.5°C over much of the range) and can give up to 12 bits of precision from the onboard digital-to-analog converter. They work great with any microcontroller using a single digital pin, and you can even connect multiple ones to the same pin, each one has a unique 64-bit ID burned in at the factory to differentiate them. Usable with 3.0-5.0V systems.

In stock and shipping now.

Filed under: sensorsparts — by adafruit, posted June 17, 2011 at 12:46 pm


NEW PRODUCT – Magnetic contact switch (door sensor)

Magnetdoorswitch Lrg

NEW PRODUCT – Magnetic contact switch (door sensor). This sensor is essentially a reed switch, encased in an ABS plastic shell. Normally the reed is ‘open’ (no connection between the two wires). The other half is a magnet. When the magnet is less than 13mm (0.5″) away, the reed switch closes. They’re often used to detect when a door or drawer is open, which is why they have mounting tabs and screws. But these also have a sticky-foam-tape back so you can also place them in locations you cant attach with screws.

Filed under: sensorsparts — by adafruit, posted June 1, 2011 at 3:59 pm


NEW PRODUCT – DS18B20 Digital temperature sensor + extras

Ds18B20To92 Lrg

DS18B20 Digital temperature sensor + extras. These 1-wire digital temperature sensors are fairly precise (±0.5°C over much of the range) and can give up to 12 bits of precision from the onboard digital-to-analog converter. They work great with any microcontroller using a single digital pin, and you can even connect multiple ones to the same pin, each one has a unique 64-bit ID burned in at the factory to differentiate them. Usable with 3.0-5.0V systems.

The only downside is they use the Dallas 1-Wire protocol, which is somewhat complex, and requires a bunch of code to parse out the communication. If you want something really simple, and you have an analog input pin, the TMP36 is trivial to get going.

We toss in a 4.7k resistor, which is required as a pullup from the DATA to VCC line when using the sensor. We don’t have a detailed tutorial up yet but you can get started by using the Dallas Temperature Control Arduino library which requires also the OneWire Library.

In stock and shipping now!

Filed under: sensorsparts — by adafruit, posted at 3:44 pm


NEW PRODUCT – 10K 1% Epoxy Thermistor [3950 NTC]

Ntc10Kepoxythermistor Lrg

NEW PRODUCT – 10K 1% Epoxy Thermistor [3950 NTC]. Need to measure something damp? This epoxy-coated 10K thermistor is an inexpensive way to measure temperature in weather or liquids. The resistance in 25 °C is 10K (+- 1%). The resistance goes down as it gets warmer and goes up as it gets cooler. For specific temperature-to-resistance, check the lookup table.

These are often used for air conditioners, water lines, and other places where they can get damp. The PVC coating of the wires is good up to 105 °C so this isn’t good for very hot stuff.
We even toss in an additional 1% 10K resistor which you can use as calibration or for a resistor divider.

In stock and shipping!

Filed under: sensorsparts — by adafruit, posted May 24, 2011 at 5:47 pm


NEW PRODUCT – Wii controller (Nunchuck / Wiichuck)

Nunchuck Lrg

NEW PRODUCT – Wii controller (Nunchuck / Wiichuck). This is a generic Wii Nunchuck controller, we haven’t tried it with a Wii but it does work great with the Video Game shield, and all the microcontroller code we tried. There’s a 3-axis accelerometer inside as well as a resistive 2-axis joystick and two buttons. You can grab the data over two i2c data lines. There’s tons of example code for all sorts of microcontrollers for these guys!

In stock and shipping now!



Arduino + Wii Nunchuk + Labyrinth

Melquíades Júnior, inspired by nivini’s awesome instructable, created this motorized homemade Labyrinth game controlled with a Wii Nunchuk. He writes (via google translate from the original Portuguese):

To make the maze I used a box of MDF 25cm x 25cm and lid of another box in MDF 20cm x 20cm, which was mounted to the maze itself with bits and pieces of a handle sticks “giant” (5mm in diameter), a abandoned toy from my 3-year-old daughter. Four pieces of plywood served to make the middle frame. In this framework has been set the first servo axis that has stuck in the middle of one side of the cover 20×20 and is responsible for movement in the Y axis. The second servo, which is responsible for movement in X axis, is attached to the larger box and has its axis stuck on one side of the intermediate frame so as to be perpendicular to the first servo.

The code, which can be seen below, was adapted from code found on this site: http://www.windmeadow.com/node/42
I replaced the piece of code that prints the values on the screen for control of the servos. To improve the stability of the code make an average of the last 20 readings, adjust the scale and apply the results to the servos.

Nice work, Melquíades!



NEW PRODUCT – Touch screen (Nintendo DSL digitizer)

Touchscreen Lrg

NEW PRODUCT – Touch screen (Nintendo DSL digitizer). Want to poke at your projects? This resistive touch screen can be used with a stylus or fingertip and is easy to use with a microcontroller. You can put it over a paper overlay for a touch control panel or attach it to an LCD to DIY a touch-activated display.

  • 2.2″ x 2.75″ (55mm x 70mm) overall dimensions, 1.5mm thick
  • 3.2″ diagonal active area, 80mm
  • 600 ohms across X pins, 300 ohms across Y pins
  • 4 wire resistive display, on a 0.5mm FPC connector
  • Use any microcontroller with 2 digital pins and two analog input pins
  • Adhesive backing, it fits onto our ST7565 LCD (not as well on a KS0108 LCD, its a little too small)

The connector is very fine so we suggest using our touch screen breakout board to make it easier to connect.

We don’t have a detailed tutorial yet but we do have great example Arduino library code that shows how to get readings, debounce, and read the pressure (so you can detect when its being touched and how hard) The code is not complex and is easily ported to other microcontrollers.

To understand how touchscreens work, and the techniques used to read from them, we suggest this great app note.



UPDATED PRODUCT! Medium 6V 2W Solar panel 2.0 Watt

Solarpanel20W Lrg

Solarpanel20Wback Lrg
UPDATED PRODUCT! Medium 6V 2W Solar panel 2.0 Watt. These panels come to us from Voltaic Systems, makers of fine solar-powered bags and packs. These are waterproof, scratch resistant, and UV resistant. They use a high efficiency monocrystalline cell. They output 6V at 330 mA via 3.5mm x 1.3mm DC jack connector. The substrate is an aluminum / plastic composite, specifically designed to be strong and lightweight. They can easily stand up to typical outdoor use including being dropped and leaned on. They’re very high quality and suggested for projects that will be exposed to the outdoors.

New! These now comes with 4 plastic mounting screws which makes it easy to attach the panel, even to fabric!

  • Size: 4.4″ x 5.4″ / 110mm x 140mm
  • Weight: 4 ounces / 120 grams
  • Cell type: Monocrystaline
  • Cell efficiency: 17%+

To connect, we suggest a 3.8mm OD/1.3mm ID DC jack

For some nifty ideas on what to do with your solar panels, check out Voltaic’s DIY page

In stock and shipping immediately.



SENSOR TUTORIAL – IR detector Make remote controls and listeners Making an Intervalometer, Read IR commands from an Apple remote, use for your projects and more!

 Images Sensors Pna4602 T

 Images Tvbgone Sonycodepulses

 Images Sensors Intervalometer

Here is a new SENSOR TUTORIAL! IR detector Make remote controls and listeners Making an Intervalometer, Read IR commands from an Apple remote, use for your projects and more!.

What is an IR detection sensor?

IR detectors are little microchips with a photocell that are tuned to listen to infrared light. They are almost always used for remote control detection – every TV and DVD player has one of these in the front to listen for the IR signal from the clicker. Inside the remote control is a matching IR LED, which emits IR pulses to tell the TV to turn on, off or change channels. IR light is not visible to the human eye, which means it takes a little more work to test a setup.

There are a few difference between these and say a CdS Photocells:

  1. IR detectors are specially filtered for Infrared light, they are not good at detecting visible light. On the other hand, photocells are good at detecting yellow/green visible light, not good at IR light
  2. IR detectors have a demodulator inside that looks for modulated IR at 38 KHz. Just shining an IR LED wont be detected, it has to be PWM blinking at 38KHz. Photocells do not have any sort of demodulator and can detect any frequency (including DC) within the response speed of the photocell (which is about 1KHz)
  3. IR detectors are digital out – either they detect 38KHz IR signal and output low (0V) or they do not detect any and output high (5V). Photocells act like resistors, the resistance changes depending on how much light they are exposed to

In this tutorial we will show how to

  1. Test your IR sensor to make sure its working
  2. Read raw IR codes into a microcontroller
  3. Create a camera intervalometer
  4. Listen for ‘commands’ from a remote control on your microcontroller

Read more!

Filed under: sensorsparts — by adafruit, posted October 6, 2010 at 9:55 am


NEW PRODUCT – PIR motion sensor with cable!

Pirsensor Lrg

Pirsensorback Lrg
NEW PRODUCT – PIR motion sensor with cable! This is now back in stock and comes with a cable! PIR sensors are used to detect motion from pets/humanoids from about 20 feet away (possibly works on zombies, not guaranteed). This one has an adjustable delay before firing and we include a 1 foot (30 cm) cable with a socket so you can easily reposition the sensor or mount it using the two drills on either side. Runs on 3.3-6V. Digital signal output is high/low. For a full tutorial with wiring diagrams, code examples and project ideas, PIR sensor tutorial page!

Shipping immediately from the Adafruit store!

Filed under: sensorsparts — by adafruit, posted August 2, 2010 at 5:07 pm


Build a datalogger for your wireless sensor network

F6Knco4Gbzyph3U.Large

Build a datalogger for your wireless sensor network salamandersensors writes -

We needed a datalogger that provided a timestamp, and that would last 2 weeks in the woods. Using a laptop would require a generator or humongous battery. This Instructable shows how to make a datalogger from an Arduino and datalogger shield connected to a TelosB wireless sensor board and a battery that is large, but not wheelbarrow large. Your data goes onto a SD memory card on the datalogger for pickup later (whenever you have to change the batteries on all the wireless radios in your network, for example). The main challenge is getting the serial signal out of the TelosB before it gets translated into USB. We could probably have reprogrammed the TelosB to output the serial on another pin, but why program when you can solder?


Datalogshield Lrg-1

Adafruit Data logging shield for Arduino – v1.0 – Here’s a handy Arduino shield: we’ve had a lot of people looking for a dedicated and well-designed data logging shield. We worked hard to engineer an inexpensive but well-rounded design. Not only is it easy to assemble and customize, it also comes with great documentation and libraries.

You can get going quickly – saving data to files on any FAT16 or FAT32 formatted SD card, to be read by any plotting, spreadsheet or analysis program. We even have a tutorial on how to use two free software programs to plot your data
The included Real Time Clock timestamps all your data with the current time, so that you know precisely what happened when!

Please note that this item does not come with an Arduino (you’ll need one to use with the shield), or an SD card. It does come with the RTC battery, however. The kit is un-assembled, You’ll need some basic soldering skills to put it together, but even if you don’t have much experience you can get it done in under 1 hour.

  • SD card interface works with FAT16 or FAT32 formatted cards. 3.3v level shifter circuitry prevents damage to your SD card
  • Real time clock (RTC) keeps the time going even when the Arduino is unplugged. The battery backup lasts for years
  • Included libraries and example code for both SD and RTC mean you can get going quickly
  • Prototyping area for soldering connectors, circuitry or sensors.
  • Onboard 3.3v regulator is both a reliable reference voltage and also reliably runs SD cards that require a lot of power to run
  • An Arduino with a ’328 chip is pretty much required, you can get an upgrade chip from us if you have an older Arduino (such as NG/Diecimila)

For more information, including libraries, schematics and examples see the data logger shield webpage



NEW PRODUCT – Thermocouple Type-K Glass Braid Insulated – K

Thermocouple Lrg

NEW PRODUCT – Thermocouple Type-K Glass Braid Insulated – K. Thermocouples are best used for measuring temperatures that can go above 100 degC. This is a bare wires bead-probe which can measure air or surface temperatures. Most inexpensive thermocouples have a vinyl covering which can melt at around 200 degC, this one uses a fiberglass braid so it can be used in high temperature measurements such as heaters and ovens.

  • K type thermocouple with glass over-braiding
  • Good up to 500 degrees C (900 DegF)!
  • Color-coded wires
  • 1 meter long (a little more than 3 feet)

Max6675Thermo Lrg
Best used with a thermocouple amplifier such as the MAX6675 (pictured above, not included). We have a handy tutorial which covers thermocouple use including an Arduino library and example code!

Max6675Lcd Lrg
Fun stuff!



www.flickr.com
adafruit's items Go to adafruit's photostream
www.flickr.com
items in Adafruits More in Adafruits pool