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
 
Thread Tools Display Modes
Old 29th June 2005, 01:42 AM   (permalink)
New Member
Blueprint is on a distinguished road
Default Can anyone explain the BreadBoard layout for this...

Ok, the "technical" diagram is here:

http://techref.massmind.org/techref/...pic/bincnt.htm

and I have set up my breadboard, but something's not working. The PIC is all coded up ready to go, its in the centre of my board... but something's not working right .

I must admit, I don't much understand the right side of the "technical diagram". You can see my version of the breadboard (sorry for the bad image!) at the following URL:

http://www.teamblueprint.com/bb_eg.JPG

Any advice/help would be much appreciated.

Thanks
__________________
www.teamblueprint.com
expl0ring the r00t 0f y0ur b0x
Blueprint is offline   Reply With Quote
Old 29th June 2005, 02:19 AM   (permalink)
Experienced Member
The Real MicroMan is on a distinguished road
Default

looks like your VDD and VSS lines are switched
The Real MicroMan is offline   Reply With Quote
Old 29th June 2005, 03:30 AM   (permalink)
Experienced Member
 
williB is on a distinguished road
Default

i would like to help, what dont you understand about the right side of the diagram??
williB is offline   Reply With Quote
Old 29th June 2005, 04:27 AM   (permalink)
Experienced Member
YAN-1 has a little shameless behaviour in the past
Default

I was looking at the circuit you are supposed to build. Shouldn't the capacitors of the crystal be connected to ground instead of Vdd?
__________________
World.......behold........YAN is coming
YAN-1 is offline   Reply With Quote
Old 29th June 2005, 07:59 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 behold
Default

Quote:
Originally Posted by YAN-1
I was looking at the circuit you are supposed to build. Shouldn't the capacitors of the crystal be connected to ground instead of Vdd?
It makes no difference, Vdd and Vss are at the exact same potential as far as AC is concerned - so it should work fine either way.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now   Reply With Quote
Old 29th June 2005, 09:11 AM   (permalink)
New Member
Blueprint is on a distinguished road
Default

Ok i've tken 6 shots of my breadboard as it is at the moment. Please help, it's not working. Don't worry there are no resistors there yet:

http://www.teamblueprint.com/bb/bb1.jpg
http://www.teamblueprint.com/bb/bb2.jpg
http://www.teamblueprint.com/bb/bb3.jpg
http://www.teamblueprint.com/bb/bb4.jpg
http://www.teamblueprint.com/bb/bb5.jpg
http://www.teamblueprint.com/bb/bb6.jpg

Thanks.
__________________
www.teamblueprint.com
expl0ring the r00t 0f y0ur b0x
Blueprint is offline   Reply With Quote
Old 29th June 2005, 09:16 AM   (permalink)
Super Moderator
 
Jay.slovak is just really niceJay.slovak is just really niceJay.slovak is just really nice
Default

Scheme seems fine to me, try to place crystal closer to the PIC and shorten it's leads (not PICs leads, the wires that connect PIC and crystal).
__________________
"I share, thus I am"
Jay.slovak
Read this!
ICD2 Clone
Best PIC/DsPIC Bootloader

Read my Inchworm ICD2 review!
Jay.slovak is offline   Reply With Quote
Old 29th June 2005, 09:42 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 behold
Default

Quote:
Originally Posted by Jay.slovak
Scheme seems fine to me, try to place crystal closer to the PIC and shorten it's leads (not PICs leads, the wires that connect PIC and crystal).
I agree, the layout is absolutely horrible - personally I don't like (or use) breadboards, and this gives a good example of why not 8)

You should keep leads as short as possible, particularly round the crystal and associated capacitors - check the veroboard layout for the 876 board in my tutorials, you will see how close I place the crystal to the pins!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is online now   Reply With Quote
Old 29th June 2005, 10:12 AM   (permalink)
Experienced Member
 
williB is on a distinguished road
Default

Just a thought, have you got the diodes hooked in correctly..?
also ,you can use the resistors, in place of the wires, going from the outputs to the diodes ..
so from any one output pin you would have a resistor , a diode , and a wire to ground..
williB is offline   Reply With Quote
Old 29th June 2005, 10:15 AM   (permalink)
Super Moderator
 
Jay.slovak is just really niceJay.slovak is just really niceJay.slovak is just really nice
Default

Quote:
Originally Posted by Nigel Goodwin
Quote:
Originally Posted by Jay.slovak
Scheme seems fine to me, try to place crystal closer to the PIC and shorten it's leads (not PICs leads, the wires that connect PIC and crystal).
I agree, the layout is absolutely horrible - personally I don't like (or use) breadboards, and this gives a good example of why not 8)

You should keep leads as short as possible, particularly round the crystal and associated capacitors - check the veroboard layout for the 876 board in my tutorials, you will see how close I place the crystal to the pins!.
Nigel, I never had a problem with my Breadboard. I know it's not very appropriate for HF stuf (like crystals ) but If you try to make connections short and place it far from any other HF noise, it will work fine. This is a trade-off for simplicity of usage 8)
__________________
"I share, thus I am"
Jay.slovak
Read this!
ICD2 Clone
Best PIC/DsPIC Bootloader

Read my Inchworm ICD2 review!
Jay.slovak is offline   Reply With Quote
Old 29th June 2005, 11:19 AM   (permalink)
Experienced Member
 
JFDuval is on a distinguished road
Send a message via MSN to JFDuval
Default

Hello!

Is it me or on this schematic, the two quartz capacitors are going to the positive? Shouldn't they go to the GND?
__________________
JFDuval
jfduval --@-- aqra.ca
http://www.aqra.ca
JFDuval is offline   Reply With Quote
Old 29th June 2005, 11:32 AM   (permalink)
Experienced Member
 
eblc1388 is just really niceeblc1388 is just really niceeblc1388 is just really nice
Default

Quote:
Originally Posted by JFDuval
Hello! Is it me...... ?
It is you. See posting above by YAN-1 & the answer by Nigel.
__________________
L.Chung
eblc1388 is offline   Reply With Quote
Old 29th June 2005, 11:40 AM   (permalink)
New Member
Blueprint is on a distinguished road
Default

Hi,

I REALLY appreciate all of your advice! I'm at work at the moment, so can't change anything yet, but if you could let me know what I need to change when I get home I'd be most grateful.

So far I see I need to move the crystal closer... shorten the wire lengths. I'm not using any resistors yet either. So yeah, if you could let me know what steps to take when I get home that;d be great. Is the wiring correct?

Ed
Design & Marketing Manager
www.svp.co.uk
__________________
www.teamblueprint.com
expl0ring the r00t 0f y0ur b0x
Blueprint is offline   Reply With Quote
Old 29th June 2005, 11:54 AM   (permalink)
Super Moderator
 
mechie is a jewel in the roughmechie is a jewel in the rough
Default Deliberate mistake ?

Looking at the original drawing of your layout and the third photo (detailing the crystal circuit area) ...

Do I see a wire from the PIC pin 15 going to the wrong side of a capacitor (ending up connecting to the power rail) ?

(A wire from breadboard column 15 to column 4 (should be column 5) :?:


As far as breadboards are concerned I use them for prototyping, I always try to keep the crystal wires short and away from any source of interference but I have never had any problems (as per Jay's posting).

I think if you move this ONE wire it may just burst into life (you need some LED resistors though!)
__________________
I need a memory upgrade ...
My head is full !
mechie is offline   Reply With Quote
Old 29th June 2005, 12:03 PM   (permalink)
New Member
Blueprint is on a distinguished road
Default

Haha thanks... sod the LED's if they blow, they blow... Im screwed when it comes to choosing resistors, i got a lucky bag from Maplin, but i calculate all of them to be over 100mA which doesn't help seeing as i'm only using 3.5v to start with, all the other electronics and shizzle... I need a low mA resistor. It'll be ok.

(I know that's a bad attitude to have, but i'm desperate to get it working, without using too high-a-resistor giving me the impression it's not working!).

Thanks again. Which I could give something back in return but i'm shocking at this stuff... just learning!

Ed
Design & Marketing Manager
www.svp.co.uk
__________________
www.teamblueprint.com
expl0ring the r00t 0f y0ur b0x
Blueprint is offline   Reply With Quote
Reply

Bookmarks

« I2C | Frustration »
Thread Tools
Display Modes




All times are GMT. The time now is 08:52 AM.


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