Arduino Uno to ATmega328 - Shrinking your Arduino Projects

preview_player
Показать описание
Learn how to transfer your Arduino Uno projects to an ATmega328 Chip.

In this final episode of 2018, I will show you how to take the projects you have built using an Arduino Uno and “shrinkify” them down to an ATmega328 chip. This will allow you to make a permanent version of your project without using up one of your precious Arduino boards.

The ATmega328 is the microcontroller chip at the heart of the Arduino Uno. It is available in several packages, we will focus on the common 28-pin DIP (Dual Inline Package).

You only need a handful of components to turn an ATmega328 chip into a fully-functional Arduino Uno equivalent. It’s much cheaper and a lot smaller, allowing you to build a permanent version of your design onto a small circuit board.

I will also show you three methods of programming the ATmega328 chip, after all an Arduino isn’t very useful if you can’t upload a sketch to it!

To illustrate my point I will put together a very simple yet cute “music box” using an Arduino Uno, and then we’ll move the project onto an ATmega328. It will be of particular interest to Star Wars fans as the “music box” plays “The Imperial March”. If you have an old Darth Vader or Storm Trouper toy it would be neat to build it into it!

Here is the Table of Contents for this video:

00:00 - Introduction
03:29 - The ATmega328
05:50 - Star Wars Arduino Project
08:35 - Star Wars Sketch
15:14 - Build an “Arduino” with ATmega328
21:31 - Loading the Program - Using Arduino Method 1
24:50 - Loading the Program - Using Arduino Method 2
30:01 - Loading the Program - Using FTDI Adapter

As always you will find an accompanying article for this video on the DroneBot Workshop website.

And a special thank you for all of your support in 2018. We are now over 50 thousand subscribers and that’s both amazing and humbling, I owe it all to my wonderful viewers.

All the best for a healthy and prosperous 2019. Hope to see you in the workshop next year!
Рекомендации по теме
Комментарии
Автор

Finally, a PROFESSIONAL explanation, with a professional quality video, audio, and shop! Many YouTube videos turn people off with crappy quality in every aspect, but _you_ restore hope in YouTube professionalism.

edinfific
Автор

His workbench is dream of every nerds / hobbyist.

thanatosor
Автор

You are one of the best teacher over YouTube. I really appreciate your cool way of instructing. Greetings from Nepal.

aimagiciannepal
Автор

Hi Bill, I was re-watching this video ( as I often do with yours as they are exactly what I need ) and I saw your comment about having 50, 000 subscribers in 2018. Then I noticed your current number is 555, 000. And very well deserved. All the best from the England/Scotland border, Pete

Crusty_Camper
Автор

Wish had this guy for a teacher in School! A great teacher makes all the difference in liking or not in a subject, good job Ser!

cryptoarmy
Автор

FAKE! No shops in the real world are that neat and clean. Obviously a green screen hoax. Just kidding . . . really wish I could keep things that organized. This was a great video with valuable content and superb production quality. Great work!

paulmcwhorter
Автор

Your videos are always well organized and very informative.

Fmus
Автор

As a non native speaker of your language, I appreciate your clear and perfectly understandable language. And the interesting themes of course, too!!
Greetings from Switzerland.

TonySwitzerland
Автор

Sometimes you find exactly the video you were looking for, explaining exactly what you want to know. This was it. Thank you.

Mrpic
Автор

You are one of the best teachers of electronics I´ve ever known. Thank you very much for your excellent videos!

luberies
Автор

Just arrived on your channel. I am a newbie at Arduino (not electronics). I really like the way you teach: very slow and calm, good video, good examples and schematics. Despite the fact that I am french It's a true pleasure to listen at you. Congratulations !

filetdelumiere
Автор

Hands down, the best teacher, best videos, and highest production quality on YouTube that I have seen.

SuperToughnut
Автор

Great vid with genuinely useful content. Nice to see a presenter who speaks at a normal, relaxed pace and not targetting 1000 words per minute. Great job. Thanks.

chrispotts
Автор

As I've learned recently, there is also a way to program your MC using an Arduino board with flat chip that can't be removed. All you need to do is
1. upload "ArduinoISP" sketch (included in Arduino Studio examples) to Arduino board, thus turning it into an ISP programmer
2. Connect following 6 pins of your recipient MC (check pinout in the datasheet) to corresponding pins of your programmer (Arduino board, note that you might want/need to change the output pins in the "ArduinoISP" sketch code): MOSI, MISO, RESET, SCK, VCC, GND
3. Select "Programmer: Arduino as ISP" in Arduino Studio or similar option in IDE of your choice (I've done it with custom upload protocol in PlatformIO)
4. Upload your sketch as usual.
The video is still very informative, it clarifies the options to burn the firmware into the MC pretty well.

looney
Автор

Your videos are great I am new to electronics and find you explain every thing so well, keep them coming. Forgot to tell you I'm 85 years young never to late to start.

neilallatt
Автор

I love how he used 2 cameras and talked to both of them

deschia_
Автор

I'm working on my thesis for my grade degree and want to do a robot like thing with arduino and oh man you have helped me so much with many of your videos! I love how you explain everything so smoothly and in a way that even complete begginers will probably be able to follow. Keep it up man! Thanks for the hard work, you just got yourself a new subscriber!

mandymcr
Автор

I am a retired electrical eng, and I always been excited to still work on electronic project and DSP algorithms, robotics and vintage radio restorations. I discovered your channel lately and I can say that I am amazed to see how clear are your explanations and how clean are your animates sketches bouncing am greatful for all your time and effort you take to share your vast experiences, you are a great source of inspirations for many electronics state of the art ( Québec, Canada)

michelbedard
Автор

I built some of these a few years back, as projects, I was just inventorying my chip collection this afternoon and discovered I had several brand new 328's in one tray, as well as some old atmega 8's. Nice review on how to use them again.

JerryEricsson
Автор

Finally an electronics youtube channel that actually teaches you something

fahtfakcarl