Make a UPDI Programmer for the Arduino ATTiny

preview_player
Показать описание
It is time for a reality check, your favorite microcontrollers are probably sold out at the moment or just hard to get. But did you even use all of their features for most of your projects anyway? Most Arduino projects would work on a lot of smaller MCUs anyway. To beat the component shortage Clem just uses the brand new ATtiny Generation and shrink-ifies his projects, therefore saving money and power! To do this he needs a UPDI Programmer, so why not just build one?

Visit the element14 Community for more great activities and free hardware:

#0:00 Welcome to Element14 presents
#0:19 Overview
#3:01 What you need
#8:37 Soldering
#9:57 Interfacing
#11:43 Programming
#14:02 Give your Feedback

#Arduino #RaspberryPi #Microcontrollers #Soldering #ElectronicProject
Рекомендации по теме
Комментарии
Автор

The new series of AVR are really powerful.
The PORTMUX lets you move peripherals around, so you have a lot of choice for which pins use I2C, SPI, PWM, etc... (and less chance of a conflict, where you can't use all the PWM if you are using SPI for example),
20Mhz on the internal oscillator,
fractional baud generator on the USART (you can get accurate USART timing without using a specific crystal),
pin change interrupts on every pin,
the event system and CCL can let you do all kinds of crazy things, by linking together other peripherals and IO,
powerful Timer Counters (pulse width/frequency measurement, tons of possible PWMs),
RTC for dedicated system timing (no wasting a TC that could be PWMing),
the Tiny series have a DAC, etc....

Also, the UPDI is so much nicer than ISP/Debug wire. You mentioned less pins, but it's also much faster and more reliable than Debug Wire when debugging (if you have an Atmel ICE).

JB_x
Автор

Thank you for this. I just purchased a bunch of attiny402 ($0.49/chip) for simple projects and some attiny1624 ($0.85/chip) because having a 12 bit adc that can do up to 375, 000 samples/sec would work really great for some data acquisition projects I have working on. Along with some SOIC-8 and -14 breakout boards, getting a fully functional board at the fraction of even cheap clone arduinos sounds like a really good deal.

LeetTuber
Автор

Not heard of UPDI yet, particularly interested in the debugging capabilities. Did some embedded debugging with the Azure Sphere and it is a game changer....

Workshopshed
Автор

Super useful stuff! :) let's all drain those attiny supplies now!

Davedarko
Автор

Agree, those new ATtiny chips are much more capable than the old ATtiny chips, they have even feature ATmega328p doesn't have, like programmable logic(CCL) and event system, better interrupt system, etc

PeetHobby
Автор

I don't understand the grain of rice and sunflower seed? Can you use a standard scale like a banana?

Cool and very useful project though!

a
Автор

5:33 where did you get your SMD storage?

Dreamsarefragile
Автор

Or you buy any USB to serial TTL adapter, connect RX to TX via 4k7 resistor and you are done. You only need RX pin connected to PA0 and GND to GND. Tested with CP2102 and CH340G personally.

slavric
Автор

Nice video! I'm about to embark on the same mission. Question: does this solution now also support serial debugging?

cateyenebula
Автор

Hello, the first link in your video notes is broken. I could find your "bonus content" about the case, but where is the 3d print file? Thank you.

freddecker
Автор

I wonder, is it possible to program an ATtiny... with another attiny? (And usb to ftdi converter)

MaaarAvali
Автор

Cheers. Everything is perfectly explained. I can't load the jtag2updi program. He keeps throwing chiba at me. pls help me.

atihrot
Автор

Does the Arduino IDE serial monitor work over the UPDI link for the Attiny chipI?

jazzjohn
Автор

Noob question: Will this programmer work with Atmel Studio? I ask because I need a UPDI programmer to lock an Arduino Nano Every.
I'm told I cannot lock it via AVRDUDE because it doesn't have access to the fuses. So, my only hope is that it can be done via Atmel Studio....and again hopefully, using your Nano programmer...

btomas
Автор

I like to use Microchip's, PIC 32, 16, 8 and the dsp chips, Some Asian uChips, Intel, AVR, TI, AD, TI, ST eg, the chip thats in the Black and Blue Pill STM32F04... ect As long as they are doing a good JOB. By keeping your products very consistent and always working perfectly for many years, then they are ok for me.

renierjoubert
Автор

Great upload video! 👍 stay connected! 😍Like 👍👍👍

BilgiGunesi
Автор

avedude: jtapakil Initialize(): Cannot locate "Flash" and "boot" memories in description how to solve this error in 402 IC flashing time usins aurdino Uno

jalatharj
Автор

Can someone please help me understand why we dont have more chip fabs? Chips are the world most valuable resource and we are relying on a few plants in very vulnerable asian countries.

bertbrecht
Автор

At 5:58 your soldering skills need work.... LIKE A WORKING FAN! Don't inhale those fumes! Now I'm sure you know better judging from your extensive knowledge.

TheTubejunky
Автор

You are to late with your UPDI video. Bitluni showed all details long time ago :-)
Regarding the chip shortage - the Attiny with UPDI are sold out at the most suppliers. But Arduino boards like the Nano are still available.

circuitslab
visit shbcf.ru