Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Coursera

ATtiny Microcontroller Development for Arduino Programmers

Packt via Coursera

Overview

Coursera Plus Monthly Sale: All Certificates & Courses 40% Off!
Unlock the potential of ATtiny microcontrollers and enhance your Arduino programming skills. This course covers ATtiny variants, flashing methods, and essential development tools. By the end, you’ll confidently program ATtiny chips for real-world applications, from LED control to sensor-based projects. You’ll start with ATtiny fundamentals, exploring pinouts, power consumption, and technical specs. Next, you'll set up your development environment using Arduino IDE, VS Code, and Microchip Studio. You’ll also master different upload methods, including using an Arduino UNO as an ISP or a USB ISP. Hands-on projects will bring your knowledge to life, including digital dice, plant monitors, binary clocks, and temperature sensors. You’ll work with shift registers, WS2812b LEDs, OLED displays, and moisture sensors while implementing energy-efficient deep sleep modes. The course also includes 3D design and printing for custom enclosures. Designed for Arduino programmers, makers, and embedded systems enthusiasts, this course requires basic C++ and microcontroller knowledge. Whether you're a hobbyist or an engineer, you'll gain the skills to create innovative ATtiny-based projects.

Syllabus

  • Introduction
    • In this module, we will introduce the course and set expectations for what you will learn. We will cover the instructor's background, course prerequisites, and structure, ensuring you have the necessary tools and knowledge to begin. Additionally, we will provide guidance on downloading essential code snippets and discuss the flexibility in implementing different approaches.
  • ATtiny Basics
    • In this module, we will explore the basics of ATtiny microcontrollers, including their architecture, variants, and programming languages. We will also discuss how to flash ATtiny, analyze pinout configurations, and examine critical features like clock speed, power consumption, and brown-out detection.
  • IDE Setup and Upload Devices
    • In this module, we will walk through setting up the development environment for ATtiny programming. You will learn how to install ATtiny cores, configure different IDEs, and set up various upload devices to program the microcontroller efficiently.
  • First Sketch with Different Upload Variants
    • In this module, we will write and upload our first ATtiny sketch using different upload techniques. You will learn how to program the microcontroller using Arduino IDE, VS Code PlatformIO, and Digispark ATtiny85 while experimenting with Arduino UNO and USB-ISP as programming interfaces.
  • PWM with 3 LEDs
    • In this module, we will create a project using PWM to control three LEDs. We will explore wiring, write the necessary source code for an RGB LED, and even incorporate 3D printing to enhance the final design.
  • Digital Dice with Random Number and LEDs
    • In this module, we will develop a digital dice using LEDs and ATtiny. We will examine randomness in microcontrollers, refine button handling techniques, and improve the dice’s functionality by adding effects and a compact 3D-printed case.
  • Digital Dice with WS2812b and FastLED
    • In this module, we will build an advanced digital dice using WS2812b LEDs and FastLED. You will learn how to program custom lighting effects, manage button inputs efficiently, and complete the project with a 3D-printed case.
  • Binary Clock with RTC Module and Shift Register
    • In this module, we will construct a binary clock keychain using an RTC module and a shift register. You will learn to read and display time in binary format while implementing LED control logic and 3D printing an enclosure.
  • Plant Monitor and Deep Sleep with CR2032 Battery
    • In this module, we will build a plant monitor powered by a CR2032 battery. You will learn how to read soil moisture levels, optimize power consumption using deep sleep modes, and integrate a buzzer for alerts.
  • Plant Monitor with OLED
    • In this module, we will enhance the plant monitoring system with an OLED display. You will learn how to present real-time sensor readings, visualize data using graphics, and implement deep sleep functionality for prolonged battery life.
  • Tones as Circuit Board Pendant
    • In this module, we will create a unique circuit board pendant that plays melodies. You will learn how to wire up sound and light components, program musical sequences, and enhance the project with interactive touch sensors.
  • Transistor Circuit with Reed Switch and Clap Detector
    • In this module, we will experiment with transistor circuits, incorporating a reed switch and a clap detector. You will gain hands-on experience in creating interactive electronic projects that respond to sound and magnetic triggers.
  • Temperature Sensor with OLED 0.96" at Digispark ATtiny85
    • In this module, we will build a mini weather station using a temperature sensor and an OLED display. You will learn to wire components, configure software settings, and display real-time temperature readings.
  • Rubber Ducky for Windows with Digispark ATtiny85
    • In this module, we will explore how to create a USB Rubber Ducky using Digispark ATtiny85. You will analyze the provided source code, understand how USB automation works, and discuss ethical considerations.
  • Conclusion
    • In this module, we will summarize the course’s key concepts and projects. You will revisit important takeaways, explore potential applications, and get recommendations for advancing your ATtiny and Arduino programming skills.

Taught by

Packt - Course Instructors

Reviews

Start your review of ATtiny Microcontroller Development for Arduino Programmers

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.