LowPowerLab Forum

Hardware support => Moteino => Topic started by: vdbulcc on November 14, 2020, 05:48:23 PM

Title: Using Moteino USB -R6/LMIC/LoraWan/The Things Network
Post by: vdbulcc on November 14, 2020, 05:48:23 PM
Hello,

I've got a Moteino USB-R6 with built in RFM95 radio and  I'm using the LMIC library and instructions from https://github.com/lukastheiler/ttn_moteino. 
I see that lukastheiler is using a Moteino MEGA. I have wired up the RFM95's D0 & D01 pins to my Moteino-USB pins just as depicted.

The problem I have is that I can't load the Moteino any more as long as the wiring is in place. Even the Blink program wouldn't load.
I get following message; avrdude: ser_open(): can't open device "\\.\COM5": Toegang geweigerd.

Anyone having experience with the Moteino USB-R6 and this setup?  Is the MEGA so different from my model?

Thanks,
Carl

Title: Re: Using Moteino USB -R6/LMIC/LoraWan/The Things Network
Post by: Felix on November 14, 2020, 08:46:58 PM
MoteinoUSB != MoteinoMEGA
Pins 0 and 1 on the MoteinoUSB are the Serial pins, used for the sketch uploads, you should pick other unused pins.
The pins and their functions are illustrated here (https://lowpowerlab.com/guide/moteino/out-of-box/).