SlideShare a Scribd company logo
6
Most read
7
Most read
8
Most read
How to set Attiny202
Tanno Yoshinobu
Attiny202 is Small Microcontroller
Reference
https://akizukidenshi.com/catalog/g/g115731/
Environment for set Attiny202
Software
Windows 11 Pro
Arduino IDE 2.3.2
Hardware
DIP8 Programmer Adapter Socket Converter Module 150mil
Arduino Duemilanove
Some Wires and 4.7kΩresistance and Breadboard
LED
Procedure
1. Make Writer
2. Install MegaAttinyCore in Arduino BOARDS MANAGER
3. Connect Arduino Duemilanove and Attiny202
4. Burn bootloader
5. Embed Program
Make Writer
• Download and Unzip
https://github.com/SpenceKonde/jtag2updi
• Rename Folder Name “jtag2updi”
• Open the jtag2updi.ino with Arduino IDE
• Click Upload Button in Arudino IDE
Install megaTinyCore in Arduino BOARDS
MANAGER
• Arudino IDE Tab -> File -> Preferences -> Additional Boards
Manager URLs ->
http://drazzy.com/package_drazzy.com_index.json
• Arduino IDE Tab -> Tools -> Board -> Boards Manager ->
install megaTinyCore
Connect Arduino Duemilanove and
Attiny202
• Set Attiny202 in DIP8 Programmer Adapter Socket
• 5v in Arduino Duemilanove <-> VCC in Attiny202
• GND in Arduino Duemilanove <-> GND in Attiny202
• Digital Pin 6 in Arduino Duemilanove <-4.7kΩ-> UPDI in
Attiny202
Burn bootloader
• Arduino Tab -> Tools -> Board -> megaTinyCore ->
Attiny412/402/212/202
• Arduino Tab -> Tools -> Chip -> Attiny212
• (option) Arduino Tab - > Tools -> Internal Clock and so on
• Arudino Tab -> Tools -> Programmer ->
jtag2updi(megaTinyCore)
• Arudino Tab -> Tools -> Burn Bootloader
Embed Program
• Arduino Tab -> Sketch -> Uploading Using Programmer
• Wire Led between pin 4 and GND ( and resistance )
• Sample Code
void setup()
{ pinMode(4, OUTPUT); }
void loop()
{
digitalWrite(4, HIGH);
delay(1000);
digitalWrite(4, LOW);
delay(1000);
}

More Related Content

DOCX
Setting up the Arduino ATTiny
PDF
Microcontroladores: Uso de placas Arduino en Atmel Studio
PPT
Embedded &amp; pcb design
PDF
Tos tutorial
PPTX
robotics and embedded system ppt
PDF
ATTiny Light Sculpture Project - Part I (Setup)
PPTX
Atmeag328 bootloading
PPTX
Building a robot with the .Net Micro Framework
Setting up the Arduino ATTiny
Microcontroladores: Uso de placas Arduino en Atmel Studio
Embedded &amp; pcb design
Tos tutorial
robotics and embedded system ppt
ATTiny Light Sculpture Project - Part I (Setup)
Atmeag328 bootloading
Building a robot with the .Net Micro Framework

More from ytanno (20)

PPTX
Process of Interval Photograph System
PPTX
How to make an effort for good job
PPTX
How To Bind Cuda And OpenCV
PPTX
How to autorun graphic application
PPTX
How to setup 3D printer (Ender 3 pro)
PPTX
How to set https server
PPTX
How to write code in Attiny10
PPTX
How to set up two i2cs on Attiny841
PPTX
How to write code on MachXO2
PPTX
K-means and X-means
PPTX
First Step SVM
PPTX
さるでも分かりたい9dofで作るクォータニオン姿勢
PPTX
Xaml html5
PPTX
C# でブラウザ操作
PDF
PI制御を作ってみた
PDF
CharpTwitter
PDF
MongoDBCSharp
PDF
VisualStudinoの役に立ちそうな拡張機能をまとめてみた
PDF
2013_kougi6
PDF
兼本研究室プログラム講義4回目
Process of Interval Photograph System
How to make an effort for good job
How To Bind Cuda And OpenCV
How to autorun graphic application
How to setup 3D printer (Ender 3 pro)
How to set https server
How to write code in Attiny10
How to set up two i2cs on Attiny841
How to write code on MachXO2
K-means and X-means
First Step SVM
さるでも分かりたい9dofで作るクォータニオン姿勢
Xaml html5
C# でブラウザ操作
PI制御を作ってみた
CharpTwitter
MongoDBCSharp
VisualStudinoの役に立ちそうな拡張機能をまとめてみた
2013_kougi6
兼本研究室プログラム講義4回目
Ad

Recently uploaded (20)

PPTX
Lecture Notes Electrical Wiring System Components
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
web development for engineering and engineering
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPT
introduction to datamining and warehousing
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
DOCX
573137875-Attendance-Management-System-original
PPTX
Internet of Things (IOT) - A guide to understanding
PPT
Mechanical Engineering MATERIALS Selection
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PPTX
additive manufacturing of ss316l using mig welding
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
Current and future trends in Computer Vision.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Artificial Intelligence
Lecture Notes Electrical Wiring System Components
UNIT 4 Total Quality Management .pptx
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
CH1 Production IntroductoryConcepts.pptx
web development for engineering and engineering
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
introduction to datamining and warehousing
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
573137875-Attendance-Management-System-original
Internet of Things (IOT) - A guide to understanding
Mechanical Engineering MATERIALS Selection
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
additive manufacturing of ss316l using mig welding
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Current and future trends in Computer Vision.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Automation-in-Manufacturing-Chapter-Introduction.pdf
Artificial Intelligence
Ad

How to be friend with Attiny202 which is small microcontroller

  • 1. How to set Attiny202 Tanno Yoshinobu
  • 2. Attiny202 is Small Microcontroller Reference https://akizukidenshi.com/catalog/g/g115731/
  • 3. Environment for set Attiny202 Software Windows 11 Pro Arduino IDE 2.3.2 Hardware DIP8 Programmer Adapter Socket Converter Module 150mil Arduino Duemilanove Some Wires and 4.7kΩresistance and Breadboard LED
  • 4. Procedure 1. Make Writer 2. Install MegaAttinyCore in Arduino BOARDS MANAGER 3. Connect Arduino Duemilanove and Attiny202 4. Burn bootloader 5. Embed Program
  • 5. Make Writer • Download and Unzip https://github.com/SpenceKonde/jtag2updi • Rename Folder Name “jtag2updi” • Open the jtag2updi.ino with Arduino IDE • Click Upload Button in Arudino IDE
  • 6. Install megaTinyCore in Arduino BOARDS MANAGER • Arudino IDE Tab -> File -> Preferences -> Additional Boards Manager URLs -> http://drazzy.com/package_drazzy.com_index.json • Arduino IDE Tab -> Tools -> Board -> Boards Manager -> install megaTinyCore
  • 7. Connect Arduino Duemilanove and Attiny202 • Set Attiny202 in DIP8 Programmer Adapter Socket • 5v in Arduino Duemilanove <-> VCC in Attiny202 • GND in Arduino Duemilanove <-> GND in Attiny202 • Digital Pin 6 in Arduino Duemilanove <-4.7kΩ-> UPDI in Attiny202
  • 8. Burn bootloader • Arduino Tab -> Tools -> Board -> megaTinyCore -> Attiny412/402/212/202 • Arduino Tab -> Tools -> Chip -> Attiny212 • (option) Arduino Tab - > Tools -> Internal Clock and so on • Arudino Tab -> Tools -> Programmer -> jtag2updi(megaTinyCore) • Arudino Tab -> Tools -> Burn Bootloader
  • 9. Embed Program • Arduino Tab -> Sketch -> Uploading Using Programmer • Wire Led between pin 4 and GND ( and resistance ) • Sample Code void setup() { pinMode(4, OUTPUT); } void loop() { digitalWrite(4, HIGH); delay(1000); digitalWrite(4, LOW); delay(1000); }