{"id":287,"date":"2012-08-20T02:23:47","date_gmt":"2012-08-20T00:23:47","guid":{"rendered":"http:\/\/majek.mamy.to\/?p=287"},"modified":"2018-11-18T20:36:53","modified_gmt":"2018-11-18T19:36:53","slug":"g-osd-mod-new-input","status":"publish","type":"post","link":"https:\/\/majek.sh\/en\/g-osd-mod-new-input\/","title":{"rendered":"G-OSD mod &#8211; new input"},"content":{"rendered":"<p><strong>G-OSD schematic diagram and making new analog input to it.<br \/>\n<\/strong><br \/>\nI was very curious how everything is connected in G-OSD. It is similar to E-OSD but different &#8211; they added potientiometers, analog inputs and gps. And there was also one mystery: third pot that trims RSSI and do nothing in <a href=\"http:\/\/code.google.com\/p\/cl-osd\/\">CL-OSD<\/a>\ud83d\ude42<\/p>\n<p>So, I made it:<br \/>\n<div id=\"attachment_286\" style=\"width: 650px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-schematic.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-286\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-schematic-640x443.png\" alt=\"G-OSD schematic diagram\" title=\"G-OSD schematic diagram\" width=\"640\" height=\"443\" class=\"size-medium wp-image-286\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-schematic-640x443.png 640w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-schematic.png 897w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-286\" class=\"wp-caption-text\">G-OSD schematic diagram<\/p><\/div><br \/>\nSome conclusions from this schematic arrived:<br \/>\n&#8211; third pot really does nothing unless you want to measure 5V from voltage regulator \ud83d\ude42<br \/>\n&#8211; acording to resistor values in voltage dividers, maximum voltage on both inputs could be as high as 23V. I don&#8217;t know at how high voltage is rated 10uF capacitor (probably it&#8217;s 50V) on battery input, so be carefull with this input. But on Voltage2 it is safe to apply up to 24V.<br \/>\n&#8211; video generation circuit is exactly the same as in E-OSD<br \/>\n&#8211; pin for RSSI haven&#8217;t filtering capacitor, so it could be used also as digital input (for example for measuring RSSI PWM directly from FrSky receiver)<\/p>\n<p>And I used opportunity to make something based on information I learned from schematic and pcb investigation: new analog input! \ud83d\ude42<br \/>\nSo, I made useless pot useful \ud83d\ude42<\/p>\n<p>Warning: this input has some limitations:<br \/>\n&#8211; low input resistance (1kOhm), so it&#8217;s not good for <a href=\"https:\/\/majek.sh\/current-sensor-30a\/\" title=\"Current sensor (30A)\">current sensor<\/a> as it require at least 4.7k. Some simple RSSI pwm converters based on passive elements could also work wrong with it.<br \/>\n&#8211; voltage from pot goes directly to processor, so putting voltage higher than 5V and turning around this pot without extreme care could end up with death of uC<br \/>\nIf you want to measure voltage higher than 5V, put additional resistor in series with this input to be safe. For example for 3C battery, use 2k or 2.2k. If you want more, the rule is: 1kOhm (or more) for every additional 5V.<\/p>\n<p>Now you know limitations of this new input, so let&#8217;s do this \ud83d\ude42<br \/>\nThis is my second mod (here is <a href=\"https:\/\/majek.sh\/g-osd-mod\/\" title=\"G-OSD mod \u2013 adding programming pins (ISP)\">previous<\/a>), so don&#8217;t be surprised by additional pins on pictures, it&#8217;s still G-OSD \ud83d\ude42<br \/>\nAt start (it&#8217;s obvious \ud83d\ude42 ) you should remove shrinkwrap. Then locate third pot (RSSI) and capacitor below it. Please observe that between them there is also a via (small drill\/hole). You must cut trace (under white paint) between capacitor and the via as shown on picture:<br \/>\n<div id=\"attachment_279\" style=\"width: 650px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-cut-here.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-279\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-cut-here-640x415.jpg\" alt=\"G-OSD - new input - where to cut trace\" title=\"G-OSD - new input - where to cut trace\" width=\"640\" height=\"415\" class=\"size-medium wp-image-279\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-cut-here-640x415.jpg 640w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-cut-here.jpg 1017w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-279\" class=\"wp-caption-text\">G-OSD &#8211; new input &#8211; where to cut trace<\/p><\/div><\/p>\n<p>And then you have on opposite side of pcb quite large pad to solder new input:<br \/>\n<div id=\"attachment_285\" style=\"width: 650px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-new-input.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-285\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-new-input-640x373.jpg\" alt=\"G-OSD - new input pad\" title=\"G-OSD - new input pad\" width=\"640\" height=\"373\" class=\"size-medium wp-image-285\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-new-input-640x373.jpg 640w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-new-input.jpg 1024w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-285\" class=\"wp-caption-text\">G-OSD &#8211; new input pad<\/p><\/div><\/p>\n<p>Do you want it look well and professional? Stay with me for another few pictures \ud83d\ude42<\/p>\n<p>Get new angle pinheader, remove unnecessary pins and cut middle two pins to the edge of plastic as on this picture:<br \/>\n<div id=\"attachment_280\" style=\"width: 650px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-280\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input1-640x337.jpg\" alt=\"G-OSD - new input - preparing new pinheader\" title=\"G-OSD - new input - preparing new pinheader\" width=\"640\" height=\"337\" class=\"size-medium wp-image-280\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input1-640x337.jpg 640w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input1.jpg 1024w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-280\" class=\"wp-caption-text\">G-OSD &#8211; new input &#8211; preparing new pinheader<\/p><\/div><\/p>\n<p>Get CA and glue pinheader to pcb with pins in right position:<br \/>\n<div id=\"attachment_281\" style=\"width: 650px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input2.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-281\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input2-640x357.jpg\" alt=\"G-OSD - new input - glue new pinheader\" title=\"G-OSD - new input - glue new pinheader\" width=\"640\" height=\"357\" class=\"size-medium wp-image-281\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input2-640x357.jpg 640w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input2.jpg 1024w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-281\" class=\"wp-caption-text\">G-OSD &#8211; new input &#8211; glue new pinheader into place using CA<\/p><\/div><\/p>\n<p>After few seconds everything is steady, so you could easily solder pins to pads below:<br \/>\n<div id=\"attachment_282\" style=\"width: 650px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input3.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-282\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input3-640x320.jpg\" alt=\"G-OSD - new input - solder connections\" title=\"G-OSD - new input - solder connections\" width=\"640\" height=\"320\" class=\"size-medium wp-image-282\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input3-640x320.jpg 640w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input3.jpg 1024w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-282\" class=\"wp-caption-text\">G-OSD &#8211; new input &#8211; solder connections<\/p><\/div><\/p>\n<p>Now you have one pad connected to new input, second one you can connect by wire to some near gnd pad.<br \/>\nNow you can put new heat wrap, and that&#8217;s all.<\/p>\n<p>But&#8230;<br \/>\nI don&#8217;t like make things twice, so I put few addidtional pins as RFU (and there will be nice to connect i2c and tx pins in future \ud83d\ude42 )<br \/>\n<div id=\"attachment_283\" style=\"width: 650px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input4.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-283\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input4-640x318.jpg\" alt=\"G-OSD - more inputs :-)\" title=\"G-OSD - more inputs :-)\" width=\"640\" height=\"318\" class=\"size-medium wp-image-283\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input4-640x318.jpg 640w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input4.jpg 1024w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-283\" class=\"wp-caption-text\">G-OSD &#8211; more inputs \ud83d\ude42<\/p><\/div><br \/>\n<div id=\"attachment_284\" style=\"width: 650px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input5.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-284\" src=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input5-640x316.jpg\" alt=\"G-OSD - like a new :-)\" title=\"G-OSD - like a new :-)\" width=\"640\" height=\"316\" class=\"size-medium wp-image-284\" srcset=\"https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input5-640x316.jpg 640w, https:\/\/majek.sh\/wp-content\/uploads\/2012\/08\/g-osd-input5.jpg 1024w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><p id=\"caption-attachment-284\" class=\"wp-caption-text\">G-OSD &#8211; like a new \ud83d\ude42<\/p><\/div><\/p>","protected":false},"excerpt":{"rendered":"<p>G-OSD schematic diagram and making new analog input to it. I was very curious how everything is connected in G-OSD. It is similar to E-OSD but different &#8211; they added potientiometers, analog inputs and gps. And there was also one <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/majek.sh\/en\/g-osd-mod-new-input\/\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,5],"tags":[24,22,25,13],"_links":{"self":[{"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/posts\/287"}],"collection":[{"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/comments?post=287"}],"version-history":[{"count":35,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/posts\/287\/revisions"}],"predecessor-version":[{"id":1917,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/posts\/287\/revisions\/1917"}],"wp:attachment":[{"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/media?parent=287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/categories?post=287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/majek.sh\/en\/wp-json\/wp\/v2\/tags?post=287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}