![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| New Member Join Date: Jun 2005 Location: UK
Posts: 24
| 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 |
| | |
| | #4 (permalink) |
| Experienced Member Join Date: May 2005 Location: Jordan
Posts: 203
| 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 |
| | |
| | #5 (permalink) | |
| Super Moderator Join Date: Nov 2003 Location: Derbyshire, UK
Posts: 22,791
| Quote:
| |
| | |
| | #6 (permalink) |
| New Member Join Date: Jun 2005 Location: UK
Posts: 24
| 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. |
| | |
| | #7 (permalink) |
| Super Moderator Join Date: Jan 2005 Location: Slovakia
Posts: 1,738
| 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! |
| | |
| | #8 (permalink) | |
| Super Moderator Join Date: Nov 2003 Location: Derbyshire, UK
Posts: 22,791
| Quote:
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!. | |
| | |
| | #9 (permalink) |
| Experienced Member Join Date: Aug 2004 Location: New Jersey
Posts: 2,225
| 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.. |
| | |
| | #10 (permalink) | ||
| Super Moderator Join Date: Jan 2005 Location: Slovakia
Posts: 1,738
| Quote:
__________________ "I share, thus I am" Jay.slovak Read this! ICD2 Clone Best PIC/DsPIC Bootloader Read my Inchworm ICD2 review! | ||
| | |
| | #13 (permalink) |
| New Member Join Date: Jun 2005 Location: UK
Posts: 24
| 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 |
| | |
| | #14 (permalink) |
| Super Moderator Join Date: Sep 2002 Location: Lincolnshire, England
Posts: 590
| 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 ! |
| | |
| | #15 (permalink) |
| New Member Join Date: Jun 2005 Location: UK
Posts: 24
| 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 |
| | |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |