special problem on PIC

Discussion about projects that used PIC Microcontroller, Hardware Interface, Programming Algorithm and etc......

special problem on PIC

Postby wayne » Sat Feb 23, 2013 5:09 pm

i had costracted the own demo doard which using PIC18F4520. the operation of this circuit is the buzzer will triger when one of the shock sensor was detected. this operation has been tested on PICDEM 2 PLUS DEMO BOARD and it run properly. when i constracted this cirucit in project board, it is work well also. but when i move this cirucit to other power plug supply, it cant work properly anymore and when i touch the OCS1 or 7805, it work properly again once i release my hand then it cant function back again. the most funny is that one of my house power plug supply can work very well but everytime i change other plug it has the problem as mention above. why like this???? the shock sensor which i using from cytron and the datasheet or circuit diagram were uploaded at here. everyone who know my problem please give a helping hand. thank million!!!
Attachments
schematic diagram.jpg
this is my circuit connection
shock sensor.jpg
this is the shock sensor datasheet
shock sensor diagram.jpg
shock sensor diagram
wayne
Newbie
 
Posts: 12
Joined: Sat Oct 27, 2012 1:41 pm

Re: special problem on PIC

Postby yonghui » Mon Feb 25, 2013 9:57 am

all the gnd are properly connected?
thanks&regards,
yh
yonghui
Professional
 
Posts: 732
Joined: Mon Sep 28, 2009 3:27 pm

Re: special problem on PIC

Postby wayne » Mon Feb 25, 2013 11:49 am

thank for reply, i comfirm all are common ground together. i build my circuit in project board, it still havent sodering and will it work after sodering? because i teasted on PICDEM 2 DEMO BOARD it always work fine.
wayne
Newbie
 
Posts: 12
Joined: Sat Oct 27, 2012 1:41 pm

Re: special problem on PIC

Postby robosang » Mon Feb 25, 2013 9:54 pm

On protoboard/breadboard?

Is super not stable..... many have experienced it.
robosang
Expert
 
Posts: 1239
Joined: Wed Jun 10, 2009 5:37 pm

Re: special problem on PIC

Postby wayne » Tue Feb 26, 2013 6:45 pm

yes, i build in breadboard. why not stable? i also hear about it and better build in PCB board. but i afraid the problem still there after soldering in PCB board.
wayne
Newbie
 
Posts: 12
Joined: Sat Oct 27, 2012 1:41 pm


Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 1 guest