Tamandutech / LineFollower_SemrehV2_Code

Semreh V2 line-follower robot code.
2 stars 0 forks source link
esp32 line-follower linefollower pid pid-control plataformio robotics

LineFollower_SemrehV2_Code

The main code of the Line Follower Robot "Semreh" in its 2nd revision, designed and developed by Tamandutech UFABC.

Hardware

PINOUT - ESP32 **ADC** | Function | Port | | :---: | :---: | | CLK | GPIO18 | | OUT ADC | GPIO19 | | IN ADC | GPIO22 | | CS/SHDN | DGPIO23 | **Laterais** | Function | Port | | :---: | :---: | | OUT Esquerdo | GPIO39 | | OUT Direito | GPIO33 | **Driver Motor** | Function | Port | | :---: | :---: | | PWMA | GPI14 | | PWMB | GPIO13 | | IN Direito 1 | GPIO25 | | IN Direito 2 | GPIO21 | | IN Esquerdo 1 | GPIO26 | | IN Esquerdo 2 | GPIO27 | | STBY | GPIO17 | **Encorder** | Function | Port | | :---: | :---: | | OUT Esquerdo A | GPIO34 | | OUT Esquerdo B | GPI35 | | OUT Direito A | GPIO16 | | OUT Direito B | GPIO04 | **LEDs - WS2812B** | Function | Port | | :---: | :---: | | IN DATA | GPIO32 | **Buzzer** | Function | Port | | :---: | :---: | | IN DATA | GPIO12 |

Software