megaTinyCore
Arduino core for the tinyAVR 0/1/2-series - Ones's digit 2,4,5,7 (pincount, 8,14,20,24), tens digit 0, 1, or 2 (featureset), preceded by flash in kb. Library maintainers: porting help available! (by SpenceKonde)
AVR-Guidance
A guide to best practices when using the Arduino IDE to program AVR microcontrollers (by SpenceKonde)
megaTinyCore | AVR-Guidance | |
---|---|---|
17 | 9 | |
529 | 135 | |
- | - | |
8.3 | 4.1 | |
15 days ago | 15 days ago | |
C | C++ | |
GNU General Public License v3.0 or later | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
megaTinyCore
Posts with mentions or reviews of megaTinyCore.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-26.
-
SOP Arduino-compatible MCU?
They're compatible with Arduino by using the megaTinyCore and programmed with an UPDI programmer. A homemade UPDI programmer can be made with a USB-Serial adaptor and a Schottky diode (instructions on that site).
-
Best way to migrate from an arduino-based system to a purely microcontroller-IC one?
Programming is done via the Arduino IDE, although NOT all libraries work. See: https://github.com/SpenceKonde/megaTinyCore/blob/master/megaavr/extras/LibraryCompatibility.md
-
I got an ATTiny1616 development board. How do I connect the two and flash the code (basic blink example) from the Arduino Nano to the ATTiny1616? Thanks.
Go check the site for the Arduino megaTinyCore which includes amongst other things instructions on how to make a programmer for that kind of ATTiny microcontroller (the so-called "modern" attinys).
-
Interested in a MIDI-capable relay bypass?
So this megaTinyCore GitHub page talks a lot about the programmers and various ways you can flash to these chips. I basically used 3 male header pins (vcc, gnd, updi) connected to a modified serial programmer that I insert into pads on the board. Crude but honestly pretty painless and effective.
- Used an Atmega328 with Arduino optiboot years ago — is this outdated?
-
question about choosing the right microcontroller for a small LED programming job.
You can program them with Arduino using the MegaTinyCore and you upload programs to it using the UPDI protocol which uses just one wire. You can make a programmer for it with with a Serial-USB Adaptor, a schottky diode and some wires - all the instructions in the link above.
-
I need help understanding pin naming notation for bit-bang applications...
Yeah, do a quick search for PIN1_bm in this file https://github.com/SpenceKonde/megaTinyCore/blob/master/megaavr/extras/ioheaders/iotn412.h
- megaTinyCore is missing?
-
Cheap ADC / alternatives to ADS1115/ADS1015
The modern line up of ATtiny micro controllers is pretty sweet. They go for under a dollar a piece on digikey (best place to get them). They are mostly surface mount so an ebay smd adapter board kit makes them easy to use. I picked the attiny1604 but there are many variations. This is the arduino core for them and if you scroll down has all the info and variation comparison. https://github.com/SpenceKonde/megaTinyCore
-
Attiny 1626 Issues with 18B20 temperature sensor
I am programming the Tiny via UPDI through a Arduino Nano using the Arduino IDE with the MegaTinyCore. It does verify the code after upload. I can use a 1306 display (I2C), and manipulate all the GPIO's with no issue. I can use the same GPIO that I have hooked the 18B20 up to for anything else, just not 1-Wire. I have tried other GPIO with the same response. I am using the example for the Dallas Temperature and update the pin assignment. The exact same code works fine on a 328P with the same sensor, so I dont doubt it is a library issue but I'm not experienced enough to figure out exactly where the issue could be.
AVR-Guidance
Posts with mentions or reviews of AVR-Guidance.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-06.
- How to upload code onto a blank ATTiny1616 chip?
-
Best way to migrate from an arduino-based system to a purely microcontroller-IC one?
Check out the newer attiny chips......cheap, available, and LOW POWER. No external crystal or other components required. Programmable via Arduino IDE.,,see: https://github.com/SpenceKonde/megaTinyCore You can use any arduino as a programmer (JTAGTOUPDI) or make one with a cheap serial adapter: https://github.com/SpenceKonde/AVR-Guidance/blob/master/UPDI/jtag2updi.md
-
I got an ATTiny1616 development board. How do I connect the two and flash the code (basic blink example) from the Arduino Nano to the ATTiny1616? Thanks.
For Serial UPDI attach either a diode or resistor between RX and TX, then connect RX to UPDI PIN, along with and VCC and GND. https://github.com/SpenceKonde/AVR-Guidance/blob/master/UPDI/jtag2updi.md
-
Problem uploading firmware via UPDI when SerialUPDI circuit is installed
I own a PICKIT4, so normally I would just breakout Vcc, Gnd, and UPDI pins and directly connect my PICKIT to it. This time though my friend recommended me to also include a SerialUPDI circuit on board to accommodate Arduino users (and ones without PICKIT in general). The part related to SerialUPDI are JP3, JP4, D35, and R5.
-
TS10 aux light question
Yup, that should do the trick. You might want to give this guide a good read-through. It has some chip-specific tips (search for FTDI) and general recommendations for wiring and removing the Rx LED if it gives you troubles.
-
How to flash firmware on the SP10 Pro (Photos at the bottom)
Choice of hardware
-
Programming the AVR128DB
You can use RX/TX with the UPDI interface directly, see https://github.com/SpenceKonde/AVR-Guidance/blob/master/UPDI/jtag2updi.md. You should at least add a resistor on the line. Then you'll be able to program it with pymcuprog in serial mode, without a bootloader.
-
[Schematic review] Tiny handheld game console
ISP looks a lot like spi. Updi is asynchronous uart. It's a lot different and I would recommend looking at serial updi.
What are some alternatives?
When comparing megaTinyCore and AVR-Guidance you can also consider the following projects:
jtag2updi - UPDI programmer software for Arduino (targets Tiny AVR-0/1/2, Mega AVR-0 and AVR-DA/DB MCUs)
MegaCoreX - An Arduino hardware package for ATmega4809, ATmega4808, ATmega3209, ATmega3208, ATmega1609, ATmega1608, ATmega809 and ATmega808
tl59025-devboard - Dev board for TLC59025 Constant Current Driver IC (and Chinese compatible ones)
ATTinyCore - Arduino core for ATtiny 1634, 828, x313, x4, x41, x5, x61, x7 and x8
Arduino-Temperature-Control-Library - Arduino Temperature Library
C64-Collection - Collection of cartridges, adapters and replacements for the Commodore C64
Arduino_FreeRTOS_Library - A FreeRTOS Library for all Arduino ATmega Devices (Uno R3, Leonardo, Mega, etc).