ATtiny: Rozdiel medzi revíziami
Zo stránky SensorWiki
Bez shrnutí editace |
Bez shrnutí editace |
||
Riadok 32: | Riadok 32: | ||
* Da sa programovat v Blockly cez simulator v TinkerCADe | * Da sa programovat v Blockly cez simulator v TinkerCADe | ||
* [https://mjvo.github.io/tutorials/circuits/attiny85/ Vseobecne] | * [https://mjvo.github.io/tutorials/circuits/attiny85/ Vseobecne] | ||
* http://homemadehardware.com/guides/programming-an-attiny85/ | |||
* [https://www.theengineeringprojects.com/2018/09/introduction-to-attiny85.html Vseobecne] | * [https://www.theengineeringprojects.com/2018/09/introduction-to-attiny85.html Vseobecne] | ||
* [https://www.gadgetronicx.com/attiny85-spi-protocol-master-slave-mode-tutorial/ SPI Master aj Slave] | * [https://www.gadgetronicx.com/attiny85-spi-protocol-master-slave-mode-tutorial/ SPI Master aj Slave] | ||
Riadok 46: | Riadok 47: | ||
** Zakazat RESET (aby bol k dispozicii dalsi pin) nema zmysel, pretoze bez RESETu sa neda cip preprogramovat inak ako v HV programatore | ** Zakazat RESET (aby bol k dispozicii dalsi pin) nema zmysel, pretoze bez RESETu sa neda cip preprogramovat inak ako v HV programatore | ||
'''Fuses''' | |||
* Explain https://embedderslife.wordpress.com/2012/08/20/fuse-bits-arent-that-scary/ | |||
* https://sheepdogguides.com/arduino/attiny/fuses.htm | |||
* https://leo.leung.xyz/wiki/ATtiny85 | |||
* http://eleccelerator.com/fusecalc/fusecalc.php?chip=attiny45&LOW=6A&LOCKBIT=FF | |||
* https://www.engbedded.com/fusecalc/ | |||
Na koniec: | Na koniec: | ||
* https://github.com/MCUdude/MightyCore - moznost Arduino programovania pre ATmega16 a 32 | * https://github.com/MCUdude/MightyCore - moznost Arduino programovania pre ATmega16 a 32 |
Verzia z 07:27, 10. február 2023
Rychly zoznam projektov a stranok k programovaniu ATtiny (vid aj projekty DTV)
- Pighixxx Pinout diagram https://pighixxx.tumblr.com/image/93202369320
- ATtiny Core library for Arduino https://github.com/SpenceKonde/ATTinyCore
Strasne vela navodov je na strankach Roba Ulbrichta https://www.arduinoslovakia.eu/
Napriklad:
- Blik
- Tlacitko
- PWM na LEDky
- Generator zvukov
- ATtiny85 a displej TM1637
- 10-bitové PWM
- Jednoducha hracka
Nelineárna citlivosť ľudského oka
SparkFun
- ATtiny Guide
- Quick Reference Sheet - vytlacit na cvika
- RGB sviecka - blikajuce 3 RGB
- Detektor pretecenia vody na baterku CR3202 aj s modifikaciami programu
Dalsie:
- Da sa programovat v Blockly cez simulator v TinkerCADe
- Vseobecne
- http://homemadehardware.com/guides/programming-an-attiny85/
- Vseobecne
- SPI Master aj Slave
- I2C Master aj Slave !!!
- RGB demo
- Power save rezimy su dobre opisane (aj s projektom na casovac s pipakom): http://www.technoblogy.com/show?KX0
- Sapien IR CTRL Palov projekt s USB aj IR
Problemy
- Ked budu programovacie piny obsadene LED alebo tlacitkom tak moze byt problem, trocha sa tomu venuju tuto: https://www.kanda.com/avr-isp-circuits.html
- Alternativou moze byt UPDI Unified Program and Debug Interface (UPDI) programator, ktory pouziva len jeden pin - podobne ako DebugWire.
- Taky programator sa da spravit z Arduino Nano napr. https://daumemo.com/diy-updi-usb-programmer-which-can-be-made-with-cheap-hardware/
- Zakazat RESET (aby bol k dispozicii dalsi pin) nema zmysel, pretoze bez RESETu sa neda cip preprogramovat inak ako v HV programatore
Fuses
- Explain https://embedderslife.wordpress.com/2012/08/20/fuse-bits-arent-that-scary/
- https://sheepdogguides.com/arduino/attiny/fuses.htm
- https://leo.leung.xyz/wiki/ATtiny85
- http://eleccelerator.com/fusecalc/fusecalc.php?chip=attiny45&LOW=6A&LOCKBIT=FF
- https://www.engbedded.com/fusecalc/
Na koniec:
- https://github.com/MCUdude/MightyCore - moznost Arduino programovania pre ATmega16 a 32