Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Connect an ArduCam or other camera

    Scheduled Pinned Locked Moved Getting Started
    camera
    12 Posts 5 Posters 4.1k Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      BetterAuto Pybytes Beta
      last edited by

      FYI I wrote to the ArduCam folks and they sent some libraries for the ESP32. I haven't tried them yet, and I really don't know if they would work with Python. But it seems they are working on this.

      D 1 Reply Last reply Reply Quote 0
      • L Offline
        loboris
        last edited by

        I have it working with LUA-RTOS-ESP32 (look at arducam.c / arducam.h).
        It's in pure C, so it shouldn't be hard to adapt it for MicroPython....

        1 Reply Last reply Reply Quote 0
        • D Offline
          DavidInToronto @BetterAuto
          last edited by

          @betterauto Any idea if this is available yet?

          B 1 Reply Last reply Reply Quote 0
          • B Offline
            BetterAuto Pybytes Beta @DavidInToronto
            last edited by

            @davidintoronto No and I’m still a long ways off from trying it. Your best bet is ArduCam.

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              DavidInToronto @BetterAuto
              last edited by

              @betterauto I found this for Arducam
              https://github.com/dakoner/arducam_reader/blob/master/arducam_read.py
              But it's not really commented and I'm sure about how I'd wire up the Arducam to wipy 2.0

              1 Reply Last reply Reply Quote 0
              • B Offline
                BetterAuto Pybytes Beta
                last edited by

                Although I've not hooked up any ArduCam yet, try to connect both its I2C and SPI lines to your WiPy. Read the directions for connecting each of those. Start with the I2C. Then when you are satisfied both are working, try the script you linked. Looks like you just import arducam_reader then download test.jpg from the filesystem to your desktop via the FTP server.

                1 Reply Last reply Reply Quote 0
                • B Offline
                  BetterAuto Pybytes Beta
                  last edited by

                  Oh heads up, the script you linked is for a Raspberry Pi. I noticed that because the device is /dev/ttyACM0. It's probably usable with WiPy with some modification but how to do that goes above my pay grade.

                  Note that there are instructions from the ArduCam folks for making the ESP32 work with the Arduino libraries. Under the hood, the WiPy is an ESP32. Perhaps start with that then see if you can learn what you need to make it work on MicroPython.

                  Wish I could be more helpful.

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    beyonlo
                    last edited by

                    Does anyone have success working Arducam with WiPy 2.0?

                    B 1 Reply Last reply Reply Quote 0
                    • B Offline
                      beyonlo @beyonlo
                      last edited by

                      Or other any camera, like as Arducam.

                      1 Reply Last reply Reply Quote 0
                      • E Offline
                        EngeenerAtendee
                        last edited by

                        Sorry for digging this deep, but have you achieved your goal. Does scripts from ArduCam works?

                        B 1 Reply Last reply Reply Quote 0
                        • B Offline
                          BetterAuto Pybytes Beta @EngeenerAtendee
                          last edited by

                          @engeeneratendee Afraid I’ve not tried it. I had to abandon Pycom modules due to another issue. Give it a shot and share your findings! :-)

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • 1 / 1
                          • First post
                            Last post

                          Pycom on Twitter

                          Pycom