
ATtiny microcontroller development for Arduino programmers through ten hands-on projects, covering basics, wiring, flowchart, and step-by-step code. Access downloadable codes, schematics, and datas for practical hands-on practice.
Explore ATtiny microcontrollers' origins, types, and datasheets, and learn how to pick the right device, while covering programming options, pinouts, clock speeds, power, brownout settings, and Visual Studio Code setup.
Compare the ATtiny with the ATmega in the AVR series, then explore its small, cheap, do-it-yourself friendly design, pin counts, and memory options for do-it-yourself projects.
Learn how to flash the ATtiny by transferring source code from your PC to the microcontroller using a six-pin connector and a USB device on a breadboard.
Explore the ATtiny 44/45 family through key specifications, including pinout, memory, clock options, power requirements, and interfaces such as SPI and ADC, with emphasis on the datasheet reference.
Design and assemble a do-it-yourself shield for the Arduino Uno to simplify flashing an ATtiny, using two capacitors, GPIO sockets, and configurable pin wiring.
Open Visual Studio Code or the platform sources in the Arduino IDE, explore the project structure, edit C++ files, and compile or upload with the correct board and clock settings.
Configure Arduino IDE preferences to show verbose upload, select the ATtiny and USB-ISP port, burn bootloader to apply clock and brownout settings, then upload a sketch to flash the ATtiny.
The Arduino as ISP Sketch (from the Arduino IDE) must be uploaded before. This was already shown in the previous videos.
Configure and upload ATtiny sketches from VS Code using PlatformIO for Arduino UNO USB setup, define environment variables and upload port and speed, and flash the sketch via AVR platform.
Explore building a smooth RGB LED color transition on an ATtiny microcontroller using for loops and a color_two_led helper function to fade red, green, and blue from 0 to 255.
Configure a fresh ATtiny project for Arduino programmers by setting the platform, upload port, protocol, speed, and fuses, then initialize an LED array and verify with a first test.
Discover how the 74HC595N shift register expands microcontroller pins to eight outputs using three inputs, with pinout and wiring for ATtiny and LEDs; future videos cover coding the shift register.
Initialize all global variables at startup and set pin modes for lcd, power, brightness and moisture sensors; power, read sensors, compare against thresholds, and trigger led or buzzer when dark.
Read photoresistor values and display results on LCD accordingly, using 50 values to determine darkness with a 400 threshold. Control the LED on darkness and apply deep sleep between cycles.
Explore flowchart-driven project setup for ATtiny and Arduino programmers, configuring button and moisture sensor pins, implementing interrupts and deep sleep, and repeatedly reading and displaying sensor and battery data.
Learn to display moisture sensor data on an ATtiny microcontroller using an Arduino workflow, converting analog readings to a 0–100% moisture percentage and printing it for alerts.
ATtinys are low-cost microcontrollers that impress with their small form factor and low power consumption (~4-8µA during DeepSleep). The ATtinys can be programmed easily and quickly in the familiar Arduino environment (IDE and C++), so you have a cheap alternative to the Arduinos and ESPs. The ATtinys can be operated with a button battery CR2032 and have enough memory for common DIY projects.
For the whole course the ATtinys 25/24, 44/45 and 84 as well as the Digispark ATtiny85 are used.
What we go through in the course:
Basics of Atmel ATtiny microcontrollers.
Getting to know different components like transistors, OLED displays, shift registers and much more.
Getting to know different upload variants for flashing the ATtinys
Use of Visual Studio Code with PlatformIO or Arduino IDE
Set hardware configurations like CPU clock frequency, brown-out detection etc.
Use of digital-analog GPIOs and PWM controls
Practical example: Digital dice with random number and LEDs
PraPractical examplexisbeispiel: Digital dice with WS2812b and FastLED
Practical example: Binary clock with RTC Module and Shift Register
Practical example: Plant monitor and Deepsleep with CR2032 Battery
Practical example: Plant monitor with OLED
Practical example: Tones (creating own Melody) as circuit board pendan
Practical example: Transistor circuit with reedswitch and clap detector
Practical example: Temperature sensor with OLED 0,96” at Digispark ATtiny85
Practical example: DIY Rubber Ducky with Digispark ATtiny85
My approach in the course:
No (ok, only very few) slides/Powerpoint but more projects. We start in the basics immediately with a practical example. You can also try out the theory immediately with the ATtinys and thereby understand it better.
The practical projects are developed together in step-by-step instructions.
In this context, together means that I demonstrate the code, depending on the task, and you can follow the execution or rebuild your own way.
All codes are available for download on the platform, so you can get to the result without frustration.
No lengthy explanations or theory monologues, we start right away in the basics chapter.
Benefit from my years of experience and get the key skills in microcontroller development.
Get this course right now and you can start right away.
See you in class
Markus Edenhauser