Raspberry PI 2040 and micropython
Thonny IDE

Raspberry PI 2040 and micropython

I've had some fun and few late nights playing with Raspberry Pi Trading RP2040 MCU using a Pimoroni tiny2040. Taking the #micropython leap

My first attempt at coding mcu's was on Motorola 6800 & then a Z80 in the 80s. I had to wait till to around 2013 when Eclectic Imp came on the seen but using a web IDE the Squirrel langue which was close enough to Javascript for me to get cracking. I built a Granny monitor for mother in law and few friends with elderly parents.

Then I discovered LoRa long range RF but there was very little to NO products to show customers so I designed a sensor/actuator and used Espruino which is a #javascript interpreter for a ST MCUs. and used a LoRaWAN modem (mDot) via AT commands.

What both Squirrel & mcu Javascript have in common is event processing so date arrives at uart you get on.data() called to handle.

I had played a little with #micropython but going from the curly bracket world to Tabs, loops and sleep thing was something a of wee barrier.

I started with nothing but I now have a Bosh BME680 sending data to #TTN community LoRaWAN and then to influxDB & Grafana.

Have to say the RP SDK documentation is very good. I do hope they bring an interrupt handler for UART.irq which the WiPy supports.

The Thonny IDE is very easy to use and I'm going to try a plugin for VScode. There are lots of tutorials for the RP2040/Pico and I learnt a lot of those kind folks who have shared.

I can easily see RP2040/Pico becoming a very popular platform for physical computing and the IoT.

要查看或添加评论,请登录

Lawrence Griffiths - IoT的更多文章

  • Wireless sensors, MQTT Sparkplug & SCADA

    Wireless sensors, MQTT Sparkplug & SCADA

    LoRaWAN wireless sensors networks are deployed in a wide range of applications but have little penetration in…

    36 条评论
  • Sparkplug\UNS\Node-RED \LoRaWAN

    Sparkplug\UNS\Node-RED \LoRaWAN

    I've had a wee side project on the go in anticipation of a new bit of hardware being able to support the current…

    1 条评论
  • Building a LoRa-Installer app with Retool

    Building a LoRa-Installer app with Retool

    First up what is an installer app? Simply its a means of recording the details about a sensor install. However for some…

    8 条评论
  • On the bench with an OPTA PLC

    On the bench with an OPTA PLC

    I've been waiting a while for a low cost feature rich micro PLC. So when at the end of 2022 Arduino announced the #OPTA…

    2 条评论
  • OPTA micro PLC some thoughts

    OPTA micro PLC some thoughts

    There here have been a number of rather derisory comments from some in the trad automation world regarding the Arduino…

    3 条评论
  • LoRaWAN backup power monitor

    LoRaWAN backup power monitor

    I was recently asked if I knew of LoRaWAN based product that could monitor a solar/wind charger and invertor. Brief…

    9 条评论
  • LoRaWAN class C two channel actuator

    LoRaWAN class C two channel actuator

    Occasionally I google to get a sense of the growing LoRaWAN eco system. ThingPark market is very good source for that…

    2 条评论
  • Introducing the piLC - controller

    Introducing the piLC - controller

    Let me introduce you to the piLC a wee industrial controller built around the Raspberry PI Pico. I've spent many years…

    5 条评论
  • LoRaWAN to KNX integration with Milesight Smart Scene Panel

    LoRaWAN to KNX integration with Milesight Smart Scene Panel

    Milesight IoT have just released two new six push-button devices for building automation. These were developed for…

  • Alerting with Grafana

    Alerting with Grafana

    Grafana Labs 8 has a new unified alerting system so I've decided I'm going to move away from my Node-Red based alerting…

    2 条评论

社区洞察

其他会员也浏览了