How To: Make an Arduino Shield

How To: Make an Arduino Shield

Two years ago, driven by a good friend of mine i decided to give it a try on timelapse photography. I had a DSLR camera but didn't had an intervalometer, so i assembled a small electronic circuit on top of an Arduino Uno, made some basic code and did my first timelapse movie. The result was awful, but for some reason I was hooked.Since that day I have never stopped looking for ways to evolve. I studied and tried various techniques until i got better. But, as i got better i felt something was missing. I needed motion control to give my timelapse movies a cinematographic feel. So, i did a market research and found out that there were great timelapse motion control devices for sell, but all of them were to expensive for me. So i had the idea to make an Arduino shield keeping in mind that i needed to control, at least, 1 dc motor, camera focus, camera shutter and for the 2 remaining axis i chose to control the Skywatcher's Acuter All in One pano head (also tested with Virtuoso Mount).

Step 1: Drawing the Schematics.Use an electronic design software and draw the following schematic.If the scheme is not clearly visible please download the pdf file.

Step 2: PCBDraw the PCB layout.
Step 3: Gerber FilesMost of the electronic design softwares available will provide the ability to automatically generate the necessary gerber files to manufacture the PCB´s. If you don´t have one you can download the gerber files here: Gerber files.

Downloads |
This work is licensed under a Creative Commons Attribution 4.0 International License, which means that you can freely share, remix and make commercial use of this work as long as you attribute it to timeblocks.wordpress.com  and keep the same license. I´ll update whenever I have new designs and/or code so don´t forget to like our facebook…

Step 4: First Test – Controlling Skywatcher Virtuoso Mount https://vimeo.com/100834758Picture of First test – controlling Skywatcher Virtuoso MountWhat you´ll need:1 x RJ11 connector 2 x 220 Ohm Resistor 2 x 8 pin Arduino Stackable Header, 1 x 6 pin Arduino Stackable Header and 1 x 10 pin Arduino Stackable Header 1 x Comunication Cable 1 x tb.shield PCB 1 x Virtuoso Mount Panohead Library and code: https://timeblocks.wordpress.com/downloads/Code:# include# includevoid setup() {panohead.init();}void loop() {long lngPositionPitch = 0;long lngPositionYaw = 0;//Read current positionlngPositionPitch = panohead.readAxisPosition(PANOHAXISPITCH);lngPositionYaw = panohead.readAxisPosition(PANOHAXISYAW);lngPositionPitch = lngPositionPitch + panohead.fromAngle(20.0);lngPositionYaw = lngPositionYaw + panohead.fromAngle(20.0);// 20 degrees motion in both axispanohead.driveToPositionBothAxis(lngPositionYaw, lngPositionPitch);delay(20000);lngPositionPitch = panohead.readAxisPosition(PANOHAXISPITCH);lngPositionYaw = panohead.readAxisPosition(PANOHAXISYAW);lngPositionPitch = lngPositionPitch + panohead.fromAngle(-20.0);lngPositionYaw = lngPositionYaw + panohead.fromAngle(-20.0);// 20 degrees motion in both axis in the opposite directionpanohead.driveToPositionBothAxis(lngPositionYaw, lngPositionPitch);delay(20000);}Now we just have to solder the RJ11 (U5 on PCB), the two 220 Ohm Resistor (R7 and R8 on PCB) and the stackable headers in the right places, connect everything and upload the code to the Arduino Board. The Virtuoso Mount should move the two axis 20 degrees in one direction and after 20 sec in the other one.

Step 5: Second Test - Controlling Camera Shutter https://vimeo.com/101553708Picture of Second test - controlling camera shutterWhat you´ll need:1 x tb.shield 1 x 3.5mm stereo audio jack 2 x optocoupler 4N25 2 x 330 Ohm Resistor 1 x release shutter cable The code: https://timeblocks.wordpress.com/downloads/# define PINFOCUS 6 // focus# define PINSHUTTER 9 // shuttervoid setup(){pinMode(PINFOCUS, OUTPUT);pinMode(PINSHUTTER, OUTPUT);}void loop(){digitalWrite(PINFOCUS, HIGH);delay(100);digitalWrite(PINSHUTTER, HIGH);delay(100);digitalWrite(PINFOCUS, LOW);digitalWrite(PINSHUTTER, LOW);delay(4800);}Now you just have to solder the 3.5mm stereo audio jack (U4 on PCB), the two optocouplers 4N25 (U2 and U3 on PCB) and the two 330 Ohm Resistors (R5 and R6 on PCB) in the right places, connect the camera to the 3.5mm stereo audio jack on the tb.shield and upload the code to the Arduino Board. The camera shutter should trigger every 5 sec.

Step 6: Third Test - Controlling Motors https://vimeo.com/101917574Picture of Third test - controlling motorsWhat you´ll need:1 x tb.shield 1 x L298P 8 x diode 4004 4 x 10k Ohm Resistor 4 x 5mm led 3 x 2 pin screw connector 1 x DC Motor 1 x 9v battery adapter 1 x 9v battery The code for motor 1:https://timeblocks.wordpress.com/downloads/# define PINM1DIRECTIONFW 2 // m1 forward# define PINM1DIRECTIONRV 4 // m1 reverse# define PINM1SPEED 3 // m1 speedvoid setup(){pinMode(PINM1DIRECTIONFW, OUTPUT);pinMode(PINM1DIRECTIONRV, OUTPUT);pinMode(define PINM1SPEED, OUTPUT);}void loop(){analogWrite(PINM1SPEED, 255);digitalWrite(PINM1DIRECTIONFW, HIGH);digitalWrite(PINM1DIRECTIONRV, LOW);delay(5000);digitalWrite(PINM1DIRECTIONFW, LOW);digitalWrite(PINM1DIRECTIONRV, LOW);delay(5000);digitalWrite(PINM1DIRECTIONFW, LOW);digitalWrite(PINM1DIRECTIONRV, HIGH);delay(5000);digitalWrite(PINM1DIRECTIONFW, LOW);digitalWrite(PINM1DIRECTIONRV, LOW);delay(5000);}The code for motor 2: https://timeblocks.wordpress.com/downloads/# define PINM1DIRECTIONFW 7 // m1 forward# define PINM1DIRECTIONRV 8 // m1 reverse# define PINM1SPEED 5 // m1 speedvoid setup(){pinMode(PINM1DIRECTIONFW, OUTPUT);pinMode(PINM1DIRECTIONRV, OUTPUT);pinMode(define PINM1SPEED, OUTPUT);}void loop(){analogWrite(PINM1SPEED, 255);digitalWrite(PINM1DIRECTIONFW, HIGH);digitalWrite(PINM1DIRECTIONRV, LOW);delay(5000);digitalWrite(PINM1DIRECTIONFW, LOW);digitalWrite(PINM1DIRECTIONRV, LOW);delay(5000);digitalWrite(PINM1DIRECTIONFW, LOW);digitalWrite(PINM1DIRECTIONRV, HIGH);delay(5000);digitalWrite(PINM1DIRECTIONFW, LOW);digitalWrite(PINM1DIRECTIONRV, LOW);delay(5000);}Now you just have to solder the L298P C.I. (U1 on PCB), the 8 diodes 4004 (D1 to D8 on PCB), the 4 10k Ohm Resistor (R1 to R4 on PCB), the 4 5mm leds (L1 to L4 on PCB) and the 3 x 2 pin screw connector (VS, MOTOR and MOTOR1 on PCB) in the right places, connect everything and upload the code to the Arduino Board.

Step 7: Make Amazing Timelapse Films. https://vimeo.com/101120640Now its time to make use of your fully assembled tb.shield and start making amazing timelapse movies. I hope you enjoyed this instructable.I´ll keep it updated. Feel free to comment.Have fun,Patrício



If you're unfamiliar with Uber's surge pricing, it basically works like this: during busy times of the year (mostly holidays), Uber increases their rates to "maximize the number of Uber cars on the system." That means riders can be charged 2x, 7x
Beat Uber Surge Pricing: Use These 7 Tricks to Get


Many of these tiles can be customized in certain ways, to personalize your start screen to your taste. You can choose between tile sizes, static or live tiles, and organize the tiles into groups. You can also remove tiles from the Start screen, and add them back later. Read on for details on how to do all this to make your Start screen truly yours.
How To Group Live Tiles In Windows 10? - I Love Free Software


Digital Trends recently spoke with Adobe's director of Experience Design, Matthew Richmond, about how to print digital photos at home that look great every time. From file type to color
How to transfer all your stuff from one Android phone to


With millions of users and billions of problems solved, Mathway is the world's #1 math problem solver. From basic algebra to complex calculus, Mathway instantly solves your most difficult math problems - simply type your problem in (or point your camera and snap a pic!) to receive instant free answers.
Bing app's Camera Intelligent Search can solve complex math


This video demonstrates how to connect your phone to your Mac computer via Bluetooth. First, make sure that you have Bluetooth enabled. On your Mac computer, begin by searching 'Bluetooth'. When the search results appear, click on Bluetooth File Exchange. A new window will appear where you can get
How to Transfer Photos from Any Phone to Your Computer


The app doesn't actually give you an option to save Instagram videos posted by those you follow. You can only copy the link to the post, or bookmark it in the app as part of a private collection .


Developers will have to choose from microcontroller-based boards, System on Chip (SOC) boards, Single-board Computers (SBC) and purpose-built boards with support for Smart Bluetooth and WiFi. For beginners, it's always confusing to choose the right board. Here is a list of 10 development boards that are ideal for your first IoT project. 10. C
Development Board | eBay


Image of Dallas Thomas / Gadget Hacks Step 3: Install the Magisk Manager App . Next you need the Magisk Manager app on your phone to install. In addition to serving as a root administration app to grant or deny superuser permissions to other apps, this app also provides an interface for installing Magisk modules and helps you get your root status on the Google Security Network to hide.
How to Root OnePlus using Magisk - YouTube


HOW TO MAKE HOMEMADE HD ANTENNA, using beer can DM videos. Loading Unsubscribe from DM videos? best indoor hdtv antenna homemade digital tv antenna best antenna for tv
How To Build A Tin Can DIY WiFi Antenna - SHTFPreparedness


How to Use a Bluetooth Device. Bluetooth is a wireless technology that has been around for over 20 years. It allows multiple devices to connect, interact, and sync without needing to set up complex networks and passwords.


You can get most of the benefit of using a GUI by doing work on the server remotely. In other words my server is running Linux but 99% of the time when I need to work on the server I do it from my Windows 7 desktop or Windows 8 tablet using a combination of WinSCP, Putty, phpMyAdmin, and Firefox.
Installing plugins - MoodleDocs


Deleting cookies in Firefox is pretty easy. Start by opening your Firefox browser. You will click a series of tabs to delete all or part of the cookies on your computer.
How to Delete Cookies in Mozilla Firefox Web Browser


Moto X, Google Now (Software), Moto G, Active display feature on Moto G, Okay Google now feature on Moto G, Open Mic+ review, How to get Moto x features on Moto G, How to make Moto G moto x for
How to Save Battery Power on a Samsung Galaxy S4 with Moto X


15 Ways to Increase Productivity at Work. bang out your task to the best of your ability and move on. It's better to complete the task and move it off your plate; if need be, you can always
The Ultimate Guide To Organizing Your Workspace For - Trello

0 comments:

Post a Comment