![]() |
![]() |
![]() |
|
|
|||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
I want to start using microcontrollers. I'v heard of some from Atmel that are <$5, ant suggestions?
|
|
|
|
|
|
|
(permalink) |
|
Sorry, ANY suggestions.
|
|
|
|
|
|
|
(permalink) |
|
What programming experience do you have?, the most popular is the PIC, with the AVR second - but either are fine.
|
|
|
|
|
|
|
(permalink) |
|
Oh not much, I can program an Apple II, and a little HTML. How many $'s is a good PIC?
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
If you've only ever programmed in BASIC, it doesn't really matter. |
||
|
|
|
|
|
(permalink) |
|
Ok, I like that, can you give me a programmer schematic?
I have also programmed in asembly language.(simple stuff) I did applesoft basic. |
|
|
|
|
|
|
(permalink) |
|
About a year ago, I was making the same choice as you. I programmed in BASIC, and 6502 assembly (Commodore 64), but that was more then ten years past (blame Windows). I wanted to stick with Assembly, since the microcontrollers only have a few K of memory. I first started downloading data sheets, and looking over the instruction sets and features. Then I went shopping to see the prices of the chips, programmers, and software. I only had USB ports unused, and didn't want to be swapping cables. Atmel came out with a USB programmer (AVR Dragon $49), which was in the price range. The AVR instruction set was most familiar, and kind of like 32 working registers, around 130 instructions. PIC has 36 instructions and one register.
I went with the AVR chips, mostly use Tiny13 and Tiny2313 for LCD projects or just more I/O pins. The Assembly program went good in the beginning, but lately I've been wanting to do some timing critical stuff, and I'm a little sloppy... So just started learning Bascom AVR BASIC. It's different from the old-style BASIC, but starting to get it together. Pretty much any microcontroller will work as well starting out. They have similar function and features. If use a high level language, you wouldn't even notice any difference. I'd suggest searching the web for 'projects' related to various PIC or AVR chips in your price range, and see which ones you would like to eventually be building. I just bought 25 x Tiny13v from Digikey for $0.88 each. Pretty good 8-pin chip, rugged and reliable. I've yet to kill one, and have used (abused) a bunch learning this stuff over the past year, very forgiving chips. The AVR Dragon is a good programmer, but should mention that it comes at a minimal. You only get the basic board, and need to buy some header pins, jumper cables, and ISP/JTAG cables, and a ZIFF socket. A little soldering. So far, all software has been free to download, and fully functional. BASCOM AVR only has a limit on code size, but its 2k (same as the chips I actually use). |
|
|
|
|
|
|
(permalink) |
|
I want a PIC, also I want to build my own serial programmer.
|
|
|
|
|
|
|
(permalink) |
|
Make sure you mention it's for a Mac, I'm not sure which PIC programmers will work on a Mac?
|
|
|
|
|
|
|
(permalink) |
|
I'm sorry, not serial, parallel. I have an old DOS laptop I wanted to use. I don't know if the software I need will run on it...
But, what I really need is a programmer,(something with a PIC socket and a parallel cable)to flash a PIC. |
|
|
|
|
|
|
(permalink) |
|
Ponyprog, and any AVR that is programmable via SPI. There are many for under 5 dolllars, and ponyprog's website has schematics for parallel programmers that can be made from a few discrete components easily and cheaply.
__________________
"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) |
|
The cheapest AVR I know of is the tiny11 at about 50 cents. But you can't program them via SPI, they require a high voltage programmer (a 12 volt signal is placed on the reset line to enter programming mode) I do believe there are high voltage programmer schematics for AVR's out there but I've never looked into them as I have an STK500 (programs any AVR chip) their current programming/development board is the Dragon, for around 50-60 dollars, but requires soldering on of headers.
__________________
"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 want PIC, will the programmer there work with one?
|
|
|
|
|
|
|
(permalink) |
|
You might try looking at the 'sticky' in the Micro-Controller forum?.
|
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| stk500 clock source atmel microcontroller | hani_a | General Electronics Chat | 5 | 2nd January 2008 05:19 AM |
| how to interface a ADC 0809 TO MICROCONTROLLER AND THEN MICROCONTROLLER TO DECODER | praneeth22 | Micro Controllers | 1 | 9th March 2007 06:19 PM |
| TCP implementation using microcontroller | chintan_jagani | Micro Controllers | 5 | 19th September 2006 12:46 AM |
| clock source for microcontroller stk500 | hani_a | Micro Controllers | 0 | 21st June 2004 11:37 PM |
| Connection of Siemens c167 microcontroller to peripherals. | Roslan | Electronic Projects Design/Ideas/Reviews | 3 | 23rd March 2004 06:52 PM |