ENGLISH

Programming Microcontrollers with Python(2020)[Subero][9781484270585]

Book information

Year
2020
ISBN
9781484270578, 9781484270585
Language
english
Format
PDF
Filesize
7 MB (7410651 bytes)
Pages
\304
Time added
2021-05-14 17:29:06

Description

Table of Contents About the Author About the Technical Reviewer Acknowledgments Chapter 1: Getting Ready Introduction to Microcontrollers Firmware, Memory, and Clock Speed 8-Bit vs. 32-Bit Microcontroller Programming Languages Assembly Language C C++ BASIC Rust Python Selecting a Development Board Adafruit Metro M0 Express Adafruit Feather M0 Express Adafruit Metro M4 Express Adafruit Grand Central M4 Express The Arduino Zero The STM32F746ZG Nucleo Device Comparison The Component List The Mu Editor Other Serial Communication Tools Setting Up Your Own Board Conclusion Chapter 2: Electronics Primer Electrical Wires The Breadboard Electronic Schematics Passive Components Resistors Capacitors Polarized Capacitors Non-polarized Capacitors Capacitor Schematic Symbols Inductors Semiconductors Diode Light-Emitting Diode Transistor Metal-Oxide-Semiconductor Field-Effect Transistors Integrated Circuits Digital Logic Logic Level Conversion Flip-Flop Registers and the Shift Register Multiplexers and Demultiplexers Conclusion Chapter 3: Embedded Systems Overview An Overview of Embedded Systems Microcontroller vs. Application Processor Embedded Systems Structure The Hardware System The Software System The Toolchain Software Testing Embedded Software Architecture The Driver Layer Hardware Abstraction Layer (HAL) Board Support Package (BSP) Middleware Software Framework Code Generator Platform Embedded Systems Constraints Cost Performance Energy Budget Embedded Systems Classification Small-Scale Systems Medium-Scale Systems High-Performance Systems Distributed Embedded Systems Seven Steps to Developing an Embedded Product Step 1: Idea Creation Step 2: Requirements Specifications Step 3: Functional Design Step 4: Rapid Prototyping Step 5: Testing Step 6: Securing Your System Step 7: Bringing to Market Conclusion Chapter 4: Python Programming Writing Python Programs Whitespace Comments Variables and Constants Data Types Operators Lists Tuples If Statement else Statement elif Statement short if for Loop while Loop Functions Lambda Functions Exception Handling Object-Oriented Programming Random and Time Python vs. CircuitPython How Does My Python Program Run? Conclusion Chapter 5: Digital Control I/O Pins Output and Input on Microcontroller Hardware Going Deeper into Microcontroller I/O Using Output: Lighting an LED LED Control Building the Circuit Lighting an LED with CircuitPython Blinking an LED Using Input: Adding a Pushbutton Pull-Up vs. Pull-Down Resistors Switch Debouncing Input with MCU Schematic (Pull-Up) Pushbutton Pull-Up Circuit Connection Tips Pushbutton Pull-Up with CircuitPython Program Input with MCU Schematic (Pull-Down) Pushbutton Pull-Down Circuit Connection Tips Pushbutton Pull-Down with CircuitPython Program Conclusion Chapter 6: Data Conversion Analog to Digital Conversion ADC Hardware Going Deeper into ADC The Potentiometer Analog to Digital Conversion in CircuitPython ADC with MCU Schematic ADC Circuit Connection Tips CircuitPython with Potentiometer Program Photoresistor Photoresistor with MCU Schematic Photoresistor Circuit Connection Tips Photoresistor with CircuitPython Program Temperature Sensor Temperature Sensor with MCU Schematic Temperature Sensor Circuit Connection Tips Temperature Sensor with CircuitPython Program Conclusion Chapter 7: Communication Protocols Microcontroller Communications USART Communications Deeper into UART UART in CircuitPython USB-UART with MCU Schematic MCU with USB-UART Circuit Connection Tips UART with CircuitPython Program SPI Communications Deeper into SPI SPI Circuit Connection SPI with CircuitPython Program I2C Communications Deeper into I2C I2C Support in CircuitPython The MPU6050 I2C with MCU Schematic I2C Circuit Connection Tips I2C with CircuitPython Program Adding Libraries MPU6050 with CircuitPython Program Conclusion Chapter 8: Display Interfacing The Liquid Crystal Display Using a GLCD Monochrome GLCD Schematic PCD8544 with CircuitPython Troubleshooting The Framebuffer OLED Using an OLED MCU with OLED Schematic CircuitPython with OLED Program Conclusion Chapter 9: Controlling DC Actuators DC Motors Driving DC Motors Pulse Width Modulation PWM in CircuitPython PWM with CircuitPython Program Controlling Motor Speed The H-Bridge H-Bridge with MCU Schematic H-Bridge with CircuitPython Program Servo Motors Servo Motors in CircuitPython Servo Motor with MCU Schematic Servo Motor with CircuitPython Program Stepper Motors Stepper Motors in CircuitPython Stepper Motor with MCU Schematic Stepper Motor with CircuitPython Program Conclusion Chapter 10: Python MCU Interfacing RGB LED RGB LED with MCU Schematic RGB LED Circuit Connection Tips Libraries We’ll Need RGB LED with CircuitPython Program HC-SR04 HC-SR04 with MCU Schematic HC-SR04 Circuit Connection Tips Libraries We’ll Need HC-SR04 with CircuitPython Program Piezo Speaker Piezo with MCU Schematic Piezo Circuit Connection Tips Libraries We’ll Need Piezo with CircuitPython Program DHT11 DHT11 with MCU Schematic DHT11 Sensor Circuit Connection Tips Libraries We’ll Need DHT11 Sensor with CircuitPython Program Conclusion Index

Similar books

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

2010 · PDF

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

1858 · PDF

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

2022 · PDF

The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians

The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians

1809 · PDF

Professional Linux kernel architecture ''Wrox programmer to programmer''--Cover. - ''What you are reading right now is the result of an evolution over more than seven years: After two years of writing, the first edition was published in German by Carl Hanser Verlag in 2003. It then described kernel 2.6.0. The test was used as a basis for the low-level design documentation for the EAL4+ security evaluation of Red Hat Enterprise Linux 5, requiring to update it to kernel 2.6.18 (if the EAL acronym does not mean anything to you, then Wikipedia is once more your friend). Hewlett-Packard sponsored the translation into English and has, thankfully, granted the rights to publish the result. Updates to kernel 2.6.24 were then performed specifically for this book''--P. ix

Professional Linux kernel architecture ''Wrox programmer to programmer''--Cover. - ''What you are reading right now is the result of an evolution over more than seven years: After two years of writing, the first edition was published in German by Carl Hanser Verlag in 2003. It then described kernel 2.6.0. The test was used as a basis for the low-level design documentation for the EAL4+ security evaluation of Red Hat Enterprise Linux 5, requiring to update it to kernel 2.6.18 (if the EAL acronym does not mean anything to you, then Wikipedia is once more your friend). Hewlett-Packard sponsored the translation into English and has, thankfully, granted the rights to publish the result. Updates to kernel 2.6.24 were then performed specifically for this book''--P. ix

2008 · PDF