Posts

Getting started with thonny and raspberry pi pico

Image
As discussed, in my last blog I told you how to setup micropython on raspberry pi pico in today's blog I will show you how to control your pico with micropython scripts the IDE we are going to use is Thonny. You can download thonny from here . Thonny Thonny is an integrated development environment for Python that is designed for beginners. It supports different ways of stepping through the code, step-by-step expression evaluation, detailed visualization of the call stack and a mode for explaining the concepts of references and heap. Thonny with Pico Thonny can be use to program Pico and the steps are quite easy. 1.) Connect your board to your system. 2.) Launch thonny now look for "Run" drop down menu and click on select interpreter and from the list select "Micropython (Raspberry pi Pico)". 3.) After selecting interpreter click on Install or update your firmware on the right bottom corner of the screen this will fix any persisting problem with the firmware of y

Getting started with Raspberry pi pico and controlling it with micropython (windows users)

Image
  Raspberry pi The Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer monitor or TV, and uses a standard keyboard and mouse. It is a capable little device that enables people of all ages to explore computing, and to learn how to program in languages like Scratch and Python.                                                                Raspberry pi Pico Raspberry Pi Pico is micro-controller board powered by a powerful Raspberry Pi designed dual core ARM Cortex M0+ Processor and has 256KB RAM and 2MB Flash. Well that sums up the concept of Raspberry pi pico. Let's get started with the main steps. Pico comes blank it's up to us whether to program it with c,c++ sdk or micropython sdk. In this blog I will be covering the pico with  micropython. There are certain steps that we have to keep in mind in order to setup python sdk on our Raspberry pi pico. 1. We have to download the .uf2 file from the official website. 2. Now , we have to connect the board

How to reset NodeMCU from MicroPython to Embedded C(Arduino Console)

Image
MicroPython   MicroPython is a software implementation of a programming language largely compatible with Python 3, written in C, that is optimized to run on a microcontroller. MicroPython is a full Python compiler and runtime that runs on the microcontroller's hardware. NodeMCU The NodeMCU (Node MicroController Unit) is an open source software and hardware development environment that is built around a very inexpensive System-on-a-Chip (SoC) called the ESP8266. And, you have to program it in low-level machine instructions that can be interpreted by the chip hardware. This microcontroller is widely used for IoT applications and supports micropython framework. Well micropython is supported with its other variants as well like esp32 , etc ESP8266&MicroPython We know MicroPython gives us freedom to use esp8266 more efficiently but sometimes due to errors of MicroPython we always prefer embedded C(Arduino console) language cause it is more easy to resolve and most of the time is mor

Micropython with python 3.8 and esp8266

Image
 Hello! Folks how are you doing? I'm sure you're doing great these are difficult times and we the programmers and coders mustn't let anything come in between us and our cravings for knowledge. So, today in this blog I will tell you how can you setup micropython with esp8266 or nodemcu board , if you are a newbie then I will suggest you to use nodemcu or any other development board , cause it will be easy for you to learn the concept for micropython. MicroPython MicroPython is a software implementation of a programming language largely compatible with Python 3, written in C, that is optimized to run on a microcontroller. MicroPython is a full Python compiler and runtime that runs on the microcontroller's hardware. NodeMCU The NodeMCU (Node MicroController Unit) is an open source software and hardware development environment that is built around a very inexpensive System-on-a-Chip (SoC) called the ESP8266. And, you have to program it in low-level machine instructions that