tarina

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

tarina-manual.md (27348B)


      1 
      2 ![](tarina-logo.png)
      3 
      4 <br>
      5 
      6 MANUAL
      7 ======
      8 
      9 ![Filming with Tarina](tarina-filming-01.jpg)
     10 
     11 Contents
     12 --------
     13 ### The interface
     14 1. [Introduction](#introduction)
     15 2. [Keys](#keys)
     16 3. [Menus](#menus)
     17 4. [Faq](#faq)
     18 
     19 ### [Building, repairing & modding]
     20 1. [Get the parts](#get-the-parts)
     21 2. [3d printing](#3d-printing)
     22 3. [Post processing](#post-processing)
     23 4. [Wiring](#wiring)
     24 5. [Putting it together](#putting-it-together)
     25 6. [Installing software](#installing-software)
     26 7. [Tested lenses](#tested-lenses)
     27 
     28 
     29 Introduction
     30 ============
     31 ![Tarina UI](tarina-filming-02.jpg)
     32 
     33 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.
     34 
     35 Retake function
     36 ---------------
     37 
     38 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.
     39 
     40 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.
     41 
     42 Keys
     43 ====
     44 
     45 ### Buttons
     46 ![Buttons](buttons.png)
     47 
     48 ### Keyboard
     49 ![Buttons](keyboard.jpg)
     50 
     51 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.
     52 
     53 Special keys on the keyboard (CAPITAL):
     54 
     55 C = Copy scene/shot
     56 
     57 M = Cut (as in cut and paste) scene/shot
     58 
     59 I = Insert empty or copied scene/shot
     60 
     61 space / pgup = Rec / Stop
     62 
     63 pgdwn / backspace = Retake
     64 
     65 tab = view
     66 
     67 Menus
     68 =====
     69 A short explanation of all the settings and why they are where they are.
     70 
     71 ### Film, scene, shot and take
     72 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.
     73 
     74 ### Dubbing
     75 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.
     76 
     77 ### Shutter, iso, red, blue
     78 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!
     79 
     80 ### Bright, cont, sat
     81 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.
     82 
     83 ### Flip, beep, lenght
     84 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. 
     85 
     86 ### Mic, phones, comp
     87 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.
     88 
     89 ### Timelapse
     90 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.
     91 
     92 ### Lens
     93 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!
     94 
     95 ### Dsk, shutdown, srv, wifi
     96 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".
     97 
     98 ### Update and upload
     99 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..
    100 
    101 to get the youtube api secrets `wget https://tarina.org/yt/.client_secrets.json`
    102 
    103 ### Backup
    104 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.
    105 
    106 ### Load and new
    107 You can have many on going films, load em up or start as many films as you like.
    108 
    109 ------------------------------
    110 
    111 Building, repairing and modding
    112 ===============================
    113 
    114 Get the parts
    115 --------------
    116 
    117 ![Tarina parts layed out](tarina-build.jpg)
    118 
    119 Here is a list of parts that will work, there are other parts that probably will work but requires some hacking.
    120 
    121 
    122 Raspberry pi 3 B
    123 ----------------
    124 Price ~30 eur
    125 
    126 The heart of Tarina. Why Raspberry pi you ask? There are several reasons:
    127 
    128 * Huge support.
    129 * The great Debian based os Raspbian (beeing a debian nerd myself).
    130 * Low price.
    131 * Picamera.
    132 
    133 The 3B+ is too powerhungry for the Powerbooster 1000C thats why I went with 3B
    134 
    135 **Links**
    136 [Raspberry pi site](https://raspberrypi.org)
    137 **Buy**
    138 [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)
    139 
    140 
    141 64 Gb Samsung Evo+ Micro SD
    142 ---------------------
    143 Price ~10 eur
    144 
    145 This is a good performance card.
    146 
    147 [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)
    148 
    149 
    150 Raspberry Pi High Quality Camera (recommended)
    151 ----------------------------------------------
    152 Price ~60 eur
    153 
    154 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.
    155 
    156 **Links**
    157 **Buy**
    158 [Raspberry pi](https://www.raspberrypi.org/products/raspberry-pi-high-quality-camera/?resellerType=home)
    159 
    160 
    161 Arducam 5 MP OV5647 camera module with CS lens
    162 ----------------------------------------------
    163 Price ~30 eur
    164 
    165 This module and lens gives good hd video quality with the ability to manually focus and replace lenses. See tested lenses down below.
    166 
    167 **Links**
    168 [Arducam](http://arducam.com/)
    169 **Buy**
    170 [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)
    171 
    172 Pimoroni Hyperpixel 4 inch screen
    173 -----------------------------
    174 Price ~35 eur
    175 
    176 Bright 4 inch responsible screen. Beware when installing the screen, it's quite britle!
    177 
    178 **Links**
    179 [Pimoroni](https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-hyperpixel-4)
    180 **Buy**
    181 [Pimoroni](https://shop.pimoroni.com/products/hyperpixel-4)
    182 [Farnell](https://fi.farnell.com/pimoroni/pim370/hyperpixel-board-raspberry-pi/dp/3401805)
    183 
    184 Ugeek 3.5 inch 800x480 TFT screen
    185 ---------------------------------
    186 Price ~35 eur
    187 
    188 Best 3.5 inch screen that I could find. Features worth mentioning:
    189 
    190 * 800x480 pixels
    191 * Very responsible 11 ms.
    192 * High contrast.
    193 * 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)
    194 * I2C Master.
    195 
    196 This is not a touchscreen but I dont think touchscreens are good for cameras anyway. 
    197 
    198 **Links**
    199 [Raspberrypiwiki](http://www.raspberrypiwiki.com/index.php/3.5_inch_TFT_800x480@60fps)
    200 **Buy**
    201 [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)
    202 
    203 
    204 USB via vt1620a sound card
    205 --------------------------
    206 Price ~1 eur
    207 
    208 Really cheap usb soundcard. It has been working suprisingly well. Have not tested other cards yet.
    209 
    210 **Buy**
    211 [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)
    212 
    213 
    214 3.7v 7800mAh li-ion Battery
    215 ---------------------------
    216 Price ~17 eur
    217 
    218 I have tried several batteries, the adafruit 6800mAh is also fine.
    219 
    220 **Buy**
    221 [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)
    222 
    223 Or you can buy 3 pcs of 3.7V 18650 Lithium cells and protect them with an Lithium Battery Protection Board Overcharge Over-discharge.
    224 
    225 [Aliexpress](https://www.aliexpress.com/item/32826851071.html?spm=a2g0s.9042311.0.0.27424c4dUBojcv)
    226 
    227 Here's a pack with 40 pcs of 2600mAh 3.7V 18650 cells.
    228 
    229 [Aliexpress](https://www.aliexpress.com/item/32795814865.html?spm=a2g0s.9042311.0.0.27424c4dUBojcv)
    230 
    231 Type-C 5v 2A 3.7V Li-ion battery charger booster module
    232 -------------------------------------------------------
    233 Price ~2€
    234 
    235 Enough juice in this booster charger to run teh pi 3b without dropping voltage.
    236 
    237 **Buy**
    238 [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)
    239 
    240 Adafruit Powerboost 1000C
    241 -------------------------
    242 Price ~23 eur
    243 
    244 Seems to be dropping voltage every now and then resulting in dropped frames. Check the Type-C power booster.
    245 
    246 **Links**
    247 [Adafruit](https://www.adafruit.com/product/2465)
    248 **Buy**
    249 [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)
    250 [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)
    251 
    252 
    253 8x8x5MM DIP-4 Silicone Switch Mute Silent button
    254 ------------------------------------------------
    255 Price ~2 eur/20 pcs
    256 
    257 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+
    258 
    259 **Buy**
    260 [Ebay](http://www.ebay.com/itm/151723036469?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT)
    261 [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)
    262 
    263 
    264 MCP23017-E/SP DIP-28 16 bit I / O expander I2C
    265 -----------------------------------------------
    266 Price ~1 eur
    267 
    268 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+
    269 
    270 **Buy**
    271 [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)
    272 
    273 
    274 2x8cm double side copper prototype pcb
    275 --------------------------------------
    276 Price ~0.20 eur/pcs
    277 
    278 PCB board to solder all connections on the MCP23017-E/SP
    279 
    280 **Buy**
    281 [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)
    282 
    283 
    284 Piezo electronic buzzer
    285 -----------------------
    286 Price ~1 eur
    287 
    288 Very useful for timing shots!
    289 
    290 **Buy**
    291 [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)
    292 
    293 
    294 Latching push button switch mini
    295 ---------------------------------
    296 Price ~1 eur/10 pcs
    297 
    298 This serves as the microphone and screen on/off button
    299 
    300 **Buy**
    301 [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)
    302 
    303 
    304 Latching push button switch 10mm
    305 --------------------------------
    306 Price ~5 eur/24 pcs
    307 
    308 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. 
    309 
    310 **Buy**
    311 [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)
    312 
    313 
    314 Nut 1/4 -20 UNC 304 A2 
    315 -----------------------
    316 Price ~2 eur/10 pcs
    317 
    318 This is the standard camera stand nuts. If you never use a stand then you dont need this.
    319 
    320 **Buy**
    321 [Ebay](https://www.ebay.com/itm/1-4-20-UNC-304-A2-Stainless-Steel-Hex-Full-Nuts-Qty-10PCS-/222134363896?hash=item33b83d66f8)<br>
    322 
    323 
    324 MAX9812 Microphone amplifier
    325 ----------------------------
    326 Price ~2 eur
    327 
    328 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!
    329 
    330 **Buy**
    331 [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)
    332 [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)
    333 
    334 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_)
    335 Bigger electrec mics (if needed) [Aliexpress](https://www.aliexpress.com/item/32639718325.html?spm=a2g0s.9042311.0.0.27424c4d7cO7CI) 
    336 
    337 3.5mm Female stereo headset interior PCB mount
    338 ----------------------------------------------
    339 Price ~1 eur/10 pcs
    340 
    341 Microphone input.
    342 
    343 **Buy**
    344 [Ebay](https://www.ebay.com/itm/10pcs-3-5mm-Female-5-Pins-Stereo-Headset-Interior-PCB-Mount-Audio-Jack-Socket-/252376936189?hash=item3ac2d66efd)
    345 
    346 
    347 LR44 Batteries
    348 --------------
    349 Price ~2 eur/10 pcs
    350 
    351 Microphone batteries
    352 
    353 **Buy**
    354 [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)
    355 
    356 
    357 Screws M3x12mm
    358 -----------
    359 Price ~2 eur/25 pcs
    360 
    361 These hold the camera together.
    362 
    363 **Buy**
    364 Your local harware store
    365 
    366 [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)
    367 
    368 
    369 Screws M3x30mm
    370 ---------------
    371 Price ~2 eur/30 pcs
    372 
    373 These hold picamera-body to the body.
    374 
    375 **Buy**
    376 [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)
    377 
    378 
    379 Screws 2.2x9.5mm
    380 ----------------
    381 Price ~1 eur/20 pcs
    382 
    383 These hold the camera/mic together.
    384 
    385 **Buy**
    386 [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)
    387 
    388 LR44 Button cell socket holder
    389 --------------------------------------
    390 Price ~1 eur/pcs
    391 
    392 We only need the metal parts from these, if you have som thin metal you could cut these yourself.
    393 
    394 **Buy**
    395 [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)
    396 
    397 3.5mm Jack to jack aux cable
    398 ----------------------------
    399 Price ~1 eur
    400 
    401 From microphone to mic-in.
    402 
    403 **Buy**
    404 [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) 
    405 
    406 
    407 Rii mini i8+ mini keyboard
    408 --------------------------
    409 Price ~17 eur
    410 
    411 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. 
    412 
    413 **Buy**
    414 [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)
    415 
    416 Parts grand total ~200 eur
    417 
    418 Optional parts
    419 ==============
    420 
    421 Tarina viewfinder 
    422 -----------------
    423 
    424 This is a 3.5 inch viewfinder for Tarina that you can 3d print and make by buying these three parts.
    425 
    426 Lens D42 F110mm
    427 ---------------
    428 Price ~10 eur
    429 
    430 **Buy**
    431 [Aliexpress](https://www.aliexpress.com/item/32958816619.html?spm=a2g0s.9042311.0.0.6fb54c4dGb4wI7)
    432 
    433 Rubber Eyepiece
    434 ---------------
    435 Price ~4 eur
    436 
    437 **Buy**
    438 [Aliexpress](https://www.aliexpress.com/item/32780859922.html?spm=a2g0s.9042311.0.0.27424c4dmVqriG)
    439 
    440 Magnets 25mm x 5mm x 1.5mm
    441 --------------------------
    442 Price ~3 eur 10 pcs
    443 
    444 **Buy**
    445 [Aliexpress](https://www.aliexpress.com/item/32963277127.html?spm=a2g0s.9042311.0.0.27424c4dRc1vCZ)
    446 
    447 
    448 3d printing
    449 ===========
    450 
    451 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.
    452 
    453 You'll find all the 3d parts in the 3d folder.
    454 
    455 * [body](https://github.com/rbckman/tarina/blob/master/3d/tarina-body.stl)
    456 * [button-plate-bottom](https://github.com/rbckman/tarina/blob/master/3d/tarina-button-plate-bottom.stl)
    457 * [button-plate-upper](https://github.com/rbckman/tarina/blob/master/3d/tarina-button-plate-upper.stl)
    458 * [hdmi-cap](https://github.com/rbckman/tarina/blob/master/3d/tarina-hdmi-cap.stl)
    459 * [left-side](https://github.com/rbckman/tarina/blob/master/3d/tarina-left-side.stl)
    460 * [mic-body](https://github.com/rbckman/tarina/blob/master/3d/tarina-mic-body.stl)
    461 * [mic-lid](https://github.com/rbckman/tarina/blob/master/3d/tarina-mic-lid.stl)
    462 * [picamera-body](https://github.com/rbckman/tarina/blob/master/3d/tarina-picamera-body.stl)
    463 * [picamera-body-lid](https://github.com/rbckman/tarina/blob/master/3d/tarina-picamera-body-lid.stl)
    464 * [picamera-bridge](https://github.com/rbckman/tarina/blob/master/3d/tarina-picamera-bridge.stl)
    465 * [right-side](https://github.com/rbckman/tarina/blob/master/3d/tarina-right-side.stl)
    466 * [screen-lid](https://github.com/rbckman/tarina/blob/master/3d/tarina-screen-lid.stl)
    467 
    468 
    469 Post processing
    470 ===============
    471 
    472 This is still a work in progress...
    473 
    474 So far I've come to this conclusion:
    475 
    476 * Put 3d printed parts together with screws.
    477 * Sand with sandpaper from rough to finest (from 120 to 400). I like to sand down all corners making them round.
    478 * Dust off.
    479 * Paint.
    480 * Wait til dry.
    481 * Paint again.
    482 * Wait til dry. I like to wait for atleast a day to make it really dry.
    483 * Sand again.
    484 * Paint and wait again.
    485 * 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.
    486 
    487 
    488 Wiring
    489 ======
    490 
    491 ![Tarina wiring diagram](wiring.png)
    492 
    493 ![3d printed and painted, next up sanding and adding one more paint layer](tarina-build-13.jpg)
    494 
    495 ![Fitting everything together](tarina-build-04.jpg)
    496 
    497 ![Ready for screen](tarina-build-02.jpg)
    498 
    499 ![MCP and buttons](tarina-build-08.jpg)
    500 
    501 ![Sound card ready to be soldered](tarina-build-10.jpg)
    502 
    503 
    504 Putting it together
    505 ===================
    506 
    507 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)
    508 
    509 
    510 Installing software
    511 ===================
    512 
    513 Download latest [Raspbian](https://www.raspberrypi.org/downloads/raspbian/) and follow [install instructions](https://www.raspberrypi.org/documentation/installation/installing-images/README.md).
    514 [Ssh into](https://www.raspberrypi.org/documentation/remote-access/ssh/) Raspberry Pi and run:
    515 
    516 Go to home folder
    517 ```
    518 cd /home/pi
    519 ```
    520 Install git
    521 ```
    522 sudo apt-get install git
    523 ```
    524 Git clone tarina and then run install script with sudo:
    525 ```
    526 git clone https://github.com/rbckman/tarina.git
    527 cd tarina
    528 sudo ./install.sh
    529 ```
    530 You'r ready to rumble:
    531 ```
    532 python3 tarina.py
    533 ```
    534 Happy filming!
    535 
    536 ![Should be looking like this once finnished](tarina-promo.jpg)
    537 
    538 
    539 Tested lenses
    540 =============
    541 
    542 Here is what I'm testing right now.
    543 
    544 2.8mm 3MP F1.2 CS
    545 -----------------
    546 Price ~ 6 €
    547 
    548 This is a good wide all around lens. Recomended!
    549 [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)
    550 
    551 2.5mm 3MP F1.2 CS
    552 -----------------
    553 Price ~ 6 €
    554 
    555 This is an even wider lens. Seems to be the same manufacterer.
    556 [Aliexpress](https://www.aliexpress.com/item/32970488708.html?spm=a2g0o.detail.1000023.1.782e6003A85K1u)
    557 
    558 Yumiki 6-60mm 1/3" CS Lens CCTV Lens IR F1.6 Manual Zoom Manual Iris 
    559 --------------------------------------------------------------------
    560 
    561 [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)
    562 
    563 
    564 Camera Lens 2.8-12mm Varifocal
    565 ------------------------------
    566 
    567 This lens is good. Will write a longer review once I have more filming hours.
    568 
    569 [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)
    570 
    571 ---
    572