![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
well I am pretty new to the whole micro controller part of electronics (heck IC's still give me problems sometimes) but I was really wanting to get one to play around with and just experiment with. My first thought was to buy a BASIC 2 stamp with the board of education dev board but now I've been reading all these people talk about pic processors. What would the best micro controller be for a complete beginner just to do simple stuff with? Should I get the BASIC 2 or something else? Programming will be no big deal because I know C++, Java, Basic, and some others.
|
|
|
|
|
|
|
(permalink) |
|
There are many ways to go.
Since you already know C++ I would suggest that you may be happier using a C language development system. Look at the UBW (USB BIT WACKER) http://greta.dhs.org/UBW/index.html. You can build the thing yourself of buy a ready made one from sparkfun for $25. The thing comes with a bootload that can download your compiled code over USB. The microchip C18 (student version) compiler is free as is the MPLAB development toolset. If you want to run an in circuit debugger such as the ICD2 (and clones) you can use the UBW as a target. They run from about $35 (inchworm kit) to about $200 for USB based versions. 3v0 Last edited by 3v0; 9th January 2007 at 09:03 PM. |
|
|
|
|
|
|
(permalink) |
|
From SparkFun, I picked up one of their simple $12 serial programmers, a 16F876A, and a crystal. (Stupidly, I didn't get any small caps to use with the oscillation...) For programming languages, I didn't want to jump right into ASM because I suck at it, so I downloaded SourceBoost (http://www.sourceboost.com/). The IDE download comes with a C, C++, BASIC, and PASCAL compiler and the full license isn't TOO expensive for BoostC ($70 for a full no-limits license). Check it out, I've liked it so far.
|
|
|
|
|
|
|
(permalink) |
|
Basic Stamps are a waste of time really. I prefer AVR's myself (Made by a company called Atmel) The architecture is a little more elegent in my opinion, and there isn't such a landslide of devices to chose from so picking an individual device is a little easier. Something like a Tiny12 or Tiny13 are only 8 pin devices, the I/O is limited but they're still a very good learning experiance and cheap. Less than 2 bucks per chip. There's a development board for the entire DIP package AVR line called the STK500 which has switches, LED's onboard oscilators an RS232 port that's converted to logic level, and a dedicated RS232 port just for programming.
The STK500 runs 80 dollars the chips and comes with a couple sample AVR chips to program (bigger 20+ pin ones) The development environement is a free download from their web site with a built in assembler and AVR GCC is a C program. Best bang for your buck in my opinion.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." |
|
|
|
|
|
|
(permalink) |
|
I think, 8051 is very easy for a beginner and there is a free C Compiler call SDCC which support it.
__________________
Microcontroller Programming: http://mcu-programming.blogspot.com uC - News, Resources and Tutorials |
|
|
|
|
|
|
(permalink) |
|
Does the AVR STK500 have a usb version by any chance because I am on a laptop and kinda don't have serial ports....
|
|
|
|
|
|
|
(permalink) |
|
I'm with Sceadwian- BASIC Stamp is a waste of time. It is a grossly inappropriate setup for any real use and makes it so you don't learn much but their setup. The nasty part is they keep saying how tough it is to learn assembly (and don't even mention C) and IMHO it's doing a disservice to students by misrepresenting the field.
Microchip's C18 ("MCC18") is indeed pretty good. PIC18's actually don't have a really confusing array of likely possibilities. Unless you've got a special project, the really common general-purpose ones are 18F1320 (like 14 pins I think), 18F2520 (28 pin), 18F4620 (40 pins) IMHO. 18F2680/4680 if you want CANBus. Doesn't hurt to get a bigger part (more memory) than you think you need at first. Some may disagree with this, but I strongly recommend not mucking around with homemade or "bargain" programmers. Go to Sparkfun and get the cheap clone of the ICD2 (the $99 one). $99 is actually pretty cheap. It's not just a very reliable, supported programmer, the GREAT thing is the In-Circuit Debugging part allows you to read everything it's doing. Really makes debugging 100x less confusing.
__________________
I thought what I'd do was I'd pretend I was one of those deaf-mutes. Last edited by Oznog; 10th January 2007 at 05:54 AM. |
|
|
|
|
|
|
(permalink) |
|
thanks for the info. After looking at all the chips my main problem is I want a programmer thats A. USB and B. Is basically a "developement board" like the board of education that the basic stamp came with. I was lookin into the PIC's but I couldn't find something like this dev board for them thats why I was leaning more toward the AVR but I still haven't decided yet. Any recommendations for a dev board like that for the PIC's? Also the fact that the PIC's were like 5 bucks helped it alot as opposed to the BASIC stamp being like 30 bucks.
|
|
|
|
|
|
|
(permalink) |
|
You might check my PIC tutorials?, no 'need' for an expensive dev board!, if you do want one there are plenty available - probably far more than other processors?.
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
__________________
Bill Home of the Firefly PIC Tutor Inchworm ICD2 http://www.blueroomelectronics.com |
||
|
|
|
|
|
(permalink) | |
|
Quote:
A pic in a solderless breadboard is a very good place to start. The USB ICD2 clone (program and debug) mentioned by another poster is at http://www.sparkfun.com/commerce/pro...?products_id=5 If you can do without in circuit debugging the UBW I mentioned in my first post can get you going for $25 http://www.sparkfun.com/commerce/adv...ds=UBW&x=0&y=0 Or you can build on yourself http://greta.dhs.org/UBW/index.html 3v0 |
||
|
|
|
|
|
(permalink) |
|
Thanks I'm not sure if I would need the debugger, can you explain how it functions? Thanks also I was looking at the Bitwhacker and it says you plug it into windows pc. I don't use windows because its a pain to deal with most of the time (I'm dual booting windows and mac right now but I really hate to use windows.) So are there any programmers and stuff that are good for mac? Sorry for so many questions. Thanks for everything.
|
|
|
|
|
|
|
(permalink) |
|
Has anyone used the Atmel ATMega64 microcontroller? How is it and would it be a good choice?
|
|
|
|
|
|
|
(permalink) | ||
|
Quote:
Quote:
If you have a USB port on your mac you can get it working there. Not sure how packaged the info is. Visit http://www.sparkfun.com/cgi-bin/phpb...pic.php?t=3591 Regardless of which processor family or development board you choose, check out the tools, info and hand holding you can get on the mac side. It will be at least a bit harder to find the tools and get them working on anything other then a PC. There may be execptions. Some will be easier then others. You may want to start on a windows machine till you get a handle on things. Then move to the mac. 3v0 |
|||
|
|
|
|
|
(permalink) |
|
The AVR Dragon might be a sollution if you want something with a native USB interface. It is much smaller, and actually a bit more full featured than the STK500 as far as it supports Debugwire and Jtag debugging interfaces as well as emulation of all AVR devices with 32k or less memory. It's more of a programming tool than a development board though, the main thing it lacks is LED's push buttons and well plugs =) The connector side of the board is shipped blank and you provide your own interface connectors (which have to be soldered on). Basically IDC style jumpers. But even if you have to buy all the extra's to make it equivilant to an STK500 such as a breadboard and some LED's and resistors and what not it's going to cost you the same as Digi-key sells the Dragon for 49 dollars. I don't think it comes with much of anything except the board and a CD with their development software, but it's only been out for a few months now and Atmel will likley support it as a development/programming tool for a long time.
__________________
"Because I be what I be. I would tell you what you want to know if I
could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Micro Controller Tachometer | WilliamN | Micro Controllers | 0 | 15th December 2003 08:39 PM |
| Beginner questions | mattg2k4 | Robotics Chat | 17 | 13th August 2003 10:38 PM |
| Micro Controller Switcher Help | Fuad | General Electronics Chat | 3 | 25th May 2003 07:47 AM |
| PBX question | waqar | Electronic Projects Design/Ideas/Reviews | 0 | 30th March 2003 06:21 PM |
| Light Controller or rather Electrical Outlet Controller | mammanoti | Electronic Projects Design/Ideas/Reviews | 1 | 11th January 2003 03:09 AM |