Author Topic: DIY Metal Detector using PIC12F1840  (Read 9326 times)

0 Members and 1 Guest are viewing this topic.

Offline TeemoTopic starter

  • Regular Contributor
  • *
  • Posts: 58
  • Country: ee
DIY Metal Detector using PIC12F1840
« on: December 14, 2012, 10:56:56 pm »
Check out my metal detector project: http://digiwood.ee/en/


Let me know if you like it.
 

Offline Skimask

  • Super Contributor
  • ***
  • Posts: 1433
  • Country: us
Re: DIY Metal Detector using PIC12F1840
« Reply #1 on: December 15, 2012, 11:27:41 am »
Re: your statement about the PICKIT3.
The PICKIT2 can do the 12F18xx series, as well as a bunch of PIC32MX types and others that Microchip doesn't "officially" support.  Just gotta load up the newer (/hacked/modified) device files, etc.  Piece of cake.  (P.S. I hate the PICKIT3)
I didn't take it apart.
I turned it on.

The only stupid question is, well, most of them...

Save a fuse...Blow an electrician.
 

Offline TeemoTopic starter

  • Regular Contributor
  • *
  • Posts: 58
  • Country: ee
Re: DIY Metal Detector using PIC12F1840
« Reply #2 on: December 15, 2012, 12:31:12 pm »
Re: your statement about the PICKIT3.
The PICKIT2 can do the 12F18xx series, as well as a bunch of PIC32MX types and others that Microchip doesn't "officially" support.  Just gotta load up the newer (/hacked/modified) device files, etc.  Piece of cake.  (P.S. I hate the PICKIT3)
PICKIT3 works for me, and this chip, don't know if it can do something else. I newer owned PICKIT2 so can't compare. I watched Dave's review video after purchasing, so happened. Nice thing about PICKIT3 is its compelling clear red case, it just draws my attention every time I look at it and invites me to do some more PIC programming :).
Is there any software for programming those newer PICs with JDM programmer? I used icprog before, but it is not updated any more, since 2008.
 

Offline TeemoTopic starter

  • Regular Contributor
  • *
  • Posts: 58
  • Country: ee
Re: DIY Metal Detector using PIC12F1840
« Reply #3 on: December 18, 2012, 07:49:29 pm »
Hello!

Today I released the source assembler code for this project.

I encourage you to share your modification and test results, in case you decide to build this project.

Here is the link to my firmware page, there is also basic flow diagram:firmware-page
Direct link to assembler file:metaldetector100.asm

I also add zipped asm file here as attachment.

Active discussion is now in the following forums:
http://www.thunting.com/smf/metal_detectors/diy_pic12f1840_microcontroller_based_metal_detector_project-t38721.0.html;msg239026#msg239026
http://www.geotech1.com/forums/showthread.php?19935-My-Pulse-Oscillation-detector-project

Thanks,
Teemo
 

Offline PhynixViking

  • Regular Contributor
  • *
  • Posts: 51
  • Country: us
    • Phynix Viking at YouTube
Re: DIY Metal Detector using PIC12F1840
« Reply #4 on: December 18, 2012, 08:25:16 pm »
We like!!!  ;D

I'm not quite on assembly code yet (mostly into repairs and some i guess you'd call it "hard ware projects" idk... in short! I'll have to make one when I get more into software.)
Check out my youtube! ^_^
https://www.youtube.com/user/PhynixViking

.
..
...
 

Offline TeemoTopic starter

  • Regular Contributor
  • *
  • Posts: 58
  • Country: ee
Re: DIY Metal Detector using PIC12F1840
« Reply #5 on: January 10, 2013, 01:28:56 am »
I added RS232 connectivity option to my metal detector circuit.
Check out details at my page:http://digiwood.ee/en/metal-detector/computer-connection

I attach assembler source code here also.

Teemo
 

Offline mohandes

  • Contributor
  • Posts: 35
Re: DIY Metal Detector using PIC12F1840
« Reply #6 on: December 02, 2014, 07:18:16 pm »
hi
your detector work ?
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: DIY Metal Detector using PIC12F1840
« Reply #7 on: December 02, 2014, 11:33:10 pm »
Two suggestions:

1) with a dampen resistor, you can drive the coil directly through one of the mcu pins, saving Q1 and potentially D2/D3;
2) you can use the timer to count the number of pulses to measure the decay.

Depending on the output methods, you can reduce the design to a 1 pin (driving coil + counting pulses mux on one pin) + 1 pin (for output).

================================
https://dannyelectronics.wordpress.com/
 

Offline Seekonk

  • Super Contributor
  • ***
  • Posts: 1938
  • Country: us
Re: DIY Metal Detector using PIC12F1840
« Reply #8 on: December 03, 2014, 02:25:14 pm »
I had a production pump control and I fed out rs232 serial information through the pilot light LED.  The test fixture for the product had a photo transistor in a cup that was placed over the LED to get pressure data out.
 

Offline TeemoTopic starter

  • Regular Contributor
  • *
  • Posts: 58
  • Country: ee
Re: DIY Metal Detector using PIC12F1840
« Reply #9 on: December 03, 2014, 03:27:18 pm »
I had a production pump control and I fed out rs232 serial information through the pilot light LED.  The test fixture for the product had a photo transistor in a cup that was placed over the LED to get pressure data out.
Hello.
Yes, it is a good idea to make the circuit communication through LED!

Overall the detector is working fine. I'am off from work now again, and slowly recovering and regaining my ability to think accuretely and invent something :) At the moment I'am working on some other projects, but the little thing about the detector is ticking in the back of my head, the thing that the detector should tell the difference between gold and iron.

But really when designing some tricky thing with those 8 pin PIC-s it is wise to make the thing (and tune it) with some larger pin count PIC and finally port it back to the little one. I'did not do that, but now I'am forced anyway if I want it to begin to tell the difference between iron and gold.
 

Offline mikerj

  • Super Contributor
  • ***
  • Posts: 3233
  • Country: gb
Re: DIY Metal Detector using PIC12F1840
« Reply #10 on: December 03, 2014, 06:50:52 pm »
That's a very neat little design, I like it :)  What sort of detection distances do you achieve?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf