Electronic Projects, forums and more.

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

Notices


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

Reply
 
Thread Tools Display Modes
Old 18th June 2007, 09:37 PM   (permalink)
Experienced Member
 
Hero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to behold
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 Images
File Type: jpg imag0030.jpg (427.9 KB, 356 views)
File Type: jpg imag0031.jpg (372.4 KB, 233 views)
File Type: jpg imag0032.jpg (426.9 KB, 202 views)
File Type: jpg imag0033.jpg (346.5 KB, 199 views)
__________________
What's so bad about Microsoft?

Get Opera it's simply a superb browser.
Hero999 is online now   Reply With Quote
Old 19th June 2007, 09:13 AM   (permalink)
Experienced Member
 
Hero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to behold
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.
__________________
What's so bad about Microsoft?

Get Opera it's simply a superb browser.
Hero999 is online now   Reply With Quote
Old 19th June 2007, 09:32 AM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
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   Reply With Quote
Old 19th June 2007, 11:01 AM   (permalink)
3v0
Moderator
 
Blog Entries: 3
3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold
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
__________________
search engine for electronic parts
Junebug USB PIC programmer kit. USB Bit Wacker
3v0 is online now   Reply With Quote
Old 19th June 2007, 11:34 AM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
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   Reply With Quote
Old 19th June 2007, 01:46 PM   (permalink)
Experienced Member
 
Hero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to behold
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.
__________________
What's so bad about Microsoft?

Get Opera it's simply a superb browser.
Hero999 is online now   Reply With Quote
Old 19th June 2007, 01:53 PM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
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   Reply With Quote
Old 19th June 2007, 02:46 PM   (permalink)
Experienced Member
 
bananasiong is a glorious beacon of lightbananasiong is a glorious beacon of lightbananasiong is a glorious beacon of lightbananasiong is a glorious beacon of light
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.
__________________
Superman Returns..
http://www.supermanhomepage.com/imag...an-returns.gif

My friend created this account for me.. LOL
http://bananasiong.myminicity.com
oh.. somemore
http://bananasiong.myminicity.com/env
bananasiong is offline   Reply With Quote
Old 19th June 2007, 02:50 PM   (permalink)
3v0
Moderator
 
Blog Entries: 3
3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold3v0 is a splendid one to behold
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 ?
__________________
search engine for electronic parts
Junebug USB PIC programmer kit. USB Bit Wacker
3v0 is online now   Reply With Quote
Old 19th June 2007, 03:14 PM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
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   Reply With Quote
Old 19th June 2007, 06:08 PM   (permalink)
Experienced Member
 
Hero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to behold
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.
__________________
What's so bad about Microsoft?

Get Opera it's simply a superb browser.
Hero999 is online now   Reply With Quote
Old 19th June 2007, 08:10 PM   (permalink)
Super Moderator
 
Nigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to beholdNigel Goodwin is a splendid one to behold
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   Reply With Quote
Old 20th June 2007, 04:40 AM   (permalink)
Experienced Member
 
Blog Entries: 1
Gayan Soyza is a glorious beacon of lightGayan Soyza is a glorious beacon of lightGayan Soyza is a glorious beacon of lightGayan Soyza is a glorious beacon of lightGayan Soyza is a glorious beacon of light
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
Forum Supporter
Gayan Soyza is offline   Reply With Quote
Old 21st June 2007, 09:06 PM   (permalink)
Experienced Member
 
Hero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to behold
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 Images
File Type: jpg PIC Programmer (complete).JPG (103.0 KB, 111 views)
__________________
What's so bad about Microsoft?

Get Opera it's simply a superb browser.
Hero999 is online now   Reply With Quote
Old 22nd June 2007, 05:50 AM   (permalink)
Experienced Member
 
bananasiong is a glorious beacon of lightbananasiong is a glorious beacon of lightbananasiong is a glorious beacon of lightbananasiong is a glorious beacon of light
Default

Hi Hero999, the chassis looked nice
__________________
Superman Returns..
http://www.supermanhomepage.com/imag...an-returns.gif

My friend created this account for me.. LOL
http://bananasiong.myminicity.com
oh.. somemore
http://bananasiong.myminicity.com/env
bananasiong is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


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



All times are GMT. The time now is 10:51 PM.


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