{"id":2538,"date":"2018-08-17T14:24:00","date_gmt":"2018-08-17T11:24:00","guid":{"rendered":"http:\/\/dima.fi\/blog\/?p=2538"},"modified":"2020-03-08T15:04:00","modified_gmt":"2020-03-08T13:04:00","slug":"compact-tilt-camera-system","status":"publish","type":"post","link":"https:\/\/dima.fi\/blog\/compact-tilt-camera-system\/","title":{"rendered":"DiA Compact tilt camera system"},"content":{"rendered":"\n<p>This is an experiment in making the most compact tilt camera system for FPV quads and planes. The main idea is to make the whole system in the size of the full-size fpv camera. So the whole system could be placed into standard mounts without a hassle.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Compact tilt camera system\" width=\"560\" height=\"420\" src=\"https:\/\/www.youtube.com\/embed\/XwHac7xXaKo?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>You&#8217;ll need a longer screw for link mount to attach it to the camera.<br>Experiment with position and the length of the link and the angle of the arm. With all combination, you can set the camera to be more down tilt or up tilt, but unfortunately not both. There is no space for different linkage to make tilting wider.<\/p>\n\n\n\n<p>Download files from <a href=\"https:\/\/www.thingiverse.com\/thing:3053840\"><strong>Thingiverse.com\/thing:3053840<\/strong><\/a><\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Compact tilt camera system\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/0CTBhsIYnAw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Setup and configuration<\/h2>\n\n\n\n<p>This setup requires spare PWM-output for servo usage and most 4 motor FC&#8217;s has 4 ESC signal pads and RGB-led pad that can be used with less hassle. But I need 4 motors and I need also the RGB-leds. I had CLRacing F4S and Pyrodrone F4 FC but no luck with them.<br><br>But if you don&#8217;t need the rgb-leds, then you can use any FC that has this pad.<br><br>I&#8217;ve got Airbot&#8217;s OmniNXT F7 FC that has 6 PWM outputs for motors and servos. But it still required some remapping.<br><br>Here we go, at the beginning, I wrote two options for RGB-pad and 5th motor signal pad.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h3 class=\"wp-block-heading\"><strong>RGB-pad option<\/strong><\/h3>\n\n\n\n<p>First, we need to find out the RGB-pad&#8217;s address.<br>In CLI type&nbsp;<code>resource<\/code>&nbsp;command and find in the list where the LED_STRIP is assigned. In Pyrodrone FC it looks like this<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">resource LED_STRIP 1 B08<\/code><\/pre>\n\n\n\n<p>So the address is&nbsp;<em>B08<\/em>.<br>Now we should free this resource by typing<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">resource LED_STRIP 1 none<\/code><\/pre>\n\n\n\n<p>And now we assign SERVO 1 resource to this address<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">resource SERVO 1 B08<\/code><\/pre>\n\n\n\n<p>Remember to save the changes by typing&nbsp;<code>save<\/code>\ud83d\ude42<br><br>Now we have the first servo assigned to led-pad.<br><br>In Betaflight&#8217;s Configuration tab disable&nbsp;<em>LED_STRIP<\/em>&nbsp;option.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<h3 class=\"wp-block-heading\"><strong>5th motor signal pad option<\/strong><\/h3>\n\n\n\n<p>First, we have to find out the address of S5 pad. You can check the current resource list by typing&nbsp;<code>resource<\/code>&nbsp;in CLI. Different FCs have different resource maps.<\/p>\n\n\n\n<p>There you may see&nbsp;<em>MOTOR 5<\/em>&nbsp;or&nbsp;<em>PWM 5<\/em>&nbsp;or such. If you are lucky, there could be already&nbsp;<em>SERVO 1<\/em>&nbsp;assigned to it. If there is no info about S5 pad, try to google it. If there is no luck. Use voltage meter beeper and try to trace down to which STM&#8217;s leg it is traced. Then google this chip leg map and you&#8217;ll see the address on the traced leg.<\/p>\n\n\n\n<p>In my situation, on OmniNXT F7 FC, S5 and S6 signal pads didn&#8217;t have any resources assigned. So google told me that S5 and S6 pad have C08 and C09 addresses. Used C08 at first, but turned out that they are reversed. S5 is C09 and S6 is C08.<\/p>\n\n\n\n<p>So next we are going to assign servo resource to it<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">resource SERVO 1 C09<\/code><\/pre>\n\n\n\n<p>Now we have the first servo assigned to S5 pad.<\/p>\n<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Configuration continues here:<\/strong><\/h3>\n\n\n\n<p>In Betaflight&#8217;s Configuration tab enable&nbsp;<em>SERVO_TILT<\/em>&nbsp;option.<\/p>\n\n\n\n<p>Now enable Expert Mode and go to Servo tab.<\/p>\n\n\n\n<p>There&nbsp;<em>Servo 0<\/em>&nbsp;presents a&nbsp;<em>SERVO 1<\/em>&nbsp;resource. So we are gonna use it. Just tap the channel you&#8217;ve configured your transmitter input to. Check a correct aux in Receiver tab. Remember to save.<\/p>\n\n\n\n<p>You can now check in the Motors tab that first servo is moving accordingly to your knob&#8217;s movement.<\/p>\n\n\n\n<p>If you have soldered already servo&#8217;s signal wire to S5 pad, you should see servo moving.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"FPV Beat - Mr Oizo feat. Armattan Rooster\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/z255FIb-cpU?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><figcaption>Mr. Oizo feat. Armattan Rooster<\/figcaption><\/figure>\n\n\n\n<p><strong>2018-08-31<\/strong>&nbsp;*Version add**<br>I did longer version of this body for those who don&#8217;t want to remove the connector or want to use bigger cameras like Spilt Mini. But this will require 10mm more space in the quad.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is an experiment in making the most compact tilt camera system for FPV quads and planes. The main idea is to make the whole system in the size of the full-size fpv camera. So the whole system could be placed into standard mounts without a hassle. You&#8217;ll need a longer screw for link mount [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2541,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"fifu_image_url":"","fifu_image_alt":"","footnotes":""},"categories":[176],"tags":[188,190,196],"class_list":["post-2538","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects","tag-camera","tag-fpv","tag-thingiverse","has-thumbnail"],"_links":{"self":[{"href":"https:\/\/dima.fi\/blog\/wp-json\/wp\/v2\/posts\/2538","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dima.fi\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dima.fi\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dima.fi\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dima.fi\/blog\/wp-json\/wp\/v2\/comments?post=2538"}],"version-history":[{"count":5,"href":"https:\/\/dima.fi\/blog\/wp-json\/wp\/v2\/posts\/2538\/revisions"}],"predecessor-version":[{"id":2546,"href":"https:\/\/dima.fi\/blog\/wp-json\/wp\/v2\/posts\/2538\/revisions\/2546"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dima.fi\/blog\/wp-json\/wp\/v2\/media\/2541"}],"wp:attachment":[{"href":"https:\/\/dima.fi\/blog\/wp-json\/wp\/v2\/media?parent=2538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dima.fi\/blog\/wp-json\/wp\/v2\/categories?post=2538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dima.fi\/blog\/wp-json\/wp\/v2\/tags?post=2538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}