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:50] 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.
  
-\==== Overview ====+The hardware setup includes several sensors, actuators, and interfaces designed for various practical lab exercises.
  
-The TalTech Arduino Laboratory is designed for practical electronics and microcontroller-based project education. It provides essential hardware for prototyping and experimenting with various electronic components and peripherals.+===== Hardware reference ===== 
 +  * **Microcontroller:** ATmega328P 
 +  * **Operating Voltage:** 5 V 
 +  * **Digital I/O Pins:** 14 (6 pins provide PWM output) 
 +  * **Analog Input Pins:** 6 
 +  * **Clock Speed:** 16 MHz 
 +  * **USB Interface:** Yes (for programming and serial communication) 
 +  * **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/Description ^ Pins ^ Remarks ^ 
 +| DC Motor | Micromotors Brushed Geared DC Motor12V, 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 on/off | 
 +| 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 ==== 
-* MicrocontrollerATmega328P +{{:en:iot-open:practical:hardware:taltech:wiring_schematic.png?600|}}
-* Digital I/O Pins14 (6 support PWM) +
-* Analog Input Pins+
-* Clock Speed16 MHz (Quartz Crystal) +
-* ConnectivityUSB, Power Jack, Reset Button +
-* ProgrammingArduino IDE via USB+
  
-\==== Pololu TB6612FNG Dual Motor Driver Carrier ====+==== Suggested Knowledge Resources ==== 
 +  * Arduino programming fundamentals 
 +  * Basic understanding of PWM, analog/digital I/O 
 +  * 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:
  
-A compact, efficient motor driver breakout board for controlling two DC motors independently with bidirectional control.+<code ini> 
 +[env:uno] 
 +platform = atmelavr 
 +framework = arduino 
 +board = uno 
 +lib_ldf_mode = deep+ 
 +</code>
  
-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: Steinhart-Hart thermistor formula 
- 
-\==== LCD Screen ==== 
- 
-Used for displaying information, sensor readings, and interaction via integrated buttons. 
- 
-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://wiki.iteadstudio.com/Iteaduino\_UNO|Arduino](https://wiki.iteadstudio.com/Iteaduino_UNO|Arduino) Uno Documentation]] 
-* \[\[[https://www.roboticlab.eu/homelab/et/arduinotoc|RoboticLab](https://www.roboticlab.eu/homelab/et/arduinotoc|RoboticLab) Arduino Examples]] 
-* \[\[[https://www.roboticlab.eu/homelab/en/iot-open/practical/hardware/taltech/arduino|TalTech](https://www.roboticlab.eu/homelab/en/iot-open/practical/hardware/taltech/arduino|TalTech) Arduino Hardware Description]] 
- 
-\==== Wiring Layout ==== 
- 
-{{:en:iot-open:practical:hardware:taltech:wiring_schematic.png?400|}} 
- 
---- 
  
en/iot-open/practical/hardware/taltech/arduino.1752835832.txt.gz · Last modified: 2025/07/18 10:50 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