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:50] – 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. | ||
| - | \==== Overview ==== | + | The hardware setup includes several sensors, actuators, and interfaces designed for various practical lab exercises. |
| - | The TalTech Arduino Laboratory is designed | + | ===== Hardware reference ===== |
| + | * **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 | ||
| - | \==== Arduino Uno ==== | + | ==== Hardware Components and Pin Assignments |
| - | The laboratory is centered around the **Arduino Uno**, a versatile microcontroller board based on the **ATmega328P**. | + | ^ Component ^ Model/ |
| + | | 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 | | ||
| + | | Servo Motor | SG90 or similar | PWM pin: 10 | Controlled via Arduino Servo library | | ||
| + | | Fan | 12V DC Fan | Digital pin: 2 | Controlled via digital | ||
| + | | Thermistor | Steinhart-Hart Thermistor | Analog pin: A5 | Used for precise temperature measurement | | ||
| + | | Photoresistor (LDR) | Chanzon GL5549, 10Ω LDR | Analog pin: A2 | Used for ambient light sensing | | ||
| + | | 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 | | ||
| - | Key features: | + | ==== Additional Hardware ==== |
| + | * **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) | ||
| - | * Operating Voltage: 5 V | + | ==== Wiring Diagram ==== |
| - | * Microcontroller: ATmega328P | + | {{:en:iot-open:practical:hardware:taltech:wiring_schematic.png? |
| - | * Digital I/O Pins: 14 (6 support PWM) | + | |
| - | * Analog Input Pins: 6 | + | |
| - | * Clock Speed: 16 MHz (Quartz Crystal) | + | |
| - | * Connectivity: USB, Power Jack, Reset Button | + | |
| - | * Programming: Arduino IDE via USB | + | |
| - | \==== Pololu TB6612FNG Dual Motor Driver Carrier | + | ==== Suggested Knowledge Resources |
| + | * Arduino programming fundamentals | ||
| + | * Basic understanding of PWM, analog/ | ||
| + | * Use of common Arduino libraries: | ||
| + | * '' | ||
| + | * '' | ||
| + | * Standard Arduino analog/ | ||
| + | |||
| + | ==== Development Environment Configuration ==== | ||
| + | Typical '' | ||
| - | A compact, efficient motor driver breakout | + | <code ini> |
| + | [env:uno] | ||
| + | platform = atmelavr | ||
| + | framework = arduino | ||
| + | board = uno | ||
| + | lib_ldf_mode = deep+ | ||
| + | </ | ||
| - | Key features: | ||
| - | |||
| - | * Motor Voltage: 4.5 - 13.5 V | ||
| - | * Continuous Current per Channel: 1.2 A (peak 3 A) | ||
| - | * Built-in Protection: Thermal shutdown, undervoltage lockout | ||
| - | * Logic-Level Inputs: PWM and direction control (2.7–5.5 V) | ||
| - | |||
| - | \==== DC Motor ==== | ||
| - | |||
| - | The lab uses a **Micromotors Brushed Geared DC Motor** designed for low-speed, high-torque tasks. | ||
| - | |||
| - | Key specs: | ||
| - | |||
| - | * Voltage: 12 V DC | ||
| - | * Output Speed: 5 rpm | ||
| - | * Torque: 20 N·cm | ||
| - | * Shaft Diameter: 4 mm | ||
| - | * Arduino Pins: Direction control pins 11, 12, and PWM speed control pin 3 | ||
| - | |||
| - | \==== Servo Motor ==== | ||
| - | |||
| - | Used for precise angular positioning and controlled movements. | ||
| - | |||
| - | Key specs: | ||
| - | |||
| - | * Arduino PWM Pin: Pin 10 | ||
| - | * Control Range: 0° - 180° | ||
| - | |||
| - | \==== Thermistor ==== | ||
| - | |||
| - | A temperature-sensing device utilizing the Steinhart-Hart equation to accurately measure ambient temperature. | ||
| - | |||
| - | Key specs: | ||
| - | |||
| - | * Arduino Analog Input Pin: A5 | ||
| - | * Temperature Calculation: | ||
| - | |||
| - | \==== LCD Screen ==== | ||
| - | |||
| - | Used for displaying information, | ||
| - | |||
| - | Key specs: | ||
| - | |||
| - | * Arduino Pins: Data pins (8, 9, 4, 5, 6, 7) | ||
| - | * Button Input: Analog pin A0 | ||
| - | |||
| - | \==== Additional Components ==== | ||
| - | |||
| - | * **Photoresistor (LDR)**: | ||
| - | |||
| - | * Arduino Pin: Analog input A2 | ||
| - | * Type: Chanzon 5mm 10 Ω GL5549 | ||
| - | |||
| - | * **Fan**: | ||
| - | |||
| - | * Arduino Pin: Digital pin 2 (on/off control) | ||
| - | |||
| - | \==== Reference Links ==== | ||
| - | |||
| - | * \[\[[https:// | ||
| - | * \[\[[https:// | ||
| - | * \[\[[https:// | ||
| - | |||
| - | \==== Wiring Layout ==== | ||
| - | |||
| - | {{: | ||
| - | |||
| - | --- | ||