
Starvard University · Arduino and Electronics Projects
You will build working gadgets with sensors, lights, and motors, even if you have never touched a circuit. This hands on hardware course walks you from what a microcontroller does through setup, Blink, breadboards, buttons, sensors, motors, displays, and soldering safety to a final home gadget of your design, guided throughout by the official Arduino documentation.

Hello, my name is Finn, and I'm going to help you understand this course.
Here it is, explained like you are 10:
An Arduino is a small computer board you can program to sense and control real things. You connect lights, buttons, and sensors to it, write a short program, and the board follows your instructions over and over. This course teaches you to set up the board, blink your first light, build simple circuits, and finish with a home gadget you designed yourself, safely and step by step.
Arduino documentation explains digital pins in plain terms: a pin can be set HIGH or LOW, an output can turn an LED on and off, and an input can read a button press. The classic first example is Blink, where the board turns an LED on for a second, then off for a second, repeating forever. Every sketch has the same friendly shape: a setup part that runs once, and a loop part that runs again and again.
Safety comes first in this course, always. You work only with low voltage (USB or battery power), you never connect a project to mains (household) electricity, and you unplug the board before rewiring anything. With those habits in place, the parts are forgiving, the mistakes are cheap, and you can experiment freely. By the final lesson you will combine a sensor, a light or motor, and your own code into one gadget that works on your desk.
The whole course in brief
What you will be able to do after this course
The ten lessons
Lesson 1
A microcontroller is a small computer on a single chip. Unlike a laptop, it has no screen or keyboard of its own. Instead, it talks to the physical world through connection points called pins. Some pins listen, receiving signals from buttons and sensors. Other pins act, sending signals out to lights, motors, and buzzers. Your program tells the chip which pins to watch and what to do when a signal changes.
An Arduino board wraps a microcontroller in a friendly package, with a USB connection for power and programming, and rows of pins labeled so you can find them easily. The board runs one program at a time, called a sketch, and it starts that program again from the top every time power arrives. That simple, patient behavior is exactly what gadgets need: check, decide, act, repeat, all day without getting bored.
This course is hands on hardware from the first lesson. You will touch real parts, not just read about them, and that is what sets it apart from the software courses around it. Keep one safety promise from day one: work only with low voltage (USB or battery power), never connect a project to mains (household) electricity, and unplug the board before rewiring. Follow that, and experimenting stays safe and fun.
Keep a small notebook beside the board from the start. Write what you connected, what you expected, and what actually happened. Microcontrollers reward people who observe carefully, because the chip always does exactly what the program and wiring say, even when that is not what you meant.
Lesson 2
Setup has three parts: the board, the cable, and the software. Connect the board to your computer with a USB cable. The board lights up, which tells you power is flowing. Then install the free Arduino software on your computer, the editor where you will write sketches, following the getting started guidance in the official Arduino documentation for your kind of computer.
In the software, you tell the editor two things: which board you own and which connection port it is using. In current versions of the software those choices live in a board and port menu near the top of the window, and the documentation walks you through picking them. Get those two choices right and most beginner troubles disappear, because the editor now knows exactly where to send your program.
Finish with a gentle test. Open one of the built in examples the software includes, and press the upload button. The editor checks your sketch, called compiling, and sends it to the board. Small lights on the board flicker while the transfer happens. If the editor reports an error instead, read the first line of the message calmly. It usually names the problem plainly, and fixing one error at a time is a normal part of the craft.
Most setup failures are ordinary: a cable that carries power but no data, the wrong port chosen, or a board type that does not match yours. None of these means you broke anything. Work through them in order, change one thing at a time, and let each attempt teach you something specific.
Lesson 3
Blink is the traditional first Arduino program, and the official built in examples include it for good reason. It turns an LED on for one second, then off for one second, repeating forever. Most boards have a built in LED you can control, so you need no extra parts at all. Open the Blink example, upload it, and watch the little light settle into its steady rhythm. You just programmed hardware.
Read the sketch slowly, because every sketch you will ever write shares its shape. A part called setup runs once when the board starts. In Blink, setup uses pinMode to declare the LED pin an output, which means the board will drive that pin rather than listen to it. A part called loop then runs over and over. Inside loop, digitalWrite sets the pin HIGH to light the LED or LOW to darken it, and delay waits between changes.
Now make it yours. Change the delay numbers and upload again: shorter waits blink faster, uneven waits make a heartbeat pattern. This tiny experiment teaches the deepest habit in electronics, which is to change one thing, observe what happens, and learn from the difference. Keep the same safety habit too: the board stays on low voltage USB power the whole time, and if you later wire your own LED, you unplug the board before rewiring.
Notice how honest this program is. It has no hidden steps, no setup wizard, and no mystery. Every line is visible, and every effect follows from a line you can point to. That transparency is why Blink remains the first test whenever a board misbehaves later in a bigger project.
Lesson 4
A breadboard lets you build circuits without soldering. It is a plastic block full of holes, and hidden metal strips connect groups of those holes together. Push a component leg into one hole and a wire into another hole on the same strip, and they are connected, as firmly as if you had joined them by hand. Pull them out and the circuit comes apart, ready for your next idea.
A basic circuit is a complete loop. Power leaves the board pin, travels through your parts, and returns to the ground pin, marked GND. Break the loop anywhere and everything stops, which is why checking for a complete path is the first fix for almost every dead circuit. An LED, for example, has a long leg and a short leg, and it only lights when current flows the right way through it, with a resistor in the loop to keep the current gentle.
Work tidy and you will debug less. Use short wires that lie flat, keep one color for power and another for ground, and build one section at a time, testing as you go. Before you change any wiring, unplug the board, then make your change, then plug it back in. That one habit protects both the board and your parts, and it costs you only a few seconds each time.
Resistors deserve a word here, because beginners meet them in almost every circuit. A resistor limits current, like a narrow section in a pipe limits water flow. Choosing one is part of designing a circuit, and the gentle habit is to include one wherever a light or sensor needs protection.
Lesson 6
Sensors turn happenings in the world into electrical signals your board can read. A light sensor changes its behavior as brightness changes, so your sketch can tell day from dusk. A temperature sensor reports warmth as a changing signal. A motion sensor notices when something warm, like a person, moves nearby. Each sensor answers a different question, and together they give your gadgets something like senses.
Digital sensors speak in the HIGH and LOW language you already know: motion detected or not, dark enough or not. Other sensors are analog, reporting a sliding value instead of a simple yes or no. Your board reads those with analogRead, which converts the incoming voltage into a number your sketch can compare, print, and act on. Watch the numbers change in the software while you cover a light sensor with your hand, and the idea becomes obvious at once.
Treat sensor readings with a little humility. Raw values wiggle, rooms differ, and a threshold that works at noon fails at night. Good projects read the sensor, compare against a threshold you chose by testing in the real place, and sometimes average a few readings to settle the noise. That is the whole pattern behind automatic night lights, plant minders, and hallway alarms, and you now own it.
Give each sensor a honest trial on its own before combining them. Print its readings, wave your hand, shade it, warm it, and watch the numbers move. A sensor you have watched behave is a sensor you can trust inside a finished gadget, and surprises belong in this lesson, not the final build.
Lesson 7
Motors turn electrical energy into motion. A small DC motor spins freely, good for fans and little wheels. A servo motor is different: you tell it an angle and it turns to that angle and holds there, which suits pointers, flaps, and little robot arms. Both are controlled from your pins, but they ask more from your power supply than an LED ever did.
That appetite is the key safety lesson of this lesson. Motors draw bursts of current, especially when they start or stall, and a microcontroller pin is only meant for small signals. So pins give the orders while a separate driver or transistor does the heavy lifting, and the motor takes its power from a suitable low voltage supply rather than through the board delicate parts. The Arduino documentation and project guides follow this pattern again and again, because it keeps boards alive.
Start gentle. Spin a small motor slowly, then vary its speed by switching its power rapidly in pulses, a technique your board handles for you on certain pins. Then try a servo: command a small angle, watch it move, and build up to a sweeping motion. Motion is noisy, hungry, and joyful, and a gadget that moves feels alive in a way lights alone never quite manage.
A useful rule when a motor misbehaves: suspect power before code. Check that supplies are connected, grounds are shared where the design requires it, and nothing is hot or buzzing angrily. Most motion problems are hungry circuits, not bad programs, and a calm power check finds them quickly.
Lesson 8
A display lets your gadget report back in words and numbers instead of blinks. Small screens for Arduino projects usually connect with a handful of wires and are driven by a ready made library, a bundle of code someone else wrote that handles the fiddly timing for you. Your sketch then asks the library to print a temperature, show a count, or draw a simple face, and the library does the rest.
Sound is the other friendly channel. A small buzzer can beep for attention, confirm a button press, or play short tunes when you tell it a sequence of notes and lengths. Like displays, buzzers are driven from a pin with signals your sketch controls, and the same pulse techniques that varied motor speed can shape simple tones. Keep volumes kind: a gadget in a home should charm, not startle.
Displays and sound reward restraint. Show one clear reading, not five competing numbers. Beep once for done, not ten times for everything. Think about the person across the room who did not build the gadget: if they can glance, understand, and smile, your output design is right. Feedback is how a project stops being a circuit and starts being a product someone enjoys using.
Libraries deserve a thank you here. Nearly every display and buzzer you will use arrives with a library written and tested by other makers, shared freely. Using one is not cheating; it is standing in a long, generous line of builders who decided nobody should rewrite the same timing code twice.
Lesson 9
Soldering joins parts permanently by melting a metal alloy around a connection, making a bond that is both mechanically firm and electrically sound. It is the step beyond the breadboard, for projects you want to keep. This lesson stays safety led and general on purpose: you should learn your first joints with an experienced person nearby, and younger learners need adult supervision, full stop.
A soldering iron is hot enough to burn skin and damage eyes, so treat it like a small stove that never leaves its stand. Work in a ventilated space so fumes drift away from your face, keep the iron in its holder whenever your hand leaves it, and let joints cool before you touch them. Wash your hands after handling solder, keep the desk clear of clutter and drinks, and never hurry. Calm hands make good joints.
The basic motion, in general terms, is simple to describe and takes practice to feel: the iron heats the joint, the solder flows where the heat is, and you remove the solder, then the iron, and hold still while the joint sets. A good joint looks smooth and shiny and hugs both surfaces. If a joint looks dull or blobby, let it cool fully, then reheat it briefly. Unplug the iron when you finish, and let it cool completely before storage.
If you go on to solder a project from this course, practice first on scrap: two spare wires, joined, cooled, and tugged gently to check the bond. Ten practice joints on scrap will teach your hands more than any paragraph, and they cost almost nothing to get wrong.
Lesson 10
Your final project is a home gadget of your design, and the best designs start from a small, real annoyance. A light that greets you at the door. A reminder when a plant soil dries out. A gentle alert when a door opens. Pick one job, say it in one sentence, and let that sentence rule every choice you make from here to the finished gadget on your shelf.
Build it from the pieces you already know: a sensor for input, a display, light, buzzer, or servo for output, and a sketch that connects them with clear thresholds and calm timing. Build on the breadboard first, one section at a time, testing each part alone before combining. Write down your wiring as you go. When the breadboard version works three times in a row, in the real room where it will live, you have a gadget, not just a demo.
Finish like a maker: tidy the wiring, decide whether it deserves a soldered version or a neat case, and write a short note explaining what it does and how to use it. Show it to someone and watch where they hesitate. That last bit of watching is design gold. You began this course wondering what a microcontroller does. You end it having taught one to do something useful in your home.
When your gadget works, photograph it and keep your sketch and wiring notes together. Future you will want to repair it, copy it, or improve it, and that small archive turns one happy afternoon into a reusable design. Makers build collections of proven pieces, one documented gadget at a time.
Sources
This course is built from the official Arduino documentation and language reference, CC BY-SA 3.0, credited here as Arduino documentation and language reference, CC BY-SA 3.0. The documentation supplies the digital input and output teaching, the pull up and pull down guidance, and the classic Blink example, and the language reference supplies pinMode, digitalWrite, and analogRead. All teaching prose here is original.
Graduation
You learned what a microcontroller does, set up your board and software, and ran Blink, your first program. You built circuits on breadboards, listened to buttons, read light, temperature, and motion sensors, drove motors and servos, added displays and sound, learned soldering safety, and finished with a home gadget of your own design, working safely at low voltage throughout.
Keep learning
This course is part of Starvard University, striving for greatness.
A note on accuracy: Much of what you read at Starvard was created with help from AI agents, working alongside people. We check what we can, but we cannot guarantee that everything here is true, current, or complete. If something really matters, your health, your money, a grade, a job, please verify it with a trusted source before you rely on it.