Announcement

Collapse
No announcement yet.

Baracuda + Micro

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

  • 6666
    replied
    Hi Mike please continue with your project
    just for thought, many years ago when Dooley and I were modifying the squirrel PI to make it simpler I wrote on the schematic "Concept only do not make anything from this"

    Some ways to do the switch's.
    Attached Files

    Leave a comment:


  • Michaelo
    replied
    Originally posted by Teleno View Post
    In the receiver section, depth is limited by the input referred noise level.

    I suggest removing R12, D3, D4, C8, R13, Q3, Q4 and all the circuitry around U2A and replace all their functions with software. Reduce the gain of U1 by a factor of 20, set the internal OpAmp of the ATmega to a gain of x20. Output the result of your digital signal processing as PWM to C16. Configure U2B as a low-pass filter.
    That's pretty much sums up the next step but first I need to complete this step, make corrections, and of course test everything. I will then post a corrected schematic and take it from there...

    Mike

    Leave a comment:


  • ivconic
    replied
    Originally posted by Michaelo View Post
    Assuming you have the correct timing, a good coil and the correct value of damping resistor, you should be able to get decent depth right?

    This was pretty much the advice I found after building my first baracuda with poor depth sensing...
    My problem was almost certainly the timing circuitry but after looking at the 40106 I was not convinced it was wired correctly...
    Suffice to say these issues have been resolved as I'm sure you are all aware...

    In the mean time I built a tool using an ATMEGA328 to generate the timing and it worked perfectly...
    I then thought why not add the amp and audio sections from the bara to the Micro... could be useful...

    That's what this post is about.
    I have attached the schematic and a 3D image for the board for any one interested...

    I'm just looking for feedback and to see if anyone is interested...

    I aims are to start with the timing (currently the micro only does the timing and battery monitoring), and add additional functionality over time...
    As I get the micro to do more of the work, some of the other circuitry may disappear...

    The schematic is not finalised (needs more testing)...
    Everything will be in the public domain including the code...
    Mike

    Give it here, the code.
    Regardless whether it is finished or not; it would be interesting to see how you designed it and how you started it.
    And the truth is that more people are always smarter than single one. The rest of us may help you to do it better.
    And whole thing may be pretty easy put on Arduino and improved further.

    Leave a comment:


  • Teleno
    replied
    Originally posted by Michaelo View Post
    I built my first Baracuda but the depth wasn't great and I set out to improve it...
    In the receiver section, depth is limited by the input referred noise level.

    I suggest removing R12, D3, D4, C8, R13, Q3, Q4 and all the circuitry around U2A and replace all their functions with software. Reduce the gain of U1 by a factor of 20, set the internal OpAmp of the ATmega to a gain of x20. Output the result of your digital signal processing as PWM to C16. Configure U2B as a low-pass filter.

    Leave a comment:


  • Michaelo
    replied
    I've already solved the problem... it cost an extra ยข1 but as there's a lot of negativity about, I best double check my solution...

    Leave a comment:


  • Teleno
    replied
    Originally posted by Michaelo View Post
    Without question... I've been designing electronics for forty years (on & off)... If I can solve that problem I will go back to writing code...

    Mike
    Well, 2 x JFET + 2 other associated components means a minumum of 10 pins. CD4066 has 14. I think the problem is solved but don't want to spoil your fun.

    Leave a comment:


  • Michaelo
    replied
    Originally posted by Teleno View Post
    There's a recent bad experience with a Barracuda being "modification" that went unnoticed utill is had already caused general havoc on the 40106. Now this one neuters the integrator. A little more care would be appreciated before spreading schematics all around.

    As for the analog switching, replacing two JFETs by one 4066 doesn't seem a like bad deal. Can you possibly simplify more than that?

    I should point out that it was my baracuda rev 2 thread that re-started the discussion in relation to the 40106 issues, it was instrumental in the solution...

    As for the analog switching, replacing two JFETs by one 4066 doesn't seem a like bad deal. Can you possibly simplify more than that?
    Without question... I've been designing electronics for forty years (on & off)... If I can solve that problem I will go back to writing code...

    Mike

    Leave a comment:


  • Michaelo
    replied
    Originally posted by Koala View Post
    Not being negative.


    Just seem more sense to start a fresh than patch a project but it up to you.


    PIs are obviously flavour of the month plenty being build. Wish you luck
    I see your point... I joined the forum to learn about metal detectors and design an opensource version...
    I built my first Baracuda but the depth wasn't great and I set out to improve it...

    Adding the micro was an answer to a problem with Rev 2 of the bara (timing and the 40106)... After I fixed the timing, I decided to expand on it and hence this topic...

    At this stage I'm not trying to build/design another detector, I'm simply trying to improve on an existing one. I actually designed a replacement to the timing using a 4017 before switching to a micro... I only had one 4017 but lots of ATMEGA's...

    I have no idea what I'll end up with but it's all good fun....
    Mike

    Leave a comment:


  • Teleno
    replied
    Originally posted by Michaelo View Post
    With the greatest respect, your comment is uncalled for...
    There's a recent bad experience with a Barracuda being "modification" that went unnoticed utill is had already caused general havoc on the 40106. Now this one neuters the integrator. A little more care would be appreciated before spreading schematics all around.

    As for the analog switching, replacing two JFETs by one 4066 doesn't seem a like bad deal. Can you possibly simplify more than that?

    Leave a comment:


  • eclipse
    replied
    Minipulse is driven by +12V (GND) / -5V (+7V) with 2xJFETs J113 on the integrator and for the Mosfet driver (555 timer)

    Leave a comment:


  • ODM
    replied
    Jfet gates could be driven by capacitor and tied by diode on the gate side to 0V potential. This or other voltage translation means. Jfet gate capacitance is relatively low so a 100n cap would do. Still simpler would be relying on the jfet's internal parasite diode from gate to source/drain, but this is a real bush solution.

    All in all the analog switches can save component space elsewhere unless the control MCU ran at 0/-5V supply.

    And unless I'm mistaken you have 7805 and 7905 around the wrong way, 7805 is a positive reg. Anyways I believe a very baseline PI circuit with microcontroller timing opens up avenues for playing with pulse widths and sampling schemes. Using different excitation times with otherwise rather plain frontends was the bread of MPS type detectors anyways.

    Leave a comment:


  • Michaelo
    replied
    Originally posted by ODM View Post
    Could use a 4066, but it needs full supply logic input swing. 4051-4053 can use a logic control voltage referenced at a mid supply pin, for example +5/0V if using +5/-5V supply.

    I guess that hiccup with the integrator hookup was what 6666 was suggesting at.

    Regarding all curious configurations people upload of a previous circuit, good hygiene in revision documentation is something people usually/unfortunately learn after other "more fun" things
    There has to be a simple solution, just got to find it and I think I have one... Best not make any rash assumptions else the negative people will have a field day...

    Mike

    Leave a comment:


  • Koala
    replied
    Not being negative.


    Just seem more sense to start a fresh than patch a project but it up to you.


    PIs are obviously flavour of the month plenty being build. Wish you luck

    Leave a comment:


  • Michaelo
    replied
    Originally posted by Koala View Post
    Nice thing about the Barracuda is it low component vs performance. A lot of work is going into sorting the Barracuda (why some work and others don't) and a lot of micro PI are already out there some including ground balance and discrimination.

    Seems a lot like putting a cast on arm when a plaster would do.

    Why so negative... it's just a discussion, I'm not forcing anyone to read it...
    Ironically, my design will reduce the component count, simplify the design and increase performance... so as you were saying...
    Mike

    Leave a comment:


  • Michaelo
    replied
    Originally posted by Teleno View Post
    I think C13/R20 have to be connected between GND and pin 3 of U2A. You have connected them to the +5V rail so they' re actually doing nothing in the circuit.

    It's becoming a too common phenomoenon to have previously good circuits really messed up by careless modifications.
    With the greatest respect, your comment
    "previously good circuits really messed up by careless modifications"
    is uncalled for...

    If you read my post you would have noticed I said the circuit was transposed, no testing was done... The very reason I started this thread was to discussion the potential for adding micro control to an existing circuit and in the process to uncover/discover errors...


    Having said that, it was a pretty stupid mistake on my part, and apologies for it, but the baracuda rev 2 actually has design errors to begin with so I don't feel too bad...

    Back to matter in hand...
    I've ordered up some parts to see if the issue with the JFET can be resolved but in the mean time I continue to fix other issues...
    This schematic has the correction mentioned... no correction for the JFET has been incorporated as yet...

    Click image for larger version

Name:	bara-pulse-tool-sch2.jpg
Views:	1
Size:	584.0 KB
ID:	345503

    Leave a comment:

Working...
X