Mojo card not found on notecarrier

am trying to install the mojo card on the notecarrier

I followed the diagram on the above link (see attached pic) but when I connect a USB cable to the notecarrier and open the In-Browser Terminal - IoT Connectivity at Blues and connect to the usb and run this command it says:

{“req”:“card.power”}

{“err”:“you have no mojo {no-mojo}”}

{ “req”: “card.version”} it returns: ( I did not include all the lines below)
“version”: “notecard-11.1.1.17494”
“board”: “5.13”,

“ver_build”: 17494,

thanks

fyi not sure if I was supposed to power down or reset after plugging in the mojo board or if this happened when I plugged in the USB cable to the notecarrier but I noticed the notecard-cellular card was flashing red. Also my esp32 which would send readings every 5 minutes stopped working. I unplugged everything, removed the mojo board , reattached the battery and the esp32 is now working again. Not sure what I did wrong :frowning:

Hi @JimK,

There is a note/warning in the Mojo quickstart that specifies:

Notecard will only detect the presence of a Mojo if they are connected prior to Notecard being powered on.

So that’s likely the problem here. Glad you got it working!

Rob

I powered unplugged the lipo battery, unplugged the uSB cable from the notecarrier and esp32, then added the mojo board, plugged back in the USB to the notecarrier , (I did not plug in the esp32 USB for now and if a remember correctly i only need that USB if I am uploading code or using the serial monitor window for the esp32 ?

Then I opened the In-Browser Terminal - IoT Connectivity at Blues , connected and ran the command and got output (good)

{"req":"card.power"}
{
 "temperature": 24.001565551757835,
 "voltage": 4.12646484375,
 "milliamp_hours": 0.253708
}

BUT I noticed my esp32 is not running (it is plugged into the notecarrier) I manually reset the esp32 using the reset button on it, and I am using the built in neopixel to indicate various states and it seems to stop in the code in steup() here:

serialDebug.begin(115200); //Improved serial debug to Arduino with debug levels an simple software debugger, Replacement to standard serial debug of Arduino
while (!serialDebug) {
; // wait for serial port to connect. Needed for native USB
}

I think I had copied those lines way back when from some sample code and assume it is in a infinite loop there. Can I comment out the while (!serialDebug) and still plug in a USB cable to the esp32 to load and using the arduino serial window ? I think that serialDebug is for notecard to print lines to the arduino serial monitor window ?

thanks

It seems like the notecarrier / notecard is hung, it just keeps flashing a red light. I unplugged the usb cable to the notecarrier and rebooted the esp32 and it seemed to connect again. Not sure why it keeps hanging ?

Hi @JimK,

The Notecarrier F will only supply power to your Feather is the FEATHER_EN dip switch on the back is set to ON. Otherwise you’ll need to power the Feather separately with a LiPo for instance.

And yes while (!serialDebug) will never advance if you don’t have anything plugged in to the USB port on your Feather. Without seeing the rest of your code it’s hard to say for sure how this would impact functionality, but usually you’d want it to timeout automatically with some code like this:

  // Wait for serial (with timeout)
  unsigned long serialStart = millis();
  while (!serialDebug && (millis() - serialStart < 3000))
    ;

Hope that helps!
Rob