No video

Make a UPDI Programmer for the Arduino ATTiny

  Рет қаралды 23,674

element14 presents

element14 presents

Күн бұрын

Пікірлер: 54
@JB_0x00
@JB_0x00 2 жыл бұрын
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).
@MAYERMAKES
@MAYERMAKES 2 жыл бұрын
yep a really good alternative for a lot of projects!
@Workshopshed
@Workshopshed 2 жыл бұрын
Portmux has been a common technique for a few years now. Often not as flexible as it implies.
@ozzymandius666
@ozzymandius666 2 жыл бұрын
Also, with a bit of skill, one could use multiple ATtiny's each communicating with each other for more complex tasks. Feedback loops, etc, opens up all sorts of possibilities for skilled coders.
@Workshopshed
@Workshopshed 2 жыл бұрын
@@ozzymandius666 I did have an idea like that using LEDs as both transmitter and receiver of data
@paulramasco6769
@paulramasco6769 2 жыл бұрын
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.
@MAYERMAKES
@MAYERMAKES 2 жыл бұрын
You are welcome!
@jalatharj842
@jalatharj842 Жыл бұрын
How to flash the program using aurdino nano attiny 402
@Davedarko
@Davedarko 2 жыл бұрын
Super useful stuff! :) let's all drain those attiny supplies now!
@MAYERMAKES
@MAYERMAKES 2 жыл бұрын
I oredered a bunch more of them since I made that programmer
@Workshopshed
@Workshopshed 2 жыл бұрын
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....
@MAYERMAKES
@MAYERMAKES 2 жыл бұрын
It's really nice according to longer term users, I haven't done much debugging with it yet.
@a531016
@a531016 2 жыл бұрын
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!
@MAYERMAKES
@MAYERMAKES 2 жыл бұрын
these are the standard scales for asian and Slavic viewers, I don't want them to get left out. Also I had no banana....
@xXDeltaXxwhotookit
@xXDeltaXxwhotookit 2 жыл бұрын
@@MAYERMAKES Linus has a 'banana for scale' on his LTTstore lol
@slavric
@slavric 2 жыл бұрын
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.
@MAYERMAKES
@MAYERMAKES 2 жыл бұрын
there are plenty ways to skin a cat, this is just one of multiple methods.
@slavric
@slavric 2 жыл бұрын
@@MAYERMAKES Of course. The method I mentioned is simple but slow. It also doesn't have 12V trigger, which some small parts need. It is for a quick start, if you don't have any Arduinos lying around. Thanks for posting, it is very useful info anyway.
@PeetHobby
@PeetHobby Жыл бұрын
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
@chukwusmart9918
@chukwusmart9918 2 жыл бұрын
Thank you so much 🥂
@MAYERMAKES
@MAYERMAKES Жыл бұрын
thx
@cateyenebula
@cateyenebula Жыл бұрын
Nice video! I'm about to embark on the same mission. Question: does this solution now also support serial debugging?
@h2o-fpv623
@h2o-fpv623 2 жыл бұрын
Great video thank you
@MAYERMAKES
@MAYERMAKES 2 жыл бұрын
You are welcome
@freddecker5287
@freddecker5287 Жыл бұрын
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.
@element14presents
@element14presents Жыл бұрын
These should now be fixed on the Community site
@renierjoubert6177
@renierjoubert6177 2 жыл бұрын
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.
@sotecluxan4221
@sotecluxan4221 2 жыл бұрын
Wow!😃
@MAYERMAKES
@MAYERMAKES 2 жыл бұрын
Thx
@atihrot755
@atihrot755 Жыл бұрын
Cheers. Everything is perfectly explained. I can't load the jtag2updi program. He keeps throwing chiba at me. pls help me.
@MAYERMAKES
@MAYERMAKES Жыл бұрын
make sure you have agenuine arduino, not a knockoff, the serial chips migth not like the code.
@btomas225
@btomas225 Жыл бұрын
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...
@MAYERMAKES
@MAYERMAKES Жыл бұрын
maybe I don´t use atmel studio , but its worth a try.
@Dreamsarefragile
@Dreamsarefragile 2 жыл бұрын
5:33 where did you get your SMD storage?
@MAYERMAKES
@MAYERMAKES 2 жыл бұрын
Those are esd safe containers, I think those were from farnell
@Dreamsarefragile
@Dreamsarefragile 2 жыл бұрын
@@MAYERMAKES thanks mate I’ll take a look, Merry Christmas
@jazzjohn2
@jazzjohn2 Жыл бұрын
Does the Arduino IDE serial monitor work over the UPDI link for the Attiny chipI?
@MAYERMAKES
@MAYERMAKES Жыл бұрын
no you need to connect a serial to usb converter on rx and tx for that but that can also be built with the parts i nthe video, just different software,
@learn3715
@learn3715 2 жыл бұрын
Great upload video! 👍 stay connected! 😍Like 👍👍👍
@jalatharj842
@jalatharj842 Жыл бұрын
avedude: jtapakil Initialize(): Cannot locate "Flash" and "boot" memories in description how to solve this error in 402 IC flashing time usins aurdino Uno
@bertbrecht7540
@bertbrecht7540 2 жыл бұрын
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.
@MAYERMAKES
@MAYERMAKES 2 жыл бұрын
outsourcing to avoid the cost of labor , has a cost attached to it. and we are now paying for that.
@murraymadness4674
@murraymadness4674 2 жыл бұрын
@@MAYERMAKES Not labor, few people work there. It is Tax avoidance. Mega Corp all they care about is not paying taxes and boosting CEO pay
@ivolol
@ivolol 2 жыл бұрын
aaaaand the ATTiny1614 is completely out of stock everywhere :D D:
@MAYERMAKES
@MAYERMAKES 2 жыл бұрын
plenty of others are available at farnell.
@webmeisterch
@webmeisterch 2 жыл бұрын
@@MAYERMAKES Clemens, und welche sind das? Poste mal einen Link in der Beschreibung.
@MAYERMAKES
@MAYERMAKES 2 жыл бұрын
@@webmeisterch ich hab keinen Zugriff auf die Beschrreibung und Links in den Kommentaren werden nicht publiziert, geh auf farnell und gibt Attiny ein. dann findest du einen Haufen, welche UPDI /Arduino kompatibel sind siehst du im Screenshopt im Video bzw. wen ndu megatinycore selbst in der IDE installiert hast.
@webmeisterch
@webmeisterch 2 жыл бұрын
@@MAYERMAKES Danke für die Erklärung. Ich selber habe die verfügbaren Typen schon gefunden. Ich nutze diese schon seit längerer Zeit. Ich habe eigene UPDI-Programmierer realisiert. Aber die Besucher, die erstmals einen UPDI-Adapter bauen, wollen ja auch ATtiny-ICs nachher programmieren und nicht nur den Programmieradapter aufbauen. Die praktische Programmierung kommt im Video leider etwas zu kurz.
@lightburning9693
@lightburning9693 2 жыл бұрын
Hi, so i have an awesome idea for a build for you all. Can you mod a Nintendo power for VR? A huge part of the VR community is looking for haptic gloves and it seems like a decent start.
@555circuitslab5
@555circuitslab5 2 жыл бұрын
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.
@MAYERMAKES
@MAYERMAKES 2 жыл бұрын
it is never to late to make an informative video. plenty of stock of both chips I showed in the video available at the relevant suppliers.
@TheTubejunky
@TheTubejunky 2 жыл бұрын
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.
@nazimahmedfarooqui8546
@nazimahmedfarooqui8546 2 жыл бұрын
I am electonic technician
@altamiradorable
@altamiradorable 2 жыл бұрын
3 minutes of unnecessary "comedic" intro ! Thumbs down !
Getting Started with the tinyAVR 1-series Microcontroller
55:33
Ben Heck Hacks
Рет қаралды 43 М.
477 Use the very attractive new ATTINY chips for your projects
14:34
Andreas Spiess
Рет қаралды 204 М.
Нашли чужие сети в озере..💁🏼‍♀️🕸️🎣
00:34
Connoisseur BLIND420
Рет қаралды 3,6 МЛН
WORLD'S SHORTEST WOMAN
00:58
Stokes Twins
Рет қаралды 199 МЛН
WHO CAN RUN FASTER?
00:23
Zhong
Рет қаралды 43 МЛН
Doing This Instead Of Studying.. 😳
00:12
Jojo Sim
Рет қаралды 36 МЛН
ATtiny1614 и Arduino IDE
5:37
arduinoLab
Рет қаралды 13 М.
Fun with Transistors
24:33
HackMakeMod
Рет қаралды 205 М.
Programming ATtiny85/84 with Arduino Uno (ATTinyCore)
18:32
Matt Inglot
Рет қаралды 40 М.
How to Program an ATtiny with Arduino (Up to Date)
10:09
Levi Janssen
Рет қаралды 55 М.
Build Your Own Arduino Like Board For Just a Few Dollars
20:48
Gary Explains
Рет қаралды 81 М.
DIY Hot Plate for SMD Soldering Using Raspberry Pi Pico
18:35
element14 presents
Рет қаралды 8 М.
ATTINY10 Console Part 1
52:51
Ben Heck Hacks
Рет қаралды 151 М.
Top Fifteen Mistakes People Make When Designing Prototype PCBs
12:26
Cosplay Light and Sound
Рет қаралды 146 М.
Нашли чужие сети в озере..💁🏼‍♀️🕸️🎣
00:34
Connoisseur BLIND420
Рет қаралды 3,6 МЛН