Shrink Your Projects with ATtiny - Beyond Arduino #5
Вставка
- Опубліковано 15 тра 2024
- Some projects don't need all of the pins included with ATmega microcontrollers. An ATtiny is the perfect solution for saving space.
-- Links --
My Website: sinelab.net
Vader Schematic: sinelab.net/img/xmas-gifts/va...
Vader Code: sinelab.net/code/xmas-gifts/v...
Bitcoin Schematic:sinelab.net/img/xmas-gifts/bt...
Bitcoin Code: sinelab.net/code/xmas-gifts/b...
Buzzer Schematic: sinelab.net/img/xmas-gifts/bu...
Buzzer Code: sinelab.net/code/xmas-gifts/b...
Notes header: sinelab.net/code/xmas-gifts/n...
Frequencies of Notes: pages.mtu.edu/~suits/notefreq...
Buy me a coffee: www.buymeacoffee.com/thesinelab
Bitcoin Address: bc1qwlfr2ml9km4r5vhpfh7f3m60k80whhcq3ysths
Ethereum Address: 0x7e8B8Ff8D6bD8DfB48b4A139694BB343f040Bb3f
-- - Наука та технологія
Thanks, my ATTiny85 arrives on Friday.
Have fun with them :)
Nice. 👍 please explain fully details about coding. It is helpful.
Your projects look concise and tidy since you started using the heating plate.
The heating plate is an easy way to solder surface mount components.
Funny you upload this now, since this year I made a Christmas card using... guess what? An ATtiny85! It plays music and blinks 4 LEDs of different colors (red, yellow, green, blue). I used Arduino, though, so it was a bit easier. Also, instead of setting an interrupt to wake up, I wired a button directly to RESET, which accomplishes the same function in my project (and should use less power). For the LEDs, on each note, I selected a random number to turn on, then used Fisher-Yates to randomize which ones got turned on.
Interesting idea to use RESET as a wake up button. It'd certainly have made the second project a bit simpler. :)
I'd love for you to make some projects with the new attiny's
I'm sure a project will have one sometime in the future :)
I have used plenty of attiny85, 45, 25, attiny13, attiny10 in the past. Love them, but honestly, they have become too expensive for what you get. On occasion I have bought prominis for less money than a single attiny85 chip. If you seriously want to do something with attinys, consider the new range of attinys, e.g. the 416.
On the bitcoin schematic: do all the LEDs need a separate resistor?
Yes they each need their own
Yay, some code! I know this! This is a UNIX system!
Also, you made me smelly. 😂 Cognisent vs Cogniscent
I'm sorry about that. I made a note to quadruple check the spelling next time. :)
Which IDE are you using to program the ATtiny ? Thanks
I am using avr-gcc and avrdude, with the code being written in vim.
I have a video explaining how I did it: ua-cam.com/video/VmJW3E3ITwg/v-deo.html
It's about the ATmega, but you can use the same method for an ATtiny.
Old student me
First!? This never happens!
Congrats on being first :)
Bruh. Cut yo ear wings. Ur/W