Illustrated guide: LEDs, buttons, sensors and motors, with wiring diagrams and commented code.
Impeca Tech digital books
Written for practice: every chapter ends with a build that works. PDF format, instant download.
Web server, remote sensors and phone alerts with an ESP32 board.
Automate a home or a small shop: relays, timers, presence sensors.
Learn programming logic by building small, useful tools.
From chassis to code: a robot that avoids obstacles and follows a line.
Use artificial intelligence in your small business, without being a programmer.
Contents
- 1Your first board and the IDE
- 2LEDs and resistors
- 3Buttons and inputs
- 4Sensors: light, distance, climate
- 5Motors and servos
Preview: 5 pages from the book.
1Before you start
No need to know electronics. Each build starts with a photo of the parts, continues with the wiring diagram and ends with the code, commented line by line. First you get it working; then you understand why.
2What you need
- Arduino UNO R3
- Mini breadboard
- 5 colored LEDs
- 220 Ω resistors
- Jumper wires
Wiring and code
void setup() {
pinMode(13, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH);
delay(500);
digitalWrite(13, LOW);
delay(500);
}
4
Your challenge
Make the LED flash the SOS pattern: three short blinks, three long, three short.
In the book: the step-by-step solution, with the diagram and full code.
5Liked the excerpt? The full book is a PDF with all the builds.
Price on request Request this productContents
- 1What is an ESP32
- 2Connecting to your WiFi
- 3Web server on the board
- 4Remote sensors
- 5Phone alerts
Preview: 5 pages from the book.
1Before you start
The ESP32 is inexpensive and has WiFi and Bluetooth built in. In this book, you use it as the brain of projects you can control from your phone, with no paid cloud and no long wires.
2What you need
- ESP32 DevKit V1
- Micro-USB data cable
- 2.4 GHz WiFi network
- Phone
Wiring and code
#include <WiFi.h>
void setup() {
Serial.begin(115200);
WiFi.begin("TU_WIFI", "TU_CLAVE");
while (WiFi.status() != WL_CONNECTED)
delay(300);
Serial.println(WiFi.localIP());
}
void loop() {}
4
Your challenge
Display the WiFi signal strength (WiFi.RSSI()) in the serial monitor every second.
In the book: the step-by-step solution, with the diagram and full code.
5Liked the excerpt? The full book is a PDF with all the builds.
Price on request Request this productContents
- 1Electrical safety
- 2Relays: switching loads
- 3Automatic light
- 4Watering with a moisture sensor
- 5Presence alarm
Preview: 5 pages from the book.
1Before you start
Automating means telling your home what to do when something happens. You start with low voltage (12 V), safe for learning, and finish with a complete system to install with an electrician.
2What you need
- Arduino UNO R3
- 5 V relay module
- LDR + 10 kΩ
- 12 V power supply and lamp
- PIR motion sensor
Wiring and code
int luz = analogRead(A0);
if (luz < 400) {
digitalWrite(7, LOW); // enciende
} else {
digitalWrite(7, HIGH); // apaga
}
4
Your challenge
Add a second threshold so the light doesn't flicker when a cloud passes by (hysteresis).
In the book: the step-by-step solution, with the diagram and full code.
5Liked the excerpt? The full book is a PDF with all the builds.
Price on request Request this productContents
- 1Thinking like a programmer
- 2Variables and decisions
- 3Loops and lists
- 4Functions and files
- 5Your first useful tool
Preview: 5 pages from the book.
1Before you start
Programming means giving clear instructions. You learn the logic with Python and small projects: a price calculator, a sales log, a file reader. No unnecessary theory.
2What you need
- A computer (any kind)
- Python 3
- A free editor (Thonny or VS Code)
- A willingness to try
Wiring and code
nombre = input("Nombre: ")
for i in range(3):
print("Hola", nombre)
precio = 12500
print("IVA 19%:", precio * 0.19)
4
Your challenge
Modify the program so it asks for the price and calculates the total with VAT.
In the book: the step-by-step solution, with the diagram and full code.
5Liked the excerpt? The full book is a PDF with all the builds.
Price on request Request this productContents
- 1Chassis, motors and H-bridge
- 2Moving forward and backward
- 3Seeing obstacles with ultrasound
- 4Following a line
- 5Controlling it from your phone
Preview: 5 pages from the book.
1Before you start
A robot is a cycle: sense, decide, act. You assemble the chassis, give it eyes (a distance sensor) and teach it to decide. By the end, your robot avoids obstacles on its own.
2What you need
- Arduino UNO R3
- Chassis with 2 motors
- L298N driver
- HC-SR04
- 4×AA battery holder
Wiring and code
if (distancia < 20) {
detener();
girar();
} else {
avanzar();
}
4
Your challenge
Always make the robot turn toward the clearer side (measure left and right).
In the book: the step-by-step solution, with the diagram and full code.
5Liked the excerpt? The full book is a PDF with all the builds.
Price on request Request this productContents
- 1What AI does and doesn't do
- 2Writing good prompts
- 3Customer service and sales
- 4Content for social media
- 5Automating repetitive tasks
Preview: 5 pages from the book.
1Before you start
No programming needed. You learn to ask AI for what you need with clear prompts, to check its answers and to turn repetitive tasks (quotes, replies, summaries) into a five-minute process.
2What you need
- A computer or phone
- A free AI assistant account
- Your real work texts
Wiring and code
Act as a sales advisor for a shop. Write a friendly 3-line reply to a customer asking about the price and the delivery time. Use a warm, informal tone.4
Your challenge
Write your own prompt to reply to the message you receive most often in your business.
In the book: the step-by-step solution, with the diagram and full code.
5Liked the excerpt? The full book is a PDF with all the builds.
Price on request Request this productComplete library
All 6 digital books together, with future updates.
Arduino: from zero to project
Step-by-step video course, with the code for each lesson.
20 ready-to-copy projects
Commented code, parts list and wiring diagram for every project.
Prefer to learn with a kit?
Discover the kits we recommend for each book.