Announcement

Collapse
No announcement yet.

ESP32 Metal detector

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

  • ESP32 Metal detector

    hi,

    i see an interesting video with a visual metal detector build with ESP32.
    https://www.youtube.com/watch?v=ikg0VJCtUzE

    Do you know if there is information or file about it ?

    thanks

  • #2
    Hello


    I still work on this project because it is quite complicated and some things do not want to work the way they should.

    Comment


    • #3
      Originally posted by Marchel View Post
      Hello


      I still work on this project because it is quite complicated and some things do not want to work the way they should.
      thanks i'm very interesting for educationnal

      Comment


      • #4
        Hello friends


        Here are the complete files for the ESP32 Metal Detector. It's just the first version so some features still do not work properly. I would love to find someone who would also start working on refining the detector and helping to improve it.

        https://github.com/folny/ESP32_Metal_Detector

        Comment


        • #5
          thanks for your work.

          Comment


          • #6
            what type of coil do you use ? from existing detector ?

            Comment


            • #7
              Anybody managed to compile the code under Windows?
              I can't.
              IDE reports always some missing libs, .h files, .cpp files.
              Despite the fact that i properly installed suggested libs.
              All other code that i wrote or downloaded from other authors; is compiling and working with no problems at all.
              Only this one is impossible to sort it out with suggested libs.
              At least i can't manage this.
              There is always one (probably the best) solution; give up from annoying crap and write own code.

              Comment


              • #8
                Originally posted by ivconic View Post
                Anybody managed to compile the code under Windows?
                I can't.
                IDE reports always some missing libs, .h files, .cpp files.
                Despite the fact that i properly installed suggested libs.
                All other code that i wrote or downloaded from other authors; is compiling and working with no problems at all.
                Only this one is impossible to sort it out with suggested libs.
                At least i can't manage this.
                There is always one (probably the best) solution; give up from annoying crap and write own code.

                I tried compiling Marchel's code using the Arduino IDE and the esp32,git library. It would not compile due to errors related to the include files. I am guessing that I need some additional library?

                Comment


                • #9
                  You should check what version of arduino he is using and also send here your compiler log maybe you will get help

                  Comment


                  • #10
                    This is my compiler log/errors. I can run the blink and hello world sketches for the esp32 without problem.

                    Code:
                    Arduino: 1.8.6 Hourly Build 2018/05/15 10:41 (Windows 7), Board: "DOIT ESP32 DEVKIT V1, 80MHz, 921600, None"
                    
                    C:\Program Files (x86)\arduino\examples\ESP32_Metal_Detector-master\ESP32_Metal_Detector_v1.0\ESP32_Metal_Detector_v1.0.ino:8:23: fatal error: BLEDevice.h: No such file or directory
                    
                    compilation terminated.
                    
                    Multiple libraries were found for "WiFi.h"
                     Used: C:\Program Files (x86)\arduino\hardware\espressif\esp32\libraries\WiFi
                     Not used: C:\Program Files (x86)\arduino\libraries\WiFi
                    exit status 1
                    Error compiling for board DOIT ESP32 DEVKIT V1.
                    
                    This report would have more information with
                    "Show verbose output during compilation"
                    option enabled in File -> Preferences.

                    Comment


                    • #11
                      Coppy library to arduino-1.8.5\hardware\espressif\esp32\libraries

                      https://github.com/nkolban/ESP32_BLE_Arduino

                      Comment


                      • #12
                        Originally posted by Marchel View Post
                        Coppy library to arduino-1.8.5\hardware\espressif\esp32\libraries

                        https://github.com/nkolban/ESP32_BLE_Arduino
                        Thanks, I'll try it

                        Comment


                        • #13
                          Originally posted by Marchel View Post
                          Coppy library to arduino-1.8.5\hardware\espressif\esp32\libraries

                          https://github.com/nkolban/ESP32_BLE_Arduino
                          That fixed the include problem. But now it says the code is too large?

                          Code:
                          Arduino: 1.8.6 Hourly Build 2018/05/15 10:41 (Windows 7), Board: "DOIT ESP32 DEVKIT V1, 80MHz, 921600, None"
                          
                          Archiving built core (caching) in: C:\Users\altra\AppData\Local\Temp\arduino_cache_947785\core\core_espressif_esp32_esp32doit-devkit-v1_FlashFreq_80,UploadSpeed_921600,DebugLevel_none_f4175f3151d6422cd146f3447347aa73.a
                          Sketch uses 1336385 bytes (101%) of program storage space. Maximum is 1310720 bytes.
                          
                          Global variables use 51024 bytes (17%) of dynamic memory, leaving 243888 bytes for local variables. Maximum is 294912 bytes.
                          Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it.
                          Error compiling for board DOIT ESP32 DEVKIT V1.
                          
                          This report would have more information with
                          "Show verbose output during compilation"
                          option enabled in File -> Preferences.

                          Comment


                          • #14
                            Try setting up when compiling No OTA (Large APP)

                            Comment


                            • #15
                              In initial IDE setup there is no \hardware\espressif\esp32\libraries path.
                              Adding \espressif\esp32\libraries and adding suggested lib in it; does not solve the problem at me.
                              Same errors. Exactly the same.
                              I know that all this is related to "trivial" path problems. Files are still there, but IDE can't find them.
                              So far i hadn't such problem.
                              Usual routine is to manually place all the new libraries in users\user\Documents\Arduino\libraries folder.
                              Or to install/update libraries and their components through Sketch\Include Library\Manage libraries... option in IDE menu.
                              ...
                              Obviously this problem will demand lot of manual adjustments and path corrections. Speaking for Win7.
                              And seems that situation is dramatically different in Win10.
                              I tried to sort it out manually and wasted 2 hours on nothing.
                              This will not do.
                              As far as i am concerned; this is something i can't do.
                              Pity.

                              Comment

                              Working...