Searching for a programmable microcontroller (USB & LED dimming)

microcontrollerpicusb device

My apologies for the lack of given information or my knowledge in this subject. I haven't done much electronic-related before (I know how to use basic IC's such as the 555's, 4017's, etc), but I've never worked with any microcontrollers before.

I'm basically searching for a (cheap/well-priced) programmable microcontroller which can connect to a computer through USB and be controlled via a Visual Basic (preferably) application and control the brightness of at least 7 different LEDs at the same time. I have no idea where to go looking for one that'd suit my needs, nor do I know what specifications it needs (other than what I've said).

As for programming it, I'm unsure of what I'd need to install the program onto it (some sort of device?), but any programming language is fine – I've been writing software for over 3 years, it shouldn't be a problem.

I'd also rather do it this way than buy a cheap Arduino clone so I can learn from this and have a project to do (despite not knowing much, electronics is a hobby of mine). I should probably also mention that I've been searching around for over 2 hours now, but not come across anything conclusive.

Any responses would be greatly appreciated, thank you 🙂

Best Answer

Arduino IS based on a microcontroller (by atmel) and is basically a breakout board for such microcontroller plus some friendly way to upload a program to it.

It's programmable in c++ so it's quite easy and, as @Michael said, the community is huge. You can use the program on a bare chip without the board if you provide the proper connections, parts etc...

That said i'm a PIC user and i don't really like the bulkiness of arduino (both in terms of price, physical space and memory occupied by the bootloader) and the way its community works.

BUT if you want to program a pic or an avr you need an external not-so-cheap programmer (search for pickit2 or avr dragon...way more than an arduino) and a proper c compiler. Then remember that usb access comes at a price (i.e. writing a program to use it but then you need a way to program the chip in the first place!).

Arduino has everything you need to start FAST and such a program would be nearly trivial with all the libraries, a thing i wouldn't dare to say for a "from scratch" project like yours. Then again, if you want to learn bare embedded programming just grab a micro, buy or build a programmer, download the tools and start by blinking a LED then build from that. I'd advocate for PICs but really it doesn't matter. AVRs have nice open source tools while PICs are slightly cheaper. You'll find hundreds, thousands of discussions on which is best and why they're wrong :P