RAK 11300 and Micropython.

RP2040 based microcontroller boards running MicroPython.
Target audience: MicroPython users with an RP2040 boards.
This does not include conventional Linux-based Raspberry Pi boards.
Post Reply
mrpackethead
Posts: 10
Joined: Sun Feb 27, 2022 1:26 am

RAK 11300 and Micropython.

Post by mrpackethead » Sun Feb 27, 2022 1:32 am

Hello Pythonists,

Im wondering if anyone else is trying to use micropython on using RAKWirless's RAK11330?

Its got a RP2040 on it, so it should not be too far of a stretch to do it. ( i've got some on order, hopefully coming in the next week or so )..

I'll be looking for lora / lorawan modules

https://store.rakwireless.com/products/ ... e-rak11300

KJM
Posts: 158
Joined: Sun Nov 18, 2018 10:53 pm
Location: Sydney AU

Re: RAK 11300 and Micropython.

Post by KJM » Sun Feb 27, 2022 12:14 pm

The 2.0 to 3.6v supply range means it will need an external voltage reg to run it from a lipo, but nice price. I'd be interested to see how well it works. I had a lot of grief trying to connect Pycom's lopy4s to TTN few years back, OTAA sort of worked but ABP was hopeless.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: RAK 11300 and Micropython.

Post by Roberthh » Sun Feb 27, 2022 1:03 pm

I had the opposite experience with ABP and OTAA. While ABP always worked, once set up properly for all times, OTAA had problems with timing and signal levels.

mrpackethead
Posts: 10
Joined: Sun Feb 27, 2022 1:26 am

Re: RAK 11300 and Micropython.

Post by mrpackethead » Mon Feb 28, 2022 4:10 am

Its essetnially an RP2040 and a SX1262..

Are there exisiting modules to make that work? Any pointers.

I found this.. ( https://github.com/lemariva/uPyLoRaWAN )

FYI, still finding my feet with micropython. I'm a long time Python coder, long time electronics guy, but trying to fill in the gaps..

mrpackethead
Posts: 10
Joined: Sun Feb 27, 2022 1:26 am

Re: RAK 11300 and Micropython.

Post by mrpackethead » Mon Feb 28, 2022 4:53 am

It was suggested on the rak forum https://forum.rakwireless.com/t/microp ... 310/6431/2 that perhaps that i could use the repo

https://github.com/lemariva/uPyLoRaWAN

and port the sx127x.py to SX1262.

mrpackethead
Posts: 10
Joined: Sun Feb 27, 2022 1:26 am

Re: RAK 11300 and Micropython.

Post by mrpackethead » Mon Feb 28, 2022 7:36 pm

heres a port of the sx1262..

Looks like most of the works been done.. i just need to join this all together.

mrpackethead
Posts: 10
Joined: Sun Feb 27, 2022 1:26 am

Re: RAK 11300 and Micropython.

Post by mrpackethead » Sat Mar 05, 2022 5:14 am

The parts arrived in the mail yesterday

Image

mrpackethead
Posts: 10
Joined: Sun Feb 27, 2022 1:26 am

Re: RAK 11300 and Micropython.

Post by mrpackethead » Sat Mar 05, 2022 7:30 am

So, i've hit a bit of a setback.. and not entirely sure what to do next. I put the RAK11300 into bootloader mode. Got the RP2 drive up and copied the RP2040 Python UF2 file into it.. It Immediatlely rebooted, as expected , and COM6 appeared on my machine. ( i'm using windows 11, Pymakr and Vscode ).. The REPL just doe'stn want to respond.... ( nb, its fully funcitonal running the arduinio code )..

Do I need to build a custom version of micropython?

Post Reply