I built the circuit PI4 (Page 169/190, "Inside the metal detector"). Unfortunately it does not work. from the speaker, only a steady tone. On page 190, the capacitor C3 is drawn in the layout. C3 but missing in the Parts List. I have used the 1 nF capacitor. I have to take it out again C3? Thanks for the help.
Announcement
Collapse
No announcement yet.
Help for PI 4 Project
Collapse
X
-
I could replace R6 (22kohm) by a pot. But I want only times left everything like that. I have just rebuilt the circuit (with the NE5532), so it should work. This circuit is pretty small. Maybe Carl has another idea. Again and again I've checked everything. Nevertheless, I must have done something wrong. In the meantime, I'm going to build the circuit PI3. This circuit is a little bigger. Hopefully it works out better this time.
Dirk
Comment
-
I do not know if you have seen this page, but there is an email address to use fwith erratta (which I suggest you use);
http://www.geotech1.com/forums/content.php?143-updates
I have not had the opportunity to get the book just yet, so it's difficult for me to follow along without a schematic.
Comment
-
C3 should be included, however the circuit will work without it, just might be a little noisier.
I assume you've check the power and virtual ground voltages. Look at Q1/Q2 to make sure they are getting pulsed correctly. Also IC1's output for proper RX signal.
- Carl
Comment
-
Thanks for the advice! I have the following (extensive) measurements were performed:
Q1: E-0V / B-0V /C--10,7V
Q2: Gate-10,7V / Drain-0V / Surce-10,7V
NE5532: Pin1-5,78V
Pin2-5,36V
Pin3-5,30V
Pin4-0V
Pin5-5,12V
Pin6-5,35V
Pin7-5,35V
Pin8-10,7V
PIC12F1840: Pin1-5,3V
Pin2-0,32V
Pin3-0V
Pin4-5,22V
Pin5-0,04V
Pin6-0,01V
Pin7-5,7V
Pin8-0V
Coil: -- 2,4 Ohm / 358µH
I use a 9V Accu-block with 10.7 V output voltage.
Thanks for the help!
regards
Dirk
Comment
-
Has anybody an idea what I could try? Is it possible that the hex file was not properly loaded into the PIC?
I have also built the PI-2 project. It also does not work. The same error message when loading the hex file. Another project with PIC from this forum that I have built is running without problems! No error message when loading the hex file. I'm completely stumped. It is a pity that even the projects from the detector - book does not work. I would still like to learn.
Thanks for the help!
Dirk
Comment
-
Originally posted by Dixix View PostHas anybody an idea what I could try? Is it possible that the hex file was not properly loaded into the PIC?
I have also built the PI-2 project. It also does not work. The same error message when loading the hex file. Another project with PIC from this forum that I have built is running without problems! No error message when loading the hex file. I'm completely stumped. It is a pity that even the projects from the detector - book does not work. I would still like to learn.
Thanks for the help!
Dirk
Comment
-
Hex-file
Thanks for the quick response!
Originally posted by Qiaozhi View PostYou said that you are getting an error message when loading the hex file. What is the error message?
"Warning some configuration words not in hex file
ensure default values above right are acceptable "
I must admit, I have more experience with the program AVR's.
Programming with PicKit is new territory for me...
Originally posted by Carl-NC View PostIs the PIC creating the proper TX pulse? If it is not, then it didn't get programmed correctly.
Comment
-
Originally posted by Dixix View PostThanks for the quick response!
While trying to write the .hex file into pic using pickit 2. before clicking on write" , a warning message appeared in the box:
"Warning some configuration words not in hex file
ensure default values above right are acceptable "
I must admit, I have more experience with the program AVR's.
Programming with PicKit is new territory for me...
No, the microprocessor does not pulse. I tried to test it with a 1-channel oscilloscope. (now I borrowed a 2-channel oscilloscope ordered).
Comment
-
The Configuration bits look wrong, they should result in C9FC 3FFE. The bits should be set in the hex code, so it's possible the Pickit2 is overriding the settings. Poke around the menus and see if there is a selection for this.
Comment
Comment