Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Works on breadboard but not on PCB

Status
Not open for further replies.

Urahara

Member
Hi

I have a light to frequency light sensor (TSL230R) connected via a short wire (max 12 inches) to the capture pin of a pic microcontroller. This sensor generates a square wave that increases with the light level. The aim is to count the rising edge (pulse) of the square waves per minute to determine the light level.

When I use a breadboard for the whole circuit (pic and sensor on separate breadboard), I can get up to about 60,000 pulses per min whenever I shine a touchlight on the sensor. But with the pic on a "self-designed" PCB and the sensor on the breadboard, I got max 2600 pulses per min.

I have included decoupling capacitors, use short pic to sensor wire but to no avail. I guess my limited knowledge of electronics is catching up with me.

Any ideas would could be the cause of this problem?

Thks!
 
Besides the description of your problem, what if you show the circuit?

Leaving any point unconnected for starters...it could be many things.

Cristall balls in the safe and turned off!
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top