Two New Electrons

Hello, I just bought two electrons and none of them connects to the cloud. They just blink cyan fast all the time, but not breathing. I followed doing the same thing mentioned here and still nothing. I have other electrons in my account and never had this issue. Maybe like @Dave mentioned that those electrons are not provisioned on the particle cloud Yet?
Thank You

Are you sure there aren’t any other colors visible? Could you take a quick video of the pattern?

Thank you @Moors7 for your reply. I don’t see any other color. Just blinking green, slow blinking cyan and then fast blinking cyan. I have bought 5 electrons and only one so far got connected perfectly fine. I just tried to setup the 4th one and is doing the same thing. Maybe I got a bad batch? Here is the video link.

Something else I noticed is. If you open a new tab and go to the Billing & Usage, you’ll see the new device there, but with no name. Here is a picture of what Im talking about.


Thank You

Could you try swapping the SIMs of the working one with the misbehaving ones to see if that makes a difference?

I got the working SIM card and put it on the non working Electron and it does the same thing. Blinking fast cyan.

Have you made sure the connections are all in order? Make sure the SIM card holder makes sufficient contact, as well as making sure the antenna is properly attached.

Yes, I have done all that, and other options. Including changing the battery swapping the antennas etc…

Any other suggestions?

I couple of things come to mind. The cloud needs to have them provisioned to fully connect to the cloud. Have you completely run through the setup.

Another step is checking to be sure the latest firmware is on the Electrons. The current latest stable is 0.6.2. This will require Particle CLI or a serial/terminal program at least to discover the firmware version.

We can actually check to see if the SIM card is operating by flashing any program to the device with this added above the loop() and setup() functions [see Logging]:

// Use primary serial over USB interface for logging output
SerialLogHandler logHandler;

Once flashed to the Electron, switch to your serial/terminal program and capture the output. I particularly like to use Particle CLI to do this.

particle serial monitor --follow

To capture the very beginning, you may need to plug the electron in, run the command and then hit the Reset button. At the very top we can at least see that the SIM card is ok.

Serial connection closed.  Attempting to reconnect...
Serial monitor opened successfully:
0000001231 [system] INFO: Sim Ready
0000001231 [system] INFO: ARM_WLAN_WD 1
0000001591 [system] INFO: ARM_WLAN_WD 2
0000001591 [system] INFO: CLR_WLAN_WD 1, DHCP success
0000001593 [comm] INFO: channel inited
0000001593 [system] INFO: Cloud: connecting
0000001594 [system] INFO: Read Server Address = type:1,domain:$id.udp.particle.io
0000002245 [system] INFO: Cloud socket connected
0000002245 [system] INFO: Starting handshake: presense_announce=0
0000002245 [comm.protocol.handshake] INFO: Establish secure connection
0000002260 [comm.dtls] INFO: (CMPL,RENEG,NO_SESS,ERR) restoreStatus=0
0000002261 [comm.dtls] INFO: out_ctr 0,1,0,0,0,0,0,10, next_coap_id=6
0000002261 [comm.dtls] INFO: app state crc: 1094a13b, expected: 1094a13b
0000002262 [comm.dtls] WARN: skipping hello message
0000002262 [comm.dtls] INFO: restored session from persisted session data. next_msg_id=6
0000002262 [comm.dtls] INFO: session cmd (CLS,DIS,MOV,LOD,SAV): 2
0000002474 [comm.protocol.handshake] INFO: resumed session - not sending HELLO message
0000002474 [system] INFO: cloud connected from existing session.
0000002475 [system] INFO: Cloud connected
0000004768 [comm.protocol] INFO: rcv'd message type=13

The logging provides some additional diagnostics including noting the firmware on the working and non-working electrons.

Hello @cermak, (1). I did the setup, since never goes to breathing cyan I can’t finish it.( 2). It has ver. 0.6.2 ( 3). I need to learn how to do that code to flash it to see the log.

@Kuto

The easiest thing to do is just add that line to any firmware code you have. I’ll add it to the tinker.ino as seen on the web IDE. You can also grab this code from GitHub to work form the Particle CLI.

/***
 * All the based tinker functions are registered. You can add you own code.
 ***/

// This #include statement was automatically added by the Spark IDE.
#include "Tinker.h"

void setup() {
	//Register all the Tinker functions
	Spark.function("digitalread", tinkerDigitalRead);
	Spark.function("digitalwrite", tinkerDigitalWrite);
	Spark.function("analogread", tinkerAnalogRead);
	Spark.function("analogwrite", tinkerAnalogWrite);
}

void loop() {
} 

Adding logging:

/***
 * All the based tinker functions are registered. You can add you own code.
 ***/

// This #include statement was automatically added by the Spark IDE.
#include "Tinker.h"

// Use primary serial over USB interface for logging output
SerialLogHandler logHandler;

void setup() {
	//Register all the Tinker functions
	Spark.function("digitalread", tinkerDigitalRead);
	Spark.function("digitalwrite", tinkerDigitalWrite);
	Spark.function("analogread", tinkerAnalogRead);
	Spark.function("analogwrite", tinkerAnalogWrite);
}

void loop() {
}

This is what I get.

Serial connection closed. Attempting to reconnect…
Serial monitor opened successfully:
0000000741 [system] INFO: Sim Ready
0000000741 [system] INFO: ARM_WLAN_WD 1
0000020561 [system] INFO: ARM_WLAN_WD 2
0000020561 [system] INFO: CLR_WLAN_WD 1, DHCP success
0000020583 [comm] INFO: channel inited
0000020583 [system] INFO: Cloud: connecting
0000020583 [system] INFO: Read Server Address = type:1,domain:$id.udp.particle.io
0000021336 [system] INFO: Resolved host 49004b000151363131363432.udp.particle.io to 54.152.148.189
0000021428 [system] INFO: Cloud socket connected
0000021428 [system] INFO: Starting handshake: presense_announce=0
0000021428 [comm.protocol.handshake] INFO: Establish secure connection
0000021439 [comm.dtls] INFO: (CMPL,RENEG,NO_SESS,ERR) restoreStatus=2
0000027204 [comm.protocol.handshake] INFO: Sending HELLO message
0000095562 [comm.dtls] INFO: session cmd (CLS,DIS,MOV,LOD,SAV): 0
0000095562 [comm.protocol.handshake] ERROR: Could not send HELLO message: 10
0000095563 [system] WARN: Cloud handshake failed, code=10
0000095813 [system] INFO: Cloud: disconnecting
0000096313 [system] INFO: Cloud: disconnected
0000096563 [system] INFO: Cloud: connecting
0000096563 [system] INFO: Read Server Address = type:1,domain:$id.udp.particle.io
0000099115 [system] INFO: Resolved host 49004b000151363131363432.udp.particle.io to 54.175.126.153
0000099135 [system] INFO: Cloud socket connected
0000099135 [system] INFO: Starting handshake: presense_announce=0
0000099135 [comm.protocol.handshake] INFO: Establish secure connection
0000099146 [comm.dtls] INFO: (CMPL,RENEG,NO_SESS,ERR) restoreStatus=2
0000104849 [comm.protocol.handshake] INFO: Sending HELLO message

1 Like

Hi @Kuto,

Sorry about the delay on my end, and thanks to everyone who is helping troubleshoot. I believe I have detected a synchronization issue with one of our factories with a recent shipment of devices and I’m working to resolve it this morning.

Thanks,
David

5 Likes

Hi All,

I have provisioned a number of missing electrons, if you were having trouble getting online with your brand-new electron, please try it again, I’m hoping this will fix that issue for you. If not, please ping me about your electron and I’ll look into it.

Thanks,
David

2 Likes

Hello @Dave,
All of them are working now. Thank you very much!

Kuto

2 Likes