Using PyCom boards with Arduino IDE
-
@volodymyr
Thank you for your post. Yes it's possible to run any ESP32 environment such as the Arduino however this isn't officially supported by Pycom. -
@jmarcelino Thx. Updated my post to reflect this.
-
I'm not sure if topicstarter is still on Pycom, but I can't seem to get this to work. The first example doesn't build because of the FastLED library, but I can make it a hello world that just prints over serial.
So the arduino part works. I do have a problem communicating with the LTE modem tho, as in, it doesn't reply at all. Did something change in firmware on the fipy/modem/...?
-
thanks @Volodymyr for you post, i'm trying to see if i can use lopy4 with the arduino ide (or platformio) and i wonder where to find the doc or the code to run sigfox functions in cpp. Can you give me a hint ?
-
Has anyone had success with this? When running the above code, I get an "OK" in response to "AT" but every other code that I've tried results in an "ERROR" response from the modem.
-
@mattt I never even had an OK back. Did you use the exact same code?
-
-
I did have to add
#define SerialAT Serial2
@Lonefish said in Using PyCom boards with Arduino IDE:Did you use the exact same code
-
Have anyone managed to do it with a Gpy ?, I have been trying without success
I am defining the UART pins as :
#define LTE_TX 23 #define LTE_RTS 18 #define LTE_RX 5 #define LTE_CTS 19 -
@mattt said in Using PyCom boards with Arduino IDE:
I did have to add
#define SerialAT Serial2That seemed to work indeed! Sending AT+CSQ replied with 99,99 which is no connection. Haven't tried it any further, but it's more than I had a few months ago ;) Thanks!
EDIT : There was no antenna connected nor was there a SIM inserted, so the 99,99 is logical.
-
@Lonefish I'm wondering if you got this working ;)
I have updated the OP use the Serial2. -
@Volodymyr I'm restarting my efforts to get this working again. Have been jumping from POC to POC. But we're switching to esp-idf instead of Arduino. Although, once it's working in esp-idf, it'd be an easy port to arduino back probably.
ATM I'm still at the "having communication" part, no actual internet connection yet, but just started working on it again.

-
I'm using this library at the moment, I can attach and connect to the network, but my efforts fail when I want to do some actual calls to servers. I don't seem to have http-traffic:
-
@Lonefish Ever get TinyGSM working? I need to sent CoAP UDP messages with it. I've used TinyGSM with other Arduino computers on standard ublox cell modules but new to narrow band.
-
@Lonefish
Hello, did you finally able to use TinyGSM with FiPy or GPy in order to call servers? -
Would be also interested to use FiPy or GPy with TinyGSM for Arduino
-
@Clemens said in Using PyCom boards with Arduino IDE:
Would be also interested to use FiPy or GPy with TinyGSM for Arduino
hi, you may look here: https://github.com/vshymanskyy/TinyGSM/issues/579
bye, pottendo -
I'm getting this error whenever I try to compile anything for the GPy:
[15975] Error loading Python lib '/var/folders/57/hyd6ntr1233_x_brscxdp8480000gn/T/_MEI7xbrkg/libpython3.8.dylib': dlopen: dlopen(/var/folders/57/hyd6ntr1233_x_brscxdp8480000gn/T/_MEI7xbrkg/libpython3.8.dylib, 10): Symbol not found: ____chkstk_darwin Referenced from: /var/folders/57/hyd6ntr1233_x_brscxdp8480000gn/T/_MEI7xbrkg/libintl.8.dylib Expected in: /usr/lib/libSystem.B.dylib in /var/folders/57/hyd6ntr1233_x_brscxdp8480000gn/T/_MEI7xbrkg/libintl.8.dylibI have just re-installed Python 3.9.
Anyone know how to fix this?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login