Announcement

Collapse
No announcement yet.

PI2 ported to arduino

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

  • #31
    hello berimor

    maybe you can use the pickini pi together with arduino
    the codes from the older Versions are available so you can read what the Controller has to do

    Comment


    • #32
      you can also discuss about the shematic if you Name the partnumber R.. or C..

      Comment


      • #33
        hello berimor,

        nice work! I think it is better to put your ReadDelayEnc function inside the arduino loop() routine.
        Using a 5V stabilizer for your arduino is fine. Make sure the capacitor voltage rating is higher than the battery voltage at the input of your 7805.

        Regards,
        Joop

        Comment


        • #34
          Thank You for replay. Was little busy with other things and MD building was postponed. I checked Pickini and it looks nice. Is there any known performance/depth/efficiency differences in PI2 and Pickini?

          So some issues on schematic:
          1. On RA4 variable pot R23 is 100k in original schematic. On arduino also we use 100k instead of 10k as it's usually used?
          2 What for stand R21 100k and do I need it with arduino?

          Comment


          • #35
            Hello Berimor,

            value of R23 is not important, ik can be 10k or 100k. It is only used to adjust the voltage on the analog input. This voltage determines the sample delay.
            R21 is not needed.

            Regards,
            Joop

            Comment


            • #36
              By the way, pickini uses a very different approach, the internal comparator is used to measure the target.
              The Arduino's ATMEGA328 also has a comparator but it will not be easy to port pickini's PIC code to Arduino...

              Comment


              • #37
                Thank You!
                joop do you have any results or tests on your metal detector?
                Here is mine:Click image for larger version

Name:	2015-03-29 23.54.33.jpg
Views:	1
Size:	642.2 KB
ID:	342863

                Comment


                • #38
                  if you have used the arduino to read out the analog part i think it is possible to show the measurements on a 1602lcd (maybe with bargraph library)

                  Comment


                  • #39
                    Nice move Joop!
                    Recently i got Arduino UNO. Yesterday i also bought Arduino Mini Pro (Atmega328/16MHz).
                    I intend to migrate code from UNO to Mini and reduce the space occupied by mcu part itself.
                    Quite new pcb design is desirable. I already made macros for Mini. It will occupy space not more than ordinary Atmega ic on future pcb.
                    Have you considered to extending code for to use second Carl's option from the book?
                    The one using adc input for audio? Called as "PI3"...
                    Audio than can be manipulated more widely than it is now. Such approach looks much more promising to me.
                    Once i finish with Mini macros and draw new schematic; i intend to post it here for further debating.
                    If Carl as author thinks that it will be against his interests (nature and history of this forum claims opposite) than i will not share it here.
                    Than you may contact me via email and i will share it there.
                    Certainly is quite natural and normal schematics and pcb patterns to be presented here on topic, it's in project interest to be accepted and upgraded widely by enthusiasts here.
                    So now i do call author to do that on his own or to precisely say here his opinion.
                    So far we did so many things here on forums in same old manner; no reason to make an exceptions with this one.
                    Especially because it is in forums nature, that's what this forum is all about after all.
                    And especially because it is in author's interest too.
                    Nothing more sweeter in life than to see that other people are interested in your work.
                    So, in good spirit, i ask author to come here and say his words.
                    Cheers.

                    P.S:
                    Otherwise... we can continue via emails.

                    Comment


                    • #40
                      Hello guys,

                      I am currently a bit busy, just moved to a new house. I hope to get back to metal detecting in a couple of months...

                      Comment


                      • #41
                        Originally posted by joop View Post
                        Hello guys,

                        I am currently a bit busy, just moved to a new house. I hope to get back to metal detecting in a couple of months...
                        Nice to see you here again Joop!
                        Hurry up, i am restless to ask you "zillion" questions upon Atmel programming!

                        Comment


                        • #42
                          Any updates Joop?
                          I'm interested in your project I develop embedded software during the office hours and write atmega drivers in the evening so perhaps I can contribute to the project

                          Comment

                          Working...
                          X