Programming the ESP32 in MicroPython

The ESP32 is a remarkable device. It is low cost but with many different subsystems that make...
$88.12 SGD
$88.12 SGD
SKU: 9781871962826
Product Type: Books
Please hurry! Only 276 left in stock
Author: Mike James
Format: Paperback
Language: English
Subtotal: $88.12
10 customers are viewing this product
Programming the ESP32 in MicroPython by James, Mike

Programming the ESP32 in MicroPython

$88.12

Programming the ESP32 in MicroPython

$88.12
Author: Mike James
Format: Paperback
Language: English
The ESP32 is a remarkable device. It is low cost but with many different subsystems that make it more powerful than you might think. You can use it for simple applications because it is cheap, but you can also use it for more sophisticated applications because it is capable.
MicroPython is a good choice of language to program the Pico. Although it is a slower language than C, most of the time this doesn't matter and it is much easier to use. As a high-level language, MicroPython is based on Python 3 and is fully object-oriented. In general, you can take an existing Python 3 program and simply run it under MicroPython. If there are any changes to make, they are generally minor.
Another good thing about MicroPython on the ESP32 is that it is very easy to get started. After a simple installation procedure you have a working MicroPython machine which you can program almost at once using the Thonny IDE or PyCharm which has more extensive syntax checking and input prompting.
The purpose of the book is to reveal what you can do with the ESP's GPIO lines together with widely used sensors, servos and motors and ADCs. After covering the GPIO, outputs and inputs, events and interrupts, it gives you hands-on experience of PWM (Pulse Width Modulation), the SPI bus, the I2C bus and the 1-Wire bus. We also cover direct access to the hardware, adding an SD Card reader, sleep states to save power, the RTC, RMT and touch sensors, not to mention how to use WiFi.
The ESP32 has so many resources that a comprehensive account would fill a book twice this size. In order to make things fit in the space available we have concentrated on things that are accessible from MicroPython and that are basic to getting started. We have avoided "advanced" topics which generally lead the beginner into deep water far too quickly. However, we do cover of use of uasyncio, and asynchronous programming, in general as they are essential to networking.

Jointly authored by Harry Fairhead and Mike James, this book combines Harry's expertise in electronics and the IoT with Mike's knowledge of Python. Their previous books include Programming the Raspberry Pi Pico/W in MicroPython, Raspberry Pi IoT In Python, Raspberry Pi IoT In Python Using Linux Drivers while Harry Fairhead is the author of the C language counterparts. His other books include Fundamental C: Getting Closer To The Machine, Applying C For The IoT With Linux, and Micro: bit IoT in C. Mike James is the author of the Programmer's Python: Something Completely Different series of books and several other programming and computer science titles in the I Programmer Library.

Author: Mike James, Harry Fairhead
Publisher: I/O Press
Published: 06/20/2023
Pages: 356
Binding Type: Paperback
Weight: 1.36lbs
Size: 10.00h x 7.00w x 0.74d
ISBN: 9781871962826

This title is not returnable

Returns Policy

You may return most new, unopened items within 30 days of delivery for a full refund. We'll also pay the return shipping costs if the return is a result of our error (you received an incorrect or defective item, etc.).

You should expect to receive your refund within four weeks of giving your package to the return shipper, however, in many cases you will receive a refund more quickly. This time period includes the transit time for us to receive your return from the shipper (5 to 10 business days), the time it takes us to process your return once we receive it (3 to 5 business days), and the time it takes your bank to process our refund request (5 to 10 business days).

If you need to return an item, simply login to your account, view the order using the "Complete Orders" link under the My Account menu and click the Return Item(s) button. We'll notify you via e-mail of your refund once we've received and processed the returned item.

Shipping

We can ship to virtually any address in the world. Note that there are restrictions on some products, and some products cannot be shipped to international destinations.

When you place an order, we will estimate shipping and delivery dates for you based on the availability of your items and the shipping options you choose. Depending on the shipping provider you choose, shipping date estimates may appear on the shipping quotes page.

Please also note that the shipping rates for many items we sell are weight-based. The weight of any such item can be found on its detail page. To reflect the policies of the shipping companies we use, all weights will be rounded up to the next full pound.

Related Products

Recently Viewed Products