Asked — Edited
Resolved Resolved by ptp!

Ez-B Automatically Reconnect After Wifi Drop?

Is there a way to set the ez-b to automatically reconnect to wifi after the wifi drops out itself?

For example, im using my 4GLTE hotspot from my phone for internet on my laptop and i have the Ez-b connected in client mode. When a call comes in or i turn the wifi off and then back on, i regain connection to my laptop but i have to cycle the ez-b to get it to reconnect again.

Hopefully this is simple as i plan to use 4GLTE connection primarily with my rover


ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a new tool that will help unleash your creativity with programming robots in just seconds!

PRO
USA
#9  

Oops !

I forgot to mention those options do not exist in the EZB Diagnostic screen.

Basically it's a firmware customization, check this post:

http://synthiam.com/Products/ARC

unfortunately to upload a custom firmware, you will need to solder some pins to your EZB and cut some plastic and it will void the warranty (i presume).

#10  

@ptp You don't need to cut the plastic or solder the pins. You can hold the pikit pins in the holes while it is flashing after taking the shell top off. Only reason to make it permanent is if you are flashing often.

Do you have the bgscript and/or web pages for that customozation? That ia exactly what I was talking about making.

Alan

PRO
USA
#11  

@Alan,

good to know that, but how the contact is made, is the process safe in case of a pin disconnect like firmware corruption ?

yes i need to do some code cleaning up regarding jekyll & hide customization (3 parameter) and i can share that (github).

Only to be on the safe site, does upgrading a new firmware voids the warranty ?

#12  

Thank you thetechguru and ptp! You guys are super helpful. I dont mind opening up the ez-b and flashing firmware. Simple enough!

I've wanted to buy on of those pickit 3's for a while now, so i just did:D

My rover is going to have a pi3 onboard running a HD video feed. Is it possible to have the rpi3 cycle the ez-b?

If you guys figure out how to get ez-b to auto reconnect through firmware that sounds the most legit to me.

Thanks for the help!

#13  

Flashing does not void the warranty, oe DJ would not have pit the code and instructions up without a warning. Yes, there is probably a risk of corruption uf the pins come loose, but I have flashed 4 EZ-Bs, one of them several times and it was not hard to make sure the connection was good. Just apply even sideways pressure to the connector.

Quote:

Is it possible to have the rpi3 cycle the ez-b?

You could connect a relay board to one of the gpio of the rpi an use it as a power switch for the EZ-B.

Alan

PRO
USA
#14  

Quote:

Is it possible to have the rpi3 cycle the ez-b?

"There's more than one way to skin a cat.".

Alan's suggestion is "warranty safe".

if you voided the warranty and you have the programming pins installed (pickit), the pin number 1 (Arrow) is the MCLR.

MCLR has an internal pull-up connected to 3.3v, applying GND you will get a restart, applying 3.3v (does nothing).

you can connect to RPI or other 3.3v device and with a single wire and a common ground you will have a software restart.

#15  

Quote:

MCLR has an internal pull-up connected to 3.3v, applying GND you will get a restart, applying 3.3v (does nothing).

Nice find.

Alan

PRO
Synthiam
#16  

I don't have a v4.0 or v4.1 to give an example - but you can send an http request for the "reboot" button. That's the easiest way that requires no i/o and can be done from ARC using ez-script.