This module senses temperature and humidity. Output: Temperature and humidity display on serial monitor.

Similar documents
HS-509 VIBRATION TRIP MODULE

Preface. About SunFounder. About Super Kit. Free Support

MAKEVMP502 BASIC LEARNING KIT FOR RASPBERRY PI USER MANUAL

Preface. If you have any TECHNICAL questions, add a topic under FORUM section on our website and we'll reply as soon as possible.

Arduino Nixie Clock Modular Rev3

Experiment 0: Hello, micro:bit!

Arduino Nixie Clock Modular Rev3

Measure the value of water flow using water flow sensor and DC water pump 12 V interfacing with Arduino uno

ASK THE EXPERTS: Procedure for Verifying Magnetic Pickup Signal Integrity Using a Windrock Portable Analyzer

2.4GHZ Digital Wireless Reversing Camera Kit

6.111 Project Proposal IMPLEMENTATION. Lyne Petse Szu-Po Wang Wenting Zheng

RF4432 wireless transceiver module

Module 4: Traffic Signal Design Lesson 1: Traffic Signal (Arduino) Control System Laboratory Exercise Grade 6-8

Operating Manual. 50mW C-Band EDFA with GPIB and RS232 Interface

Internet of Things Things

1. Arduino Board and Breadboard set up from Project 2 (8 LED lights) 2. Piezo Speaker

MULTIDYNE INNOVATIONS IN TELEVISION TESTING & DISTRIBUTION DIGITAL VIDEO, AUDIO & DATA FIBER OPTIC MULTIPLEXER TRANSPORT SYSTEM

Series Digital Dimmer. User Manual (VER: 2.0) Net.DO LIGHTING CONTROL EQUIPMENT CO.,LTD

ImproX (TRT) Twin Remote Terminal INSTALLATION MANUAL

SAPLING WIRED SYSTEM

S op o e p C on o t n rol o s L arni n n i g n g O bj b e j ctiv i e v s

Laboratory 9 Digital Circuits: Flip Flops, One-Shot, Shift Register, Ripple Counter

1.5mm amplitude at 10 to 55Hz frequency in each X, Y, Z direction for 2 hours 500m/s² (approx. 50G) in each X, Y, Z direction for 3 times

PhidgetTextLCD with 8/8/8

Building the ChronoDot Calendar Reminder

LEVEL CROSSING MODULE FOR LED SIGNALS LCS2

Paranormal Devices Built By Bill Chappell. For some weird reason people think I only build things that talk!

RF4432F27 wireless transceiver module

EVF 300 series. Controllers for electric bread and pizza ovens, with touch-keys, in split version and which can be integrated into the unit.

Lesson Sequence: S4A (Scratch for Arduino)

16-CH Color Full Duplex Multiplexer Instruction Manual

Arduino Nixie Clock Classic Rev4 and Rev5 All In One Modular Rev2

OTFOA-25XX SERIES ERBIUM-DOPED FIBER AMPLIFIER (EDFA)

First, connect the LED and the resistor, by twisting the wires together.

QUIZ BUZZER KIT TEACHING RESOURCES. Version 2.0 WHO ANSWERED FIRST? FIND OUT WITH THIS

ST800K-U Optical Power Meter. User Manual V1.0

SXT SXGA TFT NEMA 4/12 Flat Panel Monitor. User s Guide

Single mode 9/125µm, duplex

Objectives: Learn how LED displays work Be able to output your name on the display

Exercise 1-2. Digital Trunk Interface EXERCISE OBJECTIVE

Embedded System Training Module ABLab Solutions

Part (A) Controlling 7-Segment Displays with Pushbuttons. Part (B) Controlling 7-Segment Displays with the PIC

AXE101 PICAXE-08M2 Cyberpet Kit

MXS Strada USER GUIDE

SHUTTLE WITH INFRA-RED DETECTION SAS2-IR

Spring 2011 Microprocessors B Course Project (30% of your course Grade)

Flip-Flops. Because of this the state of the latch may keep changing in circuits with feedback as long as the clock pulse remains active.

MULTIDYNE Electronics, Inc. Innovations in Television Testing & distribution

Arduino Nixie Clock Classic Rev4 and Rev5 All In One

Smart Interface Components. Sketching in Hardware 2 24 June 2007 Tod E. Kurt

26 Inch CGA/EGA/VGA/DVI to WXGA/1080p LCD - ID#703

Laboratory 11. Required Components: Objectives. Introduction. Digital Displays and Logic (modified from lab text by Alciatore)

Designing and Implementing an Affordable and Accessible Smart Home Based on Internet of Things

LVDT. Inductive Position Transducer - Hydraulic Series. SM-HYD Hydraulic Series. Key-Features:

OPTICAL POWER METER WITH SMART DETECTOR HEAD

16 Stage Bi-Directional LED Sequencer

Laboratory 1 - Introduction to Digital Electronics and Lab Equipment (Logic Analyzers, Digital Oscilloscope, and FPGA-based Labkit)

SEL-3405 High-Accuracy IRIG-B Fiber-Optic Transceiver

LT A LED RGB Controller. User s Manual

Introduction 1. Green status LED, controlled by output signal ST. Sounder, controlled by output signal Q6. Push switch on input D6

SparkFun Inventor's Kit for micro:bit Experiment Guide

HUIYUAN OPTO-ELECTRONIC CO.,LTD

Multicom Optical Return Path Receiver MUL HRPR 4B

Operating Instructions

SmartSwitch TM. Wide View LCD 36 x 24 Pushbutton DISTINCTIVE CHARACTERISTICS PART NUMBER & DESCRIPTION

Part Number Terminals LCD Mode LED Color. * Simultaneous RGB illumination achieves infinite colors. Forward Current I F 20mA Power Dissipation P d mw

ORM0022 EHPC210 Universal Controller Operation Manual Revision 1. EHPC210 Universal Controller. Operation Manual

1.10mm Height 1210 Package. Bi-Color (Multi-Color) Chip LED. Technical Data Sheet. Part No: S155VBC-V12B-B41B

Alice EduPad Board. User s Guide Version /11/2017

Music-Visualization and Motion-Controlled LED Cube

Laboratory 8. Digital Circuits - Counter and LED Display

E-TEXTILES STARTER PACK

DLP600M 6+1 Relay Module for Heating and Cooling Plants

Multiwavelength Gain Module EDFA

TC Mbps - 622Mbps FIBER OPTIC MODE CONVERTER/REPEATER (Rev A0.1) User's Manual

Laboratory 10. Required Components: Objectives. Introduction. Digital Circuits - Logic and Latching (modified from lab text by Alciatore)

Contents: 1 LANsmart Pro Main Unit 4 Remote Unit: ID1, ID2, ID3, ID4

Online data sheet SGS4-S108P3PS2W03 SLG SWITCHING AUTOMATION LIGHT GRIDS

Image Processing Using MATLAB (Summer Training Program) 6 Weeks/ 45 Days PRESENTED BY

Azatrax Model Railroad Track Signal Control - Single Track

STX Stairs lighting controller.

Bill of Materials: Super Simple Water Level Control PART NO

Product Specification XFP 10G LR 20km LC Optical Transceiver

Catch or Die! Julia A. and Andrew C. ECE 150 Cooper Union Spring 2010

PASS. Professional Audience Safety System. User Manual. Pangolin Laser Systems. November 2O12

Inductive linear position sensor LI300P0-Q25LM0-LIU5X3-H1151

Specifications. End-Point Linearity - ±5% F.S., when used with HACO SCR-speed control

"shell" digital storage oscilloscope (Beta)

10G- XFP- SR- AO. 10Gbs XFP Transceiver

Dual PAL or NTSC Video to RGB Converter (One way) with 12V Relay Switch Operation Manual

ECE Design Team 3 Madi Kassymbekov How to use MSP 430 Peripheral Sensors and use of LEDs as sensors

COLOUR CHANGING USB LAMP KIT

XFP 10G 850nm 300M SR SLXF-1085-SR

ACT 10 Digital Keypad Operating & Installation Instructions This manual is found at

Compact Size Perfect for rack mount router and other applications with space limitations.

Embedded Systems Lab. Dynamic Traffic and Street Lights Controller with Non-Motorized User Detection

W0EB/W2CTX DSP Audio Filter Operating Manual V1.12

OWNER'S MANUAL KIT INCLUDES. 3M VHB Mounting Pad Mounting Hardware PART # 40040

In-Ceiling Electric Motorized Front Projection Screen Evanesce Series. User s Guide

The UK sequence is shown below. The duration of each phase can be easily adjusted during the programming to suit.

Transcription:

Elegoo 37 Sensor Kit v2.0 Elegoo provides tutorials for each of the sensors in the kit provided by Maryland MESA. Each tutorial focuses on a single sensor and includes basic information about the sensor, hook-up diagrams, and pictures. Sample code is also provided for each sensor. The tutorials and sample code are on the CD that comes with the sensor kit or can be downloaded from the Elegoo website under the Download section. (Be sure to download the resources for Elegoo Upgraded 37-in-1 Sensor Kit v2.0.) Note: Each description in the following table is based on the output that is generated by the code supplied by Elegoo. Other output can be generated by modifying the code. 0 Installing Arduino Software 1 Installing Libraries needed for sensor code 2 Temp and Humidity This module senses temperature and humidity. Temperature and humidity display on serial monitor. 3 18B20 Digital Temp This module senses temperature. Temperature displays on serial monitor. 4 5 Button Switch Shock 5 Tilt Switch This module contains a momentary push button switch. Built-in LED (and port #13) is on when button is pressed. Built-in LED (and port #13) is off when button is not pressed. This module detects a sudden movement. Built-in LED (and port #13) is on for the duration of the sudden movement. Built-in LED (and port #13) is off when no sudden movement is detected. This module detects when the sensor is tilted. Built-in LED (and port #13) is on for the duration of the tilt. Built-in LED (and port #13) is off when sensor module is flat. There are bugs in the code for Lesson 5. Try using the code for the Button Switch (Lesson 4) instead. There are bugs in the code for Lesson 5. Try using the code for the Button Switch (Lesson 4) instead. Elegoo 37 Sensor Kit v2.0 Tutorial Supplement 1

5 Tap This module detects a sudden movement. Built-in LED (and port #13) is on for the duration of the sudden movement. Built-in LED (and port #13) is off when no sudden movement is detected. There are bugs in the code for Lesson 5. Try using the code for the Button Switch (Lesson 4) instead. 6 IR Receiver and IR Emission These two modules work in conjunction to send and receive Infrared signals. Remote controls for TVs and other electronics use this technology. There are bugs in the code and mistakes in the diagrams. This pair of sensors does not function properly as the tutorial and the code are written. 7 7 Active Buzzer Passive Buzzer 8 Laser Emit 9 RGB LED This module produces a buzzing or alarm sound. Audible alarm. (Note: The Active Buzzer module is slightly taller than the Passive Buzzer module.) This buzzer module can be used to produce multiple pitches. Eight note musical scale. (Note: The Passive Buzzer module is slightly shorter than the Active Buzzer module.) This module emits a red laser beam. Laser beam gradually cycles between high intensity beam and low intensity beam. The color of the light emitted can be adjusted by changing the voltage supplied to each of the colors (Red, Green, Blue) contained in the LED unit. LED cycles through multiple colors. diagram shows the sensor wire hooked to port 11. However, the Elegoo code is written for the sensor wire to be hooked to port 8. diagram shows both the red and black wires hooked to a GND port. The middle pin on the laser module should be hooked to the 5V port. Elegoo 37 Sensor Kit v2.0 Tutorial Supplement 2

9 SMD RGB 10 11 Photo-interrupter Two Color Note: This module is labeled as Dual-Color Common Cathode LED in the Elegoo tutorial document. The color of the light emitted can be adjusted by changing the voltage supplied to each of the colors (Red, Green, Blue) contained in the LED unit. LED cycles through multiple colors. This switch module detects when an object breaks or blocks the path of light from one side of the sensor to the other. The built-in LED (and port #13) is on. When light path is broken, built-in LED (and port #13) is off. This module is similar to the RGB LED module (Lesson 9). However, this LED module includes red and green light. LED gradually cycles between red and green (and the combinations of red and green light). 12 Photo-resistor This module senses light levels. Displays values on serial monitor. 13 Big Sound This module senses sound intensity. The analog_signal_output code displays values on serial monitor. The digital_signal_output code results in the built-in LED (and port #13) turning on when sound is detected. diagram shows the sensor wire hooked to port A0. However, in the Elegoo code is written for the sensor wire to be hooked to port A5. Note: The sensor functions. However, it is not very responsive (i.e., the accuracy and reliability of the output produced may not be optimal). Elegoo 37 Sensor Kit v2.0 Tutorial Supplement 3

13 14 15 Small Sound Magnetic Spring Note: This module is labeled as Reed Switch in the Elegoo tutorial document. Digital Temperature This module senses sound intensity. The analog_signal_output code displays values on serial monitor. The digital_signal_output code results in the built-in LED (and port #13) turning on when sound is detected. This module detects a magnetic field. The reed_switch code (analog output) displays values on serial monitor. The mini_reed code (digital output) results in the built-in LED (and port #13) turning on a magnetic field is detected. The built-in LED (and port #13) is off when no magnetic field is detected. This module senses temperature. Values display on serial monitor. diagram shows the sensor wire hooked to port A0. However, in the Elegoo code is written for the sensor wire to be hooked to port A5. Note: The sensor functions. However, it is not very responsive (i.e., the accuracy and reliability of the output produced may not be optimal). The tutorial refers to two modules: Reed Switch and Mini-reed Switch. The kit contains the Reed Switch. Two code files are provided by Elegoo. The REED_SWITCH code produces analog output. The MINI_REED code file produces digital output. Note: The REED_SWITCH code provided by Elegoo should produce a range of values representing the strength of the magnetic field. However, there appears to be a bug in the code. Only two values are displayed on the serial monitor (32 or 1023). The values displayed on the serial monitor are not the actual temperature values. Furthermore, there is an inverse relationship between temperature and the value displayed (i.e., as temperature increases, the value displayed decreases). Elegoo 37 Sensor Kit v2.0 Tutorial Supplement 4

16 Linear Hall 17 18 Flame Sensor Metal Touch This module detects the strength of a magnetic field. The analog_hall_module code (analog output) displays values on serial monitor. The linear_hall_module code (digital output) results in the built-in LED (and port #13) turning on when a magnetic field is detected. The built-in LED (and port #13) is off when no magnetic field is detected. This module detects a light source with a wavelength in the range of 760-1100nm. The analog_signal_output code (analog output) displays values on serial monitor. The digital_signal_output code (digital output) results in the built-in LED (and port #13) turning on when a flame is detected. The built-in LED (and port #13) is off when no flame is detected. The sensor detects when it is in contact with a metal object. The analog_signal_output code (analog output) displays a value of 1023 on serial monitor when the sensor is in contact with a metal object. The digital_signal_output code (digital output) results in the built-in LED (and port #13) turning on when a metal object is detected. The built-in LED (and port #13) is off when the sensor is not in contact with metal. Note: This sensor has not been tested by MESA staff. Elegoo 37 Sensor Kit v2.0 Tutorial Supplement 5

19 7-Color Flash This module contains a LED. The LED cycles through flashes of different colors of light. picture in the tutorial is accurate. The diagram shows wires hooked to the bottom and middle pins on the module (as it is oriented in the diagram). In order for the module to work, the ground wire should be attached to the middle pin and the wire to port 13 should be attached to the top pin (as oriented in the diagram). 20 Joystick 21 Tracking 22 Avoidance This module contains two potentiometers (one for x direction and one for y direction) and a push button. Displays values on serial monitor. This is a line tracking sensor. Built-in LED (and port #13) is on when the sensor is directly above a line. Built-in LED (and port #13) is off when the sensor is not directly above a line. This module uses infrared to determine if an object is close to the sensor. Built-in LED (and port #13) is on when the sensor detects and object. Built-in LED (and port #13) is off when no object is detected. Note: This sensor needs to be very close to the line (i.e., nearly touching) to work. Note: It may be necessary to adjust the potentiometers on the module before reliable output can be produced. 23 Rotary Encoder This module contains a dial. Displays values on serial monitor. Elegoo 37 Sensor Kit v2.0 Tutorial Supplement 6

24 Relay Note: This module is labeled as 1 Channel Relay in the Elegoo tutorial document. 25 LCD 1602 This module is used as a switch to control other, independently powered circuits. Opens and closes an external circuit that is connected to the relay module. LED on the module indicates when the circuit is closed. This is an LCD screen with two lines of 16 characters. The code provided by Elegoo results in Hello, world! being displayed on the LCD. 26 Ultrasonic Sensor This module uses ultrasonic waves to determine if an object is close to the sensor. Values (distance to object) are displayed on the serial monitor. 27 MPU6050 Note: sensor labeled as GY-521 in lesson. This module contains an accelerometer and a gyroscope. Values are displayed on the serial monitor. 28 HC-SR501 PIR Motion Sensor This module detects a moving object near the sensor. Display Motion detected! and Motion ended! on the serial monitor. This sensor takes some time to stabilize. After connecting the sensor and uploading code, you may need to wait for 30-60 seconds until reliable output is generated. 29 Water Level Sensor This module senses how deep the sensor is in water. Displays values on serial monitor. Elegoo 37 Sensor Kit v2.0 Tutorial Supplement 7

30 DS-3231 RTC This is a real time clock module. The DS3231_simple code displays the date and time on the serial monitor. The DS3231_alarm code displays the date, time, and day of the week on the serial monitor. It also displays Alarm triggered at two different times. order of the pins on the sensor module in the diagram do not match the order of the pins on the actual sensor module. Use the markings to the actual sensor module to hook the wires from the sensor to the appropriate port on Arduino (e.g. SDA pin on the module should be hooked to port A4). The year, month, day, hour, and seconds must be updated in the DS3231_alarm code in order for the current date and time to be displayed. The following line of code must be updated: // Manual (Year, Month, Day, Hour, Minute, Second) clock.setdatetime(2014, 4, 25, 0, 0, 0); 31 Membrane Switch This module is a thin keypad. Displays values on serial monitor. Power Supply The module can be used to power additional components. The module can be inserted directly into a breadboard. Elegoo 37 Sensor Kit v2.0 Tutorial Supplement 8