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:33] – 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. | ||
| - | This page provides an overview of the hardware | + | The hardware |
| - | ===== 1. Arduino Boards | + | ===== Hardware reference |
| - | The laboratory uses Arduino Uno R3-compatible microcontroller boards, featuring: | + | * **Microcontroller:** ATmega328P |
| - | * ATmega328P microcontroller (16 MHz) | + | * **Operating Voltage:** 5 V |
| - | * 14 digital | + | * **Digital |
| - | * 6 analog input pins | + | |
| - | * USB-B interface | + | |
| - | * Operating voltage: 5V | + | * **USB Interface: |
| + | * **Power Supply:** USB connection or external power supply | ||
| - | ===== 2. Breadboard | + | ==== Hardware Components |
| - | Students will use a standard 830-point breadboard and either: | + | |
| - | * USB power from the Arduino (5V) | + | |
| - | * External regulated 5V DC adapter | + | |
| - | ===== 3. Core Sensors and Actuators ===== | + | ^ Component |
| - | | Component | + | | 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 |
| - | | LCD 16x2 (I2C) | Alphanumeric display module with I2C backpack | + | | Fan | 12V DC Fan | Digital pin: 2 | Controlled via digital on/ |
| - | | Servo motor (SG90) | 180° micro servo motor, 5V operation | + | | Thermistor |
| - | | DC motor (TT Motor) | + | | Photoresistor (LDR) | Chanzon GL5549, 10Ω LDR | Analog pin: A2 | Used for ambient light sensing |
| - | | Thermistor | + | | 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 |
| - | | Potentiometer | + | |
| - | | Push buttons | + | |
| - | | RGB LED (common cathode) | Controlled via PWM (R, G, B channels) | + | |
| - | ===== 4. Additional | + | ==== Additional |
| - | * L298N motor driver module for controlling | + | * **Motor Driver:** Pololu TB6612FNG Dual Motor Driver Carrier |
| - | * I2C bus pull-up resistors (4.7kΩ typical) | + | * Supports two DC motors |
| - | * Resistor packs (220Ω, 10kΩ, etc.) | + | * Motor voltage range: |
| - | * Capacitors, jumper wires, | + | * Continuous current per channel: 1.2 A (peak 3 A) |
| + | * Built-in protection: thermal shutdown | ||
| + | * Control inputs: Logic-level PWM and direction signals (2.7–5.5 V compatible) | ||
| - | ===== 5. Tools and Debugging Aids ===== | + | ==== Wiring Diagram |
| - | * Serial Monitor via Arduino IDE | + | {{: |
| - | * Oscilloscope and multimeter access (in lab) | + | |
| - | * Code debugging via LED indicators and serial prints | + | |
| - | ===== 6. Notes ===== | + | ==== Suggested Knowledge Resources |
| - | * All components should be connected only when the board is powered off | + | * Arduino programming fundamentals |
| - | * Avoid drawing more than 500mA from the 5V USB line | + | * Basic understanding of PWM, analog/ |
| - | * For motors and high-current components, use external power and common | + | * Use of common |
| + | * '' | ||
| + | * '' | ||
| + | * Standard Arduino analog/ | ||
| + | |||
| + | ==== Development Environment Configuration ==== | ||
| + | Typical '' | ||
| + | |||
| + | <code ini> | ||
| + | [env:uno] | ||
| + | platform = atmelavr | ||
| + | framework = arduino | ||
| + | board = uno | ||
| + | lib_ldf_mode = deep+ | ||
| + | </ | ||
| - | ---- | ||
| - | For specific examples and circuit diagrams, refer to the corresponding component subpages (e.g., [[lcd]], [[dc_motor]], | ||