Projects with Thonny-IDE, uPyCraft-IDE, and ESP32
The 'Python' programming language has enjoyed an enormous upswing in recent years. Not least, various single-board systems such as the Raspberry Pi have contributed to its popularity. But Python has also found widespread use in other fields, such as artificial intelligence (AI) or machine learning (ML). It is obvious, therefore, to use Python or the 'MicroPython' variant for use in SoCs (Systems on Chip) as well.
Powerful controllers such as the ESP32 from Espressif Systems offer excellent performance as well as Wi-Fi and Bluetooth functionality at an affordable price. With these features, the Maker scene has been taken by storm. Compared to other controllers, the ESP32 has a significantly larger flash and SRAM memory, as well as a much higher CPU speed. Due to these characteristics, the chip is not only suitable for classic C applications, but also for programming with MicroPython.
This book introduces the application of modern one-chip systems. In addition to the technical background, the focus is on MicroPython itself. After the introduction to the language, the programming skills learned are immediately put into practice. The individual projects are suitable for use in the laboratory as well as for everyday applications. So, in addition to the actual learning effect, the focus is also on the joy of building complete and useful devices. By using laboratory breadboards, circuits of all kinds can be realized with little effort, turning the testing and debugging of the 100% homebrew projects into an instructive pleasure.
The various applications, such as weather stations, digital voltmeters, ultrasound range finders, RFID card readers or function generators, make the projects presented ideally suited for practical courses or subject and study work in the natural sciences, or in science and technology classes.
Recently, the development of a tiny chip called the ESP8266 has made it possible to interface any type of microcontroller to a Wi-Fi AP. The ESP8266 is a low-cost tiny Wi-Fi chip having fully built-in TCP/IP stack and a 32-bit microcontroller unit. This chip, produced by Shanghai based Chinese manufacturer Espressif System, is IEEE 802.11 b/g/n Wi-Fi compatible with on-chip program and data memory, and general purpose input-output ports. Several manufacturers have incorporated the ESP8266 chip in their hardware products (e.g. ESP-xx, NodeMCU etc) and offer these products as a means of connecting a microcontroller system such as the Android, PIC microcontroller or others to a Wi-Fi. The ESP8266 is a low-power chip and costs only a few Dollars.
ESP8266 and MicroPython – Coding Cool Stuff is an introduction to the ESP8266 chip and describes the features of this chip and shows how various firmware and programming languages such as the MicroPython can be uploaded to the chip. The main aim of the book is to teach the readers how to use the MicroPython programming language on ESP8266 based hardware, especially on the NodeMCU.
Several interesting and useful projects are given in the book to show how to use the MicroPython in NodeMCU type ESP8266 hardware:
Project “What shall I wear today?”: You will be developing a weather information system using a NodeMCU development board together with a Text-to-Speech processor module.
Project “The Temperature and Humidity on the Cloud”: You will be developing a system that will get the ambient temperature and humidity using a sensor and then store this data on the cloud so that it can be accessed from anywhere.
Project “Remote Web Based Control”: You will be developing a system that will remotely control two LEDs connected to a NodeMCU development board using an HTTP Web Server application.
Projects with Thonny-IDE, uPyCraft-IDE, and ESP32
The 'Python' programming language has enjoyed an enormous upswing in recent years. Not least, various single-board systems such as the Raspberry Pi have contributed to its popularity. But Python has also found widespread use in other fields, such as artificial intelligence (AI) or machine learning (ML). It is obvious, therefore, to use Python or the 'MicroPython' variant for use in SoCs (Systems on Chip) as well.
Powerful controllers such as the ESP32 from Espressif Systems offer excellent performance as well as Wi-Fi and Bluetooth functionality at an affordable price. With these features, the Maker scene has been taken by storm. Compared to other controllers, the ESP32 has a significantly larger flash and SRAM memory, as well as a much higher CPU speed. Due to these characteristics, the chip is not only suitable for classic C applications, but also for programming with MicroPython.
This book introduces the application of modern one-chip systems. In addition to the technical background, the focus is on MicroPython itself. After the introduction to the language, the programming skills learned are immediately put into practice. The individual projects are suitable for use in the laboratory as well as for everyday applications. So, in addition to the actual learning effect, the focus is also on the joy of building complete and useful devices. By using laboratory breadboards, circuits of all kinds can be realized with little effort, turning the testing and debugging of the 100% homebrew projects into an instructive pleasure.
The various applications, such as weather stations, digital voltmeters, ultrasound range finders, RFID card readers or function generators, make the projects presented ideally suited for practical courses or subject and study work in the natural sciences, or in science and technology classes.
In Get Started with MicroPython on Raspberry Pi Pico, you will learn how to use the beginner-friendly language MicroPython to write programs and connect up hardware to make your Raspberry Pi Pico interact with the world around it. Using these skills, you can create your own electro‑mechanical projects, whether for fun or to make your life easier.
Microcontrollers, like RP2040 at the heart of Raspberry Pi Pico, are computers stripped back to their bare essentials. You don’t use monitors or keyboards, but program them to take their input from, and send their output to the input/output pins.
Using these programmable connections, you can light lights, make noises, send text to screens, and much more. In Get Started with MicroPython on Raspberry Pi Pico, you will learn how to use the beginner-friendly language MicroPython to write programs and connect up hardware to make your Raspberry Pi Pico interact with the world around it. Using these skills, you can create your own electro‑mechanical projects, whether for fun or to make your life easier.
The robotic future is here – you just have to build it yourself. We’ll show you how.
About the authors
Gareth Halfacree is a freelance technology journalist, writer, and former system administrator in the education sector. With a passion for open-source software and hardware, he was an early adopter of the Raspberry Pi platform and has written several publications on its capabilities and flexibility.
Ben Everard is a geek who has stumbled into a career that lets him play with new hardware. As the editor of HackSpace magazine, he spends more time than he really should experimenting with the latest (and not-solatest) DIY tech.
Recently, the development of a tiny chip called the ESP8266 has made it possible to interface any type of microcontroller to a Wi-Fi AP. The ESP8266 is a low-cost tiny Wi-Fi chip having fully built-in TCP/IP stack and a 32-bit microcontroller unit. This chip, produced by Shanghai based Chinese manufacturer Espressif System, is IEEE 802.11 b/g/n Wi-Fi compatible with on-chip program and data memory, and general purpose input-output ports. Several manufacturers have incorporated the ESP8266 chip in their hardware products (e.g. ESP-xx, NodeMCU etc) and offer these products as a means of connecting a microcontroller system such as the Android, PIC microcontroller or others to a Wi-Fi. The ESP8266 is a low-power chip and costs only a few Dollars.
ESP8266 and MicroPython – Coding Cool Stuff is an introduction to the ESP8266 chip and describes the features of this chip and shows how various firmware and programming languages such as the MicroPython can be uploaded to the chip. The main aim of the book is to teach the readers how to use the MicroPython programming language on ESP8266 based hardware, especially on the NodeMCU.
Several interesting and useful projects are given in the e-book (pdf) to show how to use the MicroPython in NodeMCU type ESP8266 hardware:
Project “What shall I wear today?”: You will be developing a weather information system using a NodeMCU development board together with a Text-to-Speech processor module.
Project “The Temperature and Humidity on the Cloud”: You will be developing a system that will get the ambient temperature and humidity using a sensor and then store this data on the cloud so that it can be accessed from anywhere.
Project “Remote Web Based Control”: You will be developing a system that will remotely control two LEDs connected to a NodeMCU development board using an HTTP Web Server application.
This ultrasonic distance sensor (ME007-ULA V1) offers high performance with a robust, waterproof probe. Operating on the principle of ultrasonic echo ranging, the sensor determines the distance to a target by measuring the time elapsed between sending a pulse and receiving the echo. Its non-contact design allows it to detect a wide range of materials, including transparent or non-ferrous objects, metals, non-metals, liquids, solids, and powders.
Specifications
Detecting Distance
27~800 cm
Output Interface
RS232, Voltage Analog
Operating Voltage
5-12 V
Average Current
<10 mA
Operating Temperature
−15~60°C
Dimensions
60 x 43 x 31 mm
ESP32-C3-DevKitM-1 is an entry-level development board based on ESP32-C3-MINI-1, a module named for its small size. This board integrates complete Wi-Fi and Bluetooth LE functions. Most of the I/O pins on the ESP32-C3-MINI-1 module are broken out to the pin headers on both sides of this board for easy interfacing. Developers can either connect peripherals with jumper wires or mount ESP32-C3-DevKitM-1 on a breadboard. Specifications ESP32-C3-MINI-1 ESP32-C3-MINI-1 is a general-purpose Wi-Fi and Bluetooth LE combo module that comes with a PCB antenna. At the core of this module is ESP32-C3FN4, a chip that has an embedded flash of 4 MB. Since flash is packaged in the ESP32-C3FN4 chip, rather than integrated into the module, ESP32-C3-MINI-1 has a smaller package size. 5 V to 3.3 V LDO Power regulator that converts a 5 V supply into a 3.3 V output. 5 V Power On LED Turns on when the USB power is connected to the board. Pin Headers All available GPIO pins (except for the SPI bus for flash) are broken out to the pin headers on the board. For details, please see Header Block. Boot Button Download button. Holding down Boot and then pressing Reset initiates Firmware Download mode for downloading firmware through the serial port. Micro-USB Port USB interface. Power supply for the board as well as the communication interface between a computer and the ESP32-C3FN4 chip. Reset Button Press this button to restart the system. USB-to-UART Bridge Single USB-UART bridge chip provides transfer rates up to 3 Mbps. RGB LED Addressable RGB LED, driven by GPIO 8. Downloads ESP32-C3 Datasheet ESP32-C3-MINI-1 Datasheet ESP32-C3-DevKitM-1 Schematic ESP32-C3-DevKitM-1 PCB Layout ESP32-C3-DevKitM-1 Dimensions
The FR01D (2-in-1) thermal imaging camera and multimeter is a compact and lightweight solution that simplifies diagnostic and maintenance tasks. The one-click function allows you to switch effortlessly between thermal imaging and multimeter mode, giving you two important tools in one portable device.
The multimeter is capable of measuring DC and AC voltage, resistance, diode checks, continuity testing, and capacitance.
The FR01D has a 2.8-inch touchscreen with a resolution of 320 x 480 pixels. The device is powered by an integrated rechargeable lithium battery and can be charged via USB.
With the FR01D, you can inspect and maintain circuit boards, check power supplies, repair electronic devices, and overhaul household appliances. Its compact size, multifunctionality, and user-friendliness make the FR01D the ideal companion for electronics and maintenance technicians.
General Specifications
Display size
2.8" (320 x 480)
Touchscreen
Resistive
Data transmission
USB-C
Image storage format
BMP
Battery
Li-ion battery
Storage temperature
−20°C~60°C(−4°F~140°F)
Operating temperature
0°C~50°C(32°F~122°F)
Operating humidity
<85% RH
Dimensions
134 x 69 x 25 mm
Weight
130 g
Thermal Imaging Specifications
Sensor
Vanadium oxide (VOx)
Image capture frequency
25 Hz
Thermal imaging pixels
192 x 192
Field of View (FOV)
50.0°(H) x 50°(V) / 72.1°(D)
Temperature range
−20°C ~ +550°C (−4°F~1022°F)
Gain mode
Auto
Accuracy
±2°C or ±2%
Measurement resolution
0.1°C / 0.1°F
Multimeter Specifications
DC input voltage (max.)
1000 V
AC input voltage (max.)
750 V
Resistance (max.)
99.99 MΩ
Capacitance (max.)
99.99 mF
Duty cycle test range
0.1% ~ 99.9%
Diode test range
0 V ~ 3 V
Continuity test
999.9 Ω
Display
9999 counts (Refreshes 3x per second)
Accuracy
Function
Range
Resolution
Accuracy
AC Voltage
400 mV
0.1 mV
2% +3
9.999 V
0.001 V
1.0% +3
99.99 V
0.01 V
999.9 V
0.1V
DC Voltage
400 mV
0.1 mV
2% +3
9.999 V
0.001 V
1.0% +3
99.99 V
0.01 V
999.9 V
0.1 V
Resistance
999.9 Ω
0.1 Ω
0.5% +3
9.999 KΩ
0.001 kΩ
99.99 KΩ
0.01 kΩ
999.9 KΩ
0.1 kΩ
9.999 MΩ
0.001 MΩ
99.99 MΩ
0.01 MΩ
1.5% +3
Diode Test
3.000 V
0.001 V
10%
Capacitance
9.999 nF
0.001 nF
2% +5
99.99 nF
0.01 nF
999.9 nF
0.1 nF
9.999 uF
0.001 uF
99.99 uF
0.01 uF
999.9 uF
0.1 uF
9.999 mF
0.001 mF
5% +5
99.99 mF
0.01 mF
Included
1x FR01D IR-Camera and Multimeter
2x Test Leads
1x USB Cable
1x Manual
Features
Synchronous mode: Auto, Normal, Single, None, Scan
Rising/Falling edge trigger
Modes of vertical precise, horizontal precise measurement and triggering threshold
Auto Measurement: frequency, cycle time, duty cycle, DC RMS voltage/Vpp /Vmax/Vmin/Vavg
Inbuilt signal generator/10 Hz-1 MHz square wave (duty adjustable) or 10 Hz-20 KHz
Sine/Square/Triangle/Sawtooth wave
Specifications
Analog bandwidth
1 MHz
Max sample rate
10 Msa/s
Max sample memory depth
8K
Analog input impedance
1 MΩ
Max input voltage
±40 V (X1)
Coupling
AC/DC
Vertical sensitivity
20 mv/Div~10 V/Div (1-2-5)
Horizontal sensitivity
1 uS/Div~2 S/Div (1-2-5)
Storage
Built-in 8 MB U disk storage for waveform data and images
Power supply
Internal 550 mAh Lithium battery, recharging through Micro USB port
Display
2.8' Full Color TFT LCD (320x240 pixels)
Dimensions
100 x 56.5 x 10.7 mm
Downloads
User Manual
Source Code
App
,
by Clemens Valens
FNIRSI DPOX180H 2-in-1 Digital Phosphor Oscilloscope (Review)
Oscilloscopes sure have made a lot of progress over the past two decades. Twenty years ago, I still used my single-beam analog 20 MHz CRT oscilloscope...
,
by Sebastian Westerhold
The SDRplay RSPdx SDR Receiver Features Frequency Range of 1 kHz up to 2 GHz (Review)
The SDRplay RSPdx is a 14-bit single-tuner receiver with continuous coverage from 1 kHz up to 2GHz. Three input connectors, an ample array of software...