Home  >  Article  >  Backend Development  >  Can python be used for microcontroller programming?

Can python be used for microcontroller programming?

(*-*)浩
(*-*)浩Original
2019-07-06 09:17:4613579browse

MicroPython targets microcontrollers, allowing Python to be used to control hardware.

Can python be used for microcontroller programming?

Speaking of MicroPython, some people may feel unfamiliar. When it comes to Python, which is closely related to it, will you suddenly realize it? Python is an interpreted language. After decades of hard work, Python has become one of the most popular open source programming languages. (Recommended learning: Python video tutorial)

MicroPython, as its name suggests, is Python running on the MCU. In other words, Python can make the microcontroller move.

MicroPython Development Board Introduction to Practical Chapter

MicroPython was born out of Python, based on ANSIC (C language standard), and then followed the Python specifications in terms of grammar, mainly to be able to It is easier to implement low-level operations on embedded hardware (here specifically at the microcontroller level). Up to now, many embedded hardware have successfully transplanted Micropython, such as STM32F4, esp8266, PYBoard, etc. At present, the most comprehensive and professional MicroPython series in the MicroPython embedded field is TPYBoard's MicroPython series, which is the best choice for MicroPython from entry to practical use.

MicroPython Practical Textbook

"Introduction and Practice of Robot Python Geek Programming" is a MicroPython entry-to-practice guide designed by a Python geek team and many domestic first-line experts. Typical practical teaching materials. Includes dozens of simple entry-level cases, such as LED control, wifi control, smart car, PM2.5 detector, etc. The experimental development board used in the tutorial examples in the book is the TPYBoard development board. So with advanced software and hardware development platforms, all that's left is creativity!

TPYBoardv102 is a classic MicroPython development board, equipped with STM32F405 chip, supporting two debugging methods: DFU and SWD. It is divided into three versions, simple version, and respectively Compatible with PYBoardv1.0 and PYBoardv1.1 of MicroPython official boards, size 64mm*54mm. It is the first choice for MicroPython development and entry!

TPYBoard The V20X series based on LAN communication can be stably used in the Internet of Things development environment, including the ESP8266-based WIFI communication development board TPYBoardv202 and the Ethernet communication-based TPYBoardv201. TPYBoard is equipped with various sensors and communication modules such as zigbee, Lora, NB-iot, 2G, and 4G to form a typical product form of IoT terminal equipment. It is a typical MicroPython tool for rapid development of the IoT.

TPYBoardv702 MicroPython development board that supports communication positioning function. Supports Beidou & GPS dual-mode positioning, GPRS communication, SMS, Bluetooth, phone and other functions. Onboard gravity sensor, temperature and humidity, acceleration sensor, buzzer, and LCD5110 display light.

For more Python related technical articles, please visit the Python Tutorial column to learn!

The above is the detailed content of Can python be used for microcontroller programming?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn