tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

tarina-manual.md (27636B)


      1 
      2 ![](tarina-logo.png)
      3 
      4 <br>
      5 
      6 MANUAL
      7 ======
      8 
      9 This is still a work in progress and documentation is on its way, if you're in a hurry feel free to drop a message in [#tarina:matrix.tarina.org](https://riot.im/app/#/room/#tarina:matrix.tarina.org)
     10 
     11 ### manual todo
     12 - new hardware, hyperpixel4, powerbooster charger, 
     13 - trim feature
     14 - 
     15 
     16 ![Filming with Tarina](tarina-filming-01.jpg)
     17 
     18 Contents
     19 --------
     20 ### The interface
     21 1. [Introduction](#introduction)
     22 2. [Keys](#keys)
     23 3. [Menus](#menus)
     24 4. [Faq](#faq)
     25 
     26 ### [Building, repairing & modding]
     27 1. [Get the parts](#get-the-parts)
     28 2. [3d printing](#3d-printing)
     29 3. [Post processing](#post-processing)
     30 4. [Wiring](#wiring)
     31 5. [Putting it together](#putting-it-together)
     32 6. [Installing software](#installing-software)
     33 7. [Tested lenses](#tested-lenses)
     34 
     35 
     36 Introduction
     37 ============
     38 ![Tarina UI](tarina-filming-02.jpg)
     39 
     40 The interface presents all the essential tools in film making under one menu that is present and accessible all the time. You can control it with a keyboard or with the physical buttons; Enter, Up, Down, Left, Right, Record, Retake, View and Remove.
     41 
     42 Retake function
     43 ---------------
     44 
     45 Always after recording a take you'll be presented with the last frame of that take. Now, if you are happy with it, press record again and you'll move to the next shot in your movie, oterwise press retake and you'll be filming a new take of that shot. At the time of writing the last take is always chosen into your movie film.
     46 
     47 Hint! pressing record while browsing existing takes, shots and scenes will take you to the last shot in that scene. Pressing retake will do just that, a retake. Makes perfectly sense, right? Fiddle around with it, you'll totally get it.
     48 
     49 Keys
     50 ====
     51 
     52 ### Buttons
     53 ![Buttons](buttons.png)
     54 
     55 ### Keyboard
     56 ![Buttons](keyboard.jpg)
     57 
     58 With keys up and down you change a specific setting, for example shutter speed. With keys left and right you change what settings to change. With view, you can view the last shot or if you have a specific scene highlighted the camera would automatically glue all shots together and play that scene for you, same goes for film. With remove you can remove a specific take, shot, scene or film. With the retake button you retake a bad take, this is how the camera keeps track of your good takes. The last take is always the chosen one.
     59 
     60 Special keys on the keyboard (CAPITAL):
     61 
     62 C = Copy scene/shot
     63 
     64 M = Cut (as in cut and paste) scene/shot
     65 
     66 I = Insert empty or copied scene/shot
     67 
     68 space / pgup = Rec / Stop
     69 
     70 pgdwn / backspace = Retake
     71 
     72 tab = view
     73 
     74 Menus
     75 =====
     76 A short explanation of all the settings and why they are where they are.
     77 
     78 ### Film, scene, shot and take
     79 This you don't see on other cameras because they don't care about what you're filming, however this camera does and it wants to know where you are in your filmmaking process and help put it together. Of course, this means that ***you*** have to know where you are in your filmmaking process. The idea of the workflow is: film only the essentials, check your montage on the spot and do a retake if you need to fix something rather than filming a bunch of things and fixing it later on. This will save ***you*** alot of time.
     80 
     81 ### Dubbing
     82 If you press enter while you've highlighted the film name or a scene you'll be entering dub settings menu. (ADD:d:1.0/o:1.0) this indicates the volume of the (d)ub to the previous (o)riginal mix. So, for example if you want the dub volume to be 50% of the previous audio, the settings would look like this (ADD:d:0.5/o:1.0). A good all-around background music volume level is only 10% so it would look like this (ADD:d:0.1/o:1.0). The other setting is fade in and out in seconds (in: 0.5) (out: 1.0) whould be half a second in and a second out. Now if you press enter while the ADD is highlighted you'll be dubbing. You can change the settings later if you come back to the menu.
     83 
     84 ### Shutter, iso, red, blue
     85 Shutter and iso are well know basic camera concepts. With red and blue you control the colors. If you press enter while on any of these then it will go into auto mode and if you press it again it will go back to manual mode with the current auto settings. I'm using this feature to quickly find a reasonable good value before I'm locking and tuning the settings manually to my likings. Cuz you always will know better than the robots!
     86 
     87 ### Bright, cont, sat
     88 Color grade on the go with brightness, contrast and saturation. You will probably have to play with theses to figure out what you want. Remember that as you're making your film ready while you're shooting it take by take, there's no color grading later on so you'll have to settle on your color grade before you film. To get that good old spaghetti western look go with the contrast at -19.
     89 
     90 ### Flip, beep, lenght
     91 If you go gonzo, flippin it is the way to go! beep is a countdown timer from the moment you press rec or retake to when it actually starts filming. Lenght let's you put in the lenght of your take before you actually start filming. Both of these are very useful if you film action alone and can't reach for the buttons. 
     92 
     93 ### Mic, phones, comp
     94 Control teh level of your mic and headphones. Comp is a basic compressor so your message comes across and we hear ya! it's quite harsh at the moment but I like it when it goes craking up abit like in the good old 70s cinema.
     95 
     96 ### Timelapse
     97 Do a timelapse when you need to tell about time. There's an under menu here where you can choose the intervall of the takes, now this isn't really a traditional timelapse, it will instead do a 0.2 sec video at each intervall or it can be set to your likings but 0.2 is good for a traditional timelapse effect. At the bottom of the screen is a calculation of how long the clip will be if you do the timelapse for an hour. I'd say don't over do it! a 10 - 20 sec clip is already quite a stretch but its up to you, you're the movie film director.
     98 
     99 ### Lens
    100 A future implementation of lens shade correction will come where you get to do your own lens corrections to get those colors right on the spot!
    101 
    102 ### Dsk, shutdown, srv, wifi
    103 Disk space, showing you how much of space left on your sd card. Shutdown, when your really done! it's good to do this before cutting the power or otherwise there's a small chance of sd card corruption. Srv is a network server, if your connected to a network and put this on you should be able to go to any browser on any device and watch your movie films (that is if you've rendered them first), just go to http://tarina.local or it might be that you have to know the ip address of your tarina (you'll find it when you've connected it. Press enter on wifi. There it is on the bottom of the screen, looks like this 192.168.1.105). If you press enter on wifi you will be transported to a glorious program called Wicd curses, here you really need to have a keyboard to set up your connections. Hints are down on the screen what buttons to press. To get back into Tarina press "q".
    104 
    105 ### Update and upload
    106 Update the camera to the most exclusive version, this is still pretty much a-work-in-progress and as a warnign expect some bugs! don't worry I'll be improving things but it takes time. Upload your film to the web, there is a youtube uploader mod you can install but you'll have to do some configs to make it work for you. Details coming soon. Reach out to the matrix room if you're in a hurry..
    107 
    108 to get the youtube api secrets `wget https://tarina.org/yt/.client_secrets.json`
    109 
    110 ### Backup
    111 It's good to always backup your stuff! Plug in your usb drive and just press enter and sit back and relax as the wonderful work of computer copying does the magic. While you're at it open a beer cuz it can take quite a while if you got much stuff on there. Now, this should be working on almost all hard drives but there are some that still use a very old file system called fat, and its as lazy as its given name and doesnt store critical information we would want, because we want the copying to only copy our new takes or retakes. So please use new drives like ntfs systems or ext or whatever they all are called. You'll find all your takes even the shitty ones on your harddrive in a directory called /tarinafilms/. One more thing, there are some drives that are very power hungry and doesnt come with it's own power source, now these drives are very bad for this particular use because the Tarina has limited amounts of power for usb use, so to be sure it's gonna work, use powered hard drives that has got a power cord.
    112 
    113 ### Load and new
    114 You can have many on going films, load em up or start as many films as you like.
    115 
    116 ------------------------------
    117 
    118 Building, repairing and modding
    119 ===============================
    120 
    121 Get the parts
    122 --------------
    123 
    124 ![Tarina parts layed out](tarina-build.jpg)
    125 
    126 Here is a list of parts that will work, there are other parts that probably will work but requires some hacking.
    127 
    128 
    129 Raspberry pi 3 B
    130 ----------------
    131 Price ~30 eur
    132 
    133 The heart of Tarina. Why Raspberry pi you ask? There are several reasons:
    134 
    135 * Huge support.
    136 * The great Debian based os Raspbian (beeing a debian nerd myself).
    137 * Low price.
    138 * Picamera.
    139 
    140 The 3B+ is too powerhungry for the Powerbooster 1000C thats why I went with 3B
    141 
    142 **Links**
    143 [Raspberry pi site](https://raspberrypi.org)
    144 **Buy**
    145 [Aliexpress](https://www.aliexpress.com/store/product/Raspberry-Pi-3-Model-B-Raspberry-Pi-Raspberry-Pi3-B-Pi-3-Pi-3B-With-WiFi/3242037_32900816535.html?spm=2114.search0104.3.113.7a702274lCPIr4&ws_ab_test=searchweb0_0,searchweb201602_5_10065_10068_5016020_5015416_10059_10696_100031_5015320_10084_10083_10103_451_10618_452_5016116_10304_10307_10820_10821_10302,searchweb201603_55,ppcSwitch_2&algo_expid=0a48bb10-5985-49ff-be76-433eb1f8685b-15&algo_pvid=0a48bb10-5985-49ff-be76-433eb1f8685b&priceBeautifyAB=0)
    146 
    147 
    148 64 Gb Samsung Evo+ Micro SD
    149 ---------------------
    150 Price ~10 eur
    151 
    152 This is a good performance card.
    153 
    154 [Aliexpress](https://www.aliexpress.com/item/32676225311.html?spm=a2g0o.productlist.0.0.11ed1b664kPdEf&algo_pvid=d9155fff-7ddc-47bb-9512-f7e686fe69ac&algo_expid=d9155fff-7ddc-47bb-9512-f7e686fe69ac-0&btsid=e2f36205-1c37-47bc-9a94-c006837f0992&ws_ab_test=searchweb0_0,searchweb201602_7,searchweb201603_55)
    155 
    156 
    157 Raspberry Pi High Quality Camera (recommended)
    158 ----------------------------------------------
    159 Price ~60 eur
    160 
    161 This is the recommended camera module for Tarina, 12.3 megapixel Sony IMX477 sensor, 7.9mm diagonal image size, and back-illuminated sensor architecture, with adjustable back focus and support for C- and CS-mount lenses.
    162 
    163 **Links**
    164 **Buy**
    165 [Raspberry pi](https://www.raspberrypi.org/products/raspberry-pi-high-quality-camera/?resellerType=home)
    166 
    167 
    168 Arducam 5 MP OV5647 camera module with CS lens
    169 ----------------------------------------------
    170 Price ~30 eur
    171 
    172 This module and lens gives good hd video quality with the ability to manually focus and replace lenses. See tested lenses down below.
    173 
    174 **Links**
    175 [Arducam](http://arducam.com/)
    176 **Buy**
    177 [ebay](https://www.ebay.com/itm/OV5647-Camera-Board-w-CS-mount-Lens-for-Raspberry-Pi-3-B-B-2-Model-B-/281212355128?txnId=1913825600018)
    178 
    179 Pimoroni Hyperpixel 4 inch screen
    180 -----------------------------
    181 Price ~35 eur
    182 
    183 Bright 4 inch responsible screen. Beware when installing the screen, it's quite britle!
    184 
    185 **Links**
    186 [Pimoroni](https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-hyperpixel-4)
    187 **Buy**
    188 [Pimoroni](https://shop.pimoroni.com/products/hyperpixel-4)
    189 [Farnell](https://fi.farnell.com/pimoroni/pim370/hyperpixel-board-raspberry-pi/dp/3401805)
    190 
    191 Ugeek 3.5 inch 800x480 TFT screen
    192 ---------------------------------
    193 Price ~35 eur
    194 
    195 Best 3.5 inch screen that I could find. Features worth mentioning:
    196 
    197 * 800x480 pixels
    198 * Very responsible 11 ms.
    199 * High contrast.
    200 * Sunlight readable. (even though it is readable in full power mode, it boots into medium power and to change it yo to push a physical button which isnt really dooable cuz of tha casing. you cant easily change the settings, I am abandoning this screen due to this)
    201 * I2C Master.
    202 
    203 This is not a touchscreen but I dont think touchscreens are good for cameras anyway. 
    204 
    205 **Links**
    206 [Raspberrypiwiki](http://www.raspberrypiwiki.com/index.php/3.5_inch_TFT_800x480@60fps)
    207 **Buy**
    208 [Aliexpress](https://www.aliexpress.com/store/product/U-Geek-Raspberry-Pi-3-5-inch-800-480-TFT-Screen-HD-HighSpeed-LCD-Module-3/1954241_32672157641.html)
    209 
    210 
    211 USB via vt1620a sound card
    212 --------------------------
    213 Price ~1 eur
    214 
    215 Really cheap usb soundcard. It has been working suprisingly well. Have not tested other cards yet.
    216 
    217 **Buy**
    218 [Aliexpress](https://www.aliexpress.com/item/Professional-External-USB-Sound-Card-Adapter-Virtual-7-1-Channel-3D-Audio-with-3-5mm-Headset/32588038556.html?spm=2114.01010208.8.8.E8ZKLB)
    219 
    220 
    221 3.7v 7800mAh li-ion Battery
    222 ---------------------------
    223 Price ~17 eur
    224 
    225 I have tried several batteries, the adafruit 6800mAh is also fine.
    226 
    227 **Buy**
    228 [Aliexpress](https://www.aliexpress.com/item/free-shipping-3-7v-7800mah-18650-li-ion-rechargeable-battery-pack-18650-3P-lithium-ion-battery/32823635264.html?spm=a2g0s.9042311.0.0.49ba4c4dyoKkZS)
    229 
    230 Or you can buy 3 pcs of 3.7V 18650 Lithium cells and protect them with an Lithium Battery Protection Board Overcharge Over-discharge.
    231 
    232 [Aliexpress](https://www.aliexpress.com/item/32826851071.html?spm=a2g0s.9042311.0.0.27424c4dUBojcv)
    233 
    234 Here's a pack with 40 pcs of 2600mAh 3.7V 18650 cells.
    235 
    236 [Aliexpress](https://www.aliexpress.com/item/32795814865.html?spm=a2g0s.9042311.0.0.27424c4dUBojcv)
    237 
    238 Type-C 5v 2A 3.7V Li-ion battery charger booster module
    239 -------------------------------------------------------
    240 Price ~2€
    241 
    242 Enough juice in this booster charger to run teh pi 3b without dropping voltage.
    243 
    244 **Buy**
    245 [Ebay](https://www.ebay.com/itm/Type-C-USB-5V-2A-3-7V-18650-Lithium-Li-ion-Battery-Charging-Board-Charger-Module/383717339632?var=652109038482)
    246 
    247 Adafruit Powerboost 1000C
    248 -------------------------
    249 Price ~23 eur
    250 
    251 Seems to be dropping voltage every now and then resulting in dropped frames. Check the Type-C power booster.
    252 
    253 **Links**
    254 [Adafruit](https://www.adafruit.com/product/2465)
    255 **Buy**
    256 [Ebay](https://www.ebay.com/itm/Adafruit-PowerBoost-1000-Charger-Rechargeable-5V-Lipo-USB-Boost-1A-1000C-A/282083284436?epid=2256108887&hash=item41ad7955d4%3Ag%3ALesAAOSwkQZbYXrn&_sacat=0&_nkw=powerboost+1000c&_from=R40&rt=nc&_trksid=m570.l1313)
    257 [Aliexpress](https://www.aliexpress.com/item/32881790567.html?spm=a2g0o.productlist.0.0.9e3b51caWDCb6A&algo_pvid=b569f235-3038-4305-abdc-24a84a3cd534&algo_expid=b569f235-3038-4305-abdc-24a84a3cd534-0&btsid=c7684116-cb0b-4c9c-967c-0deb42c7a73e&ws_ab_test=searchweb0_0,searchweb201602_7,searchweb201603_55)
    258 
    259 
    260 8x8x5MM DIP-4 Silicone Switch Mute Silent button
    261 ------------------------------------------------
    262 Price ~2 eur/20 pcs
    263 
    264 You can only buy a pack of 20 pcs but these buttons are good and silent! Not necessary if you want to control with keyboard like Rii mini 8+
    265 
    266 **Buy**
    267 [Ebay](http://www.ebay.com/itm/151723036469?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT)
    268 [Aliexpress](https://www.aliexpress.com/item/32777086031.html?spm=a2g0o.productlist.0.0.5cfc6136IYeRxe&algo_pvid=f4209ce9-f7c5-47f1-8d98-6b0cd8affb32&algo_expid=f4209ce9-f7c5-47f1-8d98-6b0cd8affb32-0&btsid=7ceb3856-696f-4ddd-9858-84c295f67c48&ws_ab_test=searchweb0_0,searchweb201602_7,searchweb201603_55)
    269 
    270 
    271 MCP23017-E/SP DIP-28 16 bit I / O expander I2C
    272 -----------------------------------------------
    273 Price ~1 eur
    274 
    275 This will be connected to the screen I2C port. This is not necessary if you intend to control the camera with a keyboard like the Rii mini i8+
    276 
    277 **Buy**
    278 [Aliexpress](https://www.aliexpress.com/item/10PCS-MCP23017-E-SP-DIP-28-MCP23017-16-Bit-I-O-Expander-with-I2C-Interface-IC/32665631086.html?spm=a2g0s.9042311.0.0.27424c4dn4m008)
    279 
    280 
    281 2x8cm double side copper prototype pcb
    282 --------------------------------------
    283 Price ~0.20 eur/pcs
    284 
    285 PCB board to solder all connections on the MCP23017-E/SP
    286 
    287 **Buy**
    288 [Aliexpress](https://www.aliexpress.com/item/5pcs-2x8cm-double-Side-Copper-prototype-pcb-2-8-panel-Universal-Board-for-Arduino-Free-Shipping/32820588012.html?spm=a2g0s.9042311.0.0.27424c4dPM5vVF)
    289 
    290 
    291 Piezo electronic buzzer
    292 -----------------------
    293 Price ~1 eur
    294 
    295 Very useful for timing shots!
    296 
    297 **Buy**
    298 [Aliexpress](https://www.aliexpress.com/store/product/New-Arrival-Durable-3-24V-Piezo-Electronic-Buzzer-Alarm-95DB-Continuous-Sound-Beeper-For-Arduino-Car/1959068_32666789405.html?spm=2114.search0204.3.1.4cef4057RBI3xn&ws_ab_test=searchweb0_0,searchweb201602_3_10065_10068_10059_5015413_5015313_10696_100031_10084_10083_5016113_10103_451_10618_452_10304_10307_10820_10821_10302_5016013,searchweb201603_45,ppcSwitch_4_ppcChannel&algo_expid=c84318cd-b50e-4370-9cad-6ae9bc7963ae-0&algo_pvid=c84318cd-b50e-4370-9cad-6ae9bc7963ae&priceBeautifyAB=0)
    299 
    300 
    301 Latching push button switch mini
    302 ---------------------------------
    303 Price ~1 eur/10 pcs
    304 
    305 This serves as the microphone and screen on/off button
    306 
    307 **Buy**
    308 [Aliexpress](https://www.aliexpress.com/item/10Pcs-Set-1A-30V-DC-250V-Black-Latching-On-Off-Mini-Torch-Push-Button-Switch-G08/32756874522.html?spm=a2g0s.9042311.0.0.27424c4ddFzv3i)
    309 
    310 
    311 Latching push button switch 10mm
    312 --------------------------------
    313 Price ~5 eur/24 pcs
    314 
    315 I use this as the powerbutton. I have tried different versions of safe shutdown buttons for the Raspberry pi but they have not worked as I wanted (they draw power even when Pi is powered off, this is not good). I have solved the problem with a menu button to safely shut down the camera. 
    316 
    317 **Buy**
    318 [Aliexpress](https://www.aliexpress.com/item/24pcs-latching-push-button-switch-10mm-fixed-pushbutton-switch-latching-maintained-push-buttons/32770346793.html?spm=a2g0s.9042311.0.0.27424c4ddFzv3i)
    319 
    320 
    321 Nut 1/4 -20 UNC 304 A2 
    322 -----------------------
    323 Price ~2 eur/10 pcs
    324 
    325 This is the standard camera stand nuts. If you never use a stand then you dont need this.
    326 
    327 **Buy**
    328 [Ebay](https://www.ebay.com/itm/1-4-20-UNC-304-A2-Stainless-Steel-Hex-Full-Nuts-Qty-10PCS-/222134363896?hash=item33b83d66f8)<br>
    329 
    330 
    331 MAX9812 Microphone amplifier
    332 ----------------------------
    333 Price ~2 eur
    334 
    335 This makes suprisingly good sounding sound! The original piece that I used is out of production, I have now found a similar module but I need to change the 3d module a little bit because the new module is alot smaller which is good. Need to test these new ones!
    336 
    337 **Buy**
    338 [Aliexpress](https://www.aliexpress.com/item/32793366801.html?spm=a2g0o.productlist.0.0.3343b3e4A9qKJg&algo_pvid=b104d20a-b6da-4c46-9be9-d2b8ff358af1&algo_expid=b104d20a-b6da-4c46-9be9-d2b8ff358af1-6&btsid=40518322-e328-4247-9132-570609040804&ws_ab_test=searchweb0_0,searchweb201602_7,searchweb201603_55) (out of stock)
    339 [Ebay](https://www.ebay.com/itm/MAX9812-Microphone-Amplifier-Sound-MIC-Voice-Module-For-Arduino-3-3V-3-5V/123891576683?hash=item1cd8836f6b:g:aL4AAOSwtchdaPPB) (out of stock)
    340 
    341 New module (still untested) [Aliexpress](https://www.aliexpress.com/item/33052676199.html?spm=a2g0o.productlist.0.0.2f162176RNC7gL&algo_pvid=4ad3160a-b57e-4a87-ac6c-f32584343324&algo_expid=4ad3160a-b57e-4a87-ac6c-f32584343324-0&btsid=0ab6fa8115836622569272085ec52c&ws_ab_test=searchweb0_0,searchweb201602_,searchweb201603_)
    342 Bigger electrec mics (if needed) [Aliexpress](https://www.aliexpress.com/item/32639718325.html?spm=a2g0s.9042311.0.0.27424c4d7cO7CI) 
    343 
    344 3.5mm Female stereo headset interior PCB mount
    345 ----------------------------------------------
    346 Price ~1 eur/10 pcs
    347 
    348 Microphone input.
    349 
    350 **Buy**
    351 [Ebay](https://www.ebay.com/itm/10pcs-3-5mm-Female-5-Pins-Stereo-Headset-Interior-PCB-Mount-Audio-Jack-Socket-/252376936189?hash=item3ac2d66efd)
    352 
    353 
    354 LR44 Batteries
    355 --------------
    356 Price ~2 eur/10 pcs
    357 
    358 Microphone batteries
    359 
    360 **Buy**
    361 [Aliexpress](https://www.aliexpress.com/store/product/10PCS-Lot-100-Genuine-wholesale-GP-A76-GPA76-LR44-AG13-LR44-SR44-battery-LR44-357-AG13/1120058_32739450265.html?spm=2114.search0104.3.44.5b5d32dbJK5uJ1&ws_ab_test=searchweb0_0,searchweb201602_5_10065_10068_5015418_5016020_10059_10696_100031_5015320_10084_10083_10103_451_10618_452_10304_10307_10820_10821_5016118_10302,searchweb201603_55,ppcSwitch_2&algo_expid=8af0bcbe-dcb8-4f9a-bd47-084a4d77561a-6&algo_pvid=8af0bcbe-dcb8-4f9a-bd47-084a4d77561a&priceBeautifyAB=0)
    362 
    363 
    364 Screws M3x12mm
    365 -----------
    366 Price ~2 eur/25 pcs
    367 
    368 These hold the camera together.
    369 
    370 **Buy**
    371 Your local harware store
    372 
    373 [Ebay](https://www.ebay.com/itm/50X-Stainless-M1-6-M2-M3-M4-Countersunk-Flat-Head-Cross-Miniature-Screw-Bolts/392195849737?hash=item5b50b1be09:m:mGdurHGRlBzB-IIMJirP3Dw)
    374 
    375 
    376 Screws M3x30mm
    377 ---------------
    378 Price ~2 eur/30 pcs
    379 
    380 These hold picamera-body to the body.
    381 
    382 **Buy**
    383 [Ebay](https://www.ebay.com/itm/20-pcs-M3-Screw-Diameter-3mm-Length-30mm-M3x30-Stainless-Steel-DIY/181846978737?epid=886666073&hash=item2a56ecb0b1:g:F1MAAOxyUylTSh9n)
    384 
    385 
    386 Screws 2.2x9.5mm
    387 ----------------
    388 Price ~1 eur/20 pcs
    389 
    390 These hold the camera/mic together.
    391 
    392 **Buy**
    393 [Ebay](https://www.ebay.com/itm/M2-2x9-5mm-Stainless-Steel-Phillips-Round-Pan-Head-Self-Tapping-Screws-50pcs/391417337610?epid=1563431736&hash=item5b224a970a:g:oC8AAOSwqDhbAlml)
    394 
    395 LR44 Button cell socket holder
    396 --------------------------------------
    397 Price ~1 eur/pcs
    398 
    399 We only need the metal parts from these, if you have som thin metal you could cut these yourself.
    400 
    401 **Buy**
    402 [Aliexpress](https://www.aliexpress.com/item/4-Pcs-Black-Plastic-Button-Coin-Cell-Battery-Socket-Holder-for-2-x-AG13-LR44/33013344736.html?spm=a2g0s.9042311.0.0.671b4c4djbzZzg)
    403 
    404 3.5mm Jack to jack aux cable
    405 ----------------------------
    406 Price ~1 eur
    407 
    408 From microphone to mic-in.
    409 
    410 **Buy**
    411 [Aliexpress](https://www.aliexpress.com/store/product/1-Piece-Short-0-2M-20cm-Red-3-5mm-Jack-to-Jack-Aux-Cable-Male-to/505072_32833465555.html?spm=2114.search0104.3.9.383e3c3dVjq9DY&ws_ab_test=searchweb0_0,searchweb201602_5_10065_10068_5016020_10059_10696_100031_5015320_5016120_10084_10083_5015420_10103_451_10618_452_10304_10307_10820_10821_10302,searchweb201603_55,ppcSwitch_2&algo_expid=9ba0b376-e66f-48d2-9ccd-ecc1e8794812-1&algo_pvid=9ba0b376-e66f-48d2-9ccd-ecc1e8794812&priceBeautifyAB=0) 
    412 
    413 
    414 Rii mini i8+ mini keyboard
    415 --------------------------
    416 Price ~17 eur
    417 
    418 Wireless control over camera. You will also need this for wifi settings etc. (Recommended) This is one of the best mini keyboards I've tried. 
    419 
    420 **Buy**
    421 [Aliexpress](https://www.aliexpress.com/item/Rii-mini-i8-Russian-English-Spanish-Hebrew-Version-Wireless-Backlit-Keyboard-with-Touchpad-for-PC-Smart/32450468690.html?spm=a2g0s.9042311.0.0.27424c4dKdqpVO)
    422 
    423 Parts grand total ~200 eur
    424 
    425 Optional parts
    426 ==============
    427 
    428 Tarina viewfinder 
    429 -----------------
    430 
    431 This is a 3.5 inch viewfinder for Tarina that you can 3d print and make by buying these three parts.
    432 
    433 Lens D42 F110mm
    434 ---------------
    435 Price ~10 eur
    436 
    437 **Buy**
    438 [Aliexpress](https://www.aliexpress.com/item/32958816619.html?spm=a2g0s.9042311.0.0.6fb54c4dGb4wI7)
    439 
    440 Rubber Eyepiece
    441 ---------------
    442 Price ~4 eur
    443 
    444 **Buy**
    445 [Aliexpress](https://www.aliexpress.com/item/32780859922.html?spm=a2g0s.9042311.0.0.27424c4dmVqriG)
    446 
    447 Magnets 25mm x 5mm x 1.5mm
    448 --------------------------
    449 Price ~3 eur 10 pcs
    450 
    451 **Buy**
    452 [Aliexpress](https://www.aliexpress.com/item/32963277127.html?spm=a2g0s.9042311.0.0.27424c4dRc1vCZ)
    453 
    454 
    455 3d printing
    456 ===========
    457 
    458 While waiting for ordered parts lets 3d print the rest of the parts. I recommend printing with a solid 90% infill. Now it is pretty crucial that you have a good calibrated printer so that you don't over/under print. Some parts need to be very precise to work.
    459 
    460 You'll find all the 3d parts in the 3d folder.
    461 
    462 * [body](https://github.com/rbckman/tarina/blob/master/3d/tarina-body.stl)
    463 * [button-plate-bottom](https://github.com/rbckman/tarina/blob/master/3d/tarina-button-plate-bottom.stl)
    464 * [button-plate-upper](https://github.com/rbckman/tarina/blob/master/3d/tarina-button-plate-upper.stl)
    465 * [hdmi-cap](https://github.com/rbckman/tarina/blob/master/3d/tarina-hdmi-cap.stl)
    466 * [left-side](https://github.com/rbckman/tarina/blob/master/3d/tarina-left-side.stl)
    467 * [mic-body](https://github.com/rbckman/tarina/blob/master/3d/tarina-mic-body.stl)
    468 * [mic-lid](https://github.com/rbckman/tarina/blob/master/3d/tarina-mic-lid.stl)
    469 * [picamera-body](https://github.com/rbckman/tarina/blob/master/3d/tarina-picamera-body.stl)
    470 * [picamera-body-lid](https://github.com/rbckman/tarina/blob/master/3d/tarina-picamera-body-lid.stl)
    471 * [picamera-bridge](https://github.com/rbckman/tarina/blob/master/3d/tarina-picamera-bridge.stl)
    472 * [right-side](https://github.com/rbckman/tarina/blob/master/3d/tarina-right-side.stl)
    473 * [screen-lid](https://github.com/rbckman/tarina/blob/master/3d/tarina-screen-lid.stl)
    474 
    475 
    476 Post processing
    477 ===============
    478 
    479 This is still a work in progress...
    480 
    481 So far I've come to this conclusion:
    482 
    483 * Put 3d printed parts together with screws.
    484 * Sand with sandpaper from rough to finest (from 120 to 400). I like to sand down all corners making them round.
    485 * Dust off.
    486 * Paint.
    487 * Wait til dry.
    488 * Paint again.
    489 * Wait til dry. I like to wait for atleast a day to make it really dry.
    490 * Sand again.
    491 * Paint and wait again.
    492 * Continue like this til you are satisfied with the feel, now I like to have a good grip so I finnish with sanding with 400 grit paper and leave it like that.
    493 
    494 
    495 Wiring
    496 ======
    497 
    498 ![Tarina wiring diagram](wiring.png)
    499 
    500 ![3d printed and painted, next up sanding and adding one more paint layer](tarina-build-13.jpg)
    501 
    502 ![Fitting everything together](tarina-build-04.jpg)
    503 
    504 ![Ready for screen](tarina-build-02.jpg)
    505 
    506 ![MCP and buttons](tarina-build-08.jpg)
    507 
    508 ![Sound card ready to be soldered](tarina-build-10.jpg)
    509 
    510 
    511 Putting it together
    512 ===================
    513 
    514 Documentation on its way, if you're in a hurry feel free to drop a message in [#tarina:matrix.tarina.org](https://riot.im/app/#/room/#tarina:matrix.tarina.org)
    515 
    516 
    517 Installing software
    518 ===================
    519 
    520 Download latest [Raspbian](https://www.raspberrypi.org/downloads/raspbian/) and follow [install instructions](https://www.raspberrypi.org/documentation/installation/installing-images/README.md).
    521 [Ssh into](https://www.raspberrypi.org/documentation/remote-access/ssh/) Raspberry Pi and run:
    522 
    523 Go to home folder
    524 ```
    525 cd /home/pi
    526 ```
    527 Install git
    528 ```
    529 sudo apt-get install git
    530 ```
    531 Git clone tarina and then run install script with sudo:
    532 ```
    533 git clone https://github.com/rbckman/tarina.git
    534 cd tarina
    535 sudo ./install.sh
    536 ```
    537 You'r ready to rumble:
    538 ```
    539 python3 tarina.py
    540 ```
    541 Happy filming!
    542 
    543 ![Should be looking like this once finnished](tarina-promo.jpg)
    544 
    545 
    546 Tested lenses
    547 =============
    548 
    549 Here is what I'm testing right now.
    550 
    551 2.8mm 3MP F1.2 CS
    552 -----------------
    553 Price ~ 6 €
    554 
    555 This is a good wide all around lens. Recomended!
    556 [Aliexpress](https://www.aliexpress.com/item/32973023765.html?spm=a2g0o.productlist.0.0.4e9c3761rLgRE0&algo_pvid=f9a62bbd-7981-48cb-a080-c39336b9f53f&algo_expid=f9a62bbd-7981-48cb-a080-c39336b9f53f-1&btsid=028c8b49-83e8-4c56-9b8b-6c32c36e65d9&ws_ab_test=searchweb0_0,searchweb201602_7,searchweb201603_55)
    557 
    558 2.5mm 3MP F1.2 CS
    559 -----------------
    560 Price ~ 6 €
    561 
    562 This is an even wider lens. Seems to be the same manufacterer.
    563 [Aliexpress](https://www.aliexpress.com/item/32970488708.html?spm=a2g0o.detail.1000023.1.782e6003A85K1u)
    564 
    565 Yumiki 6-60mm 1/3" CS Lens CCTV Lens IR F1.6 Manual Zoom Manual Iris 
    566 --------------------------------------------------------------------
    567 
    568 [Aliexpress](https://www.aliexpress.com/item/6-60mm-1-3-CS-Lens-CCTV-Lens-IR-F1-6-Manual-Zoom-Manual-Iris-for/32793850795.html?spm=a2g0s.9042311.0.0.27424c4dmtk6IZ)
    569 
    570 
    571 Camera Lens 2.8-12mm Varifocal
    572 ------------------------------
    573 
    574 This lens is good. Will write a longer review once I have more filming hours.
    575 
    576 [Aliexpress](https://www.aliexpress.com/item/Megapixel-Fixed-Iris-HD-CCTV-Camera-Lens-2-8-12mm-Varifocal-HD-Security-Camera-Lens-Manual/32644427822.html?spm=a2g0s.9042311.0.0.27424c4dmtk6IZ)
    577 
    578 ---
    579