Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 27th January 2008, 12:25 PM   (permalink)
Default how close does the quarz need to be

how close to the pic does the quarz and 2 condensers need to be ? is it like as close as possible ?
__________________
I AM the exeption that disproves the rule in many ways but the rules still apply (unfortunately)

my site:www.simons-photography.com
http://rushdenrotaract.org.uk
Thunderchild is offline  
Old 27th January 2008, 01:10 PM   (permalink)
Default

Close is good.
In my experience in the past with 8051 and PICs I always kept them within an inch of the pins but why would you want to place them further away anyway?

I used crystals of about 4MHz so placement may be more critical at higher frequencies.
elfcurry is offline  
Old 27th January 2008, 01:28 PM   (permalink)
Default

As close as possible, check my tutorials for how I do it on veroboard.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 27th January 2008, 06:08 PM   (permalink)
Default

yea I'm making veroboard "modules" with the pic on it and a power led and from your replys when needed the quaz circuit.
these I will plug into the "main" circuit board this was I can remove it program it and replace it and replace with a different pic if I want to I'm making one with a zif socket on it for prototyping etc.
alog the same quesrion line how long can the wires/tracks be btween the pic and the rest of the circuit ?
__________________
I AM the exeption that disproves the rule in many ways but the rules still apply (unfortunately)

my site:www.simons-photography.com
http://rushdenrotaract.org.uk
Thunderchild is offline  
Old 27th January 2008, 10:12 PM   (permalink)
Default

just so you can all scream at the many mistakes I made and probably never thought of heres a picture of the zif module.
this was basically so that I could program a pic or rather just connect it to the compter (via pickit 2) and see that I've accomplished some small deed in the pic world.
the lower header will plug into the "mother board" and the header at the top is to connect the pickit 2 to it.
so that I don't end up making every "pic module" that large I will (when they arrive) put a soket above the lower header so that a similar board (with a pic soldered straight to it - or on a normal cheap socket) can plug into it and be programmed from it without keep wiring the 6 pin header for the programmer on every module making the others smaller and saving a 6 pin header every time
I'll probably add a power led to this one just for kicks
Attached Images
File Type: jpg protopic.jpg (68.5 KB, 33 views)
__________________
I AM the exeption that disproves the rule in many ways but the rules still apply (unfortunately)

my site:www.simons-photography.com
http://rushdenrotaract.org.uk
Thunderchild is offline  
Old 28th January 2008, 01:06 AM   (permalink)
Default

You might run into some noise issues with the crystal being mounted farther away from the PIC like that. Now that you've built it try it out, but just be aware of the possibility so you can minimize trouble shooting time.
For in circuit programming you might want to look into a chip clip:

And/Or some of these:
__________________
--- The days of the digital watch are numbered. ---
kchriste is offline  
Old 28th January 2008, 02:03 AM   (permalink)
Default

You can save a pin and get away with the piezo device being much further away if you use and oscillator instead of a crystal. That way the oscillator, which contains the crystal, has the oscillation amplifier right next to the crystal and what goes along the wire is a buffered signal, so it should be no more sensitive to long tracks than any other digital signal.
Diver300 is offline  
Old 28th January 2008, 02:11 AM   (permalink)
Default

Better yet stop using the old 16F84, most moder PICs now have a built in oscillator.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 28th January 2008, 09:43 AM   (permalink)
Default

Quote:
Originally Posted by blueroomelectronics
Better yet stop using the old 16F84, most moder PICs now have a built in oscillator.
whenever did I say I was using a 16F84 ? thats a 16F628A in my picture I didn't even bother to order any 84 infact you can't get samples anymore. I'm just thinking all options as I'm creating my own modular system.

I have found one solution: the osc1 & 2 pins are 15 and 16 the way I made my prototyping module pins 1-9 are on the closer side to the header and 15 & 16 are far away, if I turn the pic over and put it on the righthand side of the board it will put pins 10-18 nearest the header but keep the same header pinout I started with
__________________
I AM the exeption that disproves the rule in many ways but the rules still apply (unfortunately)

my site:www.simons-photography.com
http://rushdenrotaract.org.uk
Thunderchild is offline  
Old 28th January 2008, 10:32 AM   (permalink)
Default

But why would you want a ZIF socket on your proototype board?, just use a normal socket, the ZIF socket goes on your programmer.

You might try studying my tutorial boards, which were made the way they were for good reason, and after considerable thought.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 28th January 2008, 12:27 PM   (permalink)
Default

well that board really is to program the pic via the pickit programmer that does not have a zif on it. I don't think a standard IC socket will take much putting in and out plus I'd end up damaging the pic so came up with the mudule idea, I'll just solder the pic to the board on other modules and plugit into the cicuit, thats for testing and experimenting, if I were to make a project into complete usable form I'd put the pic straight on the mainboard via a socket and implement ICSP
__________________
I AM the exeption that disproves the rule in many ways but the rules still apply (unfortunately)

my site:www.simons-photography.com
http://rushdenrotaract.org.uk
Thunderchild is offline  
Old 28th January 2008, 12:33 PM   (permalink)
Default

Quote:
Originally Posted by Thunderchild
well that board really is to program the pic via the pickit programmer that does not have a zif on it. I don't think a standard IC socket will take much putting in and out plus I'd end up damaging the pic so came up with the mudule idea, I'll just solder the pic to the board on other modules and plugit into the cicuit, thats for testing and experimenting, if I were to make a project into complete usable form I'd put the pic straight on the mainboard via a socket and implement ICSP
Simply fit a normal socket on the board, and fit your working PIC with a turned pin socket, these have nice straight pins, and can be inserted and removed many times with no damage to the socket on the board, or the turned pin socket on the PIC (the PIC pins can't get damaged, because they are only ever inserted in the turned pin socket the once.

I've been doing this for teens of years, and have NEVER broken a PIC pin, a turned pin socket, or the socket on the target board.

If you're concerned you might consider ICSP and program the chip while it's in the board instead - but your current idea seems clumsy and probably as bad a choice as you could make?.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 28th January 2008, 04:29 PM   (permalink)
Default

I think Nigel is right here; you want to save a fifty cent header on your boards, every time, but would instead spend a lot of extra time plugging and unplugging your chips to program them. Just put a header (or find a cheaper solution, or use the chip clip idea kchriste presented, to program) on your boards, and never have to plug in and pull out your chips, so never damage the pins that way.
BeeBop is online now  
Old 28th January 2008, 06:07 PM   (permalink)
Default

Well the 16F628A has a 1% oscillator built in. 4MHz and 48kHZ are available. Pretty handy.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Old 28th January 2008, 06:52 PM   (permalink)
Default

yea all good ideas I'll think about what I'm doing
__________________
I AM the exeption that disproves the rule in many ways but the rules still apply (unfortunately)

my site:www.simons-photography.com
http://rushdenrotaract.org.uk
Thunderchild is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Placing a caps as close as possible to a chip Screech General Electronics Chat 6 13th October 2005 12:27 PM
HELP! a digital signal to close a circuit fireismyflag Electronic Projects Design/Ideas/Reviews 2 22nd March 2004 11:46 PM
Need an Way to jam or disrupt a Close CircuiteCamara War_head_1 Electronic Projects Design/Ideas/Reviews 19 25th February 2004 10:52 PM
Question on designing close loop DC brushless motor control swear_swear Electronic Projects Design/Ideas/Reviews 7 14th June 2003 07:17 AM
what is close capture? bogdanfirst Electronic Projects Design/Ideas/Reviews 1 1st April 2003 06:48 PM



All times are GMT. The time now is 03:19 AM.


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

eXTReMe Tracker