www.robowars.org

RoboWars Australia Forum Index -> General Chatter

ESP8266
Goto page Previous  1, 2, 3, 4, 5  Next

Post new topic   Reply to topic
  Author    Thread
Tim



Joined: 30 Oct 2013
Posts: 247
Location: QLD


 Reply with quote  

Hey Steve, No not as yet have been busy, they were delivered a couple of weeks ago in the mean time I set up the vm, built the gcc tool chain ect.....and forgot to save the machine state, windoze did an update and the machine wasn't saved lol.

In the meantime I think they "espressif" have changed/fixed some bugs in the sdk so i would have had to go again anyway.

Keen to get a proof of concept project completed, will post something soon hopefully.

Post Mon Dec 08, 2014 8:27 pm 
 View user's profile Send private message
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  

Yeh I had a few ideas if they work. Will get one when I have time.
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Mon Dec 08, 2014 9:03 pm 
 View user's profile Send private message Send e-mail MSN Messenger
Tim



Joined: 30 Oct 2013
Posts: 247
Location: QLD


 Reply with quote  

quote:
Originally posted by marto:
I think for the moment as this is looking like the not good sort of interesting.

Steve


Yep I've spent hours of banging my head against a wall which is all the misinformation on the net.....aside from all the other misinformation

Many have alleged to have great success with this but with so many models now and dud tutorials going around, problems with pin definition docs ect. suffice to say I've spent ten of hours on this thing and probably many more to come.

Long story short Lubuntu vm built the gcc toolchain everything looked peachy until I typed "make" no cigar - my paths must be wrong.

Currently no real response from AT commands other than garbage data / prints some information to the serial monitor but that's coming from a Mega2650 not the ESP8266

Here is some progress I can connect to it via a S4 load the Robowars.org landing page 80% of the way will setup a simple html page to land on and see how that goes seems a few people have had success with that......now I must sleep!

Post Sun Dec 28, 2014 10:11 am 
 View user's profile Send private message
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  

Bugger let me know how you progress. Going to order one in the new year.

Steve
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Sun Dec 28, 2014 10:09 pm 
 View user's profile Send private message Send e-mail MSN Messenger
Tim



Joined: 30 Oct 2013
Posts: 247
Location: QLD


 Reply with quote  

Will do, I'd get a few some sellers are doing a 5 for $20 deal but the newer models are very different http://hackaday.com/2014/12/17/esp-gets-fcc-and-ce/ I'm going to get this lot working yet, no matter how long it takes.

Post Sun Dec 28, 2014 10:42 pm 
 View user's profile Send private message
Knightrous
Site Admin


Joined: 15 Jun 2004
Posts: 8511
Location: NSW


 Reply with quote  

Adafruit now has a tutorial and firmware for these.

EDIT - Nope, appears I listened to the vlog incorrectly... They just sell the modules with a better firmware preloaded - http://www.adafruit.com/products/2282
_________________
https://www.halfdonethings.com/


Last edited by Knightrous on Mon Dec 29, 2014 2:24 pm; edited 1 time in total

Post Mon Dec 29, 2014 8:52 am 
 View user's profile Send private message
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  

So what is the sort of steps to get up and running with one?

Steve
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Mon Dec 29, 2014 12:40 pm 
 View user's profile Send private message Send e-mail MSN Messenger
Tim



Joined: 30 Oct 2013
Posts: 247
Location: QLD


 Reply with quote  

Docs can be found here http://www.esp8266.com/ they have a vm - lubuntu and a sdk with everything to build the tool chain.

Post Mon Dec 29, 2014 10:36 pm 
 View user's profile Send private message
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  

This is the most promising firmware for the chip I have found.

http://nodemcu.com/index_en.html

Simple and easy to write a bit of code which should do everything you need.

Steve
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Tue Dec 30, 2014 12:54 pm 
 View user's profile Send private message Send e-mail MSN Messenger
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  

Wifi signal seems better than I expected it to be.

https://www.youtube.com/watch?v=3LiMAG4viWA

https://www.youtube.com/watch?v=7BYdZ_24yg0

Steve
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Tue Jan 06, 2015 5:07 pm 
 View user's profile Send private message Send e-mail MSN Messenger
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  

Well it appears someone has already made a servo controller.

http://www.esp8266.com/viewtopic.php?f=19&t=794

Now to redo it and make a better interface. "Twitchiness" was due to him not having caps on his regulators so it had power fluctuations when wifi was active. Apparently.
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Thu Jan 08, 2015 1:27 pm 
 View user's profile Send private message Send e-mail MSN Messenger
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  

I managed to build the toolchain on Ubuntu 13.10 using the instructions here https://github.com/esp8266/esp8266-wiki/wiki/Toolchain

I pretty much blindly followed them but they want to do a lot of stuff as root which makes me a little nervous. I managed to build all the examples and now just poking through them to see what I can do. Not a lot else I can do until I get my module and can start uploading but it looks like its relatively easy to do.

Steve
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Thu Jan 08, 2015 5:19 pm 
 View user's profile Send private message Send e-mail MSN Messenger
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  

So looking at how you can use a native application on the ESP8266 to interface to a phone and send data back.

I know you can get the orientation of the phone from HTML5 and this works natively on most iOS and Android devices. You can also send data back to a server (in this case the ESP8266) via a web socket.

Links:
Details on websockets
http://www.html5rocks.com/en/tutorials/websockets/basics/
Simple Websocket
http://stackoverflow.com/questions/12407778/connecting-to-tcp-socket-from-browser-using-javascript
Orientation
http://www.html5rocks.com/en/tutorials/device/orientation/
Device Compatibility
http://mobilehtml5.org/

Combine this with the example of sending servo pulses I posted earlier today and these pin defs
https://github.com/esp8266/esp8266-wiki/wiki/Pin-definition

And you have yourself a 4ch RX with a web interface for $5.

Now to make that actually work.

Steve
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Thu Jan 08, 2015 5:34 pm 
 View user's profile Send private message Send e-mail MSN Messenger
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  

Can use HTML5 for emulating a thumbstick too. Appears to work pretty well.

http://www.lostdecadegames.com/analog-thumb-sticks-for-ios-using-html5/
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Sat Jan 10, 2015 5:34 pm 
 View user's profile Send private message Send e-mail MSN Messenger
marto
Experienced Roboteer


Joined: 08 Jul 2004
Posts: 5459
Location: Brisbane, QLD


 Reply with quote  


_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Mon Jan 12, 2015 11:08 pm 
 View user's profile Send private message Send e-mail MSN Messenger
  Display posts from previous:      

Forum Jump:
Jump to:  

Post new topic   Reply to topic
Page 2 of 5

Goto page Previous  1, 2, 3, 4, 5  Next

Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Last Thread | Next Thread  >
Powered by phpBB: © 2001 phpBB Group
millenniumFalcon Template By Vereor.