Post Reply 
 
Thread Rating:
  • 2 Votes - 4.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Only You, or ESP8266 Forever!
01-25-2017, 12:52 PM (This post was last modified: 01-25-2017 01:13 PM by shivkrish39@gmail.com.)
Post: #57
RE: Only You, or ESP8266 Forever!
Hello komx

I used your code..
I have the below setup.

Nema 17 1.8'
Wemos D1 R1
CNC Shield
MPU6050 break out board
Lipo 11.1v 1A

used 1/8 micro stepping.
(1/16 micro stepping is not working for me.. Motor buzzing and no movement if loaded)

Used GPIO16 for Xstep ( moved the sonar pins to 9 and 10 but not used)

Some modification to suit for CNC shield
////////////////////// X motor Step pin ////////////////////////////////////
#define PIN_LOW1(x) (GP16O &= ~1)
#define PIN_HIGH1(x) (GP16O |= 1)

PIN_LOW1(MOTOR1_STEP_PIN);
///////////////////////////////////////////////////////

After initial hiccups the robot started working ... it can balance now.. but the back and forth oscillation picks up occasionally and goes down.

TouchOSC getting connected but not working....

whether sonar detection will stop the movements for robot.?


Regards,
Shivakumar

for TouchOSC not working I have put a debug serial print.

throttle = (fadder[0] - 0.5) * max_throttle;
steering = fadder[1] - 0.5;
if (steering > 0)
steering = ( steering * steering + 0.5 * steering) * max_steering;
else
steering = (-steering * steering + 0.5 * steering) * max_steering;
Serial.print("throttle : ");
Serial.println(throttle);

Serial.print("steering : ");
Serial.println(steering);


When slider is changed i am getting only 0 for throttle & steering
throttle : 0.00
steering : 0.00
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! - 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! - shivkrish39@gmail.com - 01-25-2017 12:52 PM
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)