Starting with NB-IoT Shield - Arduino Uno

I am a newbie with the NB-IoT shield and I would like some help to start. I have a NB-IoT Shield and an Arduino Uno board on Ubuntu 16.04. I have installed the Arduino IDE and followed the instructions in

http://support.sodaq.com/sodaq-one/getting-started/

to set everything up. I am confused about the Mbili part. Do I need to set it up or does it have nothing to do with the NB-IoT?

Do I simply write some sketch code and upload it?

Please note that I have already added the SODAQ NB-IoT library.

Thanks a lot for any help, and apologies if these questions are silly.

Galini

Hi Galini,

See this thread.

Regards,
Thom

Hi Thom

Thank you for the reply. Just to make sure I understood correctly, since I am using Arduino Uno I need to use SoftwareSerial. Then I can use code like this:

http://support.sodaq.com/sodaq-one/at/

adapted to include definitions for the Uno board. Then it’s a matter of uploading the code to the board, is that right?

Thank you
Galini

Hi Galini,

No, you cannot physically attach the shield to the uno, the tx and rx pins are on the same pins as usb communication.
You will need to wire it all with some jumper cables.

Regards,
Thom

Hello Thom,

again, thanks for the reply. Is there a diagram of how to wire them or do I simply connect the TX and RF pins of the UNO and SODAQ shield?

Regards,
Galini

Hi Galini,

You need to wire 3v3 and gnd.
Then wire pin 0 and 1 of the shield to your selected softwareserial pins on the uno.
You will also have to wire pin 7 on the shield, that’s the n211 power enable.

Regards,
Thom

Hi Thom,

I’m sorry to ask again. So, I’ve wired

  • 3.3v on the shield to GND on Uno (power section)
  • D0/RX1 on shield to pin 10 on Uno
  • D1.TX0 on shield to pin 11 on Uno
  • D7 on shield to GND on Uno (power section)

But the shield doesn’t seem to turn on. I’m sure I am doing something wrong but I’m not sure what.

Thanks a lot for all the help
Galini

Hi Galini,

You seem to have misunderstood.
What I meant is:
3v3 <> 3v3
GND <> GND
7 <> 7 ( or 3v3 )

RX/TX your choice.

Regards,
Thom

Hello Thom

yes I have totally misunderstood. It seems like it’s going better now and I can send basic AT commands to the shield.

Once again thank you very much for all the help.

Best,
Galini