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:






You can download them here in a rar file.



Libraries i use is.




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

Camera Slider Schematics

Camera Slider Schematics

Camera Slider Schematics

Wiring diagram for My camera Slider build. The stepper motors wiring is dependent on witch stepper motor you use, so for that you have to examine how the wire it to the EasyDriver. Also the relay is wired but how you wire it to your camera is also something you have to examine to your...

Commodore 64 back to life

Commodore 64 back to life

Commodore 64 back to life

Commodore 64 back to life. My brother found an old Commodoe 64 in his basement, and asked me if i wanted to have it. I got this box from him, it was very dusty, and yes that is a printer. I was not sure what to expect, but went ahead and connected it to the TV, and it actually turned...

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.  

Battery Pack From Old Laptop

Battery Pack From Old Laptop

Battery Pack From Old Laptop

Make a 3S battery from old Laptop Battery I needed a battery for my gimbal, and wanted to make it as small as possible and still have enough power to run the gimbal properly. The top bar of the gimbal is an old carbon bike handlebar. And I thought it would be cool to have the battery inside...

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. It'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...


  1. Adam Hults June 22, 2016

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

  2. clemens August 22, 2016

    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

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

  4. Manousos October 12, 2016

    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

    Hello Manousos

    My project is here, you can try this.!Amn2Eegz7CpXgp0BK2RLFfDzRdizmw

  6. Manousos October 12, 2016

    Downloaded and uploaded to arduino but no graphics


  7. Manousos October 13, 2016

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

  8. manousos October 16, 2016

    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

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

  9. Paw Pedersen October 17, 2016

    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

    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

    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. 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

    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

    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