SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions about carrier boards have here!
User avatar
By Costas
#232268
Hi all, first post.

I recently got an AWS ExpressLink Tracker board for a work project. I am making an enclosure for it, so the buttons will be inaccessible. I am looking for a way to control the SARA button from code. I have both an ESP32 w/ the Arduino IDE and an RP2040 w/ MicroPython, so I can use either language, though I prefer MicroPython for simplicity.

I read that you need to pull the PWR_ON pin high for 1 second, though in MicroPython there isn't a pin with that designation.

Does anyone have any example code I can reference?

Thanks!
User avatar
By rpiloverbd
#232288
Could not find any other tutorial or example code apart from the documents given here:https://www.sparkfun.com/products/18450
I think you'll get enough clues if you study these meticulously. And if you ever consider choosing any simple gps module for arduino based projects, this write-up may help you: https://www.theengineeringprojects.com/ ... -isis.html
#236466
It has been a while and still no luck! The Arduino examples provided only work for the Artemis micromods. As I am using the ESP32, I cannot get it to start the modem from code.

The documentation for the ESP32 says:
Pin 44 - G2/BUS2 - LTE_PWR_ON - General purpose pin configured for turning SARA on/off
I've tried the following pins:
44, 34, 3, 2, G2...
With the code:
Code: Select all
SARA_R5 mySARA(44);
mySARA.modulePowerOn();
 Topic permissions

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum