Announcement

Collapse
No announcement yet.

felezjoo PI(the best pulse induction metal detector that I made until now)

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

  • There is a mismatch between schematic and pcb in original files.
    LCD pins 7,8,9 and 10 are connected to GND in schematic, while on pcb those are not connected.
    Look and compare those:

    Click image for larger version

Name:	lcdpins.JPG
Views:	1
Size:	15.8 KB
ID:	343674Click image for larger version

Name:	lcdpins2.JPG
Views:	1
Size:	28.8 KB
ID:	343675

    Comment


    • Without a pseudocode of any kind your guess is as good as anyone's.
      If you have a code to load, of exactly the same chip, with exact pins going to proper circuitry...

      Comment


      • Originally posted by ivconic View Post
        There is a mismatch between schematic and pcb in original files.
        LCD pins 7,8,9 and 10 are connected to GND in schematic, while on pcb those are not connected.
        Look and compare those:

        [ATTACH]33757[/ATTACH][ATTACH]33758[/ATTACH]
        Looks fine to me. LCD pins 7,8,9 and 10 are all connected to VSS (which is GND in this design) via the ground plane. Also, when using an LCD with a 4-wire interface, the remaining data pins must to be connected to GND, otherwise it will not work.

        Comment


        • I haven't connected those pins on my board and it works fine (only pins 1-6 and 11-16)

          Comment


          • Originally posted by eclipse View Post
            I haven't connected those pins on my board and it works fine (only pins 1-6 and 11-16)
            Of course it works fine.
            Ok, i just updated my adaptation for Arduino UNO Rev 3 board. You may see it bellow in attached pics.
            Also i attached more pics on how it is looking, menus, options etc...
            Right now it is 2.4 version inside. Later i will flash ver1.5 and latest v3.0 (those i have only by now).
            Wise guy from Persia implemented counter which is limiting use of code, ha! Naughty, naughty!
            Now... for those having Arduino UNO boards; be free to wire it up according to my adaptation, it will work.



            Click image for larger version

Name:	IMAG0196.jpg
Views:	1
Size:	82.5 KB
ID:	343678 Click image for larger version

Name:	IMAG0197.jpg
Views:	1
Size:	85.0 KB
ID:	343679 Click image for larger version

Name:	IMAG0198.jpg
Views:	1
Size:	77.2 KB
ID:	343680 Click image for larger version

Name:	IMAG0199.jpg
Views:	1
Size:	76.0 KB
ID:	343681 Click image for larger version

Name:	IMAG0200.jpg
Views:	1
Size:	76.2 KB
ID:	343682 Click image for larger version

Name:	IMAG0201.jpg
Views:	1
Size:	78.4 KB
ID:	343683 Click image for larger version

Name:	IMAG0202.jpg
Views:	1
Size:	80.4 KB
ID:	343684 Click image for larger version

Name:	PersijskiPi_UNO_IC.JPG
Views:	1
Size:	211.6 KB
ID:	343685

            Comment


            • more pics...

              Click image for larger version

Name:	IMAG0203.jpg
Views:	1
Size:	80.8 KB
ID:	343686 Click image for larger version

Name:	IMAG0204.jpg
Views:	1
Size:	80.6 KB
ID:	343687 Click image for larger version

Name:	IMAG0205.jpg
Views:	1
Size:	77.5 KB
ID:	343688 Click image for larger version

Name:	IMAG0206.jpg
Views:	1
Size:	78.6 KB
ID:	343689 Click image for larger version

Name:	IMAG0207.jpg
Views:	1
Size:	76.0 KB
ID:	343690 Click image for larger version

Name:	IMAG0208.jpg
Views:	1
Size:	76.8 KB
ID:	343691 Click image for larger version

Name:	IMAG0209.jpg
Views:	1
Size:	77.3 KB
ID:	343692 Click image for larger version

Name:	IMAG0210.jpg
Views:	1
Size:	99.5 KB
ID:	343693 Click image for larger version

Name:	IMAG0211.jpg
Views:	1
Size:	70.6 KB
ID:	343694 Click image for larger version

Name:	IMAG0212.jpg
Views:	1
Size:	73.8 KB
ID:	343695

              Comment


              • Just flashed other versions and tested them.
                Alright. Those are working also.
                Still there is counter, though ver1.5 is more generous, giving us more power-up cycles than other versions.
                For personal use this is not an issue, small ISP header on md pcb will solve it for good.
                ...
                There is pretty annoying alert for low battery state, since i am powering it only from 5v from Arduino board.
                So in ONLY experimental purposes, without the rest of circuitry; i figured out how to overcome this annoyance.
                It's actually very easy to mimic original battery voltage and to fool the code to think it is attached on original battery supply.
                Here it is;


                Click image for larger version

Name:	new-1.JPG
Views:	1
Size:	25.3 KB
ID:	343696

                Comment


                • Good job! Will be very interesting to see hear your test results and impressions.
                  From what I've tested coil doesn't matter that much, tested 2.4R/400uH coil, 1R/350uH - no much difference.
                  Strangely the 12V power regulator gets alot of heat. Low voltage warning is fixable but there's a warning if you push high frequency combined with big pulse width - though the components aren't burning hot but the MCU thinks they are, and beeps every 10 seconds or so., it's kind of lame way to protect from overheating.

                  Comment


                  • Originally posted by eclipse View Post
                    I haven't connected those pins on my board and it works fine (only pins 1-6 and 11-16)
                    Some people leave these pins floating, and it still seems to work; but in general it's good practice to ground them in case of spurious signals.
                    Whatever ... pins 7, 8, 9 and 10 are connected to GND (VSS) on the original PCB.

                    Comment


                    • Originally posted by eclipse View Post
                      Good job! Will be very interesting to see hear your test results and impressions.
                      From what I've tested coil doesn't matter that much, tested 2.4R/400uH coil, 1R/350uH - no much difference.
                      Strangely the 12V power regulator gets alot of heat. Low voltage warning is fixable but there's a warning if you push high frequency combined with big pulse width - though the components aren't burning hot but the MCU thinks they are, and beeps every 10 seconds or so., it's kind of lame way to protect from overheating.
                      I will probably make the rest of circuitry later. Not complicated much, so why not give it a try.
                      But must admit that am a bit disappointed and discouraged because we don't have source code here.
                      Why source code is important?
                      Just as you mentioned; it's not perfect, it has lacks, we could improve it here further.
                      Also some of us here, me on the first place; could learn a lot from such interesting working example.
                      ...
                      Speaking of regulator gets alot of heat; you can detach Q2 (via R12 including it) and coil itself from regulated 12v and hook them up directly to battery. No harm will be done, except in case if battery voltage exceeds some unexpected value.
                      Or just in any case (with batt voltage over 15v) add another , but this time 7815 regulator with additional current boosting and supply Q2 and coil with it. (picture bellow)
                      And 12v regulator will chill down, because Q2&coil are drawing too much power when some adjustments are made incorrectly (as you noted).
                      It should be limited in code, relating to those adjustments, when fer example frequency is risen over some value; user should not be allowed to play widely with pulse widths, and vice versa.
                      I guess author will take this into account if read our notes, from what i saw so far it appears he is pretty skilled and conversant man.

                      Click image for larger version

Name:	increasing-regulator-current-by-78xx-mj2955.jpg
Views:	1
Size:	31.2 KB
ID:	343697

                      Comment


                      • BTW what is the battery voltage you are using?

                        Comment


                        • For those fancy about Arduino Mini Pro/Atmega328p/16/5v here is the adaptation.
                          I took into account recent Eclipse's notice on power drain and heating, so added current booster.
                          Hopefully it will solve the problem.


                          Click image for larger version

Name:	PersijskiPi_Mini_Pro_IC.JPG
Views:	1
Size:	217.5 KB
ID:	343698

                          Comment


                          • Ha!
                            Author is indeed one real son of a gun!
                            Congrats Hamid!
                            ... but GOTCHA!
                            Limiting power-up counter is storing data in eeprom, each time device is powered up: counter
                            is incremented (decremented actually) by one and stored in eeprom.
                            In case of using Arduino for flashing Atmega this presents quite of a problem; because simple code flashing will not solve the counter issue.
                            So; erasing eeprom content is mandatory if you want to fool out the counter...
                            How to solve this for good?
                            Easy, extend the bootloader with few extra lines which will erase eeprom first and than start the code.
                            Ha!



                            Comment


                            • I've checked the way Atmel scans ADC inputs, and the crucial thing is that the conversion takes 13 ADC clock cycles to complete, and channel select can be performed during that period. Maximum ADC clock for 10 bit resolution is 200kHz, or 5us. Or slower. So when translated to a human language, this means it is possible to obtain a 5us analogue value every 65 us, and therefore this can really tick, but in 10 bit resolution, with delay values quite common to PI state of the art, but surely not running ADC in a free running mode. The manual says:

                              "In single conversion mode, the channel must be selected before starting the
                              conversion. The channel can be changed one clock cycle after setting ADSC bit, but it
                              is better to wait for the conversion to complete before changing the channel."

                              ... or not, that's the key.

                              Comment


                              • we Need more coding experts for this Projects

                                People like Joop or dfbowers

                                Comment

                                Working...
                                X