Triggering Camera Change for Multicamera adapter from Arduino

Published by praneethg9 on

Home Forums Cameras Modules for Raspberry Pi Multi-Camera and Sync Stereo Camera HAT Triggering Camera Change for Multicamera adapter from Arduino

Viewing 1 reply thread
  • Author
    Posts
    • #23441
      praneethg9
      Participant

      Hi! I’m trying to use the multicamera adapter with JEtson Nano and Arduino. I’m able to use the adapter as needed with the Nano but I’m trying to trigger the camera change from Arduino.

      I have following Pins connected: 3.3V, GND, Sel_A to pin 7, OE1_A to pin 8, OE2_A to pin 12, SCL to SCL and SDA to SDA.

      I’m using the below code but I’m not getting any output. Please guide me.

      #include <Wire.h>

      void setup() {
      Wire.begin();
      pinMode(7, OUTPUT);
      pinMode(8, OUTPUT);
      pinMode(12, OUTPUT);

      digitalWrite(7, HIGH);
      digitalWrite(8, HIGH);
      digitalWrite(12, HIGH);
      }

      void loop() {

      Wire.beginTransmission(112);
      Wire.write(byte(0x00));
      Wire.write(byte(0x04));

      digitalWrite(7, LOW);
      digitalWrite(8, LOW);
      digitalWrite(12, HIGH);

      Wire.endTransmission();

      }

       

    • #23517
      bin
      Keymaster

      Hello,

      Please attach me your hardware connection diagram and we need to control the pin7 pin11 and pin12  on multi-adapter-board.

Viewing 1 reply thread
  • You must be logged in to reply to this topic.