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)
MegaCoreX
An Arduino hardware package for ATmega4809, ATmega4808, ATmega3209, ATmega3208, ATmega1609, ATmega1608, ATmega809 and ATmega808 (by MCUdude)
megaTinyCore | MegaCoreX | |
---|---|---|
17 | 7 | |
529 | 235 | |
- | - | |
8.3 | 2.2 | |
15 days ago | about 1 month ago | |
C | C++ | |
GNU General Public License v3.0 or later | GNU Lesser General Public License v3.0 only |
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.
MegaCoreX
Posts with mentions or reviews of MegaCoreX.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-26.
-
ATMega4808 supported?
At the moment, I'm using MegaCoreX. I was on FastLED v3.3.3 but also tried v3.5 with the same issue.
-
Best way to migrate from an arduino-based system to a purely microcontroller-IC one?
See also the Atmega 4808/4809 parts: these are available in DIP packages, and are supported by a different Arduino Core, but are VERY close the the 328P. https://github.com/MCUdude/MegaCoreX
-
Atmega4808 updi - Arduino ide
Howdy, I’ve built my own board with a 3208 which is in the same family as your 4808 and have been using MegaCoreX to program it through the Arduino IDE. You can use it to set functionality of the reset pin as well as BOD level and internal clock frequency.
-
ATMEGA3209? I was trying to do a project with an attiny84 and needed space. I figured that it could be programed the arduino ide. I cannot figure out how to make it work. Any help?
MegaCoreX https://github.com/MCUdude/MegaCoreX An Arduino core for ATmega4809, ATmega4808, ATmega3209, ATmega3208, ATmega1609, ATmega1608, ATmega809 and ATmega808. "For programming, these chips use a UPDI programming interface."
https://github.com/MCUdude/MegaCoreX may be a useful starting point.
-
How to get 11 PWM from ATmega4809 ?
The ATmega4809 overview informs that it has 11 PWM peripherals. However, I'm not able to find 11 pins capable to generate a PWM signal, just 9. I have generated a PWM signal in all pins with Arduino IDE and analogWrite function and it confirms the ATmega4809 pinout described in the MegaCoreX library.
-
Official documentation of Nano Every is wrong - clock runs at 16MHz, not 20MHz
Use of MCUdude's MegaCoreX gives you a lot of flexibility, such as easily changing the clock frequency and allowing access to all the serial ports."
What are some alternatives?
When comparing megaTinyCore and MegaCoreX 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)
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).