Advertisement

Http://www.elego.cc
37 SENSOR KIT TUTORIAL FOR UNO
1 / 137

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 37 SENSOR KIT and is the answer not in the manual?

Questions and answers

Summary of Contents for Elego 37 SENSOR KIT

  • Page 1 Http://www.elego.cc 37 SENSOR KIT TUTORIAL FOR UNO 1 / 137...
  • Page 2 Preface Our Company Established in 2011, Elego Inc. is a professional manufacturer and exporter that is concerned with the design, development production and marketing of arduino, 3d printers, raspberry pi and STM32. We are located in Shenzhen which is known as Chinese Silicon Valley. All of our products comply with international quality standards and are greatly appreciated in a variety of different markets throughout the world.
  • Page 3 Http://www.elego.cc Packing List 3 / 137...
  • Page 4 Http://www.elego.cc 4 / 137...
  • Page 5: Table Of Contents

    Http://www.elego.cc Lesson Listing Lesson 0 Installing IDE ............................6 Lesson 1 Add Libraries............................14 Lesson 2 TEMP AND HUMIDITYMODULE ......................18 Lesson 3 DS18B20 DIGITAL TEMPERATURE SENSOR MODULE ................. 23 Lesson 4 BUTTON SWITCH MODULE ......................... 28 Lesson 5 FOUR TYPE OF SWITCH MODULE......................31 Lesson 6 IR RECEIVER AND EMISSION .......................
  • Page 6: Lesson 0 Installing Ide

    Http://www.elego.cc Lesson 0 Installing IDE Introduction In this lesson, you will learn how to setup your computer to use Arduino and how to set about the lessons that follow. Installing Arduino (Windows) The Arduino software that you will use to program your Arduino is available for Windows, Mac and Linux.
  • Page 7 Http://www.elego.cc When the zip file has downloaded, extract the contents onto the Desktop, by right-clicking on the file and selecting 'Extract All...' from the pop-up menu. Next select your Desktop and click 'Extract'. You can move it somewhere else onto your computer later, just by moving the folder, but for now, just keep it on the Desktop.
  • Page 8 Http://www.elego.cc Right-click on the device and select the top menu option (Update Driver Software...). You will then be prompted to either ‘Search Automatically for updated driver software’ or ‘Browse my computer for driver software’. Select the option to browse and navigate to the arduino-1.0.2-windows\arduino1.0.2\drivers.
  • Page 9 Http://www.elego.cc Click 'Next' and you may get a security warning, if so, allow the software to be installed. Once the software has been installed, you will get a confirmation message. That's it, you are now ready for action, so Skip the next section on installation on Mac and Linux and move straight on to 'Boards and Ports'.
  • Page 10 Http://www.elego.cc Save the install software to your desktop or wherever The process for installing the Arduino software on the Mac is a lot easier than on the PC. As before, the first step is to download the file. In the case of the Mac, it is a zip file.
  • Page 11 Http://www.elego.cc You can now find and launch the Arduino software in your Applications folder. As you are going to use it frequently, you may wish to right-click its icon in the dock and set it to Keep In Dock. There are many different LINUX distributions and the instructions for each distribution are a little different.
  • Page 12 Http://www.elego.cc This will start the Arduino IDE, but before you can get programming, you have to tell the Arduino software which type of Arduino board you are using and also select the port it is connecting to. To tell the Arduino IDE which type of board you are using. From the 'Tools' menu, select Board and then 'Arduino Uno' or 'Leonardo' as appropriate.
  • Page 13 Http://www.elego.cc If you are using Windows, there will probably only be one option here and it will either say COM3 or COM4. Even though there is only one option, you will still need to select it. If you are using a Mac or Linux, there will be more options there, but it will usually be the top option in the list, as this will be the device most recently plugged in.
  • Page 14: Lesson 1 Add Libraries

    Http://www.elego.cc Lesson 1 Add Libraries Once you are comfortable with the Arduino software and using the built-in functions, you may want to extend the ability of your Arduino with additional libraries. What are Libraries? Libraries are a collection of code that makes it easy for you to connect to a sensor, display, module, etc.
  • Page 15 Http://www.elego.cc Then the library manager will open and you will find a list of libraries that are already installed or ready for installation. In this example we will install the Bridge library. Scroll the list to find it, then select the version of the library you want to install. Sometimes only one version of the library is available.
  • Page 16 Http://www.elego.cc Importing a .zip Library Libraries are often distributed as a ZIP file or folder. The name of the folder is the name of the library. Inside the folder will be a .cpp file, a .h file and often a keywords.txt file, examples folder, and other files required by the library.
  • Page 17 Http://www.elego.cc Drag the ArduinoParty folder into this folder (your libraries folder). Under Windows, it will likely be called "My Documents\Arduino\libraries". For Mac users, it will likely be called "Documents/Arduino/libraries". On Linux, it will be the "libraries" folder in your sketchbook.
  • Page 18: Lesson 2 Temp And Humiditymodule

    Again we will be using a Library specifically designed for these sensors that will make our code short and easy to write. Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x DHT11 module (x) x F-M wires...
  • Page 19 Http://www.elego.cc DHT11 digital temperature and humidity sensor is a composite Sensor contains a calibrated digital signal output of the temperature and humidity. Application of a dedicated digital modules collection technology and the temperature and humidity sensing technology, to ensure that the product has high reliability and excellent long-term stability. The sensor includes a resistive sense of wet components and an NTC temperature measurement devices, and connected with a high-performance 8-bit microcontroller.
  • Page 20 Http://www.elego.cc Repeatability: ±0.2℃ Range: At 25℃ ±2℃ Response time: 1 / e (63%) 10S Electrical Characteristics Power supply: DC 3.5~5.5V Supply Current: measurement 0.3mA standby 60μA Sampling period: more than 2 seconds Pin Description: 1, the VDD power supply 3.5~5.5V DC...
  • Page 21 Http://www.elego.cc wiring diagram Result 21 / 137...
  • Page 22 Http://www.elego.cc Upload the program then open the monitor, we can see the data as below:(It shows the temperature of the environment, we can see it is 21 degree) 22 / 137...
  • Page 23: Lesson 3 Ds18B20 Digital Temperature Sensor Module

    The new DS18B20 Temperature Sensor Module is very good solve the problem. It have the characteristicoftheeconomy,unique1-wirebusanditcanfullyapplytheArduinoplatform. Users can easily forma sensor network through using this module. Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x DS18B20 module (x) x F-M wires...
  • Page 24 Http://www.elego.cc Component Introduction DS18B20: 24 / 137...
  • Page 25 Http://www.elego.cc Principle DS18B20 module is using a single bus. The power supply voltage range of 3.0 V to 5.5 V and no standby power supply. It can Measuretemperaturerangefor-55degreeto+125degree with accuracy of+/-0.5° C. The programmable DPI of temperature sensor is From 9 to 12. temperature conversion is 12 digits lattice type.
  • Page 26 Http://www.elego.cc wiring diagram Result 26 / 137...
  • Page 27 Http://www.elego.cc Temperature sensor can detect temperature in numbers of different places at the same time. Upload the program then open the monitor, we can see the data as below: 27 / 137...
  • Page 28: Lesson 4 Button Switch Module

    Http://www.elego.cc Lesson 4 BUTTON SWITCH MODULE Overview In this experiment, we will learn how to use button switch. Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x Button module (x) x F-M wires Component Introduction PUSH SWITCHES: Switches are really simple components.
  • Page 29 BUTTON SWITCH and number 13 port have the built-in LED simple circuit. To produce a switch flasher, we can use connect the digital port 13 to the built-in LED and connect the BUTTON SWITCHS port to number3 port of Elego Uno board. When the switch sensing, LED twinkle light to the switch signal.
  • Page 30 Http://www.elego.cc wiring diagram Result Connect the circuit as above and upload the program. Then push the button, you can see led on and off. 30 / 137...
  • Page 31: Lesson 5 Four Type Of Switch Module

    Http://www.elego.cc Lesson 5 FOUR TYPE OF SWITCH MODULE Overview In this experiment, we will learn how to use switch modules. Including shock switch module, mercury switch module, tilt switch module and knock switch module. 31 / 137...
  • Page 32 13 port have the built-in LED simple circuit. To produce a SWITCH flasher, we can use connect the digital port 13 to the built-in LED and connect the SWITCH S port to number 3 port of Elego Uno board. When the SWITCH sensing, LED twinkle light to the SWITCH signal.
  • Page 33 Http://www.elego.cc wiring diagram 33 / 137...
  • Page 34 Http://www.elego.cc 34 / 137...
  • Page 35 Http://www.elego.cc Result 35 / 137...
  • Page 36 Http://www.elego.cc Connect the circuit as above and upload the program. Then lean or shock the sensor, you can see led on and off. 36 / 137...
  • Page 37: Lesson 6 Ir Receiver And Emission

    TV, DVD, etc. Actually it is based on its wireless remote sensing and it is very convenient by using them. Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x IR Receiver module...
  • Page 38 Http://www.elego.cc (x) x F-M wires Component Introduction IR RECEIVER 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.
  • Page 39 Http://www.elego.cc As you can see from these datasheet graphs, the peak frequency detection is at 38 KHz and the peak LED color is 940 nm. You can use from about 35 KHz to 41 KHz but the sensitivity will drop off so that it wont detect as well from afar. Likewise, you can use 850 to 1100 nm LEDs but they wont work as well as 900 to 1000nm so make sure to get matching LEDs! Check the datasheet for your IR LED to verify the wavelength.
  • Page 40 Http://www.elego.cc Infrared emitting diode launch out the modulation signal and infrared receiver head will receive, decode, filter and soon to regain the signal. Infrared emitting diode: keep clean and in good condition. All the parameters in the process of working shall not exceed the limit value (positive To the current 30~60mA, positive pulse current 0.3~1A, reverse voltage 5V, dissipation power 90mW,...
  • Page 41 Http://www.elego.cc wiring diagram 41 / 137...
  • Page 42 Http://www.elego.cc Result 42 / 137...
  • Page 43: Lesson 7 Active And Passive Buzzer

    The common components that can make sound are buzzer and speakers. Compared to the speaker, buzzer is more simple and easy to use so in this experiment we adopts the buzzer. Component Required: (1) x Elego Uno R3 43 / 137...
  • Page 44 Http://www.elego.cc (1) x USB cable (1) x Active buzzer module (1) x Passive buzzer module (x) x F-M wires Component Introduction Active Buzzer: As a type of electronic buzzer with integrated structure, buzzers, which are supplied by DC power, are widely used in computers, printers, photocopiers, alarms, electronic toys, automotive electronic devices, telephones, timers and other electronic products for voice devices.
  • Page 45 Http://www.elego.cc equipment, electronic production and microcontroller circuits, etc. . From the exterior, two kinds of buzzer seems the same, but a closer look, a slight difference between the height of the active buzzer a, height of 9mm, and passive buzzer b height of 8mm.
  • Page 46 Http://www.elego.cc wiring diagram 46 / 137...
  • Page 47 Http://www.elego.cc Result After we connect the circuit as the picture, we upload the program of each module. We can hear that the active buzzer can make sound in one voice. And the passive can sing a song. 47 / 137...
  • Page 48 Http://www.elego.cc 48 / 137...
  • Page 49: Lesson 8 Laser Module

    Http://www.elego.cc Lesson 8 LASER MODULE Overview I n this experiment, we will learn how to use laser module. Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x Laser module (x) x F-M wires Component Introduction Laser sensor:...
  • Page 50 Http://www.elego.cc Connection Schematic 50 / 137...
  • Page 51 Http://www.elego.cc wiring diagram 51 / 137...
  • Page 52 Http://www.elego.cc Result After we connect the circuit as the picture, we upload the program. We can see the module can emission lasers. 52 / 137...
  • Page 53: Lesson 9 Smd Rgb Module And Rgb Module

    R, G, B pins, we can adjust the strength of the three primary colors (red/blue/green) so as to implementation result of full color effect. Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x SMD RGB module...
  • Page 54 Http://www.elego.cc (1) x RGB module (x) x F-M wires Component Introduction SMD RGB: RGB: 54 / 137...
  • Page 55 Http://www.elego.cc Connection Schematic 55 / 137...
  • Page 56 Http://www.elego.cc wiring diagram 56 / 137...
  • Page 57 Http://www.elego.cc Result After we connect the circuit as the picture, we upload the program of each module. We can see the module changing their color as the code set. If you want to make it change the color in different way, you can revise the code.
  • Page 58 Http://www.elego.cc 58 / 137...
  • Page 59: Lesson 10 Photo-Interrupter Module

    Http://www.elego.cc Lesson 10 PHOTO-INTERRUPTER MODULE Overview I n this experiment, we will learn how to use Photo-interrupter module. Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x Photo-interrupter MODULE (x) x F-M wires Component Introduction Opto Interrupter Sensor:...
  • Page 60 13 to the built-in LED and connect the Photo-interrupter MODULE S port to number 3 port of Elego Uno board. When the switch sensing, LED twinkle light to the switch signal.
  • Page 61 Http://www.elego.cc Connection Schematic wiring diagram 61 / 137...
  • Page 62 Http://www.elego.cc Result After we connect the circuit as the picture, we upload the program, we sensing the opto Interrupter, then we can see the LED13 light up and light off. 62 / 137...
  • Page 63: Lesson 11 Dual-Color Common-Cathode Led

    Lesson 11 DUAL-COLOR COMMON-CATHODE LED Overview In this experiment, we will learn how to use Dual-color Common-Cathode LED. Component Required: (1) x Elego Uno R3 (1) x USB cable (2) x Dual-color Common-Cathode LED (x) x F-M wires Component Introduction...
  • Page 64 Http://www.elego.cc 64 / 137...
  • Page 65 Http://www.elego.cc Connection Schematic wiring diagram 65 / 137...
  • Page 66 Http://www.elego.cc Result After we connect the circuit as the picture, we upload the program of each module. We can see the module changing their color as the code set. If you want to make it change the color in different way, you can revise the code.
  • Page 67 Http://www.elego.cc 67 / 137...
  • Page 68: Lesson 12 Photoresistor Module

    So in order to use it in a better, we provide the corresponding modules to help us to use it more conveniently and efficiently. Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x Photoresistor module...
  • Page 69 Http://www.elego.cc analog input, it need to be converted into a voltage. The simplest way to do that is to combine it with a fixed resistor. The resistor and photocell together behave rather like a pot. When the light is very bright, then the resistance of the photocell is very low compared with the fixed value resistor, and so it is as if the pot were turned to maximum.
  • Page 70 Http://www.elego.cc wiring diagram 70 / 137...
  • Page 71 Http://www.elego.cc Result Upload the program then open the monitor, we can see the data as below: 71 / 137...
  • Page 72 Http://www.elego.cc In the test, we only read the output analog voltage value of photo-resistor module. In the test results, we will find that when there is lighting, high voltage output equivalently of switch on, when there is no light, low voltage equivalently of switch off. This is what we can use this in practice.
  • Page 73: Lesson 13 Big Sound Sensor Module And Small Sound Sensor Module

    SMALL SOUND SENSOR MODULE Overview In this experiment, we will learn how to use the High-sensitive Voice Sensor. Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x Big sound sensor module (1) x Small sound sensor module...
  • Page 74 Http://www.elego.cc Component Introduction Sound sensor: The sound sensor module provides an easy way to detect sound and is generally used for detecting sound intensity. This module can be used for security, switch, and monitoring applications. Its accuracy can be easily adjusted for the convenience of usage.
  • Page 75 Http://www.elego.cc wiring diagram Result High-sensitive Voice Sensor has two output: AO, analog output, real-time output voltage signal of microphone DO, when the intensity of the sound to reach a certain threshold, the output high and low level signal, the threshold-sensitivity can be achieved by potentiometer adjustment period.
  • Page 76 Http://www.elego.cc can see the data as below: 76 / 137...
  • Page 77 Http://www.elego.cc 77 / 137...
  • Page 78: Lesson 14 Reed Switch And Mini Reed Switch Module

    SWITCH MODULE Overview In this experiment, we will learn how to use reed switch and mini reed switch module. Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x Reed switch module (1) x Mini Reed switch module...
  • Page 79 Http://www.elego.cc Component Introduction Reed Switch and Reed Sensor Activation: Although a reed switch can be activated by placing it inside an electrical coil, many reed switches and reed sensors are used for proximity sensing and are activated by a magnet. As the magnet is brought into the proximity of the reed sensor/switch, the device activates.
  • Page 80 The reed switch can output in two ways: digital and analog. The mini reed can only output in digital. In the 37 sensor kit, there have 7 red pcb modules. The difference between the red and small pcb is same as above.
  • Page 81 Http://www.elego.cc Connection of mini reed switch module Schematic wiring diagram 81 / 137...
  • Page 82 13 to the built-in LED and connect the switch module S port to number 3 port of Elego Uno board. When the switch sensing, LED twinkle light to the switch signal.
  • Page 83 Http://www.elego.cc wiring diagram Result 83 / 137...
  • Page 84 Http://www.elego.cc In this experiment, we use the AO pin of reed switch module. When the sensor sensing magnetism, the module will output a data which reflect the strength of the magnetism. The number is from 0 to 1023. Upload the program then open the monitor, we can see the data as below:...
  • Page 85: Lesson 15 Digital Temperature Module

    Overview In this experiment, we will learn how to use digital temperature module andanalog temp module. Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x digital temperature module (1) x temperature module (x) x F-M wires...
  • Page 86 Http://www.elego.cc Component Introduction Thermistor: These thermistors have a narrow tolerance on the B-value, the result of which provides a very small tolerance on the nominal resistance value over a wide temperature range. For this reason the usual graphs of R = f(T) are replaced by Resistance Values at Intermediate Temperatures Tables, together with a formula to calculate the characteristics with a high precision.
  • Page 87 Http://www.elego.cc Connection of digital temperature module wiring diagram Result Upload the program, open the monitor then you can see the data as below: 87 / 137...
  • Page 88 Http://www.elego.cc Connection of temperature module Schematic 88 / 137...
  • Page 89 Http://www.elego.cc wiring diagram Result 89 / 137...
  • Page 90 Http://www.elego.cc In this experiment, we use the AO pin of reed switch module. When the sensor sensing temperature, the module will output a data which reflect the temperature. The number is from 0 to 1023. Upload the program then open the monitor, we can see the data as below:...
  • Page 91: Lesson 16 Linear Hall And Analog Hall Module

    Http://www.elego.cc Lesson 16 LINEAR HALL AND ANALOG HALL MODULE Overview In this experiment, we will learn how to use the linear hall and analog hall module. Component Required: (1) x Elego Uno R3 91 / 137...
  • Page 92 Http://www.elego.cc (1) x USB cable (1) x DHT11 module (x) x F-M wires Component Introduction Hall Sensor: 92 / 137...
  • Page 93 Http://www.elego.cc Design Factors – Magnetic Types Unipolar: Only a south pole will operate the sensor. The sensor turns on with the south pole(+) and off when the south pole is removed. • Bipolar: Sensor output is pole-dependent. A south pole (+) is designed to activate the sensor;...
  • Page 94 Http://www.elego.cc wiring diagram 94 / 137...
  • Page 95 Http://www.elego.cc Result For the hall sensor module, we can choose the output: digital output or analog output. In the following picture, we use the DO port to output. so we can see that if the hall sensor sensing the magnetic force, the light will turn on.
  • Page 96 Http://www.elego.cc Connection wiring diagram Result In the following picture, we use the AO port to output. so we can see that if the hall sensor sensing the magnetic force, the module will output a data which reflect the strength of the...
  • Page 97 Http://www.elego.cc magnetic force. The number is from 0 to 1023. Upload the program then open the monitor, we can see the data as below: Upload the program then open the monitor, we can see the data as below: 97 / 137...
  • Page 98: Lesson 17 Flame Sensor Module

    Flame sensor can output digital or analog signal. It can be used as a flame alarm or in fire fighting robots. Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x Flame sensor module (x) x F-M wires...
  • Page 99 Http://www.elego.cc • Operating voltage 3.3V-5V • Digital and Analog Output " DO digital switch outputs (0 and 1) " AO analog voltage output • Power indicator and digital switch output indicator Connection Schematic wiring diagram 99 / 137...
  • Page 100 Http://www.elego.cc Result For the flame sensor module, we can choose the output: digital output or analog output. In the following picture, we use the DO port to output. so we can see that if the flame sensor sensing the flame, the light will turn on.
  • Page 101 Http://www.elego.cc In the following picture, we use the AO port to output. so we can see that if the flame sensor sensing the flame, the module will output a data which reflect the strength of the flame. The number is from 0 to 1023.
  • Page 102: Lesson 18 Mental Touch Module

    Lesson 18 MENTAL TOUCH MODULE Overview In this experiment, we will learn how to use the mental touch module. Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x Mental touch module (x) x F-M wires Connection...
  • Page 103 Http://www.elego.cc wiring diagram Result 103 / 137...
  • Page 104 Http://www.elego.cc For the mental touch module, we can choose the output: digital output or analog output. In the following picture, we use the DO port to output. so we can see that if the sensor sensing, the light will turn on.
  • Page 105 Http://www.elego.cc Upload the program then open the monitor, we can see the data as below: 105 / 137...
  • Page 106: Lesson 19 7 Color Flash Led Module

    Lesson 19 7 COLOR FLASH LED MODULE Overview In this experiment, we will learn how to use the 7 color flash LED module. Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x 7 color flash led module (x) x F-M wires...
  • Page 107 Http://www.elego.cc Connection Schematic wiring diagram 107 / 137...
  • Page 108 Http://www.elego.cc Result 108 / 137...
  • Page 109: Lesson 20 Magic Light Cup Module

    Lesson 20 Magic light cup MODULE Overview In this experiment, we will learn how to use the light cup module. Component Required: (1) x Elego Uno R3 (1) x USB cable (2) x Magic Light Cup module (x) x F-M wires...
  • Page 110 Http://www.elego.cc Schematic wiring diagram 110 / 137...
  • Page 111 Http://www.elego.cc Result 111 / 137...
  • Page 112: Lesson 21 Joystick Module

    Sensor Shield, while z port connects to digital pin. Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x Joystick module (x) x F-M wires...
  • Page 113 Http://www.elego.cc Supply Voltage: 3.3V to 5V Interface: Analog x2, Digital x1 Size: 40*28mm Weight: 12g The module has 5 pins: Vcc, Ground, X, Y, Key. Note that the labels on yours may be slightly different, depending on where you got the module from. The thumb stick is analog and should provide more accurate readings than simple ‘directional’...
  • Page 114 Http://www.elego.cc wiring diagram Result Analog joysticks are basically potentiometers so they return analog values. When the joystick is in the resting position or middle, it should return a value of about 512. The range of values go from 0 to 1024.
  • Page 115 Http://www.elego.cc 115 / 137...
  • Page 116 Http://www.elego.cc 116 / 137...
  • Page 117: Lesson 22 Tracking Module

    Stable condition and still work for a variety of microcontrollers, Arduino controller, BS2 controller, attached to the robot that can sense changes in the ir surroundings Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x Tracking module (x) x F-M wires...
  • Page 118 Http://www.elego.cc Component Introduction Connection Schematic wiring diagram 118 / 137...
  • Page 119 Http://www.elego.cc Result Upload the program then open the monitor, we can see the data as below: 119 / 137...
  • Page 120: Lesson 23 Infrared 38Khz Obstacle Avoidance Module

    Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x Obstacle avoidance module (x) x F-M wires...
  • Page 121 Http://www.elego.cc Adjustment: adjust multi-turn resistance Effective angle: 35 ° Size: 28mm × 23mm Weight Size: 9g The basic concept of IR(infrared) obstacle detection is to transmit the IR signal(radiation) in a direction and a signal is received at the IR receiver when the IR radiation bounces back from a surface of the object.
  • Page 122 Http://www.elego.cc There are two potentiometers on the module one controlling operating frequency (centered at 38 kHz) the other controlling intensity. The detector was designed for 38 kHz and the onboard oscillator circuit is based on a 555 timer. Tweaking gives a little better range but I'd suggest leaving it alone because the useful range is narrow.
  • Page 123 Http://www.elego.cc Connection Schematic 123 / 137...
  • Page 124 Http://www.elego.cc wiring diagram Result Here we use the obstacle avoidance module and a digital interface, built-in 13 LED build a simple circuit, making avoidance warning lamp, the obstacle avoidance Sensor Access Digital 3 interface, when obstacle avoidance sensor senses a signal, LED light, and vice versa off.
  • Page 125: Lesson 24 Rotary Encoders Module

    Lesson 24 ROTARY ENCODERS MODULE Overview In this experiment, we will learn how to use the rotary encoders module. Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x Rotary Encoders module (x) x F-M wires Component Introduction...
  • Page 126 Http://www.elego.cc Principle Incremental encoder Incremental encoders give two-phase square wave, the phase difference between them 90 ° , often referred to as A and B channels. One of the channels is given and speed-related Information, at the same time, by sequentially comparing two channel signals, the direction of rotation of the information obtained.
  • Page 127 Http://www.elego.cc Incremental encoder accuracy depends on the mechanical and electrical two factors, these factors are: Raster indexing error, disc eccentricity, bearing eccentricity, e-reading Several means into the optical portion of the errors and inaccuracies. Determine the encoder resolution is measured in electrical degrees, the encoder accuracy depends Set the pulse encoder generates indexing.
  • Page 128 Http://www.elego.cc wiring diagram 128 / 137...
  • Page 129 Http://www.elego.cc Result Upload the program, rotate the encodes then open the monitor, we can see the data as below: 129 / 137...
  • Page 130: Lesson 25 1 Channel Relay Module

    Usually used in automatic control circuit, it is actually with a small current to control large current operation of a kind of "automatics Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x 1 channel relay module...
  • Page 131 Http://www.elego.cc A relay is an electrically operated switch. Many relays use an electromagnet to mechanically operate a switch, but other operating principles are also used, such as solid-state relays. Relays are used where it is necessary to control a circuit by a low-power signal (with complete electrical isolation between control and controlled circuits), or where several circuits must be controlled by one signal.
  • Page 132 Http://www.elego.cc wiring diagram 132 / 137...
  • Page 133 Http://www.elego.cc Result 133 / 137...
  • Page 134: Lesson 26 Heartbeat Module

    50HZor 60HZfluctuate, so faint heartbeat will add consider able noise. When running the program the measured values are printed. To get a real heartbeat from this could be challenging. Component Required: (1) x Elego Uno R3 (1) x USB cable (1) x Heartbeat module 134 / 137...
  • Page 135 Http://www.elego.cc (x) x F-M wires Connection Schematic wiring diagram 135 / 137...
  • Page 136 Http://www.elego.cc Result 136 / 137...
  • Page 137 Http://www.elego.cc Upload the program then open the monitor, we can see the data as below: 137 / 137...

Table of Contents

Save PDF