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

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

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

Homemade Camera Gimbal Finished

Homemade Camera Gimbal Finished


Homemade Camera Gimbal Finished

Homemade Camera Gimbal Finished (Almost) So my Gimbal project is reached a state where i can call it almost finished. Of course such a project will always have place for improvements, But for now it is in a working order.A lot of people have been asking me for the drawings / plans for the...

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

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

Making a Concrete Table.

Making a Concrete Table.


Making a Concrete Table.

Homemade Concrete table. I was looking for a new coffee table for my living room, because the old one was well used, but i could find one i like, or could afford.So what to do ?  Well i decided to build my own and it went quite well i think :)I wanted something with a rustic look, so...

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