Tutorialspoint

April Learning Carnival is here, Use code FEST10 for an extra 10% off

ATtiny microcontroller development for Arduino programmers

person icon Markus Edenhauser

4.2

ATtiny microcontroller development for Arduino programmers

A practical guide for the development with the microcontrollers ATtiny 24/44/84 and 25/45/85

updated on icon Updated on Apr, 2024

language icon Language - English

person icon Markus Edenhauser

category icon IT & Software,Microcontroller,Hardware

Lectures -109

Resources -1

Duration -6.5 hours

4.2

price-loader

30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 10000+ top Tutorials Point courses anytime, anywhere.

Course Description

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

  • Praxisbeispiel: Digital dice with random number and LEDs

  • Praxisbeispiel: Digital dice with WS2812b and FastLED

  • Praxisbeispiel: Binary clock with RTC Module and Shift Register

  • Praxisbeispiel: Plant monitor and Deepsleep with CR2032 Battery

  • Praxisbeispiel: Plant monitor with OLED

  • Praxisbeispiel: Tones (creating own Melody) as circuit board pendan

  • Praxisbeispiel: Transistor circuit with reedswitch and clap detector

  • Praxisbeispiel: Temperature sensor with OLED 0,96” at Digispark ATtiny85

  • Praxisbeispiel: 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

Who this course is for:

  • Anyone who wants to deepen their knowledge of low-power, small form factor microcontrollers.
  • Developers who are interested in using low-cost microcontrollers for their projects.
  • All those who want to understand, apply and write their own practical projects with microcontrollers.
  • All those who want to learn more about microcontrollers with limited hardware resources

Goals

What will you learn in this course:

  • What is an ATtiny and which variants are available

  • Technical data and pinout discussion

  • Effect of CPU clock speed and power supply

  • Power saving mode Deepsleep and interrupts

  • Brown-out detection and CPU clock setting with fuses

  • Apply hardware settings with Arduino IDE and PlatformIO (Fuses)

  • Source Code Creation with C++

  • Configuring and setting up Visual Studio Code with PlatformIO and Arduino IDE

  • Get to know different ATtiny cores and sources of supply

  • Create Arduino ISP DIY Shield for flashing

  • Use USB ISP Flasher

  • Use different upload methods with different IDEs

  • LED control with PWM

  • Use of WS2812b and FastLED with ATtiny

  • RTC module and shift register usage with ATtiny

  • Evaluation of humidity sensor and Deepsleep

Prerequisites

What are the prerequisites for this course?

  • irst experiences in Arduino development (millis, pinMode, data types) advantageous

  • Basics C++ in the Arduino environment

  • With the online simulators a lot can be simulated, but you have a greater learning success if you rebuild the practical examples with the hardware components

  • Everything about ATtiny is taught in this course

ATtiny microcontroller development for Arduino programmers

Curriculum

Check out the detailed breakdown of what’s inside the course

Introducation
7 Lectures
  • play icon Introduction to this course 03:32 03:32
  • play icon About me 01:56 01:56
  • play icon Download code snippets 00:44 00:44
  • play icon Prerequisites for this course 03:17 03:17
  • play icon Course structure 01:04 01:04
  • play icon Surely there's another way 01:04 01:04
  • play icon Disclaimer 01:18 01:18
ATtiny Basics
12 Lectures
Tutorialspoint
IDE setup and upload devices
9 Lectures
Tutorialspoint
First sketch with different upload variants
7 Lectures
Tutorialspoint
PWM with 3 LEDs
6 Lectures
Tutorialspoint
Digital dice with Randomnumber and LEDs
9 Lectures
Tutorialspoint
Digital dice with WS2812b and FastLED
7 Lectures
Tutorialspoint
Binary clock with RTC Module and Shift Register
11 Lectures
Tutorialspoint
Plant monitor and Deepsleep with CR2032 Battery
10 Lectures
Tutorialspoint
Plant monitor with OLED
9 Lectures
Tutorialspoint
Tones as circuit board pendant
9 Lectures
Tutorialspoint
Transistor circuit with reedswitch and clap detector
7 Lectures
Tutorialspoint
Temperature sensor with OLED 0,96” at Digispark ATtiny85
4 Lectures
Tutorialspoint
Rubber Ducky for Windows with Digispark ATtiny85
1 Lectures
Tutorialspoint
Conclusio
1 Lectures
Tutorialspoint

Instructor Details

Markus Edenhauser

Markus Edenhauser

Bringing IT and People together

I am Markus Edenhauser from Austria/Tyrol. I have professional experience in electrical engineering & finance industry as well as in the non-profit sector. My experiences range from IT auditor and trainer for it-topics, head of department for finance and technology to personnel management. Nowadays I develop funny things with microcontrollers for IoT devices #smarthome.

Education: Foreman in Electrical Engineering, Train the Trainer and Bachelor & Master degree in Business Informatics and Master degree in Coaching, Organizational & Human Resources Development.

I am looking forward to welcoming you in my courses.

pixelEDI

Course Certificate

Use your certificate to make a career change or to advance in your current career.

sample Tutorialspoint certificate

Our students work
with the Best

Feedbacks

M

Mykhailo Kravchuk

Will be good if the info about input voltage is provided. And also will be not bad to give the formula how to calculate resistor according to input voltage. In case if input voltage more than 5.5 V some resistor is needed for ATTiny as well. Wiring schema is good but an electric schema is missing.

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515