dzlonline / magloop

Simple magnetic loop sensing and communication library for Arduino ATMEGA88, 168, 328p based boards and possibly others.
2 stars 1 forks source link

Larger field #4

Open joesumac opened 7 years ago

joesumac commented 7 years ago

Hi, I would like to be able to detect the field from a larger distance from the wire, can you suggest a way this can be achieved? I note you say that an audio amplifier could be used, but do you have any experience on the best way to achieve this? Thanks for your help!

hjsalom commented 7 years ago

Please, allow me to jump in. - How far do you want to be able to detect the field? Thanks, Hugo

Sent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: joesumac notifications@github.com Date: 9/28/17 3:27 AM (GMT-06:00) To: dzlonline/magloop magloop@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [dzlonline/magloop] Larger field (#4) Hi,

I would like to be able to detect the field from a larger distance from the wire, can you suggest a way this can be achieved? I note you say that an audio amplifier could be used, but do you have any experience on the best way to achieve this?

Thanks for your help!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/dzlonline/magloop","title":"dzlonline/magloop","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/dzlonline/magloop"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Larger field (#4)"}],"action":{"name":"View Issue","url":"https://github.com/dzlonline/magloop/issues/4"}}}

joesumac commented 7 years ago

Well I am aiming for around 80cm, but I realise this might not be achievable...

hjsalom commented 7 years ago

Good morning. What we have in the receiver is a resonant circuit tuned at 5kHz which is picked up by the inductor's coil. The transmitter circuit produces a 5kHz square wave which, while circulating through the loop, developes a magnetic field around the conductor. When the coil gets "close" to the conductor, this magnetic field is detected by the receiver. Now, the magnetic field strength is inversely proportional to the square of the distance between the wire and the coil, so the greater the distance between wire and coil, the lower the field strength at the coil. You can improve your system performance by increasing the number of turns of wire on your gound loop, and/or by adding an amplifier to the outputof the 5kHz generator. This amplifier may be as simple as a common emitter amplifier. Need more help?  Let us know. Hugo J. Salom, PE

Sent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: joesumac notifications@github.com Date: 9/28/17 6:20 AM (GMT-06:00) To: dzlonline/magloop magloop@noreply.github.com Cc: hjsalom hugo.j.salom@cox.net, Comment comment@noreply.github.com Subject: Re: [dzlonline/magloop] Larger field (#4) Well I am aiming for around 80cm, but I realise this might not be achievable...

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/dzlonline/magloop","title":"dzlonline/magloop","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/dzlonline/magloop"}},"updates":{"snippets":[{"icon":"PERSON","message":"@joesumac in #4: Well I am aiming for around 80cm, but I realise this might not be achievable... "}],"action":{"name":"View Issue","url":"https://github.com/dzlonline/magloop/issues/4#issuecomment-332806797"}}}

joesumac commented 7 years ago

Thankyou! thats super-helpful, that worked very well.
I would like to also use multiple coils set at different angles to calculate the relative angle to the wire, one central coil and two set at 90 degrees from the centre with each one connecting to a different anologue port of the arduino. I can see that the chanel can be set to physically read each port but I am wondering whether it will work with multiple coils and whether a circuit like this will work? Thanks in advance! img_9005

hjsalom commented 7 years ago

That's a great idea.  You should have independent arrangements from gnd/aref for each analog coil/capacitor set. By doing it the way you show with a common gnd/aref arrangement, you will have influence on all analog inputs by the resultant sum of induced currents on each inductor because the sum of all currents shall flow through the arrangement you have, affecting all inputs, while the individual arrangements will ooerate independently. I hope you understand what I mean.  If you agree, repost showing the modified circuit. I think it may work. Good luck. Hugo J. Salom, P.E.

Sent from my Verizon, Samsung Galaxy smartphone -------- Original message --------From: joesumac notifications@github.com Date: 9/30/17 7:10 AM (GMT-06:00) To: dzlonline/magloop magloop@noreply.github.com Cc: hjsalom hugo.j.salom@cox.net, Comment comment@noreply.github.com Subject: Re: [dzlonline/magloop] Larger field (#4) Thankyou! thats super-helpful, that worked very well.

I would like to also use multiple coils set at different angles to calculate the relative angle to the wire, one central coil and two set at 90 degrees from the centre with each one connecting to a different anologue port of the arduino. I can see that the chanel can be set to physically read each port but I am wondering whether it will work with multiple coils and whether a circuit like this will work?

Thanks in advance!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/dzlonline/magloop","title":"dzlonline/magloop","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/dzlonline/magloop"}},"updates":{"snippets":[{"icon":"PERSON","message":"@joesumac in #4: Thankyou! thats super-helpful, that worked very well. \r\nI would like to also use multiple coils set at different angles to calculate the relative angle to the wire, one central coil and two set at 90 degrees from the centre with each one connecting to a different anologue port of the arduino. I can see that the chanel can be set to physically read each port but I am wondering whether it will work with multiple coils and whether a circuit like this will work?\r\nThanks in advance!\r\nimg_9005\r\n"}],"action":{"name":"View Issue","url":"https://github.com/dzlonline/magloop/issues/4#issuecomment-333304468"}}}