Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:iot-open:practical:hardware:taltech:arduino [2025/07/18 10:33] ingmar05en: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 ======
 +{{ :en:iot-open:practical:hardware:taltech:arduino_kauglabor.jpg?600 |}}
 +===== 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 components and modules used in the TalTech Arduino Laboratory. The aim is to familiarize students with the tools and sensors they will interact with during hands-on exercises.+The hardware setup includes several sensors, actuators, and interfaces designed for various practical lab exercises.
  
-===== 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 I/O pins (6 with PWM output) +  * **Digital I/O Pins:** 14 (6 pins provide PWM output) 
-  * 6 analog input pins +  * **Analog Input Pins:** 6 
-  * USB-B interface for programming and serial communication +  * **Clock Speed:** 16 MHz 
-  * Operating voltage5V+  * **USB Interface:** Yes (for programming and serial communication) 
 +  * **Power Supply:** USB connection or external power supply
  
-===== 2. Breadboard and Power Supply ====+==== Hardware Components and Pin Assignments ====
-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 ^ Model/Description ^ Pins ^ Remarks ^ 
-Component        Description                                  | +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 
-LCD 16x2 (I2C)    | Alphanumeric display module with I2C backpack +Fan | 12V DC Fan Digital pin: 2 | Controlled via digital on/off 
-| Servo motor (SG90180° micro servo motor, 5V operation         +| Thermistor | Steinhart-Hart Thermistor | Analog pin: A5 | Used for precise temperature measurement 
-| DC motor (TT Motor) Low voltage brushed DC motor (3–6V)         +Photoresistor (LDR) Chanzon GL5549, 10Ω LDR Analog pin: A2 Used for ambient light sensing 
-| Thermistor (NTC 10k) | Analog temperature sensor (resistance-based) +LCD Screen | Alphanumeric LCD 16x2 (HD44780) | Pins: RS=8EN=9D4=4, D5=5, D6=6, D7=7, Buttons input: A0 | Used for displaying text and sensor values |
-Potentiometer     10kΩ adjustable resistor for analog input    | +
-| Push buttons      Momentary contact switches for digital input +
-RGB LED (common cathode) | Controlled via PWM (RGB channels)    |+
  
-===== 4. Additional Modules ===== +==== Additional Hardware ==== 
-  * L298N motor driver module for controlling DC motors +  * **Motor Driver:** Pololu TB6612FNG Dual Motor Driver Carrier 
-  I2C bus pull-up resistors (4.7kΩ typical) +    * Supports two DC motors independently 
-  Resistor packs (220Ω, 10kΩ, etc.) +    Motor voltage range: 4.5 – 13.5 V 
-  Capacitors, jumper wires, and headers+    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)
  
-===== 5. Tools and Debugging Aids ===== +==== Wiring Diagram ==== 
-  * Serial Monitor via Arduino IDE +{{:en:iot-open:practical:hardware:taltech:wiring_schematic.png?600|}}
-  * 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/digital I/O 
-  * For motors and high-current components, use external power and common ground+  * Use of common Arduino libraries: 
 +    * ''Servo.h'' – Servo motor control 
 +    * ''LiquidCrystal.h'' – LCD display handling 
 +    * Standard Arduino analog/digital I/O functions 
 +   
 +==== Development Environment Configuration ==== 
 +Typical ''platformio.ini'' file configuration for Arduino Uno: 
 + 
 +<code ini> 
 +[env:uno] 
 +platform = atmelavr 
 +framework = arduino 
 +board = uno 
 +lib_ldf_mode = deep+ 
 +</code>
  
----- 
-For specific examples and circuit diagrams, refer to the corresponding component subpages (e.g., [[lcd]], [[dc_motor]], [[servo_motor]], [[thermistor]]). 
  
en/iot-open/practical/hardware/taltech/arduino.1752834812.txt.gz · Last modified: 2025/07/18 10:33 by ingmar05
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0