Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > General Electronics Chat


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?

Reply
 
Thread Tools Display Modes
Old 8th November 2007, 03:11 PM   (permalink)
Default AVR Microcontroller

I want to start using microcontrollers. I'v heard of some from Atmel that are <$5, ant suggestions?

wmmullaney is offline   Reply With Quote
Old 8th November 2007, 03:12 PM   (permalink)
Default

Sorry, ANY suggestions.
wmmullaney is offline   Reply With Quote
Old 8th November 2007, 04:21 PM   (permalink)
Default

What programming experience do you have?, the most popular is the PIC, with the AVR second - but either are fine.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 8th November 2007, 04:35 PM   (permalink)
Default

Oh not much, I can program an Apple II, and a little HTML. How many $'s is a good PIC?
wmmullaney is offline   Reply With Quote
Old 8th November 2007, 04:45 PM   (permalink)
Default

Quote:
Originally Posted by wmmullaney
Oh not much, I can program an Apple II, and a little HTML. How many $'s is a good PIC?
PIC's are cheap as well - if you programmed your Apple II (6502) in assembler, I would suggest a PIC is probably better for you. If you've programmed Z80's or similar, I would suggest AVR's.

If you've only ever programmed in BASIC, it doesn't really matter.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Old 8th November 2007, 05:20 PM   (permalink)
Default

Here's a good Pic 16f88. The price of Pic/Avr microcontroller is the least of your worries.

Next questions, what language, compiler, programmer, development/proto board, .....? And, how much are those?
nickelflippr is online now   Reply With Quote
Old 8th November 2007, 06:46 PM   (permalink)
Default

Ok, I like that, can you give me a programmer schematic?

I have also programmed in asembly language.(simple stuff)

I did applesoft basic.
wmmullaney is offline   Reply With Quote
Old 8th November 2007, 10:02 PM   (permalink)
Default

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).
HarveyH42 is online now   Reply With Quote
Old 8th November 2007, 11:51 PM   (permalink)
Default

I want a PIC, also I want to build my own serial programmer.
wmmullaney is offline   Reply With Quote
Old 9th November 2007, 12:01 AM   (permalink)
Default

Make sure you mention it's for a Mac, I'm not sure which PIC programmers will work on a Mac?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now   Reply With Quote
Old 9th November 2007, 01:13 AM   (permalink)
Default

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.
wmmullaney is offline   Reply With Quote
Old 9th November 2007, 01:59 AM   (permalink)
Default

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."
Sceadwian is offline   Reply With Quote
Old 9th November 2007, 02:02 AM   (permalink)
Default

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."
Sceadwian is offline   Reply With Quote
Old 9th November 2007, 12:45 PM   (permalink)
Default

I want PIC, will the programmer there work with one?
wmmullaney is offline   Reply With Quote
Old 9th November 2007, 12:56 PM   (permalink)
Default

You might try looking at the 'sticky' in the Micro-Controller forum?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
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



All times are GMT. The time now is 05:02 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.