Particle app cannot setup Photon

Disregard the app for now, let’s first get it working using the CLI.
Okay, some things to check:

  • have you got the proper drivers installed, DFU, and USB?
  • is the device in listening mode?
  • does particle identify see your device, and does it respond accordingly?
1 Like

WinUSB is installed, device is in listening mode, Particle Identify does not find Photon and replies Serial! no device available via serial"

Could you try following this guide to install the proper USB drivers: https://docs.particle.io/guide/getting-started/connect/photon/#installing-the-particle-driver

1 Like

Installing new driver worked as you see below but Photon LED is blue and not blinking. I reset it and now it’s blinking yellow. :confused:

Your environment has been set up for using Node.js 0.12.7 (x64) and npm.
C:\Users\Amir>particle identify

Your device id is 210027000647343232363230

C:\Users\Amir>particle setup wifi
? Should I scan for nearby Wi-Fi networks? (Y/n) y
? Should I scan for nearby Wi-Fi networks? Yes
? Select the Wi-Fi network with which you wish to connect your device: (Use arro
? Select the Wi-Fi network with which you wish to connect your device: ATT241
? Security Type: WPA2
? Wi-Fi Password: 8561898849
Attempting to configure Wi-Fi on COM5
I said: w
Serial said: SSID:
I said: ATT241

Serial said: ATT241
Security 0=unsecured, 1=WEP, 2=WPA, 3=WPA2:
I said: 3

Serial said: 3
Password:
I said: 8561898849

Serial said: 8561898849
Thanks! Wait while I save those credentials...


Done! Your device should now restart.

Alright, it seems we’re making progress…
What happens if you press the reset button now, will it go back to yellow/orange?

Yes. did it multiple times: blinking yellow.

Are you able to place it in SAFE mode? - https://docs.particle.io/guide/getting-started/modes/photon/#safe-mode

Yes. I put it in safe mode. what next?

What’s the status of the RGB led now?

looks like the same color as the video in the guide & blinking

Blinking…or breathing?

Ok can you flash this code from the Web IDE:

void setup(){
  pinMode(D7,OUTPUT);
}

void loop(){
  digitalWrite(D7,HIGH);
  delay(100);
  digitalWrite(D7,LOW);
  delay(1000);
}

I don’t think it even shows up online in IDE . Anyway code upload fails and Photon LED color remains unchanged blinking.

Ok i presume this Photon has not been claimed yet right?

  • Can you press the SETUP button till the Photon enters listening mode?
  • Sometimes it takes a while before it blinks blue so be patient.
  • Use particle serial identify and let me know how that goes.

it’s not claimed at all

C:\Users\Amir>particle identify

Your device id is 210027000647343232363230

Ok cool!

Do this:

  • place it in SAFE mode
  • Once the Photon is breathing magenta, do a particle device add 210027000647343232363230

It seems I misinformed you. I can not make it breath it BLINKS only. The color is bluish not redish. Probably it does not go to safe mode. Your vibe video is so short that neither the color nor it’s behavior is understandable. Please make a video guide to explain complex troubleshooting process.

If it blinks, it means that the Photon is performing OTA update. - https://docs.particle.io/guide/getting-started/modes/photon/#ota-firmware-update

Anyways, can you do this:

  • npm update -g particle-cli
  • place the Photon in DFU mode
  • particle update
  • let us know what’s the status of the RGB led

I did it 3 hours ago and installed the new tinker app too. Please check my previous posts. Then I used mobile app. Everything was fine until the last step: couldn’t claim Photon!

So i suggested particle device add 210027000647343232363230. Does it work?

Does that device show up using particle list?

  • Place in SAFE mode
  • particle device add 210027000647343232363230

failed though it’s blinking :no_mouth:

C:\Users\Amir>particle serial identify

Your device id is 210027000647343232363230

C:\Users\Amir>particle device add 210027000647343232363230
Claiming device 210027000647343232363230
Failed to claim device, server said  { ok: false, errors: [ 'Device is not conne
cted' ] }