i have some pic16f877a chips and want to be able to write code and program them. this would be my first attempt at a microcontroller circuit, so I need a simple to build programmer.<p>Also, how do i program it? i dont mean how do i put the chip on the programmer, i mean how do i write the code.<p>Also, I would like to know what kind of things have been built with this chip and what can be built, so I have some starting ideas.<p>Thanks,
Mike
PIC Programmer
Re: PIC Programmer
Hi Mike,<p>Have a look at http://tutor.al-williams.com -- these tutorials discuss the 16F873 which is the same as a 16F877 except it has fewer pins and slightly less memory. The core is exactly the same.<p>Also, http://www.piclist.com is a good resource.<p>As for projects, take a look at some N&V back issues and http://www.al-williams.com/app2.htm plus many projects on the PICList URL mentioned above.
Re: PIC Programmer
Take a look at http://www.ic-prog.net/index1.htm for awesome programmer software (the software is free, fast, and supports almost all of the PIC micros + some eeproms and other micros). The software supports many types of programmers. Take a look at http://www.jdm.homepage.dk/newpic.htm for a compatiable programmer. <p>As for projects: the PIC16F877 can do many things. For example, I am running a weather station at http://weather.homelinux.com/ that is powered by a PIC16F876 (smaller version of the PIC16F877). The web based ethernet interface is powered by a siteplayer coprocessor (www.siteplayer.com).<p>Harrison
Re: PIC Programmer
ok, thanks.<p>on the schematic, what is the pinout of the chip?<p>Does it go as on the schematic? as in pin 1=RA2, pin 2=RA3 and so on??
Re: PIC Programmer
anybody?<p>what is the pinouts of the chips?
Re: PIC Programmer
hp,<p>is that programmer compatable with the picbasic compiler? or picbasic pro? because i don't speak 0's and 1's so how would I know how to write them?<p>[ July 30, 2004: Message edited by: Mike ]</p>
Re: PIC Programmer
I use Mbasic and PicBasic Pro to compile my basic code. All you have to do is open the hex file with the programmer software and hit the program button.<p>Harrison
Re: PIC Programmer
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr>Originally posted by Mike:
i have some pic16f877a chips and want to be able to write code and program them. this would be my first attempt at a microcontroller circuit, so I need a simple to build programmer.
MIDIbox builders have been using this programmer to program 16F877's and 877A'S fir quite some time. PCB layout is available at my website. It's a bit tempermental with newer machines but works well for most. Full build info including issues can be found here.<p>Also, I would like to know what kind of things have been built with this chip and what can be built, so I have some starting ideas.
<hr></blockquote>All of the older MIDIbox projects are based on the 877's. <p>Have fun!<p>SmashTV
i have some pic16f877a chips and want to be able to write code and program them. this would be my first attempt at a microcontroller circuit, so I need a simple to build programmer.
MIDIbox builders have been using this programmer to program 16F877's and 877A'S fir quite some time. PCB layout is available at my website. It's a bit tempermental with newer machines but works well for most. Full build info including issues can be found here.<p>Also, I would like to know what kind of things have been built with this chip and what can be built, so I have some starting ideas.
<hr></blockquote>All of the older MIDIbox projects are based on the 877's. <p>Have fun!<p>SmashTV
Re: PIC Programmer
<blockquote><font size="1" face="Verdana, Helvetica, sans-serif">quote:</font><hr>Originally posted by hp:
I use Mbasic and PicBasic Pro to compile my basic code. All you have to do is open the hex file with the programmer software and hit the program button.<p>Harrison<hr></blockquote><p>Thanks, but what I was asking was is that programmer you linked me to compatable with picbasic? what is mbasic anyway?<p>The reason I ask is the book i checked out from the library uses s programmer called the epic programmer. I would rather build my own.
I use Mbasic and PicBasic Pro to compile my basic code. All you have to do is open the hex file with the programmer software and hit the program button.<p>Harrison<hr></blockquote><p>Thanks, but what I was asking was is that programmer you linked me to compatable with picbasic? what is mbasic anyway?<p>The reason I ask is the book i checked out from the library uses s programmer called the epic programmer. I would rather build my own.
-
- Posts: 400
- Joined: Tue Dec 25, 2001 1:01 am
- Location: Bellingham, WA
- Contact:
Re: PIC Programmer
Mike, the PIC only ever gets PIC machine code. Any program you write is compiled into PIC code before the device gets it. Hardware (programmer) compatibility applies mostly to the pinout of the device in question (like a 16 pin socket can't program an 18 or 28 pin chip), and manufacturer. Microchip has been good about keeping the pinout the same for different families in the same packages. Just save as .hex and use that with your programmer.
Re: PIC Programmer
OK thanks.<p>I think I will build this programmer, http://www.jdm.homepage.dk/newpic3.htm.<p>I don't have any BC547 transistors though. What is a substitution? Are they low power where something like a 2n2222 could be used?<p>edit: i was just looking at that site, it says its for the 16C84. Will it work with the 16F84? what about this one? http://www.jdm.homepage.dk/newpic0.htm<p>second edit, is this what i need to build? http://www.jdm.homepage.dk/newpic.htm
[ August 01, 2004: Message edited by: Mike ]<p>[ August 01, 2004: Message edited by: Mike ]</p>
[ August 01, 2004: Message edited by: Mike ]<p>[ August 01, 2004: Message edited by: Mike ]</p>
-
- Posts: 400
- Joined: Tue Dec 25, 2001 1:01 am
- Location: Bellingham, WA
- Contact:
Re: PIC Programmer
The programer I have is represented at http://www.olimex.com/dev/index.html . On the menu select PIC, then PIC-PG2. I purchased one of those originally for 12f675, but it works with 8, 14, 18, 28 and 40 pin DIPs from Microchip. It also has an ICSP header for chips that are already soldered (good for TQFP, PLCC, SOIC, and SOT-23 [future product]).<p>The software I use is IC-prog. If you have trouble finding it, I'll find a link for that too.<p>As for the transistors, they're not critical. I used 2n4401.
Re: PIC Programmer
well, will this one work fine with pic16f84? what about 16f877a (i know i would need an adapter). Is it able to rewire the chips? i know the f series is rewritable and the c isnt. the page focuses on the pic16c series, so will it be able to have full use with the f series?<p>this one:
http://www.jdm.homepage.dk/newpic.htm<p>[ August 01, 2004: Message edited by: Mike ]</p>
http://www.jdm.homepage.dk/newpic.htm<p>[ August 01, 2004: Message edited by: Mike ]</p>
Re: PIC Programmer
That programmer should support all of the PICs that the ICProg program supports. All you need when programming are the mclr, b6, b7, gnd, and +5v lines. The JDM programmer is fine for programming the 16F84, 16F876, 16F877 and other PICs.<p>HP
Who is online
Users browsing this forum: Ahrefs [Bot], Amazon [Bot] and 25 guests