Arduino support on LoPy
-
@jsp The question is: what do you expect from "We'll make LoPy compatible with the Arduino IDE"? That could be two things:
a) Use the Arduino IDE (like Pymakr now) to code and test your Python scripts
b) Use the Arduino environment including C/C++ for coding.
I understand the intention was a), since the pycom.io set of products focuses on micropython as THE language to use.
Assuming option a), there is not benefit in using the Arduino IDE. For this actual purpose, it is in now way better than pymakr + Atom, or the set of basic tools you can use. -
@robert-hh said in Arduino support on LoPy:
Pymakr
I was under the impression that PyMakr is retired.
I vote for b), "Use the Arduino environment including C/C++ for coding."
I am interested in continuing to learn (micro)python, but don't see how Arduino IDE and Python work. -
@barsznica PyMakr new as Plugin for Atom etc.
If you want to use C/C++, then better start at espressif itself as the primary source. http://espressif.com/en/products/software
and their github lib:
https://github.com/espressif
There you also find an Arduino branch. -
I'm pretty sure you can run the ESP32 Arduino core on any Pycom board
https://github.com/espressif/arduino-esp32
For LoRa the arduino-lmic you linked to needs changing because of different DIOx pins used but it shouldn't be a massive job. So looking at it perhaps Arduino can be supported with only a small effort.
I do agree with Robert that Pycom as the name suggest should focus on Python -and there is a lot to be done there. But if Arduino support is simple to add as a community project it doesn't change focus that much. Above all, even above supporting Python, Pycom is about making development as easy as py ;-)
-
@jmarcelino
That's fair enough of you're in the EU or US, but I don't want to go stuffing around with the multiple settings for other regions (ie AU915).
PyCom have done it (properly, I assume), so I will look into it again... -
@barsznica said in Arduino support on LoPy:
Even in Python you need to set the frequencies for AU915 operation, because while the standard specifies 72 channels, real world gateways only support 8.
That said Pycom is looking to make this process easier, with some defaults for known networks rather than the full manual process it is now.
The LMIC code isn't all that different.
-
This post is deleted! -
@robert-hh said in Arduino support on LoPy:
a) Use the Arduino IDE (like Pymakr now) to code and test your Python scripts
b) Use the Arduino environment including C/C++ for coding.Hi,
If they meant a), why a stretch goal trying to raise more money ? To give the 'added value' for using one of the ugliest IDE in the world for coding in Python ? Don't get me wrong, I like Arduino philosophy, but the IDE is way too limited (it's right for not intimidating beginners, tho').
Should (must ?) be b), but whatever you see it, such a stretch goal was 'strange', to say the least, because Espressif is working on Arduino compatibility, not Pycom (happy to be wrong).
-
@duffo64
From what I understand (Pycom may see it differently) the Kickstarter goal was to use the Espressif Arduino layer and Pycom would provide Arduino C libraries to the communication side of their boards: LoRa, Sigfox and soon LTE Cat M1/M2I'd think this is very much still the plan. Can't see why they would give up on providing a layer to an incredible popular platform like the Arduino. That said Python is likely the priority and their focus for the past months.
-
I was able to run Arduino on FiPy without issues. Should work on the LoPy too: https://forum.pycom.io/topic/3134/using-pycom-boards-with-arduino-ide/1
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