Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ESP8266 , need help
08-20-2015, 11:36 AM (This post was last modified: 08-20-2015 11:53 AM by sasa999.)
Post: #3
RE: ESP8266 , need help
Why so complicated? I use your original previous sketch. All you need is write to esp8266 some strings for forwarding udp to serial.

WiFi.mode(WIFI_AP);
WiFi.softAP(ssid, password);

Udp.read(packetBuffer,UDP_TX_PACKET_MAX_SIZE);
Serial.write(packetBuffer,packetSize);

Samplest way is with Arduino ide. Once you have writen you forgot about esp8266, because it work themself.
There is some errors in your sketch - it reset throttle and stearing values but not reset sliders in osc app. All you need is send sample command to your mobile phone with two values 0.5 for throttle and stearing sliders. Command syntax is the same that you got from osc. Also very useful is reset values after robot crash/fall. The same way I make robot battery indicator in osc app. Just one more small slider with 0, 25, 50, 75 and 100% marks. esp send actual battery voltage and slider display it value. Sample and useful ?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
ESP8266 , need help - Pat78 - 08-12-2015, 08:06 PM
RE: ESP8266 , need help - JJrobots JP - 08-20-2015, 09:19 AM
RE: ESP8266 , need help - sasa999 - 08-20-2015 11:36 AM
RE: ESP8266 , need help - Pat78 - 08-20-2015, 02:49 PM
RE: ESP8266 , need help - sasa999 - 08-20-2015, 07:35 PM
RE: ESP8266 , need help - gabe - 08-25-2015, 08:32 AM
RE: ESP8266 , need help - Paulnea - 08-23-2015, 01:39 AM
RE: ESP8266 , need help - JJrobots JP - 08-23-2015, 08:34 PM
RE: ESP8266 , need help - Paulnea - 08-24-2015, 05:23 AM
RE: ESP8266 , need help - JoseJulio - 08-24-2015, 08:53 AM
RE: ESP8266 , need help - Pat78 - 08-23-2015, 09:24 PM
RE: ESP8266 , need help - gabe - 08-24-2015, 12:59 PM
RE: ESP8266 , need help - JoseJulio - 08-24-2015, 07:34 PM
RE: ESP8266 , need help - Paulnea - 08-25-2015, 03:56 AM
RE: ESP8266 , need help - JoseJulio - 08-25-2015, 01:05 PM
RE: ESP8266 , need help - Pat78 - 08-24-2015, 08:51 PM
RE: ESP8266 , need help - gabe - 08-25-2015, 02:00 AM
RE: ESP8266 , need help - sasa999 - 08-25-2015, 09:13 AM
RE: ESP8266 , need help - JJrobots JP - 08-25-2015, 09:41 AM

Forum Jump:


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