ESP32 #79: Arduino ISP for ATtiny

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 พ.ค. 2018
  • Testing the #ESP32 as an Arduino ISP for ATtiny85 and other ATtiny Chips.
    Arduino BoardManager URL
    raw.githubusercontent.com/dam...
    Arduino Example
    github.com/pcbreflux/espressi...
    github.com/pcbreflux/Arduino/...
    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/espressif/esp-idf)
    xtensa-esp32-elf-gcc (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a) 5.2.0 (dl.espressif.com/dl/xtensa-es...)
    Arduino 1.8.4 (www.arduino.cc/)
    arduino-esp32 commit a153f6ad280e5932be9c80341556348ff505d586 Thu Feb 8 15:56:13 2018 +0200 (github.com/espressif/arduino-...)
    KiCad Nightly-build (kicad-pcb.org/)
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 22

  • @RaadYacu
    @RaadYacu 6 ปีที่แล้ว +1

    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 (th-cam.com/video/dpgcBsl9D4k/w-d-xo.html)

  • @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.

  • @HupenHeinz
    @HupenHeinz 6 ปีที่แล้ว +3

    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

  • @DerTou
    @DerTou 4 ปีที่แล้ว

    thank you so much! you just saved me.

  • @soulertandon2137
    @soulertandon2137 4 ปีที่แล้ว

    You are great sir

  • @MagivaIT
    @MagivaIT 5 ปีที่แล้ว +1

    can i follow these exact instructions to connect the pins of an attiny85 chip without the board ?

  • @gudimetlakowshik3617
    @gudimetlakowshik3617 3 ปีที่แล้ว

    Hi, this is just awesome. I want to program my Atmega328P-U SMD MCU, is it do-able?

  • @davidcyr951
    @davidcyr951 ปีที่แล้ว

    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"

  • @vinceherried497
    @vinceherried497 6 ปีที่แล้ว +1

    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.

  • @mryasithamoddya
    @mryasithamoddya ปีที่แล้ว

    avrdude: Device signature = 0x001fff
    avrdude: Expected signature for ATtiny85 is 1E 93 0B
    Double check chip, or use -F to override this check.

  • @GaunerBerlin
    @GaunerBerlin 3 ปีที่แล้ว +1

    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 ปีที่แล้ว +1

      I've been trying to do this for hours, if anyone has any info on this i'd appreciate some help.
      Thank you.

  • @vasdevbajaj5317
    @vasdevbajaj5317 3 ปีที่แล้ว

    please share the same for amica nodemcu

  • @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.🤦