Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 13:18 06 Jul 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Help with Barking Dogs.

     Page 1 of 2    
Author Message
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 10:54am 01 Jun 2016
Copy link to clipboard 
Print this post

Hi All,

My 15 Year old son & I completed a Kit last night & it doesn't work.

This a first in this household, never had a kit fail in the past.

Can anyone help with diagnosis?

Construction is perfect, he's done a great soldering job.
No misplaced components.
Basic things like 12V (from SLA Battery), and 5V to chip is OK,
but that's where our testing has stopped.

It uses a preprogramed PIC12F675.

Where would we go from here to identify either dead or blank PIC etc.

Test gear we have on hand a multimeter, USB Scope and a Pickit3.

Thanks

Phil
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5116
Posted: 11:54am 01 Jun 2016
Copy link to clipboard 
Print this post

No circuit, so guessing.

I guess there is a signal source, the chip, and a amplifier. Use your scope to see if there is a signal from the chip, and if so, trace it through the amplifier.

Glenn
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
VK2MCT
Senior Member

Joined: 30/03/2012
Location: Australia
Posts: 120
Posted: 12:25pm 01 Jun 2016
Copy link to clipboard 
Print this post

Suggest double check values of resistors, orientation of caps that are polarised and orientation of diodes etc.
What waveform do you get at the 10ohm resistors that are fed from the PIC outputs.
John.
 
hitsware
Guru

Joined: 23/11/2012
Location: United States
Posts: 535
Posted: 12:27pm 01 Jun 2016
Copy link to clipboard 
Print this post

How do you know it's not working ?
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 12:29pm 01 Jun 2016
Copy link to clipboard 
Print this post

  Gizmo said   No circuit, so guessing.
Glenn


Can easily scan the circuit.

First suspicion though is a blank PIC.

Phil.
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 12:37pm 01 Jun 2016
Copy link to clipboard 
Print this post

  hitsware said   How do you know it's not working ?


To quote the documentation, from the testing paragraphs.

[Quote]
Press and hold the start button and connect power. The LED should flash on & off about 3 times per second.
When the switch is released, the LED should begin flashing at a one second rate.
[/quote]

That and I can usually actually hear these devices, if not the primary frequency, it must be a harmonic.

Phil
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1129
Posted: 01:12pm 01 Jun 2016
Copy link to clipboard 
Print this post

A few connections on a bread board would allow you to use the PICKit3 to read the chip. If it comes back all 0x3FF you know it's blank. If it returns 'code protected', you know there is probably something there. Or you get a firmware dump. Just be very cautious of what buttons you press in the PICKit software - you especially don't want to hit the 'Erase Chip' button!
Visit Vegipete's *Mite Library for cool programs.
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 11:30am 02 Jun 2016
Copy link to clipboard 
Print this post

Gmail finally delivered my message to myself....
3 1/2 hours after sending it.

The Circuit Diagram.
2016-06-02_212803_Circuit_1.pdf

All componets double checked & 5V present at the PIC.

Cheers.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6269
Posted: 11:48am 02 Jun 2016
Copy link to clipboard 
Print this post

Check that pin 4 is high. Briefly pulling pin 4 low should reset the processor.

Check that pin 5 is initially high and slowly goes high again after start button is released.

There should be short pulses on pin 2 to flash the LED. You will need the CRO for this one and I think it should be flashing before pressing the start button.

It would have helped if Altronics had given the correct edition of SC in their web site.
September 12, not August 12.

Jim


VK7JH
MMedit
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 12:00pm 02 Jun 2016
Copy link to clipboard 
Print this post

  TassyJim said  
It would have helped if Altronics had given the correct edition of SC in their web site.
September 12, not August 12.

Jim



Thanks Jim,

I've Googled a lot of Silicon Chip articles recently, looking for MicroMite & other stuff to go searching in my magazine piles.

It seems like Silicon Chip themselves have quite a lot of wrong edition references listed also.

There's at least 2 issues sitting in the office which are a month either side of the correct date.

Cheers.
 
Gizmo

Admin Group

Joined: 05/06/2004
Location: Australia
Posts: 5116
Posted: 12:12pm 02 Jun 2016
Copy link to clipboard 
Print this post

You know, I really hate how every bloody SC project these days has to include a pic chip! This thing could have been built with 3 or 4 general purpose IC's, like 555's or op amps, and it would have been easier to troubleshoot, easier to get parts for, and you would be able to go back to it in 20 years and still trouble shoot it and get parts!

Bring back real projects that teach and have a life past 2 years.

Rant over.
The best time to plant a tree was twenty years ago, the second best time is right now.
JAQ
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 01:05pm 02 Jun 2016
Copy link to clipboard 
Print this post

  Gizmo said   You know, I really hate how every bloody SC project these days has to include a pic chip!
Rant over.


Ditto.....
 
damos
Regular Member

Joined: 15/04/2016
Location: Australia
Posts: 74
Posted: 03:51pm 02 Jun 2016
Copy link to clipboard 
Print this post

Particularly this circuit which could have been done with a 555 and a 4017, and at the same time teach a lot about electronics.

It really only needs to generate two ultrasonic outputs with a small gap to stop both transistors being turned on at the same time. I built an Oatley kit once. Can't say it really worked, as the dogs kept barking. (I checked that it worked)
 
plover

Guru

Joined: 18/04/2013
Location: Australia
Posts: 306
Posted: 05:27pm 02 Jun 2016
Copy link to clipboard 
Print this post


Ok, I see that +5V is on the microprocessor, I assume this is a DC measurement.

Just using a multimeter:

It would not hurt measuring all pins for DC voltage. Measure on the pin to be sure.

Doing an AC measurement with multimeter could reveal unexpected signal on some pin, for example you do not want this on the +5V to the micro.

You may need to make sure that you measure both on the solder joint and the actual pin on the micro odd things do happen. If the micro is in a socket need to measure on the legs of the micro.

If working an AC measurement should show something on the output drivers provided it can measure higher than 50 Hz of course.

 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2932
Posted: 08:55pm 02 Jun 2016
Copy link to clipboard 
Print this post

  plover said   If the micro is in a socket need to measure on the legs of the micro.


. . . . and do indeed check all PIC pins are actually inserted into the socket (and not an odd pin bent under the IC package and hence disconnected from the circuit).

I used to run a service department for an Electronics firm here in UK where people would send their Home-Built kits that were 'built perfectly' but would not work. The two most common issues were what I mention above; and also dry joints.

Good luck in finding your 'issue'
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 05:13pm 04 Jun 2016
Copy link to clipboard 
Print this post

Finally got to check this out again on a rainy day......

No Wonder it doesn't work......




I'm sure I'm reading it correctly.

Cheers.
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 05:27pm 04 Jun 2016
Copy link to clipboard 
Print this post

  Gizmo said   You know, I really hate how every bloody SC project these days has to include a pic chip!

Rant over.


@Gizmo
I'll take over the Ranting from here....

Might be time for some "Outside Time" to avoid the temptation of paying $3.00 for the firmware off SC on a Sunday...

Edited by Phil23 2016-06-06
 
vegipete

Guru

Joined: 29/01/2013
Location: Canada
Posts: 1129
Posted: 12:09pm 06 Jun 2016
Copy link to clipboard 
Print this post

Since this is a learning project, now is your chance to learn some PIC12 assembly. The circuit sounds simple so the firmware should be pretty simple too. The only potential difficulty is the output signal for the noisy part - is it simply on or is a particular frequency pulse train needed?
Visit Vegipete's *Mite Library for cool programs.
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 12:58pm 06 Jun 2016
Copy link to clipboard 
Print this post

  vegipete said   Since this is a learning project....


Actually, it was intended as a simple "Peace" project in relation to the miss-kept dogs next door, who's owners don't comprehend "Peace & Quiet".

A simple problem with a complex solution, due to policies & red tape & people with no common sense and can only adhere to policy & proceedure.

Warranty on Kits & other red tape.....

All warranty is voided once construction has commenced....

All components should be checked before construction & will be replaced if defective....

So everyone needs to own a PIC programmer?

Can't send out firmware; it's copyrighted...
Can only be distributed with a complete kit...
(This seems to apply to programmed PICs too)...

Not refundable once construction has commenced...

I do think that:-

"the goods are significantly different from the description",

Applies though. As a programmed PIC is "Significantly Different" to a blank one.

[/Rant Over].

Phil


 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1982
Posted: 02:13pm 06 Jun 2016
Copy link to clipboard 
Print this post

If you want to reprogram the PIC the hex file should be available from the Silicon Chip web site.
Paul.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
     Page 1 of 2    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025