Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronic Content > Electronic Projects


Electronic Projects A collection of small electronic circuits and projects you can build.

Reply
 
Tools
Old 18th June 2007, 10:37 PM   #1
Default PIC Programmer.

I've just finished building the PIC programmer on Nigel's site.
http://www.lpilsley.co.uk/pdf/p16pro40.pdf

Here are some pictures of the PCBs.

I've put it into a box; I'll post some pictures of that when I get round to it.
Attached Thumbnails
PIC Programmer.-imag0033.jpg  
Attached Images
File Type: jpg imag0030.jpg (427.9 KB, 731 views)
File Type: jpg imag0031.jpg (372.4 KB, 479 views)
File Type: jpg imag0032.jpg (426.9 KB, 442 views)
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Old 19th June 2007, 10:13 AM   #2
Default

All I need now is some software to use with this.

I'd prefer it if it's for Linux or will at least run under WINE as I am slowly moving away from Windows and I would also prefer it if it's open source. I've checked out Nigel's site but it all appears to be Winwoes only although I will check to see if some of it will run under WINE.

Then I'll set about building an LED flasher.

I also have a project planned for a PIC, it's a bathroom extractor fan timer. The idea is you pull the switch once and it turns the fan on for 10 miniute, pull it twice and it stays on continuously and pull it again to turn it off. I did origionally design it using a 555, a dual flip flip IC and a quad NAND IC but now I've finally decided to get into PICs I've decided to abandon that approach.

What PIC should I start with?

I want something with a built in oscillator, a minimum of two IO pins (one for the switch and one for the output) and that comes in a small DIL package with minimal pins.
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Old 19th June 2007, 10:32 AM   #3
Default

Check the PICList, there is a small amount of Linux stuff out there!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 19th June 2007, 12:01 PM   #4
Default

For the bathroom fan check out
PIC12F609-I/P 8 pin 1.75KB Flash 64B RAM 6 I/O 8MHz internal oscillator

For general learning I like the PIC16F88
  • 8-Bit Microcontroller IC
  • 7K bytes Flash
  • 8 MHz Int Oscillator
  • Number of I/O Pins:16
  • Clock Speed:20MHz
  • Package/Case:18-DIP
  • EEPROM:256
__________________
Please post questions to the forums. PM's are for personal communication.

BCHS/3v0's Tutorials
Junebug USB PIC programmer kit., USB Bit Whacker,
The 15 Minute Printed Circuit Board! (+drill time)
3v0 is offline  
Old 19th June 2007, 12:34 PM   #5
Default

Quote:
Originally Posted by 3v0
For the bathroom fan check out
PIC12F609-I/P 8 pin 1.75KB Flash 64B RAM 6 I/O 8MHz internal oscillator

For general learning I like the PIC16F88 7K bytes Flash
I makes a LOT more sense to specify program memory in words, because that's how it's used (and the only way it can be used).

So the 12F609 has 1K words of memory, and the 16F88 has 4K words.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 19th June 2007, 02:46 PM   #6
Default

Thanks for the replies.

Wow there is a lot of choice, I suppose as there are no special requirements for my application then would I be wise just buying the cheapest PIC possible?

I can't find the thread be I remember Nigel suggesting a PIC in place of a 555 awhile ago and I can't remember which one he suggested.
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Old 19th June 2007, 02:53 PM   #7
Default

Quote:
Originally Posted by Hero999
Thanks for the replies.

Wow there is a lot of choice, I suppose as there are no special requirements for my application then would I be wise just buying the cheapest PIC possible?

I can't find the thread be I remember Nigel suggesting a PIC in place of a 555 awhile ago and I can't remember which one he suggested.
Any 8 pin one would do, the 12F609 mentioned above would be fine.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 19th June 2007, 03:46 PM   #8
Default

I'm not very sure about this, but I've faced this problem among my friends and I myself: The hardware and software have to be synchronized, i.e. not all the programming software support all type of programmers. Let's talk about parallel port programmer, some uses an inverter and some uses a buffer as the logic. So the programming software are different. But I'm not sure whether there is any way to make them to be universal. It is because some programming software doesn't support some new PICs.
__________________
bananasiong
bananasiong is offline  
Old 19th June 2007, 03:51 PM   #9
Default

Quote:
Originally Posted by Nigel Goodwin
I makes a LOT more sense to specify program memory in words, because that's how it's used (and the only way it can be used).
Best to know both. Both have value.
Machines with larger instructions GENERALY require fewer instructions.

Data is stored in bytes.

No big deal. Why are you giving me guff ?
__________________
Please post questions to the forums. PM's are for personal communication.

BCHS/3v0's Tutorials
Junebug USB PIC programmer kit., USB Bit Whacker,
The 15 Minute Printed Circuit Board! (+drill time)
3v0 is offline  
Old 19th June 2007, 04:15 PM   #10
Default

Quote:
Originally Posted by 3v0
Best to know both. Both have value.
Machines with larger instructions GENERALY require fewer instructions.
The ONLY reason is as an advertising ploy, to make it appear larger than it is!, there's no value in splitting the words into bits and reassembling them in bytes.

Quote:

Data is stored in bytes.
Not in PIC program memory it's not!.

Quote:

No big deal. Why are you giving me guff ?
No guff, just making the point - it makes much more sense to specify the size of the memory as you use it.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 19th June 2007, 07:09 PM   #11
Default

So I take it that all PIC instructions are the same size on a specific device?

I've done some assembler programming on both an x86 PC and a microcontroller (can't remember what type) and different instructions required different amounts of memory.
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Old 19th June 2007, 09:10 PM   #12
Default

Quote:
Originally Posted by Hero999
So I take it that all PIC instructions are the same size on a specific device?
On the low and mid range devices they are, for example the 16F series use all 14 bit words, and all instructions are just one word in length - so the 14 bit word can contain an eight bit data 'byte' and a six bit instruction (such as RETLW 0xFF - the RETLW is the first 6 bits, and the 255 the next 8).

The 18F series etc. have a small number of double word instructions.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 20th June 2007, 05:41 AM   #13
Default

I think for Hero999 its better start from windows & assembly language until you get descent knowledge in PIC programming Due to several reasons.

*Easy to understand
*More resources software’s (IC Prog, WinPicprog / Serial Port Emulators etc……)
*More supported programming hardware’s
*More debugging tools (simulators)
*Plenty tutorials (microchip application notes)
*More supported forum friends

After that you can shift to any other OS or Higher Level Language or 18F series.

All the best
__________________
Gayan

My Website
http://gsmicro.blogspot.com/
Gayan Soyza is offline  
Old 21st June 2007, 10:06 PM   #14
Default

I don't mind sticking with some Windows software for now but if I do then I still want the option of being able to take all my code and move to another piece of software on the the Linux platform without modifying it. I don't want to get locked into using a certain piece of proprietary software that I only origianlly intended on using temporally.

By the way, here's the completed article.

Now all I need to do is buy some PICs to program.
Attached Thumbnails
PIC Programmer.-pic-programmer-complete-.jpg.JPG
Views:	176
Size:	103.0 KB
ID:	13287  
__________________

I do not answer private messages asking for help because no one else can: benefit from advice I may give or correct me if I'm wrong.

Please ask on the open forum if you have a question and I'll be happy to help,
if I know the answer.
Hero999 is offline  
Old 22nd June 2007, 06:51 AM   #15
Default

Hi Hero999, the chassis looked nice
__________________
bananasiong
bananasiong is offline  
Reply

Tags
pic, programmer

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
Pic programmer venomxx Electronic Projects Design/Ideas/Reviews 2 8th May 2007 09:14 AM
Problems with pic programmer AcmeMan Micro Controllers 12 13th March 2007 06:04 PM
Building First Pic Programmer Bryan76 Micro Controllers 50 6th February 2007 05:45 PM
PIC Programmer using C burg General Electronics Chat 2 24th January 2007 08:27 AM
Newcomers, please read! (PIC regarded) Upd. 0xD Jay.slovak Micro Controllers 0 17th April 2005 02:05 PM



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


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker