Originally posted by waltr
View Post
Announcement
Collapse
No announcement yet.
Arduino Nano PI Main Discussion
Collapse
X
-
Originally posted by Qiaozhi View PostYou 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.
Originally posted by green View PostTried 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 PostThere 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.
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 PostOne 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 .
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 PostWhat 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
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 PostOne 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.
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 PostHi 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.
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
-
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.
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 godigit1 View PostHi 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.
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 1mVAttached Files
Comment
-
Comment
-
Originally posted by green View PostI 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 1mVAttached Files
Comment
Comment