मैगज़्टर गोल्ड के साथ असीमित हो जाओ

मैगज़्टर गोल्ड के साथ असीमित हो जाओ

10,000 से अधिक पत्रिकाओं, समाचार पत्रों और प्रीमियम कहानियों तक असीमित पहुंच प्राप्त करें सिर्फ

$149.99
 
$74.99/वर्ष
The Perfect Holiday Gift Gift Now

MicroPython: The Python For MCUs

Electronics For You

|

September 2016

The power of Python is well-known and widely accepted.

- Priya Ravindran

MicroPython: The Python For MCUs

Easy to learn and systematic to script, the effortless way to express complex behaviour is what makes this language tick. Here we explore the adaptation of this popular language to a popular branch of electronics, the embedded systems.

Introducing MicroPython

Whether it is to make a light emitting diode (LED) blink, read voltages, make motors and servos move, communicate wirelessly or control robots, MicroPython comes to one’s aid. The software is built to exploit the powers of Python programming to create efficient embedded systems. A brainchild of Damien George and funded by a Kickstarter campaign, this is a selected subset and a lean implementation of Python 3.x, optimised to run on microcontrollers (MCUs) and in constrained environments.

With full Python programming language at your disposal, you can write functions and classes, make lists and dictionaries, do string processing, read and write files, and have more sophisticated features such as generators, closures, list comprehension and exception handling. The possibilities for programming are endless!

Stretch to accommodate

To extend the capabilities of the MCU-MicroPython combination, exclusive drivers in pure Python have been implemented. Creating an Internet of Things (IoT) application is easy, thanks to CC3000 Wi-Fi module. If the Ethernet is the protocol supported, use WIZ820io module, and low-power implementation is not far with support for nRF24L01+ wireless module. The serial peripheral interface (SPI) port of the MCU board can be exploited to include the above modules.

Getting better by the day

Electronics For You से और कहानियाँ

Electronics For You

Electronics For You

Tech Majors Are Racing TOWARDS NET-ZERO - What About You?

Apple, Microsoft, Amazon, Google, Infosys, Wipro—global and Indian firms are heading closer to achieving net-zero emissions, a mandate to combat climate change. Here is what you need to know to start your journey...

time to read

12 mins

December 2025

Electronics For You

Electronics For You

Miniature IoT WATER TDS And LEVEL MONITOR Cum CONTROLLER

For setups that rely on stored water, clear awareness of tank level and water quality is essential.

time to read

3 mins

December 2025

Electronics For You

Electronics For You

The Impact Of GENERATIVE AI On The Future Of AUTOMOTIVE AND EVs

Autonomous vehicles, connected ecosystems, and smart factories are only the beginning. Generative Al is pushing the auto industry beyond predictions into a bold era of creativity-from EV design to real-time diagnostics and showroom automation. Here is how GenAl is reshaping innovation across the automotive value chain.

time to read

8 mins

December 2025

Electronics For You

Electronics For You

How AI Tools Are Making SOFTWARE DEVELOPMENT BETTER

AI is reshaping how we code, debug, and collaborate. From Copilot to automation, it is changing software development in ways worth exploring.

time to read

3 mins

December 2025

Electronics For You

How AI Tools Are Making SOFTWARE DEVELOPMENT BETTER

AI is reshaping how we code, debug, and collaborate. From Copilot to automation, it is changing software development in ways worth exploring.

time to read

3 mins

December 2025

Electronics For You

Electronics For You

5 Interesting Reference Designs FOR SMART HOMES

Smart home devices are transforming the way people interact with their appliances. They make homes more convenient, secure, and energy-efficient. From smart plugs and energy monitors to smart locks and thermostats, reference designs help design engineers create connected products that are easy to use, consume less power, and are reliable. These designs allow you to control devices remotely, track energy use, extend battery life, and automate routines. They provide practical solutions for upgrading homes and small commercial spaces without major modifications.

time to read

3 mins

December 2025

Electronics For You

Electronics For You

Fancy USB LED VASE

This USB LED vase is a simple yet elegant device that fuses art with electronics to create a decorative lighting display. Powered directly from a standard USB port, it uses readily available components such as MOSFETs, resistors, capacitors, and LEDs to produce a striking, dynamic sequence of lights.

time to read

3 mins

December 2025

Electronics For You

Electronics For You

"WHAT OTHERS SELL IN FOUR BOXES WE BUILT IN ONE"

Years of custom field work are shaping a product line with its own cloud, its own hardware, and a market that is now beginning to recognise its value.

time to read

8 mins

December 2025

Electronics For You

Electronics For You

BUILD LARGE LANGUAGE MODELS

Large language models are machine learning models designed for a range of language-related tasks such as text generation and translation. Here’s how open source software can help you build your own large language model.

time to read

6 mins

December 2025

Electronics For You

Electronics For You

Rare Earth Or Rare Ingenuity? India Remains Between The Two

With China firmly controlling rare earth exports, India confronts a critical moment in its technological trajectory.

time to read

8 mins

December 2025

Translate

Share

-
+

Change font size