ENGLISH

Arduino et Co - Measure, Control, and Hack: Clever Tricks with ATmega328 Pro Mini Boards

Book information

Publisher
Elektor
Year
2022
ISBN
3895765155, 9783895765155
Language
english
Format
PDF
Filesize
11 MB (11521494 bytes)
Pages
331\332
Time added
2023-05-30 15:10:32

Description

With a simple Pro Mini board and a few other components, projects that 20 or 30 years ago were unthinkable (or would have cost a small fortune) are realized easily and affordably in this book: From simple LED effects to a full battery charging and testing station that will put a rechargeable through its paces, there’s something for everyone. All the projects are based on the ATmega328 microcontroller, which offers endless measuring, switching, and control options with its 20 input and output lines. For example, with a 7-segment display and a few resistors, you can build a voltmeter or an NTC-based thermometer. The Arduino platform offers the perfect development environment for programming this range of boards. Besides these very practical projects, the book also provides the necessary knowledge for you to create projects based on your own ideas. How to measure, and what? Which transistor is suitable for switching a certain load? When is it better to use an IC? How do you switch mains voltage? Even LilyPad-based battery-operated projects are discussed in detail, as well as many different motors, from simple DC motors to stepper motors. Sensors are another exciting topic: For example, a simple infrared receiver that can give disused remote controls a new lease on life controlling your home, and a tiny component that can actually measure the difference in air pressure between floor and table height! Search… Arduino & Co All rights reserved. Foreword Acknowledgments Table of Contents 1 • ATmega boards 1.1 The Pro Mini form factor 1.2 Uno versions 1.3 LilyPads and similar 1.4 The Nano board 2 • USB adapter with serial interface 2.1 USB adapters based on the CP2102 2.1.1 Project: Universal serial adapter cable 2.1.2 Serial Micro USB adapter 3 • Buying tips 3.1 Local suppliers and domestic mail order companies 3.1.1 Conrad Electronic 3.1.2 Reichelt Elektronik 3.1.3 Other online suppliers 3.2 Big International online stores 3.2.2 Ebay 3.2.3 Amazon 3.2.4 AliExpress 3.3 PayPal payment service 3.4 Customs 3.5 Caution: Pitfalls! 3.6 Buying basic equipment 3.6.1 The necessary tools 3.6.2 ATmega boards 3.6.3 Power supply 3.6.4 Standard components 3.6.5 Measuring tools 4 • Optimal construction 4.1 Construction on breadboard 4.2 Point-to-point construction 4.3 The thumbtack technique 4.4 Perfboards 4.5 Construction on printed circuit board 4.6 Pin header connectors 5 Programming 5.1 The Arduino-platform 5.2 Our first program 5.3 Uploading programs 5.4 Downloading the programs 6 • Board inputs and outputs 6.1 Reading inputs digitally 6.2 Reading analog inputs 6.2.1 Measuring voltages directly 6.2.2 Measuring using internal ref. & voltage divider 6.2.3 Measuring directly using the internal reference 6.2.4 Measuring current 6.2.5 Resistor measurement 6.3 Switching outputs digitally 7 • How do you switch something? 7.1 LEDs 7.1.1 Calculating the series resistance 7.1.2 LEDs in battery operation 7.1.3 Switching direction to ground or positive 7.1.4 Project: LED effect board 7.1.5 Battery protection for effect flasher 7.1.6 LEDs with integrated series resistor 7.1.7 Power LEDs 7.2 Switching using a transistor 7.2.1 BC547 transistor 7.2.2 BC337-40 transistor 7.2.3 BD435 transistor 7.2.4 Switching using MOSFETs 7.2.5 ULN2003A transistor array 7.2.6 ULN2803A transistor array 7.3 Switching using a relay 7.3.1 Solid-State relay 8 • Controlling, regulating, and dimming 8.1 Pulse-width modulation (PWM) 8.1.1 Project: Dimming LEDs in all colors 8.1.2 Quick color theory 8.1.3 Flowing color changes 8.2 Low-pass demodulation 8.3 Regulation with a feedback loop 8.4 Project: Adjustable constant current source 8.5 Project: Lithium-ion battery testing and charging station 8.6 Project: Adjustable current source with limits 9 • Controlling motors 9.1 DC motors 9.1.1 Transistor control 9.1.2 Speed control using PWM 9.1.3 Forward and reverse with an H-bridge 9.1.4 Full control using H-bridge and PWM 9.2 Stepper motors 9.2.1 How it works 9.2.2 The 28BYJ-48 9.2.3 Control using the A4988 9.2.4 Control using the DRV8825 9.2.5 Version A4988 vs. DRV8825 9.3 Brushless motors 9.3.1 Control using ESC 9.4 Servos 10 • Sensors 10.1 Analog sensors 10.1.1 Brightness sensor using LDR 10.1.2 NTC temperature measurement 10.1.3 Analog joystick 10.1.4 Measuring light with a photodiode 10.2 Digital measurements 10.2.1 TL1838 or VS1838B infrared receiver 10.2.2 HC-SR04 ultrasonic distance sensor 10.2.3 HC-SR501 motion sensor 10.2.4 The I²C interface 10.2.5 BMP180 air pressure sensor 10.2.6 MPU-6050 accelerometer 10.2.7 HMC5883L magnetic field sensor 10.2.8 GY-87 multi-sensor 11 • Other components 11.1 RF remote control 11.2 Seven-segment displays 11.2.1 Basic program for 1 to 6 digits 11.2.2 Project: Voltmeter 11.2.3 Project: Thermometer 11.3 Text displays with back-lighting 11.4 Mini lasers 11.5 SD card module 12 • Rechargeable batteries and accessories 12.1 Functionality and handling 12.2 Protection circuit 12.3 Connecting rechargeables in series 12.4 Balancers 12.5 USB charging regulators 13 • Clever hacks and tricks 13.1 Measuring battery level without components 13.2 Arduino in deep sleep 13.3 Low-battery switch-off 13.4 Pro Mini battery operation 13.5 Project: Electronic die 13.6 Analog measurement without waiting 13.7 Project: Universal remote control receiver 13.8 Project: Extreme altimeter 13.9 Project: Infrasound recorder 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