
Control motor dc
kr4fty/DCMotorController
Closed Loop Position Control for DC Servo Motors. STEP / DIR compatible Driver

Projeto acadêmico desenvolvido para a disciplina de Programação de Hardware. Consiste em um sistema embarcado com:
Bumbleebot is an open-source printed circuit board by henriquesantanareis, from the henriquesantanareis/Bumblebee-bo repository on GitHub, published under the MIT licence. It is a 2-layer board of 123.5 × 125 mm with 26 parts on 29 nets, routed with 251 tracks and 6 vias.
It is built around the ATMEGA328P-PU and L293D. Its parts include 11 connectors, 5 capacitors, 5 resistors, 4 ICs and 1 crystal. It belongs with the ESP32 and AVR (ATmega, ATtiny) boards of this library.
Projeto acadêmico desenvolvido para a disciplina de Programação de Hardware.
Consiste em um sistema embarcado com:
'R' via UART| Botão | Ação | Código enviado |
|---|---|---|
| Up | Frente | 'F' |
| Down | Ré | 'B' |
| Left | Esquerda | 'L' |
| Right | Direita | 'R' |
| Square | Liga laser | 'Q' |
| Circle | Desliga laser | 'W' |
| Cross | Stop | 'S' |
| Start | Reset vidas | 'X' |
| Função | Pino | Porta |
|---|---|---|
| LDR | ADC5 | PC5 |
| Laser (transistor) | PD4 | PORTD |
| LED vidas | PB3 PB4 PD3 | PORTB & PORTD3 |
| Motores ENA/ENB | PB1/PB2 | PWM |
| Motor direção | PB0, PD5, PD6, PD7 | |
| UART RX/TX | PD0/PD1 |
+------------------+ +----------------+
| ESP32 DevKit | | ATmega328P |
| | | |
TX2 --+ GPIO17 +----------->+ RX0 (PD0) |
RX2 <-+ GPIO16 <-----------+ TX0 (PD1) |
| | | |
| Dabble BLE | | |
+------------------+ +----------------+
Motores (ponte H L293D)
IN1 = PB0, IN2 = PD7, IN3 = PD6, IN4 = PD5
ENA = PB1 (PWM), ENB = PB2 (PWM)
Laser
PC3 -> R(1k) -> Base do transistor -> Laser
LDR
LDR → divisor resistivo → PC5 (ADC5)
LEDs vidas
PC0, PC1, PC2 → LEDs (3 vidas)
📂 BumbleBeeBot/
│| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | 220R | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal | R1, R2, R3 |
| 2 | 10kR | Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal | R4, R5 |
| 2 | 22pF | Capacitor_THT:C_Disc_D3.8mm_W2.6mm_P2.50mm | C1, C2 |
| 1 | 0,1uF | Capacitor_THT:CP_Radial_D4.0mm_P2.00mm | C4 |
| 1 | 0,33uF | Capacitor_THT:CP_Radial_D4.0mm_P2.00mm | C3 |
| 1 | 100nF | Capacitor_THT:C_Rect_L9.0mm_W4.0mm_P7.50mm_MKT | C5 |
| 1 | ATmega328P-P | Package_DIP:DIP-28_W7.62mm_Socket | U2 |
| 1 | BTN_RESET | TerminalBlock:TerminalBlock_bornier-3_P5.08mm | J11 |
| 1 | Battery_esp32 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J8 |
| 1 | Crystal | Crystal:Crystal_HC49-4H_Vertical | Y1 |
| 1 | ESP32_DevKit_V1_DOIT | Esp32Dev:esp32_devkit_v1_doit | U1 |
| 1 | L293D | Package_DIP:DIP-16_W7.62mm_Socket | U3 |
| 1 | LDR | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J4 |
| 1 | LED1 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J1 |
| 1 | LED2 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J2 |
| 1 | LED3 | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J3 |
| 1 | LM7805_TO220 | Package_TO_SOT_THT:TO-220-3_Vertical | U4 |
| 1 | Lazer | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J7 |
| 1 | MA | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J5 |
| 1 | MB | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J6 |
| 1 | battery | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J9 |
| 1 | battery_Motors | TerminalBlock:TerminalBlock_bornier-2_P5.08mm | J12 |

kr4fty/DCMotorController
Closed Loop Position Control for DC Servo Motors. STEP / DIR compatible Driver

comakingspace/FlipDotDisplay
They were bought at the Makerfaire Hannover 2016.


DilipRana/ATMega-Bluetooth-RC-Car-PCB
A simple ATMega328p based RC Car with L293D motor driver and HC05 bluetooth module



ExploreEmbedded/8051_DevelopmentBoard
Design files and sample code for 8051 development Ultra Boards

NikodemBartnik/Small-Projects
All of smaller projects (Arduino, PCBs, electronics, code)
It measures 123.5 × 125 mm and has 2 copper layers, 1.6 mm thick.
26 parts, built around the ATMEGA328P-PU and L293D. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the henriquesantanareis/Bumblebee-bo repository on GitHub, at the commit this page was made from: the board is Bumbleebot/hardware/pcb/PP.kicad_pcb and its schematic Bumbleebot/hardware/pcb/PP.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).