Arduino code for the Camera Slider.


Recently i have gotten some request for sharing the Arduino code for my homemade camera slider.

To start with i just want to say, I’m no master in this, so there can be bugs, and the code is still early and not complete.
Recently i haven’t had much time for these kind of projects, so it has been still for a while.

camera slider controller

 

 

You can see the serie below here.

If you like the videos please consider liking and sharing the videos, that will keep me working on these projects.

Make a Contribution - So i can make more projects
Other Amount:

Camera_Slider.ino

Grapichs.ino

Loop.ino

Setup.ino

 

You can download them here in a rar file.

Camera_slider

 

Libraries i use is.

http://srmonk.blogspot.com/2012/01/arduino-timer-library.html

SWTFT-Shield

https://github.com/ehubin/Adafruit-GFX-Library

Touch-Screen-Library-master

 

I am working on a new version, but at the moment it is far away from finished.

I hope this can help someone 🙂  Please leave a comment if you have any suggestion or correction to the code, or want to help build the new version for the camera slider

 

 

Related posts

DIY Gimbal Project (AlexMos) Worklog

DIY Gimbal Project (AlexMos) Worklog


DIY Gimbal Project (AlexMos) Worklog

Today i ordered the first parts for my Gimbal project.I have ordered Battery, Motors, and Controller, when i receive the parts i can begin to design the frame. The Gimbal is going the be used with a Sony A6000 Camera.This is the fist gimbal i ever made so this is Not a how to guide(at...

Reef Build – W00tifrutti

Reef Build - W00tifrutti


Reef Build - W00tifrutti

Reefbuild This reefbuild is not mine, i just helped a friend build this Saltwater aquarium.The Tank is ordered with measurement to fit the furniture. 

Is 3D Printing Difficult and Expensive ?

Is 3D Printing Difficult and Expensive ?


Is 3D Printing Difficult and Expensive ?

3D Printing! is it Easy or Hard ? I am about to enter the world of 3D printing because i see the potential in it for my upcoming projects. I have no experience with 3D printing, and I want to see how difficult is it to start with 3D Printing, and does it have to be expensive ?So I found a...

Mostly Printed CNC(MPCNC) Project

Mostly Printed CNC(MPCNC) Project


Mostly Printed CNC(MPCNC) Project

My newest project is building the mostly printed CNC machine. Created by vicious1My goal with this is to share what I experienced with this build so other maybe benefit from it. I am certainly not an expert on CNC machines. and all of this has been a learning experience for me.I choose...

Camera Slider – Controlled by Arduino

Camera Slider - Controlled by Arduino


Camera Slider - Controlled by Arduino

Camera Slider Build. This article is about how i made my own smart camera slider, i wanted to build my own camera slider that would be used for both video and timelapse photography. I spend a lot of time looking for parts for the build, and found the most of the parts i used in China, and i...

Camera Gimbal Update.

Camera Gimbal Update.


Camera Gimbal Update.

Update I released the next part of the Camera Gimbal build. https://youtu.be/OFVIN5ThFhMIt's taken a little while longer to build that i anticipated, i haven't had much time for this project but it is moving forward slowly. I need to build the handle, and mount the electronics properbly...

18 Comments

  1. Adam Hults June 22, 2016
    Reply

    i cant get the swyft-sheild to work because its a rar

  2. clemens August 22, 2016
    Reply

    i have a big problem…. i can’t run the adurino with the code u give us

    it said #include // Core graphics library

    pls can u send me all file that i need in a rar datei pls

  3. Paw Pedersen August 23, 2016
    Reply

    Hello Clemens
    I will look into it tonight, can you send a screenshot of the error ?

  4. Manousos October 12, 2016
    Reply

    hello from greece, i get this error when upaloading to arduino

    ” C:\Users\Manosos-PC\Desktop\arduino-1.6.12\libraries\Adafruit-GFX-Library-master\glcdfont.c:9:23: error: variable ‘font’ must be const in order to be put into read-only section by means of ‘__attribute__((progmem))’

    static unsigned char font[] PROGMEM = {

    ^

    exit status 1
    Error compiling for board Arduino/Genuino Uno. ”

    please advise

  5. Paw Pedersen October 12, 2016
    Reply

    Hello Manousos

    My project is here, you can try this.
    https://1drv.ms/f/s!Amn2Eegz7CpXgp0BK2RLFfDzRdizmw

  6. Manousos October 12, 2016
    Reply

    Downloaded and uploaded to arduino but no graphics

    https://www.dropbox.com/s/8udf34jkrt89020/2016-10-12%2015.18.29.jpg?dl=0

    why?

  7. Manousos October 13, 2016
    Reply

    need help. got other code to work but not yours.

  8. manousos October 16, 2016
    Reply

    Hello again from Greece. Found a solution to make the code work. replaced the swtft part of the code with another tft code. required some work to make it work but ok. if anyone is interested i will upload the code. will come back with photos or video of the working project. thank you Paw Pedersen for the idea.

    • khaled November 30, 2016
      Reply

      Hi, I have same your problem
      can you tell me how you solve it.

  9. Paw Pedersen October 17, 2016
    Reply

    Sounds good you got it working, if you want to share it here you can send it to me. i’m looking forward to seeing some pictures of your project.

  10. Rogier Hoogmolen February 12, 2017
    Reply

    Hellow Paw Pedersen, I really like your project so i bought all the parts for the arduino, but when i install the code and the correct libraries i only get a blank screen no buttons whatsever.

  11. Rogier Hoogmolen February 14, 2017
    Reply

    Hello Paw, I’ve got every thing working except the display on the tft screen the touchscreen is working but i don’t get any graphics shown. can you please give a hand? I’m not really familiar with coding u see. https://www.elecrow.com/wiki/index.php?title=2.8%27%27_TFT_Touch_Shield#Pins_usage_on_Arduino is the tft screen used but i’m not able to get it working with your code. How can i check what pins to use for the graphics and so on. if you could give me a push in the right direction.

  12. Ján Jenča February 16, 2017
    Reply

    Hello, I’ve done everything as it should be but the touch is a mirror . What should I do ??

  13. Jesus Lorenzo January 26, 2018
    Reply

    Hello your code gives me this error, please help.

    Arduino:1.8.4 (Mac OS X), Tarjeta:”Arduino/Genuino Uno”

    Opciones de compilación cambiadas, reconstruyendo todo
    /Users/jesus/Documents/Arduino/libraries/SWTFT-Shield/SWTFT.cpp: In member function ‘void SWTFT::drawLine3Byte(int16_t, int16_t, int16_t, int16_t, uint8_t, uint8_t, uint8_t)’:
    /Users/jesus/Documents/Arduino/libraries/SWTFT-Shield/SWTFT.cpp:629:16: error: ‘swap’ was not declared in this scope
    swap(x0, y0);
    ^
    /Users/jesus/Documents/Arduino/libraries/SWTFT-Shield/SWTFT.cpp:634:16: error: ‘swap’ was not declared in this scope
    swap(x0, x1);
    ^

Leave a Reply