Controlling the camera in a Samsung Galaxy S22 Ultra using Arduino UNO BlueTooth

There are SO many topics on google, etc. for controlling an Arduino from the phone.

I want to to it the opposite way. Control the phone FROM the Arduino.

What I am trying to work on is a project to rotate a platform x degrees using a stepper, then when it stops, use the Arduino to control the camera in my Samsung Galaxy S22 Ultra to take a picture, then repeat until the platform has made a full revolution.

The stepper is the easy part.

Has anyone found a way to control the camera in the [Samsung S22 Ultra] FROM the Arduino?

Thanks for any tips or direction...

Mike

assume you will be using Bluetooth or WiFi to communicate between the Arduino and the Android phone?

  1. create a communications link, e.g. Bluetooth serial or WiFi TCP
  2. the Android listens for incomming messages
  3. when commanded the Android captures image from camera and transmits it to the arduino

I think S22 should support it, my old S6 does (for texting me messages about the state of some grow lights I have in the basement).

I use the 1Sheeld for this. Library has lots examples on how to leverage the sensors, camera etc in a smart phone to use as virtual "shields" with Arduino (they advertise as 40 shields in one, I think).
They communicate between phone and Arduino/1Sheeld combo over bluetooth. I don't work for 1Sheeld or anything, just a satisfied customer.

I will say that I'm surprised these aren't more prevalent in the Arduino space from what I have seen, Adafruit seems to list these as discontinued items for some reason, but it seems to still be available from other dealers.

Thanks for the quick reply! I forgot to mention that I don't need the images to go to the Arduino, they can just sit on the camera. Just need the Arduino to tell the camera to take the pic when the motor stops. Thanks again!

Mike

1 Like

Thanks for the quick reply! I'll surely check that out!

Mike

1 Like

Sorry for the additional post, yes I was planning on using BlueTooth...

see example of Arduino using bluetooth using serial communications to a PC -- this also worked to an Android running the Bluetooth serial app

Thank for that - will check that out. I did actually order a 1Sheeld - found it on eBay for $19.99...

1 Like

Ok! Got my 1Sheeld. Didn't realize the whole thing was an old device, but it's ok. The app says the PIN code is 1234. It's actually 0000.

Got the app going, and I guess I paired my phone to it.

Now on to try some code to control the camera! (any tips on locations for the code?)

Thanks everyone for your help!

Mike

There are camera examples in the 1Sheeld Arduino Library
https://github.com/Integreight/1Sheeld-Arduino-Library

Thank you - I totally forgot to check that. I think there's something wrong with the board so I contacted the seller.

It's just not working now matter what, and since that board is 6-7 years old, I think I am just going to return it.

I may just rig up a stylus on some servos and have it take the picture. At least I knw that will work....

Thanks everybody... I am going to see if I can close this thread.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.