En moins de 100 lignes de code par projet avec les cartes Feather Sense et Clue Express d'Adafruit
Le langage de programmation Python est apprécié par les pédagogues parce que sa syntaxe le rend facile à comprendre. Il s'est également imposé chez les informaticiens expérimentés. La société Adafruit a développé une version spéciale de Python pour l'embarquer sur les microcontrôleurs à 32 bits : CircuitPython.
Ce livre permettra au lecteur de s'initier à la programmation en CircuitPython sur deux cartes : Feather BlueFruit Sense (également appelée Feather nRF52840 Sense) et CLUE nRF52840 Express. Chacune est animée par le SoC nRF52840 de NORDIC avec une architecture à 32 bits.
Pour ce voyage dans le monde de la programmation embarquée, l'auteur sort du chemin classique, à savoir un cours complet sur la programmation orientée objet appliquée à ce langage. Il préfère emmener le lecteur directement sur le terrain avec des projets qui mettent en oeuvre les cartes et différents périphériques. Plus d'une quarantaine d'exemples et de montages permettent de découvrir la richesse de CircuitPython. Toutefois l'auteur s'est imposé une limite pour ne pas décourager les novices : le code de chaque projet ne dépasse jamais la centaine de lignes. Pour ce qui est du matériel, là aussi la simplicité domine : aucun programmateur, un simple PC suffit ; aucun soudage grâce au câblage sur platine d'essai. Les cartes d'extension FeatherWing à enficher sur la Feather nRF52840 Sense permettent de démultiplier ses fonctions : matrice de LED, enregistreur de données, écran à encre électronique, écran OLED, écran TFT, commande de moteurs, audio, relais…
Toutes les étapes (assemblage des différents composants, installation des bibliothèques requises, programmation, tests…) sont expliquées en détail. Le code des différents exemples et projets est disponible sur Github. Le résultat de chaque projet est même présenté sur de courtes vidéos disponibles sur YouTube.
À la fin de sa lecture, le nouveau Pythonien pourra facilement approfondir les notions abordées et donner vie à ses propres projets grâce aux outils qu'il aura essayés.
Ce livre s'adresse aux lycéens et étudiants ainsi qu'à toute la communauté des makers.
Chaîne YouTube de l'auteur :
YouTube (Michaël Bottin)
Ce qui se passe en électronique est par définition invisible à l'oeil nu. L'instrument qui permet précisément de rendre visibles les signaux électriques, celui par le truchement duquel les effets de l'électronique se manifestent à nous, c'est l'oscilloscope.
Hélas, quand on commence à faire de l'électronique, c'est souvent sans oscilloscope. Et l'on en est réduit à tâtonner, aussi bien physiquement que mentalement. Le jour où l'on goûte à la visualisation des signaux sur un écran, c'est une révélation. Plus personne ne souhaite se priver de cet enchantement. Pas de retour en arrière. En électronique, si l'on veut progresser dans le plaisir et dans la compréhension, il faut un oscillo.
Commence alors une période d'interrogation : comment choisir ? Et à peine cette question-là aura-t-elle trouvé sa réponse, il en viendra une ribambelle d'autres que l'on peut résumer en une seule : comment se servir de l'oscilloscope de telle sorte que ce qu'il affiche corresponde bien à la réalité des signaux ?
Dans ce livre, Rémy Mallard, répond clairement à ces questions. Il donne aussi de nombreuses informations pour aider son lecteur à élucider lui-même de nouveaux mystères qui ne manqueront pas de surgir. Ceux qui le connaissent déjà comme l'auteur d'un livre sur l'électronique dont le titre est un programme à lui tout seul : L'électronique pour les débutants qui sèchent les cours mais soudent sans se brûler les doigts, ainsi que d'un livre d'initiation à la programmation des microcontrôleurs PIC, savent qu'ils trouveront ici un ouvrage utile, qu'ils rouvriront souvent.
The Arduino Pro Mini is a microcontroller board based on the ATmega328P.
It has 14 digital input/output pins (of which 6 can be used as PWM outputs), 6 analog inputs, an on-board resonator, a reset button, and holes for mounting pin headers. A six pin header can be connected to an FTDI cable or SparkFun breakout board to provide USB power and communication to the board.
The Arduino Pro Mini is intended for semi-permanent installation in objects or exhibitions. The board comes without pre-mounted headers, allowing the use of various types of connectors or direct soldering of wires. The pin layout is compatible with the Arduino Mini.
The Arduino Pro Mini was designed and is manufactured by SparkFun Electronics.
Specifications
Microcontroller
ATmega328P
Board Power Supply
5-12 V
Circuit Operating Voltage
5 V
Digital I/O Pins
14
PWM Pins
6
UART
1
SPI
1
I²C
1
Analog Input Pins
6
External Interrupts
2
DC Current per I/O Pin
40 mA
Flash Memory
32 KB of which 2 KB used by bootloader
SRAM
2 KB
EEPROM
1 KB
Clock Speed
16 MHz
Dimensions
18 x 33.3 mm (0.7 x 1.3")
Downloads
Eagle files
Schematics
This book covers a series of exciting and fun projects for the Arduino, such as a silent alarm, people sensor, light sensor, motor control, internet and wireless control (using a radio link). Contrary to many free projects on the internet all projects in this book have been extensively tested and are guaranteed to work!
You can use it as a projects book and build more than 45 projects for your own use. The clear explanations, schematics, and pictures of each project make this a fun activity. The pictures are taken of a working project, so you know for sure that they are correct.
You can combine the projects in this book to make your own projects. To facilitate this, clear explanations are provided on how the project works and why it has been designed the way it has That way you will learn a lot about the project and the parts used, knowledge that you can use in your own projects.
Apart from that, the book can be used as a reference guide. Using the index, you can easily locate projects that serve as examples for the C++ commands and Arduino functionality. Even after you’ve built all the projects in this book, it will still be a valuable reference guide to keep next to your PC.
Projects Using Arduino IDE and the LVGL Graphics Library
The ESP32 is probably one of the most popular microcontrollers used by many people, including students, hobbyists, and professional engineers. Its low cost, coupled with rich features makes it a popular device to use in many projects. Recently, a board called the ESP32 Cheap Yellow Display (CYD for short) is available from its manufacturers. The board includes a standard ESP32 microcontroller together with a 320x240 pixel TFT display. Additionally, the board provides several connectors for interfaces such as GPIO, serial port (TX/RX), power and Ground. The inclusion of a TFT display is a real advantage as it enables users to design complex graphics-based projects without resorting to an external LCD or graphics displays.
The book describes the basic hardware of the ESP32 CYD board and provides details of its on-board connectors. Many basic, simple, and intermediate-level projects are given in the book based on the ESP32 CYD, using the highly popular Arduino IDE 2.0 integrated development environment. The use of both the basic graphics functions and the use of the popular LVGL graphics library are discussed in the book and projects are given that use both types of approaches.
All the projects given in the book have been tested and are working. The block diagram, circuit diagram, and the complete program listings and program descriptions of all the projects are given with explanations. Readers can use the LVGL graphics library to design highly popular eye-catching full-color graphics projects using widgets such as buttons, labels, calendars, keypads, keyboards, message boxes, spinboxes, sliders, charts, tables, menus, bars, switches, drop-down lists, animations, and many more widgets.
Open-Source-Code mit Arduino IDE und PlatformIO
Autonomes Fahren: GPS, Accelerometer, Gyroskop
PS3-Controller
Mikrocontroller wie der Arduino und Einplatinenrechner wie der Raspberry Pi haben sich zu beliebten Komponenten entwickelt. Dritter im Bunde ist der ESP32 der Firma Espressif. Mikrocontroller dieser Baureihe zeichnen sich durch eine Vielzahl implementierter Funktionen aus, die bei einem Arduino konventioneller Prägung mit einem Atmel-AVR-Mikrocontroller erst mit weiterer Hardware möglich sind. Prominentes Beispiel sind hier die WiFi- und Bluetooth-Funktionalitäten. Gegenüber einem Raspberry Pi zeichnen sie sich durch einen deutlich geringeren Preis aus.
Allgemeine Informationen für die Realisierung eines Roboterauto-Projekts mit dem ESP32 sind leicht zu finden. Dabei handelt es sich aber oft nur um Ausführungen zu einem Teilaspekt, ohne inhaltliche oder funktionale Abstimmung. So ist nicht nur die Beschaffung der benötigten Informationen mühselig und zeitaufwändig, sie kann auch außerordentlich fehlerträchtig sein.
Ansatzpunkt dieses Buches ist, diese Lücke zu schließen. Es geht auf verschiedene Möglichkeiten eines Chassis ein, vermittelt nötige Kenntnisse und führt schrittweise von einer einfachen Motorsteuerung zu einem komplexen sensor- und sprachgesteuerten Roboterauto. Hacks rund um GPS und eine PlayStation 3 runden die Sache ab.
Inhalt
Bei der Reihenfolge der Kapitel wurde versucht – beginnend bei der Darstellung von grundlegenden Informationen – über die Lösung einfacher Aufgaben zu etwas anspruchsvolleren Techniken zu führen.
Der Mikrocontroller ESP32
Die Software erstellen
Die Stromversorgung
Rund um die Hardware
Das Chassis
Der Gleichstrommotor
Kabellose Steuerung über WiFi
Mit Sensoren Hindernisse erkennen
Eine eigene Roboterauto-App
Servo und Lichtsensor
GPS
Accelerometer / Gyroskop
PS3-Controller
Roboterauto-App
Hinweis zur Software
Die Dateien haben das Suffix (.cpp). Grund ist die Entwicklung mit PlatformIO. Mit Copy & Paste sollten sie auch in der Arduino-IDE verwendet werden können.
Arduinonext is an initiative powered by an electronics and microcontrollers specialist team aiming to help all those who are entering in the technology world, using the well-known Arduino platform to take the next step in electronics.
We strive to bring you the necessary knowledge and experience for developing your own electronics applications; interacting with environment; measuring physical parameters; processing them and performing the necessary control actions.
This is the first title in the 'Hands-On' series in which Arduino platform co-founder, David Cuartielles, introduces board programming, and demonstrates the making of an 8-bit Sound Generator.
The Internet of Things is rapidly gaining interest, and that has fueled the development of the Edison. A tiny computer, the size of a postage stamp, with a lot of power and built-in wireless communication capabilities.
In this eBook we will help you get up-to-speed with the Edison, by installing the software both on the Edison as well as on your Windows PC. We will use the Edison Arduino break-out board because it is easy to work with. We will discuss Linux, Arduino C++ and Python, and show examples of how the Edison can interface with other hardware. We will use Wi-Fi and Bluetooth to set up wireless connections, and show you a trick to program sketches over Wi-Fi.
Once you have completed this book your Edison will be up and running with the latest software version, and you will have sufficient knowledge of both hardware and software to start making your own applications. You will even be able to program the Edison over USB and wireless both in Arduino C++ and Python.
This is not a projects eBook, but a toolbox that will allow you to explore the wonderful world of the Intel Edison!
AI in Practice
Dive into the fascinating world of robotics and automation!
This Elektor Special shows you how to build your own robots with creativity, a little know-how, and affordable technology. From your first DIY project with Arduino or Raspberry Pi to intelligent systems with AI – this issue makes modern robotics understandable and accessible.
Discover practical instructions, inspiring projects, and exciting insights into the maker scene. Learn how experimentation, community, and openness give rise to true innovation – and why robotics is so much more than just a technical hobby.
Contents
Imagination turns into reality
Arduino-controlled Drawing Robot
GalaxyRVR Mars Rover Kit for Arduino
YDLIDAR X4Pro Lidar
xHuskyLens AI Camera
DOF Robot Arm with Raspberry Pi Pico
Manufacturing Robots with Fischertechnik
Pneumatic Industrial Robot
Why Do We Keep Building Robot Dogs?
Elektor Mini-Wheelie
Robot Vehicles and Autonomous Driving
Praktischer Einstieg mit Arduino, GnuRadio und FPGA
Das Thema „Software Defined Radio“ ist facettenreich: Neben der Schaltungstechnik ist auch eine Einarbeitung in die Programmierung von Hardware und PC wichtig. Ein schrittweises Vorgehen erleichtert Ihnen den Einstieg. Mit dem im Buch vorgestellten modularen „RF Bricks“-Konzept werden Sie zum Architekten Ihrer Signalkette. Auf einem Chassis angeordnet gewährleisten die Module einen soliden und gut abgeschirmten Aufbau, den Sie einfach verändern und mit eigenen Ideen anreichern können.
Der skalierbare Aufbau bildet Ihr Blockschaltbild auch mechanisch ab – die so gewonnene Übersicht kann in der Aus- und Weiterbildung nützlich sein. Ein Arduino in Ihrem Chassis kommuniziert nach einigen Anpassungen mit üblichen SDR-Programmen, z. B. SDRCPP, GQRX und CubicSDR auf einer Linux-Plattform. Damit können Sie Ihren Empfänger direkt per Mausklick abstimmen.
Wenn Sie Blockschaltbilder mögen, ist GnuRadio ein natürlicher Partner der „RF Bricks“. Mit einem selbst programmierten Python-Block gelingt Ihnen in GnuRadio die Fernsteuerung Ihres Empfängers. Im GnuRadio-Universum können Sie Ihre GUI stufenweise ausbauen, behalten dabei aber immer volle Kontrolle über die inneren Abläufe des Programms.
Mit einem FPGA können zeitaufwändige Operationen auch direkt in die Hardware verlagert werden. Sie bauen stufenweise einen Doppelsuperhet auf und entwickeln die Filterkoeffizienten für FIR-Filter mit Scilab. Das in VHDL realisierte Weaver-Schema rundet diesen Empfänger ab, der mit hoher Empfindlichkeit und Dynamik aufwarten kann.
Mit dem gewonnen Überblick und Ihrer neuen Hardware können Sie die einzelnen Aspekte des Themenkomplexes SDR beliebig weiter vertiefen.
Downloads
Software
The Joy-Pi Advanced is a compact and powerful device that allows you to realize your projects quickly and easily. Whether you already have a lot of experience, or next to none, the Joy-Pi Advanced lets you unleash your creativity. Thanks to its compatibility with a wide range of platforms, including Raspberry Pi, Raspberry Pi Pico, Arduino Nano, BBC micro:bit, and NodeMCU ESP32, you can easily and quickly access your preferred platform.
In addition, the Joy-Pi Advanced features more than 30 stations, lessons, and modules, giving you an unlimited variety of ways to get your projects done. With the self-developed learning center, you can not only improve your skills but also create new projects. The learning center offers a wealth of information and tutorials that will guide you step by step through your projects.
Joy-Pi Advanced is characterized in particular by its intelligent switch units, which allow an extended use of the available pins. A total of three switch units are integrated, each equipped with 12 individual switches that provide precise control of the connected sensors and modules. This system solves the well-known problem of limited pin count that occurs with conventional microcontrollers. The switch units allow you to operate a large number of sensors and modules in parallel by switching them on and off individually. This simulates multiple pin assignment, allowing you to exploit the full power of your projects without compromising functionality.
By combining innovative adapter boards and the micro:bit slot, you can achieve seamless compatibility with a wide range of microcontrollers such as Raspberry Pi Pico, NodeMCU ESP32, micro:mit and Arduino Nano. The specially developed adapter boards are designed to perfectly match the respective microcontroller. By plugging the microcontroller onto the appropriate adapter board and then plugging it into the micro:bit slot, the Joy-Pi Advanced quickly and easily becomes compatible with the different microcontrollers. This allows seamless integration of your preferred platform and the ability to combine the strengths of the different microcontrollers in your projects. This way, you can fully focus on your creative projects without worrying about the compatibility of different microcontrollers. The Joy-Pi Advanced simplifies the development process and gives you the possibility to design your projects flexibly and individually.
Features
Highly integrated development platform & learning center
Fast, easy & wireless combination of various sensors & actuators
Installation option for Raspberry Pi 4
Compatible with various microcontrollers
Self-developed, didactic learning platform for Raspberry Pi & Windows
Specifications
Compatible to
Raspberry Pi 4, Arduino Nano, NodeMCU ESP32, BBC micro:bit, Raspberry Pi Pico
Installed sensors, actuators & components
39
Learning platform
Over 40 entries in the know-ledge database, 10 projects, 10 learning tasks, 14 visions
Displays
7-segment display, 16x2 display, 1.8“ TFT display, 0.96" OLED display, 8x8 RGB matrix
Sensors
DS18B20, shock sensor, hall sensor, barometer, sound sensor, gyroscope, PIR sensor, Light barrier, NTC, Light sensor, 6x touch sensor, color sensor, ultrasonic distance sensor, DHT11 temperature & humidity sensor
Control
Joystick, 5x switches, potentiometer, rotary encoder, 4x4 button matrix, relays, PWM fan
Motors
Servo interface, Stepper motor interface, Vibration motor
Measuring & conversion modules
Analog-Digital Converter, Level converter, voltmeter, Variable voltage supply
Other components
RTC real time clock, buzzer, EEPROM memory, infrared receiver, breadboard, RFID reader
Adapter boards
Adapter for NodeMCU ESP32, Arduino Nano & Raspberry Pi Pico, Board connectors for Raspberry Pi & External Boards
Electronic components
Infrared remote control, RFID chip, RFID card, 6x alligator clips, microSD card reader, servo motor, stepper motor, 32 GB microSD card
Components
40x resistors, 3x green LEDs, 3x yellow LEDs, 3x red LEDs, 1x transistor, 5x buttons, 1x potentiometer, 2x capacitors
Other accessories
Screw assortment, screwdriver, accessory storage bag, power supply & power cable, servo mount
Power supply
Built-in power supply: 36 W, 12 V, 3 A Case connector: Small device plug C8
Voltage outputs
12 V, 5 V, 3.3 V, Variable voltage output (2-11 V)
Data buses & signal outputs
I²C, SPI, Analog to digital converter
Battery (RTC)
CR2032
Dimensions
327 x 200 x 52 mm
Included
Raspberry Pi 4 (8 GB RAM)
Downloads
Joy-Pi website
Datasheet
Manual
Over 180 Projects with Raspberry Pi, Pico W, Arduino, and ESP32
This bundle contains the Universal Maker Sensor Kit, which consists of many sensors, actuators, displays, and motors. It’s perfect for environmental monitoring, smart home projects, robotics, and game controllers.
The new Elektor book describes the design of many projects using the kit together with the popular Raspberry Pi, Raspberry Pi Pico W, Arduino Uno, and the ESP32 family of development boards. You can choose any of these development boards for your projects and either use the provided programs as they are, or modify these programs to suit your applications.
This bundle contains:
Book: Universal Maker Sensor Kit (normal price: €45)
Universal Maker Sensor Kit for Raspberry Pi, Pico W, Arduino, ESP32 (normal price: €70)
Book: Universal Maker Sensor Kit
Learn to use more than 35 Sensors and Actuators with C++, Python, and MicroPython
This book contains over 180 projects for all four major development boards (Arduino, Raspberry Pi, Pico W, and ESP32). Depending on the development board, projects are available in the C, Python, or MicroPython programming languages.
The project titles, brief descriptions, wiring diagrams, and full program listings together with their detailed descriptions are given in the guide.
Universal Maker Sensor Kit (for Raspberry Pi, Pico W, Arduino, ESP32)
Discover endless creativity with the Universal Maker Sensor Kit, designed for use with Raspberry Pi, Pico W, Arduino, and ESP32. This versatile kit offers compatibility across popular development platforms, including Arduino Uno R4 Minima/WiFi, Uno R3, Mega 2560, Raspberry Pi 5, 4, 3B+, 3B, Zero, Pico W, and ESP32.
Featuring over 35 sensors, actuators, and displays, it's perfect for projects ranging from environmental monitoring and smart home automation to robotics and interactive gaming. Step-by-step tutorials in C/C++, Python, and MicroPython guide beginners and experienced makers alike through 169 exciting projects.
Features
Wide Compatibility: Fully supports Arduino (Uno R3, Uno R4 Minima/WiFi, Mega 2560), Raspberry Pi (5, 4, 3B+, 3B, Zero, Pico W), and ESP32, enabling extensive flexibility across numerous development platforms. Includes instructions for building 169 projects.
Comprehensive Components: Features more than 35 sensors, actuators, and display modules suitable for diverse projects such as environmental monitoring, smart home automation, robotics, and interactive game controllers.
Detailed Tutorials: Provides clear, step-by-step tutorials covering Arduino, Raspberry Pi, Pico W, ESP32, and each included component. Tutorials are available in C/C++, Python, and MicroPython, catering effectively to both beginners and experienced makers.
Suitable for All Skill Levels: Offers structured projects designed to guide users seamlessly from beginner to advanced proficiency in electronics and programming, enhancing creativity and technical expertise.
Kit includes
Breadboard
Button Module
Capacitive Soil Moisture Module
Flame Sensor Module
Gas/Smoke Sensor Module (MQ2)
Gyroscope & Accelerometer Module (MPU6050)
Hall Sensor Module
Infrared Speed Sensor Module
IR Obstacle Avoidance Sensor Module
Joystick Module
PCF8591 ADC DAC Converter Module
Photoresistor Module
PIR Motion Module (HC-SR501)
Potentiometer Module
Pulse Oximeter and Heart Rate Sensor Module (MAX30102)
Raindrop Detection Module
Real Time Clock Module (DS1302)
Rotary Encoder Module
Temperature Sensor Module (DS18B20)
Temperature and Humidity Sensor Module (DHT11)
Temperature, Humidity & Pressure Sensor (BMP280)
Time of Flight Micro-LIDAR Distance Sensor (VL53L0X)
Touch Sensor Module
Ultrasonic Sensor Module (HC-SR04)
Vibration Sensor Module (SW-420)
Water Level Sensor Module
I²C LCD 1602
OLED Display Module (SSD1306)
RGB LED Module
Traffic Light Module
5 V Relay Module
Centrifugal Pump
L9110 Motor Driver Module
Passive Buzzer Module
Servo Motor (SG90)
TT Motor
ESP8266 Module
JDY-31 Bluetooth Module
Power Supply Module
Documentation
Online Tutorial