How to Program ATtiny10 with Arduino IDE (Full guidance)

preview_player
Показать описание
Fully explained tutorial about how to program ATtiny10 small Microcontroller through @Arduino IDE.
I explained in this tutorial how to properly make your Arduino IDE suitable for Tiny10 MCU and I tested some code samples of Arduino APIs such as digitalWrite, analogWrite, delay etc.
The small flash memory of the Tiny10 is not a limit because the microcontroller still can get some basic codes for simple applications which makes it a good solution to replace some electronics components especially due to its cheap price of around $0.4

0:04 Video intro
0:15 Comparison between some Tiny MCUs
0:50 Not working solutions to program the ATtiny10
1:53 Best solution to program ATtiny10
2:28 TPI Programming protocal explanation
3:00 software setup (Arduino IDE)
3:33 Hardware setup (Arduino UNO as programmer)
4:45 IDE error debugging
6:00 Code uploaded successfully

The main Breakout Board PCB has been designed under Altium Designer and you can start a FREE TRIAL of this ECAD software through this link :

★☆★ Trusted sources ★☆★

★☆★ DOWNLOAD UNO CODE ★☆★

★☆★ Recommended Electronics Kit ★☆★

★☆★ My Video filming tools ★☆★

★☆★ 💻 FOLLOW ME BELOW 💻 ★☆★

Keywords
#arduino #electronic #explore #arduinoproject #arduinoprogramming #attiny10 #learn #learning #stem #education #tips ##circuit #breadboard #smd #easytutorial #hardware
Рекомендации по теме
Комментарии
Автор

This video has really brought me happiness because, I was working with chip and I failed times to program it. I used the same method you used but I wasn't able to know what was wrong with my IDE. This solution really helped me, and made my dream of making attiny10 to be working come true. Many thanks ❤❤❤❤❤❤❤❤

ibrahim.t
Автор

Finally I was able to take your approach and thanks to you and Kosakas Blog, it really works great :)
I have my own SOT-23 breakouts with already soldered tiny10 on it, but specifically made for thin applications hence I had to make my own wires first before I could try it. Very happy that is works, thank you !

stocothedude
Автор

Worked like an absolute charm, thank you!

A hiccup I ran into was I was using the windows store app version which didn't really let me switch to the 1.6.23 version. When using the regular downloaded app, it worked great! :)

Thank you!

drhubs
Автор

This is gold - I have 5 of this tiny fellas laying around, waiting to be programmed <3

danielmichalski
Автор

first I open the sketch compile and upload with the board as ("Arduino/Genuino uno", (Arduino AVR Board Version 1.6.23")this step is ok , then open the blink sketch, change the board to ( ATtiny10 (bitDuino10-arduino TPI), when compiling then I got this error (last 3 lines)
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board ATtiny10 (bitDuino10-arduinoTPI).

what I'm missing....
Thank's again for your time

JBERGALIEN
Автор

Спасибо дорогой товарищ за инструкцию.

bsnchita
Автор

Sketch uses 70 bytes (6%) of program storage space. Maximum is 1024 bytes.
Global variables use 0 bytes (0%) of dynamic memory, leaving 32 bytes for local variables. Maximum is 32 bytes.
2024/02/04 13:34:06 open COM13 The system cannot find the file specified.
2024/02/04 13:34:06
Failed uploading: uploading error: exit status 1

Please help. Thanks.

LinnLim
Автор

Thanks for the video. I followed the steps and could compile the blink code. But the upload gave me an error message.Any
Sketch uses 428 bytes (41%) of program storage space. Maximum is 1024 bytes.
Global variables use 0 bytes (0%) of dynamic memory, leaving 32 bytes for local variables. Maximum is 32 bytes.
-p attiny10 -P COM14 -b 9600 -U
2024/03/03 14:09:54 open COM14 The system cannot find the file specified.
2024/03/03 142:09:54
An error occurred while uploading the sketch
Any suggestions of what went wrong?

roguezaint
Автор

That's very helpful from you, how can I send you screen captures to help you find the problem, let me know thank's again for your reply I will setup again the arduino and breadboard circuit and get the errors ready to send it to you.

JBERGALIEN
Автор

Hello, is it possible to to set the internal clock . thank you

JBERGALIEN
Автор

can you please suggest me where to buy arduino tool programmer thanks

ansarifaisal
Автор

I am getting an error after following all of your steps. I went to upload the code to my Arduino (ATtiny10) and it says "fatal error: SPI.h: No such file or directory." Any work arounds?

jakobmurray
Автор

Hello, and thank you for this excellent tutorial, if I may ask can the TPI by use to set the RESET pin as an GPIO, and does the TPI can be use to reset the attiny10 to factory setup.

JBERGALIEN
Автор

Hello! Thank you very much for this video, is really usefull and detailed. But sadly I can't compile the code... I already changed and updated the version of AVR Boards to 1.6.22 but still not working... Could you help me or give me some advice? Thanks in advance. PD: My Arduino IDE is v1.8.13
Best regards from Argentina!

darioeljatib
Автор

Sadly this doesn't work any more.
The avrboy program written in golang cannot open the serial connection to the arduino.
Given that the arduino acts as the programming interface that's a pretty major bug.
Why on earth they wrote it in such a frail language... It is yet another example of where trying to be trendy doesn't pay off in the long run.
At least they didn't use python ROFL
Now i'm off to buy a usbASP

MrBCRC
Автор

Also I used Arduino IDE 1.8.9, with arduino AVR board 1.6.23

JBERGALIEN
Автор

Hi, also do I need to select the "Programmer: Arduino as ISP" ?
thank's again for your time

JBERGALIEN
Автор

Hello. Thanks for your video. I have a question. Can we use this setup for Attiny5?

muratkaraca
Автор

Hey, I am trying to program ATtiny 10 using your method, but I don't seem to get any response from ATtiny when programming it. I get serial:timeout error on Arduino IDE. I use same version as you, I also checked connection and they are correct. I use 220 Ohm resistors on data lines. It looks like ATtiny doesn't turn on or doesn't respond to Arduino UNO attempts to communicate with it. Any solutions to that?

dominykassimpukas
Автор

Hi, is it possible to reprogram in Tiny10

CARajs