Написал програмку для микроконтроллера PIC16F84A которая декодирует PPM сигнал. Хочу проверить её работоспособность. Для этого думал подключить декодер к разъёму “Тренер” на передатчике. Замерил напряжение на контакте “сигнал” а там 9 вольт! 😃
Вопрос: как можно подключить декодер PPM к передатчику, принимая во внимание что на входе микроконтроллера высокий уровень должен быть ~5 вольт, а низкий ~0
Вот так:
Вот так:
Спасибо!
Работает и просто от делителя напряжения.
{"assets_hash":"a8b26fa7f6e768b07a72c8c9aadb9422","page_data":{"users":{"421597863df95500777921a8":{"_id":"421597863df95500777921a8","hid":6097,"name":"pictor88","nick":"pictor88","avatar_id":null,"css":""},"421b85853df95500777920d9":{"_id":"421b85853df95500777920d9","hid":6156,"name":"AlexAndr=","nick":"AlexAndr=","avatar_id":null,"css":""}},"settings":{"can_see_ip":false,"can_report_abuse":false,"can_see_hellbanned":false,"forum_can_view":true,"forum_can_reply":false,"forum_edit_max_time":30,"forum_can_close_topic":false,"forum_show_ignored":false,"forum_mod_can_delete_topics":false,"forum_mod_can_hard_delete_topics":false,"forum_mod_can_see_hard_deleted_topics":false,"forum_mod_can_edit_posts":false,"forum_mod_can_pin_topic":false,"forum_mod_can_edit_titles":false,"forum_mod_can_close_topic":false,"can_vote":false,"forum_mod_can_add_infractions":false,"forum_topic_title_min_length":10,"forum_reply_old_post_threshold":30,"votes_add_max_time":168,"forum_show_post_interval":7,"can_see_deleted_users":false},"section":{"_id":"61c9a54c3df9550077bb50ba","hid":8,"title":"Самодельная электроника, компьютерные программы","parent":"61c9a54c3df9550077bb50f3","description":"Софт для моделирования и черчения, самодельные электронные устройства.","is_category":false,"is_votable":true,"is_writable":true,"cache":{"topic_count":2666,"post_count":48273,"last_post":"65f92eb7c68e4ffcbcbdffa9","last_topic":"5a9828483df9550077cbbef3","last_topic_hid":517779,"last_topic_title":"Самодельный Futaba CIU-2","last_ts":"2024-03-19T06:20:39.517Z","last_user":"4f3e22e13df955007774805c"}},"topic":{"_id":"449a48c79970730077fc220c","hid":44445,"title":"Как подключить ppm декодер к разъёму \"Тренер\" ?","views_count":1797,"last_post_counter":3,"cache":{"post_count":3,"first_post":"449a48c79970730077fc25fd","first_ts":"2006-06-22T07:37:43.000Z","first_user":"421597863df95500777921a8","last_post":"449f89fe9970730077fc2601","last_post_hid":3,"last_ts":"2006-06-26T07:17:18.000Z","last_user":"421597863df95500777921a8"},"st":1,"section":"61c9a54c3df9550077bb50ba"},"subscription":null,"pagination":{"total":3,"per_page":25,"chunk_offset":0},"posts_list_before_post":["paginator","datediff"]},"locale":"en-US","user_id":"000000000000000000000000","user_hid":0,"user_name":"","user_nick":"","user_avatar":null,"is_member":false,"settings":{"can_access_acp":false,"can_use_dialogs":false,"hide_heavy_content":false},"unread_dialogs":false,"footer":{"rules":{"to":"common.rules"},"contacts":{"to":"rco-nodeca.contacts"}},"navbar":{"tracker":{"to":"users.tracker","autoselect":false,"priority":10},"forum":{"to":"forum.index"},"blogs":{"to":"blogs.index"},"clubs":{"to":"clubs.index"},"market":{"to":"market.index.buy"}},"recaptcha":{"public_key":"6LcyTs0dAAAAADW_1wxPfl0IHuXxBG7vMSSX26Z4"},"layout":"common.layout"}