Post Reply 
 
Thread Rating:
  • 2 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Only You, or ESP8266 Forever!
09-05-2016, 02:09 AM
Post: #37
RE: Only You, or ESP8266 Forever!
Hi,

I'm using KomX's code on a Wemos D2 R1 with a CNC shield. I did the following changes to eX-ESP_pins.h to match the pins on my setup.

#define MOTORS_ENABLE_PIN D6
#define MOTORS_DIR_PIN D3
#define MOTOR1_STEP_PIN D0
#define MOTOR2_STEP_PIN D4

#define SONAR_TRIG_PIN -1
#define SONAR_ECHO_PIN -1
#define SDA_PIN D2
#define SCL_PIN D1

#define SERVO1_PIN D7
#define SERVO2_PIN D8
#define BATTERY_PIN A0

My robot has the following issues 1) One wheel will rotate very slowly and the other will rotate very fast. 2) The robot is balancing itself back and forth but eventually starts running off in circles (given that one wheel turns faster than the other). Here is a video for your reference.

https://www.dropbox.com/s/k5ynceludljyo6...2.MOV?dl=0

I checked the micro stepping jumpers on both drivers thinking one could be missing them but both have them. Any idea what may be going on?

thanks...
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Only You, or ESP8266 Forever! - KomX - 05-07-2016, 05:50 PM
RE: Only You, or ESP8266 Forever! - KomX - 05-09-2016, 08:30 AM
RE: Only You, or ESP8266 Forever! - KomX - 05-09-2016, 03:54 PM
RE: Only You, or ESP8266 Forever! - KomX - 05-11-2016, 04:34 AM
RE: Only You, or ESP8266 Forever! - KomX - 05-12-2016, 04:35 AM
RE: Only You, or ESP8266 Forever! - KomX - 05-14-2016, 08:00 AM
RE: Only You, or ESP8266 Forever! - KomX - 05-15-2016, 09:58 AM
RE: Only You, or ESP8266 Forever! - KomX - 05-15-2016, 04:46 PM
RE: Only You, or ESP8266 Forever! - KomX - 05-15-2016, 07:10 PM
RE: Only You, or ESP8266 Forever! - KomX - 05-15-2016, 08:38 PM
RE: Only You, or ESP8266 Forever! - KomX - 05-15-2016, 09:49 PM
RE: Only You, or ESP8266 Forever! - JohnQ - 05-16-2016, 10:14 AM
RE: Only You, or ESP8266 Forever! - KomX - 05-16-2016, 05:25 PM
RE: Only You, or ESP8266 Forever! - KomX - 05-16-2016, 09:33 PM
RE: Only You, or ESP8266 Forever! - KomX - 08-19-2016, 01:32 PM
RE: Only You, or ESP8266 Forever! - jimmy - 08-19-2016, 05:28 PM
RE: Only You, or ESP8266 Forever! - KomX - 08-19-2016, 10:20 PM
RE: Only You, or ESP8266 Forever! - jimmy - 08-19-2016, 10:29 PM
RE: Only You, or ESP8266 Forever! - KomX - 08-20-2016, 06:32 AM
RE: Only You, or ESP8266 Forever! - jimmy - 08-29-2016, 05:12 PM
RE: Only You, or ESP8266 Forever! - citronium - 09-05-2016 02:09 AM
RE: Only You, or ESP8266 Forever! - KomX - 09-09-2016, 09:05 AM
RE: Only You, or ESP8266 Forever! - rolfz - 12-06-2016, 04:42 PM
RE: Only You, or ESP8266 Forever! - KomX - 12-13-2016, 12:11 PM
RE: Only You, or ESP8266 Forever! - rolfz - 12-15-2016, 12:21 PM
RE: Only You, or ESP8266 Forever! - rolfz - 12-24-2016, 08:49 PM
RE: Only You, or ESP8266 Forever! - rolfz - 12-25-2016, 05:50 PM
RE: Only You, or ESP8266 Forever! - KomX - 12-26-2016, 10:27 AM
RE: Only You, or ESP8266 Forever! - KomX - 12-26-2016, 01:54 PM
RE: Only You, or ESP8266 Forever! - KomX - 12-26-2016, 06:40 PM
RE: Only You, or ESP8266 Forever! - KomX - 12-29-2016, 07:14 AM
RE: Only You, or ESP8266 Forever! - KomX - 12-30-2016, 04:42 AM
RE: Only You, or ESP8266 Forever! - KomX - 01-26-2017, 08:44 AM
RE: Only You, or ESP8266 Forever! - KomX - 01-30-2017, 07:14 AM
RE: Only You, or ESP8266 Forever! - KomX - 02-20-2017, 07:38 AM
RE: Only You, or ESP8266 Forever! - sirius - 04-13-2018, 11:19 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)