Announcement

Collapse
No announcement yet.

Arduino Nano PI Main Discussion

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Originally posted by waltr View Post
    I have seen (heard) this when trying to detect near some high Voltage transmission lines also a few times in my basement lab when the heating system's pump runs.

    To cause it put a AC mains device near the coil. Something inductive.

    My HH2 runs at 1600Hz and has a fine frequency adjustment pot the 'null' the AC mains beat. Pot into ADC on PIC processor which adds/subtracts a small delay on the cycle timer. Due to the PIC running its internal RC clock the Frequency drifts with temperature enough that in my lab verse the field the cycle time changes. A XTAL would be better but will still have a temperature frequency change. So slight adjustment may be needed in the field (like on the TDI detector).
    Tried a AC to DC wall adapter power supply. Could see alias frequency. Difference between sample frequency and mains harmonic. Haven't had a front panel trim frequency adjust, probably should add one.

    Comment


    • Originally posted by Qiaozhi View Post
      You can easily add an external pot to the Arduino Nano PI to allow adjustment of the TX repetition rate, in the same way as the Delay pot is implemented.
      Yep, PIC or Arduino can do this.

      Originally posted by green View Post
      Tried a AC to DC wall adapter power supply. Could see alias frequency. Difference between sample frequency and mains harmonic. Haven't had a front panel trim frequency adjust, probably should add one.
      Good you can now see the beat and can experiment with nulling.

      Comment


      • Originally posted by Qiaozhi View Post
        There would probably be even more delay introduced by using the millis() function.

        If I wanted to create a shorter main sample delay, I would combine state 1 and 2 of the interrupt state machine and create the delay by invoking the NOP command a few times via an assembler call.
        For example: "__asm__ __volatile__ ("nop\n\t");".



        I think that this single instruction will introduce a delay of 62.5ns, but I would have to test it to be certain. Try adding a for loop around the asm call in your sketch and measure the delay on the scope.
        Thanks Q
        I'm Going down a long road here maybe bitten off more than I can chew but gonna give it a go.
        Still waiting on parts but got the Nanno hooked up by itself with the delay pot hooked up.
        A bit more studying and I can start playing with some settings before parts get here.

        I'll start looking into the Asm commands, that's the great thing about Arduino there are tones of Sketches and tutorials to look at.

        Comment


        • Originally posted by 6666 View Post
          One problem we all face around the world when out in the field detecting is mains electricity interference which is either 50 or 60 Hz,
          if we make the PI Tx rate 1200 pps this number is divisible by both 50/60 Hz .
          Ideally you would want to exactly lock to a multiple of the mains frequency, as you suggest. This is usually not practical because the mains frequency isn't exact, it varies +/- perhaps 1/2 percent or so. Over the course of an hour or so it tends to average very accurately to 50/60Hz, hence AC clocks keep pretty good time. The only time I try to exactly lock to the mains is in a walk-through design which is powered by AC, so I have access to the exact frequency and can PLL-multiply it to the pulse rate.

          In a handheld detector the alternative is to make sure the mains frequency aliases outside the target filter bandwidth. This is usually set by the demod and the Nano has a BW = 1.5Hz (which is pretty low). Assuming 50Hz mains, if you set the detector to 1200Hz then the alias is synchronous and becomes a DC offset. But if the mains drifts by 0.1% then the alias is at 1201.2Hz and you hear a 1.2Hz beat frequency. However, if you set the detector to 1225 Hz then the 50Hz alias is at 25Hz which is suppressed by the target filter BW. And any minor mains variation remains suppressed. BTW, the demod is often followed by additional filtering that roughly matches the demod BW to offer better mains suppression. In the Nano, this would be R26-C15... setting them to 1.5Hz will help (they are currently 16Hz).

          Comment


          • Originally posted by green View Post
            What I'm doing today, maybe different tomorrow.
            Tx time, 160us
            Tx rate, 1000pps unipolar, 2000pps bipolar
            target delay time, adjustable front panel(3.5us to 20us)
            target sample time, adjustable front panel(5us to 20us)also used to adjust GB, needs fine adjust
            GEB, front panel on-off
            ground delay time, 4us haven't played much with different times
            ground sample time, 100us
            Open to suggestions to make it better. Never learned micro's so can't help with programing. Still need to define control loop whether it's done with logic or micro.

            unipolar needs an EF sample also
            Hi Green,
            I have allot of questions about your front end but best done In the proper thread.
            To Hit A little ? Switchable Unipolar Bipolar? Dual Channel?
            Delay time to first sample 3.5us? (I have several coils that damp to 3us but never been able to sample that low.)
            Gb type ? Dual Integrator?


            I like where your going with your detector project is there a thread I've missed please point me that way so I can catch up?
            Trying to recreate your coil is still on my list as well. went coil crazy for a bit had to take a break.

            I don't know if micro or at least arduino would be capable of 3.5 us first sample doing all the load but wondering if maybe it was just used for all the sampling and audio.

            On your ground balance sample Im thinking the Gb sample should be adjustable aside the main sample so you can play where you want the hole. That's where I left off on my Mpp Gb Board.
            The way the TDI Gb is Set up really is a great design to take a look at.

            Comment


            • Originally posted by 6666 View Post
              One problem we all face around the world when out in the field detecting is mains electricity interference which is either 50 or 60 Hz,
              if we make the PI Tx rate 1200 pps this number is divisible by both 50/60 Hz .

              By both using 1200 pps and having the ability to change the Tx rate + or - slightly in code can help tune out and reduce the mains interference .
              It usually manifests in a PI detector as a "beat" frequency in the receive audio by giving a constant rise and fall in detector threshold audio
              the surf pi is prone to it in a 50 Hz country.
              Just something to consider when writing code.
              Thanks 6666,
              I was wondering if the Arduino platform might be more susceptible to outside interference rather than just using a atmega chip?
              Changing the Tx was one of the ideas behind the SD card boot. If I started having problems somewhere in the field I cold try another frequency.

              Comment


              • Originally posted by godigit1 View Post
                Hi Green,
                I have allot of questions about your front end but best done In the proper thread.
                To Hit A little ? Switchable Unipolar Bipolar? Dual Channel?
                Delay time to first sample 3.5us? (I have several coils that damp to 3us but never been able to sample that low.)
                Gb type ? Dual Integrator?


                I like where your going with your detector project is there a thread I've missed please point me that way so I can catch up?
                Trying to recreate your coil is still on my list as well. went coil crazy for a bit had to take a break.

                I don't know if micro or at least arduino would be capable of 3.5 us first sample doing all the load but wondering if maybe it was just used for all the sampling and audio.

                On your ground balance sample Im thinking the Gb sample should be adjustable aside the main sample so you can play where you want the hole. That's where I left off on my Mpp Gb Board.
                The way the TDI Gb is Set up really is a great design to take a look at.
                I can sample my 133mm fig8 with 3.5 us delay unipolar, 4us bipolar. Maybe 3us would be to low even if I could. Lower the delay, lower the GB hole. Not sure how small a nugget I should look for. I never learned programing micro's and didn't know what was needed to make a good PI detector when I started. So I hard wired logic chips instead of making a PCB. Allows making changes. I would suggest not everyone try it. I started a thread https://www.geotech1.com/forums/show...hp?22777-PI-MD few years back. What I've learned since then is scattered thru other threads. Still think defining what is desired should be first, then decide how best to do it.

                Changing target delay and target sample changes the hole. Not sure a 100us ground sample is best but so far I'm not seeing a better option.

                Comment


                • Has anyone made a BOM besides the one in the book?

                  Comment


                  • Originally posted by bernte_one View Post
                    Has anyone made a BOM besides the one in the book?
                    What's wrong with the Component Parts List in the book?

                    Comment


                    • Hi Green,

                      On your Gb are you using three of 4 samples.
                      I had good results with the 4 sample method first sample at 5 us. I would have to go back and put that board back together to find my timings I Lost my notes for now.
                      One thing I never got it into the field to try but on my bench it almost seemed to perform better than without GB.
                      I think that the 4th sample was helping to reduce noise in test area.

                      I recently found a area where ground balance was almost unusable while testing the vallon detector. The vallon coil could barley cope a smaller coil was able to hunt in Gb mode at way reduced depth.

                      Click image for larger version

Name:	tahoe sand.jpg
Views:	1
Size:	1.28 MB
ID:	359487

                      Testing the sand fallen off targets in my pouch with magnet there was 25 % magnetite by weight.
                      Point is Gb didn't work here and I was able to hunt in regular mode.

                      I think anything under 5 us is not going to be usable in the field and 5 would be only in super mild soils not the gold fields around here. Maybe if the gb is super dialed in.
                      but having the ability to sample that low could be a valuable tool looking for small jewelry on a clean milder beach type sand.

                      Setting a goal if you want to nugget hunt and could recreate the performance of a Tdi with a high quality coil as yours you could be competitive out there at ten us I was thinking 8 us might be really pushing it in the gold fields. here you would even get cold rocks at that Low Ill bet on it as my old sand shark would pick them up.

                      Comment


                      • I was just rethinking what it meant to be competitive in the gold fields around here.
                        you need the best machine a motorhome a month to scour the area. Your competition full blown geologists out there like Nv chris and uber miners like Steve Hershbach and to top it off they team up with people like Digger bob and you better be good to follow behind them and hope to find anything.

                        Inland prospecting Jewelry I find way more gold because of lack of time to spend in the field. 4 hunts over 150 in gold so far this year.
                        Vallon is almost half paid for.
                        Sorry for going off track but the reality of prospecting for gold is that if you have the time and are going to spend allot of money to get out there you better have the best tool in your hands you can even if you have to rent it you might get lucky.

                        Ps The sand in the photo is from the same beach as in my avatar photo. just saying.

                        Comment


                        • Originally posted by Qiaozhi View Post
                          What's wrong with the Component Parts List in the book?
                          I think he likes to physically check things off as they are installed but doesn't want to mark up his book.

                          Comment


                          • Originally posted by godigit1 View Post
                            Hi Green,

                            On your Gb are you using three of 4 samples.
                            I had good results with the 4 sample method first sample at 5 us. I would have to go back and put that board back together to find my timings I Lost my notes for now.
                            One thing I never got it into the field to try but on my bench it almost seemed to perform better than without GB.
                            I think that the 4th sample was helping to reduce noise in test area.

                            I recently found a area where ground balance was almost unusable while testing the vallon detector. The vallon coil could barley cope a smaller coil was able to hunt in Gb mode at way reduced depth.

                            [ATTACH]54856[/ATTACH]

                            Testing the sand fallen off targets in my pouch with magnet there was 25 % magnetite by weight.
                            Point is Gb didn't work here and I was able to hunt in regular mode.

                            I think anything under 5 us is not going to be usable in the field and 5 would be only in super mild soils not the gold fields around here. Maybe if the gb is super dialed in.
                            but having the ability to sample that low could be a valuable tool looking for small jewelry on a clean milder beach type sand.

                            Setting a goal if you want to nugget hunt and could recreate the performance of a Tdi with a high quality coil as yours you could be competitive out there at ten us I was thinking 8 us might be really pushing it in the gold fields. here you would even get cold rocks at that Low Ill bet on it as my old sand shark would pick them up.
                            I use all four. target sample(N) ground sample(I) then target sample(I) ground sample(N)for EFE

                            Including a decay chart for 10x10mm foil and the 4grain nugget I have tested at 1inch. integrator out vs delay time

                            The 6x7x1 inch zip lock bag of dirt from California saturates the integrator(>2.5V)when positioned over one of the fig8 Rx coils with a 6us delay. 10 on the chart is 1mV
                            Attached Files
                            Last edited by green; 04-07-2021, 04:13 PM. Reason: added sentence

                            Comment


                            • Originally posted by bernte_one View Post
                              Has anyone made a BOM besides the one in the book?
                              Originally posted by Carl-NC View Post
                              I think he likes to physically check things off as they are installed but doesn't want to mark up his book.
                              OK - that makes sense.
                              Bernte_one ... PDF sent by email.

                              Comment


                              • Originally posted by green View Post
                                I use all four. target sample(N) ground sample(I) then target sample(I) ground sample(N)for EFE

                                Including a decay chart for 10x10mm foil and the 4grain nugget I have tested at 1inch. integrator out vs delay time

                                The 6x7x1 inch zip lock bag of dirt from California saturates the integrator(>2.5V)when positioned over one of the fig8 Rx coils with a 6us delay. 10 on the chart is 1mV
                                Charted ground decay(change in integrator out)vs target delay time, 10us target sample. Can detect a 1 to 2mV change at integrator out on the bench.
                                Attached Files

                                Comment

                                Working...