FAQ
TL;DR: For simple LEDs and a DC motor, Arduino boards cost about $25–35 and “With arduino you can start direct.” [Elektroda, Per Zackrisson, post #21661806]
Why it matters: This FAQ helps students and beginners pick a USB‑programmable 8‑bit platform fast, avoid dead ends, and ship a working demo.
Quick Facts
- Arduino includes USB programming on-board; add-ons cover motor control and more. [Elektroda, Per Zackrisson, post #21661806]
- Typical starter board price: $25–35; minimal extra hardware required to begin. [Elektroda, Per Zackrisson, post #21661806]
- PICAXE uses pre-programmed PIC chips; you cannot load it onto blank PICs. [Elektroda, Peter Emson, post #21661805]
- A USB‑to‑serial adapter lets you program classic 8051/other UART‑boot chips from a laptop. [Elektroda, Hiren Niranjani, post #21661802]
- Budget route: standalone PIC chips from approx. £2.05 plus breadboard and a simple programmer. [Elektroda, Mark Harrington, post #21661808]
What’s the best 8‑bit microcontroller to start with for LEDs and a motor?
Start with an Arduino UNO. It’s beginner‑friendly, USB‑programmable, and has many motor control shields. “With arduino you can start direct.” Price runs about $25–35, which keeps total cost down for a class project. [Elektroda, Per Zackrisson, post #21661806]
Is ARM better than 8‑bit for this project?
ARM gives more speed per dollar, but setup is tougher for a newcomer. For a first build with switches, LEDs, and one motor, focus on finishing quickly with Arduino, then explore ARM later if you enjoy it. “ANY ARM platform is likely faster.” [Elektroda, Stephen Shaffer, post #21661796]
Can I program everything over USB if my laptop has no serial/parallel ports?
Yes. Arduino programs directly over USB. For microcontrollers that expect UART, use a USB‑to‑serial converter. That adapter is inexpensive and common, enabling bootloading or in‑system programming from modern laptops. [Elektroda, Hiren Niranjani, post #21661802]
What is PICAXE, and is it flexible enough for coursework?
PICAXE is a PIC with a preloaded BASIC firmware, very easy for education. However, it doesn’t run on blank PICs, so you must buy PICAXE‑branded chips. That reduces flexibility if you later want raw PIC devices. [Elektroda, Peter Emson, post #21661805]
Which PIC should I consider if I skip Arduino?
For fundamentals, consider a small PIC like the 16F88. It’s simpler than the feature‑heavy 16F877A and suits learning timers, interrupts, and I/O without overload. Expect low chip cost and free IDE/compiler options. [Elektroda, Mark Harrington, post #21661808]
Is the PIC16F877A a good first chip?
It works, but it’s overkill for a first project. Its multiple timers and peripherals increase complexity. If you are new, start simpler, then graduate once you’re comfortable with flowcharts, debouncing, and fuse settings. [Elektroda, Mark Harrington, post #21661808]
How do I reverse and vary the speed of a DC motor safely?
Use an H‑bridge driver for direction and PWM for speed control. Plan current margins and switching losses. A dedicated H‑bridge driver IC simplifies design and protects your microcontroller from back‑EMF and noise. [Elektroda, Mark Harrington, post #21661808]
What is an H‑bridge in plain terms?
An H‑bridge is a four‑switch circuit that lets you drive a DC motor forward or reverse by flipping current direction. Pair it with PWM from your microcontroller for smooth speed control. [Elektroda, Mark Harrington, post #21661808]
Any gotchas when using motors next to microcontrollers?
Yes. Motor noise can corrupt registers or cause resets. Add decoupling, proper grounding, and consider brownout detection. Place bulk and ceramic capacitors near regulators and drivers to suppress transients. [Elektroda, Mark Harrington, post #21661815]
I just need LEDs and one motor—why not jump straight to C++ and OOP?
You can, but mastering embedded basics first reduces bugs and time lost. Learn I/O, debouncing, timers, and simple C. Then move to richer frameworks with confidence. “Get the basics right.” [Elektroda, Mark Harrington, post #21661813]
How much will a starter Arduino setup cost me?
Typical boards cost about $25–35, and you can program over USB out of the box. Add a low‑cost motor shield or driver, and your class project stays very affordable compared to full dev kits. [Elektroda, Per Zackrisson, post #21661806]
What’s a quick USB programming workflow without a built‑in programmer?
Try this: 1) Build or buy a USB‑to‑serial converter. 2) Install its driver and your chip’s programming tool. 3) Connect RX/TX and reset per the reference design, then flash. [Elektroda, Mark Harrington, post #21661809]
Is Arduino really C/C++ under the hood?
Yes. The Arduino language is a set of C/C++ functions compiled by avr‑g++. You write sketches, the IDE generates prototypes, and uploads over USB. The learning curve stays gentle for newcomers. [Elektroda, Per Zackrisson, post #21661810]
Do I need Java knowledge to use the Arduino IDE?
No. The IDE is written in Java, but users don’t code in Java to program boards. You install it and write C/C++ style sketches; the toolchain handles the rest. [Elektroda, Per Zackrisson, post #21661810]
What’s a budget alternative to full dev boards?
Use a low‑cost PIC on breadboard plus a simple programmer. One post cites PIC chips around £2.05. You’ll learn power, clocking, fuses, and programming interfaces directly. [Elektroda, Mark Harrington, post #21661808]
Any simple LED/motor demo idea that scores marks?
Implement debounced switches, PWM speed control, and direction with an H‑bridge. Document flowcharts and algorithms; tutors value process. Add serial prints for telemetry to showcase understanding. [Elektroda, Mark Harrington, post #21661808]