Тёмный

ESP32 #79: Arduino ISP for ATtiny 

pcbreflux
Подписаться 15 тыс.
Просмотров 10 тыс.
50% 1

Testing the #ESP32 as an Arduino ISP for ATtiny85 and other ATtiny Chips.
Arduino BoardManager URL
raw.githubuser...
Arduino Example
github.com/pcb...
github.com/pcb...
Development Environment
ubuntu 17.10 64 Bit (www.ubuntu.com/) (unity)
Eclipse Oxygen (www.eclipse.org/)
esp-idf commit 475ffe78e8c7674a6b9b2dff78774a4a8b66470a Fri Feb 2 19:03:20 2018 +0800 (github.com/esp...)
xtensa-esp32-elf-gcc (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a) 5.2.0 (dl.espressif.c...)
Arduino 1.8.4 (www.arduino.cc/)
arduino-esp32 commit a153f6ad280e5932be9c80341556348ff505d586 Thu Feb 8 15:56:13 2018 +0200 (github.com/esp...)
KiCad Nightly-build (kicad-pcb.org/)

Опубликовано:

 

2 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 23   
@RaadYacu
@RaadYacu 6 лет назад
Great info. I like that PCB you've created for the attiny. Thanks again for the video
@pcbreflux
@pcbreflux 6 лет назад
Raad Yacu Thanks. Ordered 500 boards for $7 ($2 for the PCB + $5 shipping). Hopefully they arrive in 4 weeks. Will use the ATtiny24A-MU (QFN20). There are beside more IO Pins some small differents at the registers compared with the ATtiny85.
@RaadYacu
@RaadYacu 6 лет назад
I was burning bootloader on atmega328p yesterday and best way to do this was a program from Nick Gammon ( www.gammon.com.au/bootloader ) and reference by Kevin Darrah on how to use them (ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-dpgcBsl9D4k.html)
@HupenHeinz
@HupenHeinz 6 лет назад
One quick hint: you will also have to #define RESET 22 (line 73 or thereabout) so that it works with the wiring given.
@pcbreflux
@pcbreflux 6 лет назад
Andreas Göbel Thanks. Do you mean line 74? Sorry, forgot to mention the change. You can use also other GPIO pins for RESET if this is better for your setup or board. github.com/pcbreflux/espressif/blob/a738d323b29893210919dde2831720eea5bb64ca/esp32/arduino/sketchbook/ESP32_ArduinoISP/ESP32_ArduinoISP.ino#L74
@MagivaIT
@MagivaIT 6 лет назад
can i follow these exact instructions to connect the pins of an attiny85 chip without the board ?
@madvelila
@madvelila Год назад
I would like to program bootloader to cheap chinese arduino uno ch340 clone using my esp32 board. All the quides show only how to program the bootloader with arduino to another arduino. The problem is that I only have one arduino board but multiple esp32 boards.🤦
@mryasithamoddya
@mryasithamoddya 2 года назад
avrdude: Device signature = 0x001fff avrdude: Expected signature for ATtiny85 is 1E 93 0B Double check chip, or use -F to override this check.
@vinceherried497
@vinceherried497 6 лет назад
I'm trying to do the same with a WEMOS D1 mini, changing the reset pin to D4. When I try to upload a sketch to my ATtiny85 it times out. Using ESP32 works fine.
@vinceherried497
@vinceherried497 6 лет назад
Well that was quick. I dummied out the extra indicator LEDs and it works //#define LED_HB 9 //#define LED_ERR 8 //#define LED_PMODE 7
@pcbreflux
@pcbreflux 6 лет назад
Vince Herried Thank you. So it's working on the ESP8266 as well? Not try, but it's handy if you have not atmega board in reach or like me all my arduino pro minis need to be soldered before using and have no usb to uart integrated.
@gudimetlakowshik3617
@gudimetlakowshik3617 3 года назад
Hi, this is just awesome. I want to program my Atmega328P-U SMD MCU, is it do-able?
@davidcyr951
@davidcyr951 2 года назад
The ESP32 uploads the sketch properly, but in order to upload to additional chips, the ESP32 has to be reset because this message is issued following the first upload. This is not the case with the UNO equivalent. Is there something easy to modify in the ESP32 programmer code to fix this? "avrdude: stk500_recv(): programmer is not responding"
@maximuss099
@maximuss099 Месяц назад
I have fixed this behavior by adding SPI.endTransaction(); at the beginning of function void end_pmode(); source: forum.arduino.cc/t/programming-avr-with-an-esp32-with-arduino-as-isp/1105576/4
@vasdevbajaj5317
@vasdevbajaj5317 4 года назад
please share the same for amica nodemcu
@DerTou
@DerTou 4 года назад
thank you so much! you just saved me.
@soulertandon2137
@soulertandon2137 5 лет назад
You are great sir
@GaunerBerlin
@GaunerBerlin 3 года назад
Thank You for the great tutorial. Is it possible to program the bootloader of the ATTiny85 via the ESP32? I'd like to put on the micronucleus USB bootloader on to my Attiny, but have only a esp32 available for this.
@nteves1
@nteves1 2 года назад
I've been trying to do this for hours, if anyone has any info on this i'd appreciate some help. Thank you.
@jims408
@jims408 6 лет назад
Really interesting info; thanks for sharing. I'm looking forward to seeing your 3-LED board in action!
@pcbreflux
@pcbreflux 6 лет назад
Thanks. Still waiting for delivery from JLCPCB for $7 ($2 for the pcb + $5 shipping but need 4 to 6 weeks). This board is for a friend illuminating his very small airplane (~6mm hull diameter) cardboard models with optical fiber strands attached/glued to the LEDs.
@pcbreflux
@pcbreflux 6 лет назад
See also part of my BOM twitter.com/pcbreflux/status/996284513943683073
@jims408
@jims408 6 лет назад
That is such a cool application! I am also curious what the ATtiny13A's and 24A's are capable of (I've only used the 85's)... I need to do some research on those other chips. Love the really small form factor.
Далее
Bare-Metal MCU #9 - Review; ATTiny85 from scratch
14:25
Arduino in a commercial product?
7:17
Просмотров 22 тыс.
Forget WiFi! This Wireless Method is WAY Better?
12:14
Просмотров 616 тыс.
Forget About Raspberry Pi! Use Your Old Phone Instead.
9:09
How to program the ATtiny 841 using the Arduino IDE
11:03
How to Program an ATtiny with Arduino (Up to Date)
10:09
#363 Which ESP32 pins are safe to use?
11:53
Просмотров 130 тыс.