Author Topic: Wifi hangs on "Starting"  (Read 3716 times)

meldrath

  • Newbie
  • *
  • Posts: 21
Wifi hangs on "Starting"
« on: December 23, 2013, 12:26:32 am »
No matter what I do, reset, change settings, etc... all sketches hang on "starting" for the wifi.

Any ideas or help?

  Serial.println("Starting");

  while (wifi.ready() != 1)
  {
    Serial.println("Error connecting to network");
    delay(15000);
  } 
 
  Serial.println("Connected to wifi!");

the wifi.ready is either hanging somehow or I do not know.

meldrath

  • Newbie
  • *
  • Posts: 21
Re: Wifi hangs on "Starting"
« Reply #1 on: December 23, 2013, 12:31:22 am »
Please ignore, this was solved by re-entering the settings into the device that are located in the tutorial.

For anyone that resets their wifi using the code, you need to check that this doesn't get changed.

kygix

  • Newbie
  • *
  • Posts: 8
Re: Wifi hangs on "Starting"
« Reply #2 on: February 28, 2014, 08:41:32 pm »
Please ignore, this was solved by re-entering the settings into the device that are located in the tutorial.

For anyone that resets their wifi using the code, you need to check that this doesn't get changed.
Could you please be specific about what settings in the tutorial you found needed changed? I assume you're referring to this tutorial: http://digistump.com/wiki/digix/tutorials/wifi

I'm especially interested in knowing your settings for this screen: http://digistump.com/wiki/_detail/digix/tutorials/wifi/config-other-settings.jpg?id=digix%3Atutorials%3Awifi

I'm (finally) able to get my wifi to get to the main loop but can't figure out how to get it to respond.

Thanks!

meldrath

  • Newbie
  • *
  • Posts: 21
Re: Wifi hangs on "Starting"
« Reply #3 on: March 03, 2014, 12:31:48 am »
This issue was specifically related to a power issue with the wifi. If you start having hang ups on the wifi and are powering over usb, make sure to provide an additional power source to the DIGIX through the barrel connector.