SlideShare a Scribd company logo
How to write code in
Attiny10
Yoshinobu Tanno
2019/08/16
http://ytanno.herokuapp.com/
What is Attiny10 ?
• Small Microcontroller
Data sheet 7p
http://ww1.microchip.com/downloads/en/De
viceDoc/atmel-8127-avr-8-bit-microcontroller-
attiny4-attiny5-attiny9-attiny10_datasheet.pdf
For writing code :
1. wiring between AVR Mark II and Socket of Attiny10
SCK
PB3
VCC
PB2
PB0
GND
PB1
MISO RESET
VCC GND
Connection
AVR Mark II <-> Attiny10 <-> Outer
MISO <-> PB0
SCK <-> PB1
RESET <-> PB3
VCC <-> VCC <-> 5v
GND <-> GND <-> GND
For writing code :
2. Make code using Atmel Studio 7
• Atmel Studio 7 -> New Project -> GCC C++ Executable Project ->
Device Selection (Attiny10) -> make code -> Build -> Build Solution
For writing code :
3. writing code in Attiny10 using Atmel Studio 7
• Device Programming -> Memories -> Click Program Button
Tip
1. PB3 has reset role. If PB3 is overwritten by I/O role, we cannot write
code using basic method in Attiny10. If PB3 is inputted 12v, PB3
may recover reset role (I don’t evaluate it)
https://www.avrfreaks.net/forum/12v-tpi-programmer
2. Reference of useful code sample
http://www.technoblogy.com/show?1YQY

More Related Content

PPTX
Aditech innodisk-flash disk technology
PDF
Arduino: Ethernet Shield para Arduino
PPTX
Designing, Fabricating, and Building an Electronic Badge
PDF
BRKACI-2102_Tshoot.pdf
PDF
Quanta zqta, zqsa_r1a_20111111_schematics
PDF
Etapes fab-venti-v2
PDF
Troubleshooting the Cisco Catalyst 9000 Series Switches - BRKTRS-3090.pdf
PDF
Low-Latency-CC-and-Video-Streaming-with-the-NVidia-Jetson-Nano-v0922.pdf
Aditech innodisk-flash disk technology
Arduino: Ethernet Shield para Arduino
Designing, Fabricating, and Building an Electronic Badge
BRKACI-2102_Tshoot.pdf
Quanta zqta, zqsa_r1a_20111111_schematics
Etapes fab-venti-v2
Troubleshooting the Cisco Catalyst 9000 Series Switches - BRKTRS-3090.pdf
Low-Latency-CC-and-Video-Streaming-with-the-NVidia-Jetson-Nano-v0922.pdf

Similar to How to write code in Attiny10 (20)

PDF
Low-Latency-CC-and-Video-Streaming-with-the-NVidia-Jetson-Nano-v0922.pdf
PDF
DetailsiBeacon_endocsSetupBeaconInIOS.pdf
PDF
Plc s7-300-special-communication1
PPTX
Lecture23_Home automation where we talk how iot can be used for home automation
PDF
WCAN mini ActionScript Vol.4
PDF
NXP Debug I2C 2022_08_07.pdf
PDF
Ax som-xc7z020-user_manual_en
DOC
OV7670 Camera interfacing-with-arduino-microcontroller
PPTX
ESP8266 Wifi Nodemcu
PPTX
Wi-Fi Esp8266 nodemcu
PDF
CISCO Live SD-WAN Technology Bi-Diractional
PDF
AVR HOW-TO GUIDE Interfacing SPI-Ethernet With AVR Slicker Contents At A Glance
PPTX
embedded system and AVR
PPTX
Industrial protocols for pentesters
PDF
PLNOG15: VidMon - monitoring video signal quality in Service Provider IP netw...
PPTX
EMEA Airheads- Manage Devices at Branch Office (BOC)
PDF
Présentation cisco aci in action fundamentals - fcouderc - v6
PPTX
Industrial protocols for pentesters
PPTX
Industrial protocols for pentesters
Low-Latency-CC-and-Video-Streaming-with-the-NVidia-Jetson-Nano-v0922.pdf
DetailsiBeacon_endocsSetupBeaconInIOS.pdf
Plc s7-300-special-communication1
Lecture23_Home automation where we talk how iot can be used for home automation
WCAN mini ActionScript Vol.4
NXP Debug I2C 2022_08_07.pdf
Ax som-xc7z020-user_manual_en
OV7670 Camera interfacing-with-arduino-microcontroller
ESP8266 Wifi Nodemcu
Wi-Fi Esp8266 nodemcu
CISCO Live SD-WAN Technology Bi-Diractional
AVR HOW-TO GUIDE Interfacing SPI-Ethernet With AVR Slicker Contents At A Glance
embedded system and AVR
Industrial protocols for pentesters
PLNOG15: VidMon - monitoring video signal quality in Service Provider IP netw...
EMEA Airheads- Manage Devices at Branch Office (BOC)
Présentation cisco aci in action fundamentals - fcouderc - v6
Industrial protocols for pentesters
Industrial protocols for pentesters
Ad

More from ytanno (20)

PPTX
How to be friend with Attiny202 which is small microcontroller
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 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回目
How to be friend with Attiny202 which is small microcontroller
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 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)

PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Encapsulation theory and applications.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
A comparative analysis of optical character recognition models for extracting...
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PPTX
Machine Learning_overview_presentation.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Encapsulation_ Review paper, used for researhc scholars
Chapter 3 Spatial Domain Image Processing.pdf
Empathic Computing: Creating Shared Understanding
Encapsulation theory and applications.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Diabetes mellitus diagnosis method based random forest with bat algorithm
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Approach and Philosophy of On baking technology
Spectral efficient network and resource selection model in 5G networks
Mobile App Security Testing_ A Comprehensive Guide.pdf
A comparative analysis of optical character recognition models for extracting...
MYSQL Presentation for SQL database connectivity
Digital-Transformation-Roadmap-for-Companies.pptx
Machine Learning_overview_presentation.pptx
cuic standard and advanced reporting.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Programs and apps: productivity, graphics, security and other tools
Encapsulation_ Review paper, used for researhc scholars

How to write code in Attiny10

  • 1. How to write code in Attiny10 Yoshinobu Tanno 2019/08/16 http://ytanno.herokuapp.com/
  • 2. What is Attiny10 ? • Small Microcontroller Data sheet 7p http://ww1.microchip.com/downloads/en/De viceDoc/atmel-8127-avr-8-bit-microcontroller- attiny4-attiny5-attiny9-attiny10_datasheet.pdf
  • 3. For writing code : 1. wiring between AVR Mark II and Socket of Attiny10 SCK PB3 VCC PB2 PB0 GND PB1 MISO RESET VCC GND Connection AVR Mark II <-> Attiny10 <-> Outer MISO <-> PB0 SCK <-> PB1 RESET <-> PB3 VCC <-> VCC <-> 5v GND <-> GND <-> GND
  • 4. For writing code : 2. Make code using Atmel Studio 7 • Atmel Studio 7 -> New Project -> GCC C++ Executable Project -> Device Selection (Attiny10) -> make code -> Build -> Build Solution
  • 5. For writing code : 3. writing code in Attiny10 using Atmel Studio 7 • Device Programming -> Memories -> Click Program Button
  • 6. Tip 1. PB3 has reset role. If PB3 is overwritten by I/O role, we cannot write code using basic method in Attiny10. If PB3 is inputted 12v, PB3 may recover reset role (I don’t evaluate it) https://www.avrfreaks.net/forum/12v-tpi-programmer 2. Reference of useful code sample http://www.technoblogy.com/show?1YQY