Carrito Seguidor de Línea con Obstáculos

Aquí tienes un diagrama de conexiones entre todos los módulos y el Arduino Uno:

Table


ComponentePinConexión
Battery LiPo 7.4V+VIN en Arduino Uno; VMOT en L298N
Battery LiPo 7.4VGND net (común)
Arduino Uno5VAlimenta línea 5V para sensores, servo y ultrasonido
Arduino UnoGNDGND net (común)
Left TCRT5000VCC5V net
Left TCRT5000GNDGND net
Left TCRT5000OUTD2
Right TCRT5000VCC5V net
Right TCRT5000GNDGND net
Right TCRT5000OUTD3
HC-SR04 UltrasonicVCC5V net
HC-SR04 UltrasonicGNDGND net
HC-SR04 UltrasonicTrigD8
HC-SR04 UltrasonicEchoD9
SG90 ServoVCC5V net
SG90 ServoGNDGND net
SG90 ServoSignalD10
L298N DriverVMOT+7.4V (LiPo)
L298N DriverGNDGND net
L298N Driver5V Logic In5V net
L298N DriverIN1D4
L298N DriverIN2D7
L298N DriverENA (PWM)D5
L298N DriverIN3D11
L298N DriverIN4D12
L298N DriverENB (PWM)D6
Left DC MotorMotor A +OUT1 en L298N Driver
Left DC MotorMotor A –OUT2 en L298N Driver
Right DC MotorMotor B +OUT3 en L298N Driver
Right DC MotorMotor B –OUT4 en L298N Driver
– Asegúrate de tener todas las tierras (GND) comunes.
– El pin “5V” del Arduino (o de un regulador externo si prefieres no cargar su onboard) alimenta sensores, servo y ultrasonido.
– La batería va dividida entre VIN del Arduino (o VMOT+en “5V-Logic In” del L298N) y el pin VMOT del L298N.
– Con esto tu carrito podrá seguir la línea, detectar obstáculos con ultrasonido y apartarlos con el SG90.
Uso regulador
Servo conexión
Desacoplo driver
Interferencia común

To get started, talk to Flux or create a New Document.

Documents

    Documents are markdown text files which describe project goals, capture details, or even simulation outputs.

    Assets

    No assets added.

    Crooked Aqua Memory Implanter

    Crooked Aqua Memory Implanter thumbnail
    Welcome to your new project. Imagine what you can build here.

    Properties

    Properties describe core aspects of the project.

    Pricing & Availability

    Distributor

    Qty 1

    Controls