Arduino UNO-Based Smart Robotic System with Thermal Printer and Multiple Sensors
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes various components such as micro servos, a thermal printer, an IR sensor, an inductive sensor, an Arduino UNO, an I2C LCD, an RGB LED, a pushbutton, a power supply, and a resistor. The circuit is designed to interface these components with an Arduino UNO microcontroller, which controls their operations based on the provided code.
Component List
Micro Servo 9G
- Description: A small servo motor used for precise control of angular position.
- Pins: GND, +5V, PWM
Resistor
- Description: A passive electrical component that implements electrical resistance.
- Pins: pin1, pin2
- Properties:
- Resistance: 200 Ohms
Thermal Printer
- Description: A printer that uses heat to produce images on paper.
- Pins: RX, TX, +, -
TCRT-5000 IR Sensor
- Description: An infrared sensor used for proximity and object detection.
- Pins: 5V, GND, D0, A0
Inductive Sensor
- Description: A sensor that detects metallic objects without physical contact.
- Pins: Signal, VCC, GND
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
16x2 I2C LCD
- Description: A 16x2 character LCD display with I2C interface.
- Pins: GND, VCC, SDA, SCL
RGB LED (Wokwi compatible)
- Description: An RGB LED that can emit red, green, and blue light.
- Pins: R, COM, G, B
Pushbutton
- Description: A simple pushbutton switch.
- Pins: Pin 2, Pin 1, Pin 3, Pin 4
Power Supply
- Description: Provides electrical power to the circuit.
- Pins: +, -
Wiring Details
Micro Servo 9G
GND connected to:
- Arduino UNO GND
- Power Supply -
- Thermal Printer -
- Inductive Sensor GND
- RGB LED COM
- TCRT-5000 IR Sensor GND
- 16x2 I2C LCD GND
+5V connected to:
- Arduino UNO 5V
- TCRT-5000 IR Sensor 5V
- 16x2 I2C LCD VCC
PWM connected to:
- Arduino UNO D5
Resistor
pin1 connected to:
- Thermal Printer -
- Power Supply -
- Inductive Sensor GND
- RGB LED COM
- Arduino UNO GND
- Micro Servo 9G GND
pin2 connected to:
- Pushbutton Pin 1
Thermal Printer
RX connected to:
- Arduino UNO D3
TX connected to:
- Arduino UNO D4
+ connected to:
- Power Supply +
- Inductive Sensor VCC
- connected to:
- Resistor pin1
TCRT-5000 IR Sensor
5V connected to:
- Arduino UNO 5V
GND connected to:
- Arduino UNO GND
D0 connected to:
- Arduino UNO D8
Inductive Sensor
Signal connected to:
- Arduino UNO D9
VCC connected to:
- Power Supply +
GND connected to:
- Resistor pin1
Arduino UNO
GND connected to:
- Resistor pin1
- Micro Servo 9G GND
- TCRT-5000 IR Sensor GND
- 16x2 I2C LCD GND
5V connected to:
- Micro Servo 9G +5V
- TCRT-5000 IR Sensor 5V
- 16x2 I2C LCD VCC
A4 connected to:
- 16x2 I2C LCD SDA
A5 connected to:
- 16x2 I2C LCD SCL
D3 connected to:
- Thermal Printer RX
D4 connected to:
- Thermal Printer TX
D5 connected to:
- Micro Servo 9G PWM
D8 connected to:
- TCRT-5000 IR Sensor D0
D9 connected to:
- Inductive Sensor Signal
D11 connected to:
- RGB LED G
D12 connected to:
- RGB LED R
D13 connected to:
- Pushbutton Pin 2
16x2 I2C LCD
GND connected to:
- Arduino UNO GND
VCC connected to:
- Arduino UNO 5V
SDA connected to:
- Arduino UNO A4
SCL connected to:
- Arduino UNO A5
RGB LED (Wokwi compatible)
R connected to:
- Arduino UNO D12
COM connected to:
- Resistor pin1
G connected to:
- Arduino UNO D11
Pushbutton
Pin 1 connected to:
- Resistor pin2
Pin 2 connected to:
- Arduino UNO D13
Pin 3 connected to:
- Arduino UNO 5V
Code Documentation
Arduino UNO Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
This code is a basic template for the Arduino UNO. The setup() function is used to initialize any settings or configurations, and the loop() function contains the main code that runs repeatedly. Currently, both functions are empty and can be filled with the specific logic required for the circuit's operation.