Sony A7 Infrared codes

I couldn't find any information on how to operate a Sony Alpha A7 over IR from a home made source (arduino for instance) so I reveres engineered the codes and thought I would share.

I have an Airpixel commander and it is perfect for my UAV application and I recommend it. For a couple of other photography applications it is over kill so I wanted to be able to trigger and control my A7 over IR from another source.

The following are the codes I successfully tested from an Arduino suing IRremote library:

Photo     740239    B4B8F   // Shutter | take photo
VID       76687     12B8F   // Start | stop video recording
DISP      166799    28B8F   // Display change cycles round
Menu      117647    1CB8F   // Enter menu | leave menu
MenuU     379791    5CB8F   // Menu up
menuD     904079    DCB8F   // Menu down
menuR     1035151   FCB8F   // Menu right
menuL     510863    7CB8F   // Menu left
OK        641937    9CB91   // Menu OK
Z+        338831    52B8F   // Zoom in
Z-        863119    D2B8F   // Zoom out
One used on my cheap IR remote:
Delay 2s 969615 ECB8F // shutter with 2s delay

The IRremote library has plenty of examples but the sony library you need is the 20 nit version and 3 repeats of the code appear to be needed. This code works fine.
This is to trigger a photo capture using the decimal code.

  for (int i=0; i<3; i++){       irsend.sendSony(740239, 20); // shutter       delay(40);  }

This is the same function using hex ( the 0x is added to denote hex)


for (int i=0; i<3; i++){ irsend.sendSony(0xB4B8F, 20); // shutter delay(40); }

I am sure I will now be inundated with links to complete documentation, but it's here if anyone needs it.

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • This is great code, thanks for sharing! 

    fnaf

    FNAF
    FNAF: An amazing place consisting of full version of interesting Five Nights at Freddy's games, and several versions made by fans of FNAF that will m…
  • These are all the codes I could glean. Sorry.
  • @bob this is great code, thank you!

    Any chance you have the code for shutter speed, aperture and white balance (if there is one)?

  • Thanks for posting this!

This reply was deleted.

Activity

DIY Drones via Twitter
RT @chr1sa: My talk on PX4 and FAA certification is coming up at 1:45 PST today on the PX4 Dev Summit livestream. Includes some cool new st…
Tuesday
DIY Drones via Twitter
RT @seesharp: I'm tuned into the PX4 / Dronecode free live conference. Great stuff. Microsoft AirSim talk in 10 minutes. https://t.co/0zbZ2…
Monday
DIY Robocars via Twitter
RT @masato_ka: 距離センサを3つとESP32を付けたラジコンカーをDonkeyCarライクにNNで自動走行。3層FC極小モデルをTensorFlow Lite for microcontrollerで動かしてる。機体は借り物でRumiCarって言います。Tenso…
Monday
DIY Robocars via Twitter
RT @SmallpixelCar: My car was able to go all the way autonomously until the crosswalk. It was only 100 yards from the target. What should b…
Jul 4
Liam left a comment on Agricultural UAVs
"Hi
I'm Liam from T-MOTOR. I would like to reach out to see if there is any possibility for us to work together.
We are a propulsion system manufacturer who offers motors, propellers and ESCs for all kinds of drone applications which vary from secur…"
Jun 30
DIY Robocars via Twitter
RT @SmallpixelCar: Smart move. The car used the shadow to guide it through the bridge. This was never in the training samples. But it learn…
Jun 30
DIY Robocars via Twitter
RT @SmallpixelCar: Getting closer to the target. Single camera. Untrained road. https://t.co/Wsr7RwDamj
Jun 29
Richard Cox left a comment on Australia
"Anyone in the DIYDRONES Australian subgroup based in Alice Springs, NT?
I am experimenting with Ardupilot (standard Arduplane), Pixhawk 4 FC in a 4-ch
RC "AXN Floater Jet" foamy plane..."
Jun 29
Omar Sykes left a comment on Australia
"Hi everyone, I am looking for someone who is good at drone building, repair and software in Adelaide. Please give me a call on 0477 319 219."
Jun 29
DIY Robocars via Twitter
RT @RoboticMasters: #donkeycar https://t.co/czuLoVRcA4
Jun 29
DIY Robocars via Twitter
https://t.co/DKQbNTbz0g
Jun 29
DIY Robocars via Twitter
RT @RoboticMasters: Donkey car, car car car car car car; Donkey car, car car car car car car; Donkey Car. Anyone like our tiny tiny donkey…
Jun 29
DIY Robocars via Twitter
RT @SmallpixelCar: After improving DBSCAN speed, I can get 11 frame per second on @NVIDIAEmbedded Jerson Xavier MAXN mode and the autonomou…
Jun 26
DIY Robocars via Twitter
RT @Heavy02011: Join us at next Virtual Race League: ⁦@diyrobocars⁩ Race #4 - Parking Lot Nerds, August 1st https://t.co/5KUpu7VGaH
Jun 25
DIY Robocars via Twitter
RT @SmallpixelCar: #CUDA implementation should be easy, because most of the time is on distance calculations berween two points and if the…
Jun 25
DIY Robocars via Twitter
RT @SmallpixelCar: This is the view from the car. Even my lanenet inference is fast on @NVIDIAEmbedded Jerson Xavier, DBSCAN clustering tak…
Jun 25
More…