https://github.com/smalljoker/attinyworld
Projects related to giving AtTiny2313 chips a purpose
https://github.com/smalljoker/attinyworld
Last synced: about 2 months ago
JSON representation
Projects related to giving AtTiny2313 chips a purpose
- Host: GitHub
- URL: https://github.com/smalljoker/attinyworld
- Owner: SmallJoker
- Created: 2023-12-09T11:41:58.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-05T10:31:39.000Z (about 2 months ago)
- Last Synced: 2025-04-05T11:28:56.526Z (about 2 months ago)
- Language: C
- Size: 124 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## ATtiny World
A collection of libraries to make use of an ATtiny2313 MCU.
* [Datasheet](https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-2543-AVR-ATtiny2313_Datasheet.pdf)
### Setup
This repository assumes that a Debian-based distro is used. Package names may vary.
#### 1. Used programmers
* USBtinyISP
* [Introduction](https://learn.adafruit.com/usbtinyisp/use-it)
* [Schematic](https://cdn-learn.adafruit.com/assets/assets/000/010/326/original/usbtinyisp2sch.png)
* [Tutorial including firmware](https://cdn-learn.adafruit.com/downloads/pdf/usbtinyisp.pdf)#### 2. Required packages
* `gcc-avr`
* `avr-libc`
* `avrdude`#### 3. Initial MCU fuse setup
Note: the fuse bits are inverted! 0 = selected
* Documentation chapter "Fuse Bits"
* Configuration tool: https://www.engbedded.com/fusecalc/Example configuration:
# 0xE4 : 8 MHz clock, slow start
avrdude -c usbtiny -p t2313 -i 400 -U lfuse:w:0xE4:m
# 0xDF : SPI flash enable
avrdude -c usbtiny -p t2313 -i 400 -U hfuse:w:0xDF:m#### Serial terminal apps (RS232)
* `cutecom`
* [hterm](http://der-hammer.info/pages/terminal.html)### Licenses
* Code: MIT
* Other: CC-BY-SA 4.0