Maker and IoT Ideas
Published © CC BY-NC

Breaking out of the Chip Shortage - Attempt 1

Finding alternative chips to break out of the chip shortage while still being able to get things done,

BeginnerProtip2 hours92
Breaking out of the Chip Shortage - Attempt 1

Things used in this project

Hardware components

PCBWay Custom PCB
PCBWay Custom PCB
×1

Software apps and online services

megaTinyCore
Arduino IDE
Arduino IDE

Story

Read more

Schematics

Schematic

Code

Sample Blink Sketch, to run on the ATTiny202

Arduino
Please note:
Follow the instructions on the megaTinyCore GitHub page for more details.
The ATTiny202 is an automotive chip, and should thus, according to the core documentation, not be run at faster than 16MHz...

Arduino pin numbering is detailed on the GitHub page as well.
When in Doubt, READ that page in detail. You will be very happy that you did!
/*
This is the standard Arduino Blink sketch.
LED_BUILTIN works fine, but you can also use 4, or PIN_PA3 as per megaTinyCore
specifications.
*/
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(LED_BUILTIN, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}

Credits

Maker and IoT Ideas

Maker and IoT Ideas

96 projects • 24 followers
I design custom PCB solutions, usually with an IoT or Automation twist, to solve problems in my daily life. Sometimes also for other people.
Thanks to SpenceKonde.

Comments