A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.
|
is there ny diffrence in AVR and PIC ? i think this r the two micos most pple like y most of pple using avr than pic is that becoz of its price or easy i think the main disadvantage of PIC is that a simple programmer will cost a heavy price thaz __________________________________ |
|
|
|
--- sandeep c p <> wrote: > i think the main disadvantage of PIC is that a > simple > programmer will cost a heavy price No way, you can build yourself a PIC 'El-Cheapo' programmer for less than $ 5,- Kees __________________________________ |
|
----- Original Message ----- From: "Kees Stenekes" <> To: <> Sent: Tuesday, October 26, 2004 11:42 AM Subject: Re: [piclist] PIC do all that AVR do ? > > > --- sandeep c p <> wrote: > >> i think the main disadvantage of PIC is that a >> simple >> programmer will cost a heavy price >> > > No way, you can build yourself a PIC 'El-Cheapo' > programmer for less than $ 5,- AVR is even cheaper - DB25M and two resistors for an in-system programmer. Leon |
|
|
|
--- In , "Leon Heller" <leon.heller@d...> wrote: > ----- Original Message ----- > From: "Kees Stenekes" <knalkeez@y...> > To: <> > Sent: Tuesday, October 26, 2004 11:42 AM > Subject: Re: [piclist] PIC do all that AVR do ? > > > > > > --- sandeep c p <hackmecrack@y...> wrote: > > > >> i think the main disadvantage of PIC is that a > >> simple > >> programmer will cost a heavy price > >> > > > > No way, you can build yourself a PIC 'El-Cheapo' > > programmer for less than $ 5,- > > AVR is even cheaper - DB25M and two resistors for an in-system programmer. > > Leon I think the main disadvantage of the AVR is that it costs more for similar parts. Often more than $1.00 a chip more. Oddly the Tiny11 sells at Digi-Key for 54 cents and may be the lowest cost of micro-controllers. Dave |
|
In general, I think the AVR may be the more capable processor. However, the PIC may be more easily used, to begin with. The PIC18Fxxx series probably is as capable as the AVR. The PIC has 36 instructions or so, and a single Interrupt vector. I started out with PBasic for the BS2, then MBasic for the Atom, then MBasic Pro for the PIC. Those have very nice modules and very nice debuggers. Having been used to the 6502, I was shocked at how limited the PIC instruction set was. However, they clock at 20 Mhz (instead of the 6502 1 or 2 Mhz), and they have on-chip RAM and FLASH rom. So I used them. I then purchased the AVR STK-500 to use with the AVR. I havn't yet found as nice a package or as much support as Parallax or BasicMicro. Compilers are more limited. Packages are more limited. So I don't hav as much experience with the AVR as I'd like. Your mileage may vary (YMMV). The cost of the programmer is about the same between the chips, by the way. --- In , sandeep c p <hackmecrack@y...> wrote: > is there ny diffrence in AVR and PIC ? > i think this r the two micos most pple like > y most of pple using avr than pic > is that becoz of its price > or easy > i think the main disadvantage of PIC is that a simple > programmer will cost a heavy price > > thaz > > > __________________________________ |
|
----- Original Message ----- From: "Dave Mucha" <> To: <> Sent: Tuesday, October 26, 2004 4:47 PM Subject: [piclist] Re: PIC do all that AVR do ? > > > --- In , "Leon Heller" <leon.heller@d...> > wrote: >> ----- Original Message ----- >> From: "Kees Stenekes" <knalkeez@y...> >> To: <> >> Sent: Tuesday, October 26, 2004 11:42 AM >> Subject: Re: [piclist] PIC do all that AVR do ? >> >> >> > >> > >> > --- sandeep c p <hackmecrack@y...> wrote: >> > >> >> i think the main disadvantage of PIC is that a >> >> simple >> >> programmer will cost a heavy price >> >> >> > >> > No way, you can build yourself a PIC 'El-Cheapo' >> > programmer for less than $ 5,- >> >> AVR is even cheaper - DB25M and two resistors for an in-system > programmer. >> >> Leon > I think the main disadvantage of the AVR is that it costs more for > similar parts. Often more than $1.00 a chip more. > > Oddly the Tiny11 sells at Digi-Key for 54 cents and may be the lowest > cost of micro-controllers. 25c for 1250 pcs. Leon |
|
|
|
One thing that some PICs can do that no AVRs can do is DAC. A programmable voltage reference with no external parts. Mike --- In , sandeep c p <hackmecrack@y...> wrote: > is there ny diffrence in AVR and PIC ? > i think this r the two micos most pple like > y most of pple using avr than pic > is that becoz of its price > or easy > i think the main disadvantage of PIC is that a simple > programmer will cost a heavy price > > thaz |
|
I am pretty new to PIC as well. I am pretty surprised at the cost of a C compiler.
There is PIC-lite for some of the chips, but not for the PIC18xxxx. I think the AVR might
be alot cheaper there and maybe free with the GNU.
sandeep c p <h...@yahoo.co.in> wrote: is there ny diffrence in AVR and PIC ?
|
|
--- In , "Leon Heller" <leon.heller@d...> wrote: > ----- Original Message ----- > From: "Dave Mucha" <dave_mucha@y...> > To: <> > Sent: Tuesday, October 26, 2004 4:47 PM > Subject: [piclist] Re: PIC do all that AVR do ? > > > > > > --- In , "Leon Heller" <leon.heller@d...> > > wrote: > >> ----- Original Message ----- > >> From: "Kees Stenekes" <knalkeez@y...> > >> To: <> > >> Sent: Tuesday, October 26, 2004 11:42 AM > >> Subject: Re: [piclist] PIC do all that AVR do ? > >> > >> > >> > > >> > > >> > --- sandeep c p <hackmecrack@y...> wrote: > >> > > >> >> i think the main disadvantage of PIC is that a > >> >> simple > >> >> programmer will cost a heavy price > >> >> > >> > > >> > No way, you can build yourself a PIC 'El-Cheapo' > >> > programmer for less than $ 5,- > >> > >> AVR is even cheaper - DB25M and two resistors for an in-system > > programmer. > >> > >> Leon > > > > > > I think the main disadvantage of the AVR is that it costs more for > > similar parts. Often more than $1.00 a chip more. > > > > Oddly the Tiny11 sells at Digi-Key for 54 cents and may be the lowest > > cost of micro-controllers. > > 25c for 1250 pcs. > > Leon Lemme know your address and I'll send you $10.00 for 40 and some extra for shipping ! Dave |
|
----- Original Message ----- From: "Dave Mucha" <> To: <> Sent: Wednesday, October 27, 2004 1:26 AM Subject: [piclist] Re: PIC do all that AVR do ? >> >> 25c for 1250 pcs. >> >> Leon > > Lemme know your address and I'll send you $10.00 for 40 and some > extra for shipping ! A bulk buy was organised recently, and several of us got them at that price. I got 50, but I need them. Leon |
|
|
|
PIC vs. AVR I work with both series and I like them both. I find that the Microchip model of "NEVER obsolete a part" makes them pretty comfortable to work with, Atmel seems to obsolete as fast as they bring them out. The AVR's are more expensive and often lack the feature set (Is there an AVR with a dual CAN bus?) In my dealings with the two company's I feel like Microchip bends over backwards to help us engineers with the chips whereas Atmel seems like they couldn't care less. I get responses from Microchip within a day or so, I've yet to get a response back from Atmel about a query I send them. On the tool set, there are more tools available for the PIC than the AVR it seems. However, the AVR has the GNU C compiler which is free if you can get it working - The AVR has a more traditional mix of instructions which makes getting a C compiler on it a bit easier. However I find the MPLAB has no peer for an IDE - AVR Studio just isn't there yet and is a bit rough around the edges. I love my ICD-2 from Microchip, a debugger and ICSP all in one "hockey puck", but at a price of about $150. The Atmel AVRISP is only about $50, but has no debug capability and is serial and not USB so it isn't quite as fast to program a big memory chip either. While there are parallel port programmers for both series, I hate that mechanism, it is slow and prone to error with really large programs it seems. In general I find the PICs more "fun" to work with than the AVR, with the AVR chips you can set an oscillator fuse wrong and, bang, you have to go do a few pushups to get the chip back - It also seems to default to a weird osc setup too. However, the ATMega parts are faster than the PICs. The 16MHz ATMega clocked chips would be about the speed of a 64MHz 18Fxxxx series PIC - The dsPICs are way faster though at about the equivilent to a 30MHz ATMega, so maybe that will be the way to go in the future. I went to the Microchip Masters Conference in Phoenix (Scotsdale) this summer and it was kick-@$$. I was a presenter so much of the cost was reduced, but even if I don't teach a class next year and have to pay the whole thing, I'm going again. Truly a great time and learning experience. So, as with all things, I guess it depends what you are looking for! IMO, DLC (who is still tickled that he won the robot competition at MMC.) |
|
----- Original Message ----- From: "Dave Mucha" <> To: <> Sent: Wednesday, October 27, 2004 4:28 PM Subject: [piclist] Re: PIC do all that AVR do ? > > > --- In , "Leon Heller" <leon.heller@d...> > wrote: >> ----- Original Message ----- >> From: "Dave Mucha" <dave_mucha@y...> >> To: <> >> Sent: Wednesday, October 27, 2004 1:26 AM >> Subject: [piclist] Re: PIC do all that AVR do ? >> >> >> >> 25c for 1250 pcs. >> >> >> >> Leon >> > >> > Lemme know your address and I'll send you $10.00 for 40 and some >> > extra for shipping ! >> >> A bulk buy was organised recently, and several of us got them at > that price. >> I got 50, but I need them. >> >> Leon > Ah.. but that was not just a bulk buy, it was a bulk buy from a > special offer from Atmel for that particular chip. > > Digi-key sells them at $37.50 for 100 lot. Mouse and the others > are over $1.50. Me thinks Digi-key bought on the same offer ! > > I may be buying 1,000 bright white LED's for a project, well at least > 700, maybe 1,000... depending on the price. > > I was thinking off seeing if others want to get together and hit that > 1,000 part price. > > ( ummm... tiny11 for a pulse width to a Bright White LED = brighter > light and..... a flashlight converter for kids flashlights.... off > in 5 minutes. dim mode for reading at night under the > covers....) op's sorry, day dreaming... > > I still have some research on Bright White LED's. I'm using the Tiny11 for driving red LEDs using PWM, with a switching buck converter using a MOSFET, for a high-power flashing beacon (40 ms flash at 0.6 Hz). I'm putting about 250 mA through the LEDs, with a 38 kHz PWM signal. Leon |
|
|