[x] Welcome at THunting.com!

A fun place to talk about Metal Detecting, Treasure Hunting & Prospecting. Here you can share finds and experience with thousands of members from all over the world

Join us and Register Now - Its FREE & EASY

THunting.com
Treasure Hunting & Metal Detecting Community
   
Advanced Search
*
Welcome, Guest! Please login or register HERE - It is FREE and easy.
Only registered users can post and view images on our message boards.
Did you miss your activation email?

Login with email, password and session length
Or Login Using Social Network Account
News:
Pages: 1    Go Down
Print
Share this topic on FacebookShare this topic on Del.icio.usShare this topic on DiggShare this topic on RedditShare this topic on Twitter
Tags:
0 Members and 1 Guest are viewing this topic.
Offline mollaxTopic starter
Copper Member
*

Join Date: Feb, 2009
Thank you15

Activity
0%

Turkey
Posts: 28
Referrals: 0

355.00 Gold
View Inventory

Awards
« on: May 08, 2011, 05:01:42 pm »
Go Up Go Down

cloneAVR



You are not allowed to view links.
Please Register or Login

Linkback:

You are not allowed to view links.
Please Register or Login

http://www.thunting.com/smf/index.php/topic,23557.msg169830.html#msg169830




Logged
Offline bitesh
Pull Tab
*

Join Date: Mar, 2015
Thank you0

Activity
0%

India
Posts: 5
Referrals: 0

25.00 Gold
View Inventory
Windows 7/Server 2008 R2
Windows 7/Server 2008 R2
Chrome 39.0.2171.95
Chrome 39.0.2171.95

Awards
« Reply #1 on: March 06, 2015, 09:45:03 pm »
Go Up Go Down

Dear Sir,

I am trying to build the Clone PI AVR Metal Detector, it is for my college project. But i want to modify it a bit, i want to drive a relay with the Atmega controller to turn on a Red Flasher Light too!. You have uploaded the hex code & assembly code, but iam not that sound programmer in assembly language. It will be really helpful if you can provide the source code (C/C++ program) and also help me how to interface the relay with it.

The shall work as following:
1. On detecting the metal the relay will turn on.
2. It will keep a flasher light and hooter on until the reset button is pressed.
3. There will also be a provision to bypass the relay and work normally.

Kindly please help me with the C/C++ program

Regards,




Linkback:

You are not allowed to view links.
Please Register or Login

http://www.thunting.com/smf/index.php/topic,23557.msg293024.html#msg293024




« Last Edit: March 06, 2015, 10:46:18 pm by nickel_n »
Logged
Offline xavier
Platin Member
*

From a rainy Brussels
Join Date: May, 2009
Thank you166

Activity
0%
Male
Belgium
Posts: 7339
Referrals: 0

32206.00 Gold
View Inventory
Windows 7/Server 2008 R2
Windows 7/Server 2008 R2
Chrome 41.0.2272.76
Chrome 41.0.2272.76

Awards
« Reply #2 on: March 08, 2015, 10:07:41 am »
Go Up Go Down

Other that for the food industry your relay idea is useless but you can still get the relay to turn on and stay on by using the output to the buzzer from the PIC, by doing it this way you will not have to change the code.

Linkback:

You are not allowed to view links.
Please Register or Login

http://www.thunting.com/smf/index.php/topic,23557.msg293099.html#msg293099


Xavier


Logged

So many questions so little time

Offline bitesh
Pull Tab
*

Join Date: Mar, 2015
Thank you0

Activity
0%

India
Posts: 5
Referrals: 0

25.00 Gold
View Inventory
Windows 7/Server 2008 R2
Windows 7/Server 2008 R2
Chrome 39.0.2171.95
Chrome 39.0.2171.95

Awards
« Reply #3 on: March 08, 2015, 12:35:39 pm »
Go Up Go Down

Yea actually i hope this idea can be used for diffenet sectors, one of which can be for food factory as you explained. but if i connect the relay with buzzer, it will stay on as long as the metal is near to the coil. Can you please help me with the assembly code, the statements are written in Russian which i cannot understand..! do you have the English version of it..

Linkback:

You are not allowed to view links.
Please Register or Login

http://www.thunting.com/smf/index.php/topic,23557.msg293109.html#msg293109




Logged
Offline xavier
Platin Member
*

From a rainy Brussels
Join Date: May, 2009
Thank you166

Activity
0%
Male
Belgium
Posts: 7339
Referrals: 0

32206.00 Gold
View Inventory
Windows 7/Server 2008 R2
Windows 7/Server 2008 R2
Chrome 41.0.2272.76
Chrome 41.0.2272.76

Awards
« Reply #4 on: March 08, 2015, 02:51:59 pm »
Go Up Go Down

No I do not have an English version of this detector nor do I have the c code for it but like I said you can get the relay to stay in the on position even once the metal has been removed from the coil. Here is an idea on how you can go about it. First you will need to take the signal from the PIC to a transistor used as a switch then when the relay is turned on you need to use the one switch of the relay to continue to power up the relay coil. By placing a push button (NC) switch in your circuit when pushed the circuit will be open and the relay will drop until the next time that you have a piece of metal in front of your coil.   

Posted on: March 08, 2015, 09:34:53 pm
This should work for what you want it to do.

Linkback:

You are not allowed to view links.
Please Register or Login

http://www.thunting.com/smf/index.php/topic,23557.msg293119.html#msg293119


Xavier

There are 1 attachment(s) in this post which you can not view or download

Please register for viewing them.

20150308_214903-1_1425847887366_1.JPG


Logged

So many questions so little time

Offline bitesh
Pull Tab
*

Join Date: Mar, 2015
Thank you0

Activity
0%

India
Posts: 5
Referrals: 0

25.00 Gold
View Inventory
Windows 7/Server 2008 R2
Windows 7/Server 2008 R2
Chrome 39.0.2171.95
Chrome 39.0.2171.95

Awards
« Reply #5 on: March 08, 2015, 08:19:37 pm »
Go Up Go Down

Thanks a lot Sir, let me try, I will come back to you...

Linkback:

You are not allowed to view links.
Please Register or Login

http://www.thunting.com/smf/index.php/topic,23557.msg293139.html#msg293139




Logged
Offline bitesh
Pull Tab
*

Join Date: Mar, 2015
Thank you0

Activity
0%

India
Posts: 5
Referrals: 0

25.00 Gold
View Inventory
Windows 7/Server 2008 R2
Windows 7/Server 2008 R2
Chrome 39.0.2171.95
Chrome 39.0.2171.95

Awards
« Reply #6 on: March 19, 2015, 10:46:28 pm »
Go Up Go Down

Hello Sir, I have worked on the given circuit and program, it have worked successfully, however there was some flix in the asm program, which i latter rectified and solved, there is a endless loop that created problem in detection. I have also converted the Vietnam version to English, soon i shall post it to you, presently working on transfering the code to C/C++.

But I am going through only one problem now, i can not chalk out the coil dimension, I have made one coil of 446uH and another of 830uH, the coil of 446uH has detection height upto 130mm with pretty bigger piece of metal like a tin can, and the coil with 830uH is detecting the same object at height of 200mm. But i want to detect a coin at a height of minimum 600mm. Can you please help me with it?



Linkback:

You are not allowed to view links.
Please Register or Login

http://www.thunting.com/smf/index.php/topic,23557.msg293778.html#msg293778




Logged
Offline xavier
Platin Member
*

From a rainy Brussels
Join Date: May, 2009
Thank you166

Activity
0%
Male
Belgium
Posts: 7339
Referrals: 0

32206.00 Gold
View Inventory
Windows 7/Server 2008 R2
Windows 7/Server 2008 R2
Chrome 41.0.2272.89
Chrome 41.0.2272.89

Awards
« Reply #7 on: March 20, 2015, 04:26:44 am »
Go Up Go Down

PI coils normally run at about 250uH you will need to check with the designer as to what wire gauge, inductance and coil size it was designed for.

Linkback:

You are not allowed to view links.
Please Register or Login

http://www.thunting.com/smf/index.php/topic,23557.msg293790.html#msg293790


Xavier


Logged

So many questions so little time

Print
Pages: 1    Go Up
Jump to:  

Powered by SMF 1.1.19 | SMF © 2005, Simple Machines | Sitemap
Copyright THunting.com