Skip to content

WEMarsSoftware/arm_control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running

  • IP of the ESP-32 running this is set constant at 192.168.1.18
  • HTTP GET to http://192.168.1.18/?motor1=<#>&motor2=<#>&motor3=<#>&motor4=<#>&motor5=<#>&motor6=<#>
    • Numbers in parameters are "percentage powers" to apply to motors ranging from -100 to +100

Using the Arduino environment with the ESP-32 WiFi chips

Refer to: https://github.com/espressif/arduino-esp32#development-status

Settings used in Arduino IDE

  • Board: DOIT ESP32 DEVKIT V1
  • Flash Frequency: 80 MHz
  • Upload Speed: 230400
  • Port: USBtoUART
  • Programmer: AVRISP mkII

*Note: May need to hold down boot button while uploading programs.

In src/

  • C++ code for an ESP-32 to interface with 6 VEX Victor motor controllers, 6 current sensors, and 6 potentiometers
    • Dependencies: esp-32 SDK, as well as Arduino, AsyncTCP, ESPAsyncWebServer and espressif-esp32 tools (staging) libraries (including LEDC PWM headers)
    • Headers should be installed in Documents/Arduino/libraries

About

Code for an ESP-32 to control the rover's arm and read from a number of sensors.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages