Imp C001 breakout - great!


#1

Just today receive cellular C001 breakout board.
Blink-up was easy (except that antenna plug) and fine, in a bit longer as WiFi blink-up.
Quick well-known imp web-server example (directly copy-paste from imp webpage, just change I2C RH-T sensor pins as told) works as expected.
I have no idea what cellular network was in use - Latvian Mobile phone (in general Telia) or Tele2 - and seems that it’s not important.
So in Riga, Latvia cellular C001 work fine, as imp001 do in 2012.
Great job! Thanks to all imp team!


#2

The first connect is always a little slow - usually it’s about 40-50 seconds to cold boot the modem and attach to a network, then do the secure imp connection.

You can find the cellular network in use like this:

local iface = imp.net.info().interface[0];
if ("rssi" in iface) server.log("rssi = "+iface.rssi);
if ("cellinfo" in iface) server.log("cellinfo = "+iface.cellinfo);

Cellinfo include the MCC/MNC of the network, cell ID, etc. It looks like this:

4G,6300,20,10,10,FDD,234,10,2046,7D5001E,482,18,-105,-10.0,NOCONN

Here, 234,10 are the network (O2 UK in this case, see http://www.mcc-mnc.com/ to look them up)


#3

Thanks Hugo! Got it!


#4

Echoing PeterAP, blinkup worked well, and the simple webserver app runs with just that one mod.

I do have a question about the onboard LED; when I paste in the example code found at
developer.electricimp.com/hardware/resources/reference-designs/impc001breakout
it compiles without error, but the LED does not flash.

Is it possible that the SPI port implemented in the HW has changed since the sample code was posted?
(my breakout board rev is 4.2 20180713)

In general, the startup guide was very clear and the steps were easy to follow. This is looking like a
really great product.


#5

Ah, the example does not include turning the power gate on. I’ve updated the example, but just add:

// Turn on power to peripherals
hardware.pinYG.configure(DIGITAL_OUT, 1);

…to the top of your code and try again?


#6

Yup, that did it.

Thanks, Hugo, you guys rock!