{"action":"created","issue":{"url":"https://api.github.com/repos/spark/firmware/issues/692","labels_url":"https://api.github.com/repos/spark/firmware/issues/692/labels{/name}","comments_url":"https://api.github.com/repos/spark/firmware/issues/692/comments","events_url":"https://api.github.com/repos/spark/firmware/issues/692/events","html_url":"https://github.com/spark/firmware/issues/692","id":111436922,"number":692,"title":"Problems connecting to Photon's SoftAP - stuck at Obtaining IP...","user":{"login":"mebrunet","id":4448273,"avatar_url":"https://avatars.githubusercontent.com/u/4448273?v=3","gravatar_id":"","url":"https://api.github.com/users/mebrunet","html_url":"https://github.com/mebrunet","followers_url":"https://api.github.com/users/mebrunet/followers","following_url":"https://api.github.com/users/mebrunet/following{/other_user}","gists_url":"https://api.github.com/users/mebrunet/gists{/gist_id}","starred_url":"https://api.github.com/users/mebrunet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mebrunet/subscriptions","organizations_url":"https://api.github.com/users/mebrunet/orgs","repos_url":"https://api.github.com/users/mebrunet/repos","events_url":"https://api.github.com/users/mebrunet/events{/privacy}","received_events_url":"https://api.github.com/users/mebrunet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-10-14T16:29:51Z","updated_at":"2015-11-29T21:43:48Z","closed_at":null,"body":"We've been actively working with roughly 30 Photons for the last few months. We are seeing a strange inconsistency in our ability to connect to Photons' WiFi access points when the devices are in listening mode. \r\n\r\nAfter use (multiple connections, sets of credential, firmware flashes... etc.), some of the devices seem to get into a state where we cannot connect to their Soft AP access point. i.e. when we put the device into listening mode and select its access point from the list of WiFi networks, the connection fails. The connection process may either hang on message \"Obtaining IP...\" (Android 5/6), or returns error \"DHCP lookup failed\" (Ubuntu 12.04, Windows 7).\r\n\r\n*Steps taken that do not consistently solve the issue:*\r\n- Clearing the credentials,\r\n- Resetting the device,\r\n- Full re-flash of the latest firmware (v0.4.5 or v0.4.6: tinker + core modules). \r\n\r\n*Steps taken that consistently solve the issue:*\r\n- Connecting to another AP. Resetting the Photon, then immediately connecting to the Photon's AP (within 10 seconds).\r\n- Flashing firmware version 0.4.3. \r\n\r\nWe've seen about a dozen devices get into this state at one point or another. "},"comment":{"url":"https://api.github.com/repos/spark/firmware/issues/comments/160474236","html_url":"https://github.com/spark/firmware/issues/692#issuecomment-160474236","issue_url":"https://api.github.com/repos/spark/firmware/issues/692","id":160474236,"user":{"login":"peterqu","id":4119183,"avatar_url":"https://avatars.githubusercontent.com/u/4119183?v=3","gravatar_id":"","url":"https://api.github.com/users/peterqu","html_url":"https://github.com/peterqu","followers_url":"https://api.github.com/users/peterqu/followers","following_url":"https://api.github.com/users/peterqu/following{/other_user}","gists_url":"https://api.github.com/users/peterqu/gists{/gist_id}","starred_url":"https://api.github.com/users/peterqu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterqu/subscriptions","organizations_url":"https://api.github.com/users/peterqu/orgs","repos_url":"https://api.github.com/users/peterqu/repos","events_url":"https://api.github.com/users/peterqu/events{/privacy}","received_events_url":"https://api.github.com/users/peterqu/received_events","type":"User","site_admin":false},"created_at":"2015-11-29T21:43:48Z","updated_at":"2015-11-29T21:43:48Z","body":"Hello,\r\n\r\nSolder a photon to a bare board is a great idea.  You can skip the regulator and power the Photon directly through the USB.  Let us know if that fixes the issue.\r\n\r\nOnce we can confirm the issue is somewhere on the board.  I can share with you a few tips to improve the board design for your next rev.  \r\n\r\nPhoton indeed has on-board regulator and decoupling capacitor that would reject noise on the supply.  In general, I found that Photon is pretty forgiving in handling input fluctuations but it has its limit.  You can help to improve the supply voltage by using parallel decoupling capacitors, better capacitor component,  etc.\r\n\r\nI also agree that documentation has room to improve.  The challenge is to address every nuances in electrical engineering while keeping the document concise.  Since Photon shield is open source, you can fork an existing shield as an starting point to minimize some risk in PCB design."}}