“What’s the easiest (cheapest) way to transfer a C program to a chip?”
Here’s my reply:
It depends on what chip it is.
Most microcontrollers require a programmer. This is a little thing you plug into the USB port that makes it possible to program the chip.
What programmer you need depends on what chip you have.
Here’s an overview of how it works:
https://www.build-electronic-circuits.com/microcontroller-programming/

Get Our Basic Electronic Components Guide
Learn how the basic electronic components work so that circuit diagrams will start making sense to you.
Some chips can be programmed directly through the USB port without any programmer.
For example the ATMega32U2.
Unfortunately you can’t plug this chip into a breadboard. But I’ve made a complete tutorial on how to build a circuit with it.
It’s more for those beyond the very beginner stage, but if you’re curious check it out:
https://www.build-electronic-circuits.com/microcontroller-tutorial-part1/
Keep on Soldering!
Oyvind
PS! If you have no idea what a microcontroller is, check out this article:
https://www.build-electronic-circuits.com/what-is-a-microcontroller/
PPS! If you want to start building cool things with electronics — even without any experience — check out my eBook “Getting Started with Electronics”:
https://www.build-electronic-circuits.com/products/ebook-2nd-edition
More Mail Archive Tutorials

10 Simple Steps to Learn Electronics
Electronics is easy when you know what to focus on and what to ignore. Learn what "the basics" really is and how to learn it fast.