This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:iot-open:practical:hardware:taltech:arduino [2025/07/18 10:57] – ingmar05 | en:iot-open:practical:hardware:taltech:arduino [2025/09/02 11:32] (current) – [Validation and Troubleshooting] raivo.sell | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | \====== TalTech Arduino Laboratory Hardware Reference ====== | + | ====== TalTech Arduino Laboratory Hardware Reference ====== |
| + | {{ : | ||
| + | ===== Introduction ===== | ||
| + | Each laboratory node is equipped with an **Arduino Uno** board. This board is widely used for prototyping and educational purposes due to its ease of use, extensive compatibility with sensors and modules, and a simple programming environment. | ||
| - | \===== Introduction ===== | + | The hardware |
| - | The TalTech Arduino Laboratory is designed for practical education and experimentation with embedded systems and IoT devices using Arduino Uno. This page provides details on hardware | + | |
| - | \===== Hardware | + | ===== Hardware |
| + | * **Microcontroller: | ||
| + | * **Operating Voltage:** 5 V | ||
| + | * **Digital I/O Pins:** 14 (6 pins provide PWM output) | ||
| + | * **Analog Input Pins:** 6 | ||
| + | * **Clock Speed:** 16 MHz | ||
| + | * **USB Interface: | ||
| + | * **Power Supply:** USB connection or external power supply | ||
| - | The laboratory setup includes the following main components: | + | ==== Hardware Components and Pin Assignments ==== |
| - | * **Arduino Uno** | + | ^ Component ^ Model/ |
| - | * **Pololu TB6612FNG Dual Motor Driver** | + | | DC Motor | Micromotors Brushed Geared DC Motor, 12V, 20Ncm, 5rpm | Digital pins: AIN1=12, AIN2=11, PWM=3 | Controlled via Pololu TB6612FNG Dual Motor Driver |
| - | * **DC motor (Micromotors Brushed Geared | + | | Servo Motor | SG90 or similar | PWM pin: 10 | Controlled via Arduino Servo library | |
| - | * **Photoresistor** | + | | Fan | 12V DC Fan | Digital pin: 2 | Controlled via digital on/off | |
| - | * **Temperature sensor (Thermistor)** | + | | Thermistor |
| - | * **Fan** | + | | Photoresistor (LDR) | Chanzon GL5549, 10Ω LDR | Analog pin: A2 | Used for ambient light sensing | |
| - | * **Servo motor** | + | | LCD Screen | Alphanumeric LCD 16x2 (HD44780) | Pins: RS=8, EN=9, D4=4, D5=5, D6=6, D7=7, Buttons input: A0 | Used for displaying text and sensor values | |
| - | * **LCD Display** | + | |
| - | \===== Detailed | + | ==== Additional |
| + | * **Motor Driver:** Pololu TB6612FNG Dual Motor Driver Carrier | ||
| + | * Supports two DC motors independently | ||
| + | * Motor voltage range: 4.5 – 13.5 V | ||
| + | * Continuous current per channel: 1.2 A (peak 3 A) | ||
| + | * Built-in protection: thermal shutdown and undervoltage lockout | ||
| + | * Control inputs: Logic-level PWM and direction signals (2.7–5.5 V compatible) | ||
| - | \==== Arduino Uno ==== | + | ==== Wiring Diagram |
| + | {{: | ||
| - | * Microcontroller: | + | ==== Suggested Knowledge Resources |
| - | * Operating Voltage: 5V | + | * Arduino |
| - | * Digital I/O Pins: 14 (6 PWM capable) | + | * Basic understanding of PWM, analog/digital I/O |
| - | * Analog Input Pins: 6 | + | * Use of common |
| - | * Clock Speed: 16 MHz | + | * '' |
| - | * Connectivity: | + | * '' |
| - | * Ideal for rapid prototyping and educational use. | + | * Standard |
| - | + | ||
| - | \==== Pololu TB6612FNG Dual Motor Driver | + | ==== Development Environment Configuration |
| - | + | Typical '' | |
| - | * Motor Channels: 2 | + | |
| - | * Operating Voltage: 4.5V to 13.5V | + | |
| - | * Continuous Current: 1.2A (3A peak) | + | |
| - | * Logic-level PWM and direction control | + | |
| - | * Built-in protection features (thermal shutdown, undervoltage lockout) | + | |
| - | + | ||
| - | \==== DC Motor (Micromotors Brushed Geared Motor) ==== | + | |
| - | + | ||
| - | * Voltage: 12V DC | + | |
| - | * Speed: 5 rpm | + | |
| - | * Torque: 20 N·cm | + | |
| - | * Shaft Diameter: 4mm | + | |
| - | * GPIO Assignments: | + | |
| - | + | ||
| - | * AIN1: Arduino | + | |
| - | * AIN2: Arduino pin 11 | + | |
| - | * PWMA: Arduino pin 3 (PWM) | + | |
| - | + | ||
| - | \==== Photoresistor ==== | + | |
| - | + | ||
| - | * Model: Chanzon GL5549 (LDR) | + | |
| - | * Typical resistance: 10 kΩ under moderate lighting | + | |
| - | * Pin: Arduino | + | |
| - | + | ||
| - | \==== Temperature Sensor (Thermistor) ==== | + | |
| - | + | ||
| - | * Uses Steinhart-Hart thermistor equation | + | |
| - | * Pin: Arduino | + | |
| - | + | ||
| - | \==== Fan ==== | + | |
| - | + | ||
| - | * GPIO Assignment: | + | |
| - | + | ||
| - | | + | |
| - | + | ||
| - | \==== Servo Motor ==== | + | |
| - | + | ||
| - | * Type: PWM controlled standard servo | + | |
| - | * GPIO Assignment: | + | |
| - | + | ||
| - | * PWM Control: Arduino pin 10 | + | |
| - | + | ||
| - | \==== LCD Display ==== | + | |
| - | + | ||
| - | * Type: Alphanumeric 16x2 LCD (HD44780 compatible) | + | |
| - | * GPIO Assignments: | + | |
| - | + | ||
| - | * RS: Arduino | + | |
| - | | + | |
| - | * D4: Arduino pin 4 | + | |
| - | * D5: Arduino pin 5 | + | |
| - | * D6: Arduino pin 6 | + | |
| - | * D7: Arduino pin 7 | + | |
| - | * Buttons Input: Arduino analog input A0 | + | |
| - | + | ||
| - | \===== Recommended Libraries ===== | + | |
| - | + | ||
| - | Below is the recommended library | + | |
| <code ini> | <code ini> | ||
| - | lib_deps | + | [env:uno] |
| - | arduino-libraries/ | + | platform |
| - | | + | framework = arduino |
| - | | + | board = uno |
| - | Servo.h (built-in Arduino library) | + | lib_ldf_mode = deep+ |
| </ | </ | ||
| - | \===== Links to Additional Resources | ||