www.robowars.org

RoboWars Australia Forum Index -> Builders Reports

Wifi RX Development
Goto page Previous  1, 2, 3, 4

Post new topic   Reply to topic
  Author    Thread
miles&Jules
Experienced Roboteer


Joined: 19 May 2010
Posts: 3973
Location: ipswich QLD


 Reply with quote  

$5 awesome..sounds genus Very Happy Very Happy Very Happy Very Happy
_________________
Miles Blow - Julie Pitts
www.mulesfilm.com.au
www.wombokforest.com.au

-Pickasso- Vivid Sportsman champion 2015

Post Sat Apr 04, 2015 12:18 am 
 View user's profile Send private message Send e-mail Visit poster's website
marto
Experienced Roboteer


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


 Reply with quote  

And then you try to do something simple like change the Wifi Name.

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

Post Sat Apr 04, 2015 8:41 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  

Ok so progressing I have pretty much everything I wanted working. Except it appears to be a bit shit.

I have a delay in the response which makes it unusable. I am not sure if this is in the PWM stuff, the Wifi interface, the HTTP server or the HTML5 page that it uses.

However I can confirm that it works on iOS, Android and PC (chrome with mouse) .

Slowly working on the debugging.
_________________
Steven Martin
Twisted Constructions
http://www.botbitz.com

Post Sat Apr 11, 2015 5:02 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  

very cool, cheers for making if available, looking forward to flashing that chip, should go well on the little prototype bot, Very Happy

Post Mon Apr 13, 2015 12:51 am 
 View user's profile Send private message
marto
Experienced Roboteer


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


 Reply with quote  

So I have still been trying to work out how to solve the latency issues I am having.

Any ideas as to a reliable way to measure the latency of a command? I have plenty of gear just not sure how to implement it.

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

Post Mon Apr 27, 2015 11:35 pm 
 View user's profile Send private message Send e-mail MSN Messenger
Valen
Experienced Roboteer


Joined: 07 Jul 2004
Posts: 4436
Location: Sydney


 Reply with quote  

does your PC have any physical ports on it?
If so you could send a byte/whatever out on that and use that to trigger your scope then see how long it takes to appear on the device.

Does the thing support ICMP ping? that should tell you something. (IF your ping is 200ms then you have a serious issue)

IF not you might consider implementing it in your code, just rx a packet and reply, time the difference.

(I suggest using some native code on the PC rather than trying to do it in the browser, also doing that would let you rule out the browser.)
_________________
Mechanical engineers build weapons, civil engineers build targets

Post Tue Apr 28, 2015 12:33 pm 
 View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
marto
Experienced Roboteer


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


 Reply with quote  

Nothing really other than USB which makes it hard. I am thinking the most likely candidate for delay is the HTTP server. I am going to write a simple UDP port interface.

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

Post Tue Apr 28, 2015 12:44 pm 
 View user's profile Send private message Send e-mail MSN Messenger
Valen
Experienced Roboteer


Joined: 07 Jul 2004
Posts: 4436
Location: Sydney


 Reply with quote  

yeah, you are going to be doing a full TCP setup then get/post every command unless you have keepalive/pipelining?, that isn't going to super speedy.

Even over USB delay should be in the few msec range (<5, normally like 1). It should be well below human perception anyway.
If you are feeling keen you can tap into one of the I2C busses floating around most desktops these days ;->

oooh, I have it.
get a light dependant resistor (or photodiode/transistor whatever) tape it over a bit of your screen, make that bit black, then make it white and send your data.
use the LDR as the trigger for a scope or better yet logic analyser.
_________________
Mechanical engineers build weapons, civil engineers build targets

Post Tue Apr 28, 2015 12:50 pm 
 View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
marto
Experienced Roboteer


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


 Reply with quote  

Got some more stuff done on this. Closer but still issues. Wondering if it's going to just be easier to write some apps.

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

Post Sun Jun 28, 2015 11:34 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 4 of 4

Goto page Previous  1, 2, 3, 4

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.