SlideShare una empresa de Scribd logo
1 de 9
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);
}

Más contenido relacionado

Similar a How to be friend with Attiny202 which is small microcontroller

Intro to arduino
Intro to arduinoIntro to arduino
Intro to arduino
José Faria
 
Arduino: Programación Arduino usando Matlab por Agus Kurniawan
Arduino: Programación Arduino usando Matlab por Agus KurniawanArduino: Programación Arduino usando Matlab por Agus Kurniawan
Arduino: Programación Arduino usando Matlab por Agus Kurniawan
SANTIAGO PABLO ALBERTO
 

Similar a How to be friend with Attiny202 which is small microcontroller (20)

Dji phantom 2 vision vision+ open wrt webgui install
Dji phantom 2 vision vision+ open wrt webgui installDji phantom 2 vision vision+ open wrt webgui install
Dji phantom 2 vision vision+ open wrt webgui install
 
Intro to arduino
Intro to arduinoIntro to arduino
Intro to arduino
 
Os dev tool box
Os dev tool boxOs dev tool box
Os dev tool box
 
2016/12/10: Ourense MakersLab workshop
2016/12/10: Ourense MakersLab workshop2016/12/10: Ourense MakersLab workshop
2016/12/10: Ourense MakersLab workshop
 
Arduino : how to get started
Arduino : how to get startedArduino : how to get started
Arduino : how to get started
 
GIT training - advanced for software projects
GIT training - advanced for software projectsGIT training - advanced for software projects
GIT training - advanced for software projects
 
Quick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
Quick prototyping using Gadgeteer, Raspberry Pi + Fez CreamQuick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
Quick prototyping using Gadgeteer, Raspberry Pi + Fez Cream
 
Introduction to Arduino
Introduction to Arduino Introduction to Arduino
Introduction to Arduino
 
What is Arduino ?
What is Arduino ?What is Arduino ?
What is Arduino ?
 
Arduino
ArduinoArduino
Arduino
 
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
Getting Started with the NodeMCU- NodeMCU Programming (By Akshet Patel)
 
Git collaboration
Git collaborationGit collaboration
Git collaboration
 
Developing IoT devices. Creating wearables with the new LinkIt™ 2523 HDK by SAC
Developing IoT devices. Creating wearables with the new LinkIt™ 2523 HDK by SACDeveloping IoT devices. Creating wearables with the new LinkIt™ 2523 HDK by SAC
Developing IoT devices. Creating wearables with the new LinkIt™ 2523 HDK by SAC
 
Arduino: Starter kit for arduino(manual de usuario)
Arduino: Starter kit for arduino(manual de usuario)Arduino: Starter kit for arduino(manual de usuario)
Arduino: Starter kit for arduino(manual de usuario)
 
Arduino: Programación Arduino usando Matlab por Agus Kurniawan
Arduino: Programación Arduino usando Matlab por Agus KurniawanArduino: Programación Arduino usando Matlab por Agus Kurniawan
Arduino: Programación Arduino usando Matlab por Agus Kurniawan
 
Getting started with Intel IoT Developer Kit
Getting started with Intel IoT Developer KitGetting started with Intel IoT Developer Kit
Getting started with Intel IoT Developer Kit
 
ESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started GuideESP32 WiFi & Bluetooth Module - Getting Started Guide
ESP32 WiFi & Bluetooth Module - Getting Started Guide
 
Programming objects with android
Programming objects with androidProgramming objects with android
Programming objects with android
 
Weather monitoring System Using STM32
Weather monitoring System Using STM32Weather monitoring System Using STM32
Weather monitoring System Using STM32
 
Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!Lab Handson: Power your Creations with Intel Edison!
Lab Handson: Power your Creations with Intel Edison!
 

Más de ytanno

兼本研究室プログラム講義4回目
兼本研究室プログラム講義4回目兼本研究室プログラム講義4回目
兼本研究室プログラム講義4回目
ytanno
 

Más de ytanno (20)

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

Último

Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Lovely Professional University
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
MaherOthman7
 
Online crime reporting system project.pdf
Online crime reporting system project.pdfOnline crime reporting system project.pdf
Online crime reporting system project.pdf
Kamal Acharya
 

Último (20)

Multivibrator and its types defination and usges.pptx
Multivibrator and its types defination and usges.pptxMultivibrator and its types defination and usges.pptx
Multivibrator and its types defination and usges.pptx
 
Artificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian ReasoningArtificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian Reasoning
 
Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2Research Methodolgy & Intellectual Property Rights Series 2
Research Methodolgy & Intellectual Property Rights Series 2
 
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5
 
Introduction to Arduino Programming: Features of Arduino
Introduction to Arduino Programming: Features of ArduinoIntroduction to Arduino Programming: Features of Arduino
Introduction to Arduino Programming: Features of Arduino
 
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
Activity Planning: Objectives, Project Schedule, Network Planning Model. Time...
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
Insurance management system project report.pdf
Insurance management system project report.pdfInsurance management system project report.pdf
Insurance management system project report.pdf
 
EMPLOYEE MANAGEMENT SYSTEM FINAL presentation
EMPLOYEE MANAGEMENT SYSTEM FINAL presentationEMPLOYEE MANAGEMENT SYSTEM FINAL presentation
EMPLOYEE MANAGEMENT SYSTEM FINAL presentation
 
Piping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdfPiping and instrumentation diagram p.pdf
Piping and instrumentation diagram p.pdf
 
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
The battle for RAG, explore the pros and cons of using KnowledgeGraphs and Ve...
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
 
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
 
Software Engineering - Modelling Concepts + Class Modelling + Building the An...
Software Engineering - Modelling Concepts + Class Modelling + Building the An...Software Engineering - Modelling Concepts + Class Modelling + Building the An...
Software Engineering - Modelling Concepts + Class Modelling + Building the An...
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
 
E-Commerce Shopping using MERN Stack where different modules are present
E-Commerce Shopping using MERN Stack where different modules are presentE-Commerce Shopping using MERN Stack where different modules are present
E-Commerce Shopping using MERN Stack where different modules are present
 
Online crime reporting system project.pdf
Online crime reporting system project.pdfOnline crime reporting system project.pdf
Online crime reporting system project.pdf
 
15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AI
 

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); }