
If it's higher voltage/current, you'd need to control them via a transistor. If it's less than 5V and less than 20mA, you could drive them directly from an Arduino I/O pin. You will need to know how much current and voltage you need to sink in order to pull the control lines down to simulate a button press. I'd suggest implementing the commands asynchronously (using a non-blocking implementation) so that your sketch is able to handle other things while it is outputting the 'button presses', and a finite state machine would be a good way to control that. I doubt you will have a huge number of commands, and each command is probably defined by a short sequence of pins that need to be activated to simulate button presses, and you could just hard-code the sequence for each command. Once you have received and recognised the commands and parameters within your web service, turning I/O pins on and on in sequence to action them would be simple.

An Arduino with Ethernet providing a web front end is quite routine and I'm sure you will find plenty of examples in the playground, you also have the option of using something like Firmata with a web front end. Your sketch would need to provide a web service which serves whatever UI you want to present, and the UI would presumably send commands back to the web service via HTTP requests. This approach doesn't give you any feedback so for resilience it would be a good idea to have some way to get the OSD menu system back to a known state. If you have five spare digital I/O pins then you should be able to use one for each control line. I don't see what the ATTiny is adding, unless you're using it as an I/O expander. The main Arduino+Ethernet (which is mostly servo control and some sensors), will receive commands via a web interface, which will send an appropriate signal to the attiny via digital pin 2 which will then send pulses to the pins attached to the camera, thus activating the OSD What I’m attempting is to attach a ATtiny to the module control pins. Only this one has an OSD menu which I now have to adjust manually before inserting into the system. The setup I have can carry a range of interchangeable cameras. The basic hack of the control pins is here: The camera is this one 13197_1_3_inch_Sony_CCD_Video_Camera_700TV_Lines_F1_2_PAL.html Is there anyone who has done something similar, or who could advise on the coding? All suggestions gratefully received! My idea is to have an ATTiny chip connected to the Arduino with an ethernet shield. However I need to be able to control the osd via ethernet. The OSD is normally accessed by shorting one of five pins to ground (or using a 5-way switch cable).

I’m aiming to access the OSD menu of a camera module using an Arduino.
