Connecting arduino to ATEM switcher.

So for the past few days i have been trying to get my arduino to communicate with my Black Magic switcher but with no success. i have gone through the setup process multiple times with no luck. i connected it to my network through my router using the web server sketch in the ethernet examples so i know the board is working. But i can not get it to connect to my switcher. I have set up the MAC and IP address, and i am using the IP address for the switcher i found in atem setup utility.

this is what the serial monitor is showing. i let it run for a while just to see if it was trying to find a port but nothing changed, this is just a few lines.

Serial Started
192.168.10.99
Sending connect packet to ATEM switcher on IP 192.168.10.240 from port 61815
freeMemory()=1399
Connection to ATEM Switcher has timed out - reconnecting!
Sending connect packet to ATEM switcher on IP 192.168.10.240 from port 62575
Connection to ATEM Switcher has timed out - reconnecting!
Sending connect packet to ATEM switcher on IP 192.168.10.240 from port 64558
Connection to ATEM Switcher has timed out - reconnecting!
Sending connect packet to ATEM switcher on IP 192.168.10.240 from port 50115
Connection to ATEM Switcher has timed out - reconnecting!
Sending connect packet to ATEM switcher on IP 192.168.10.240 from port 61872
Connection to ATEM Switcher has timed out - reconnecting!
Sending connect packet to ATEM switcher on IP 192.168.10.240 from port 59294

here is my code, im just using the

/*****************
 * Basic ATEM Connection
 * Connects to the Atem Switcher and outputs keep-alive package information
 *
 * - kasper
 */
/*****************
 * TO MAKE THIS EXAMPLE WORK:
 * - You must have an Arduino with Ethernet Shield (or compatible such as "Arduino Ethernet", http://arduino.cc/en/Main/ArduinoBoardEthernet)
 * - You must have an Atem Switcher connected to the same network as the Arduino - and you should have it working with the desktop software
 * - You must make specific set ups in the below lines where the comment "// SETUP" is found!
 */



// Including libraries: 
#include <SPI.h>
#include <Ethernet.h>
#include <Streaming.h>
#include <MemoryFree.h>
#include <SkaarhojPgmspace.h>

// MAC address and IP address for this *particular* Arduino / Ethernet Shield!
// The MAC address is printed on a label on the shield or on the back of your device
// The IP address should be an available address you choose on your subnet where the switcher is also present
byte mac[] = { 
  0x90, 0xA2, 0xDA, 0x0D, 0x6B, 0xB9 };      // <= SETUP!  MAC address of the Arduino
IPAddress clientIp(192, 168, 10, 99);        // <= SETUP!  IP address of the Arduino
IPAddress switcherIp(192, 168, 10, 240);     // <= SETUP!  IP address of the ATEM Switcher

// Include ATEMbase library and make an instance:
// The port number is chosen randomly among high numbers.
#include <ATEMbase.h>
#include <ATEMmin.h>
ATEMmin AtemSwitcher;




void setup() { 

  randomSeed(analogRead(5));  // For random port selection
  
  // Start the Ethernet, Serial (debugging) and UDP:
  Ethernet.begin(mac,clientIp);
  Serial.begin(9600);
  Serial << F("\n- - - - - - - -\nSerial Started\n");  
  Serial.println(Ethernet.localIP());
  // Initialize a connection to the switcher:
  AtemSwitcher.begin(switcherIp);
  AtemSwitcher.serialOutput(2);
  AtemSwitcher.connect();

  // Shows free memory:  
  Serial << F("freeMemory()=") << freeMemory() << "\n";
}

void loop() {
  // Check for packets, respond to them etc. Keeping the connection alive!
  // VERY important that this function is called all the time - otherwise connection might be lost because packets from the switcher is
  // overlooked and not responded to.
    AtemSwitcher.runLoop();
}

any ideas on what i might be doing wrong?

What does your hardware setup look like? What Ethernet board are you using on your Arduino? Do you have your Arduino directly connected to the ATEM?

It's a shot in the dark, but I'm wondering if your Ethernet cable should be a crossover cable. Some Ethernet things auto-negotiate crossover, others don't.

Beyond that, have you tried setting a static IP on your PC to verify you can ping the ATEM that way?

thank you for the reply, i have tried connecting through a hub and directly to the switcher. I have noticed a difference in the lights that show up on the board when i connected directly to the switcher. ill attach some pictures of my setup. i did get my computer to ping the switcher just fine.

also i dont have a crossover cable and i was just going to make it but i cant find my crimping tool...

|500x281

when i use a hub only the TX and COLL light up. i got the ethernet shield for pretty cheap on gearbest so i guess it could be the board, but i have three and they all do the same thing. gear best board

hello, trying to revive this post. i was was wandering, did you finally managed to connect it ? best

i