{"id":225531,"date":"2014-06-07T00:58:03","date_gmt":"2014-06-06T20:58:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=225531"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=225531","title":{"rendered":"<span class=\"post_title\">\u0414\u0435\u043b\u0430\u0435\u043c \u043b\u0430\u0437\u0435\u0440\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0440 \u0438\u0437 (\u043f\u043e\u0447\u0442\u0438) \u043f\u043e\u0434\u0440\u0443\u0447\u043d\u044b\u0445 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432<\/span>"},"content":{"rendered":"<div class=\"content html_format\">     \t\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u044f \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c <a href=\"http:\/\/ru.wikipedia.org\/wiki\/%D0%9B%D0%B0%D0%B7%D0%B5%D1%80%D0%BD%D0%B0%D1%8F_%D0%B0%D1%80%D1%84%D0%B0\">\u041b\u0430\u0437\u0435\u0440\u043d\u0443\u044e \u0430\u0440\u0444\u0443<\/a>, \u043d\u043e \u043f\u043e\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u2014 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043b\u0430\u0437\u0435\u0440\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0440 \u2014 \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043b\u0430\u0437\u0435\u0440\u043e\u043c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0444\u0438\u0433\u0443\u0440\u044b, \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u0430 ILDA. \u042f \u0432 \u043a\u0443\u0440\u0441\u0435, \u0447\u0442\u043e \u043c\u043d\u043e\u0433\u0438\u0435, \u043a\u0442\u043e \u0431\u0435\u0440\u0435\u0442\u0441\u044f \u0437\u0430 \u0441\u0431\u043e\u0440\u043a\u0443 \u043b\u0430\u0437\u0435\u0440\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0440\u0430, \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0433\u043e \u0433\u0430\u043b\u044c\u0432\u0430\u043d\u043e\u043c\u0435\u0442\u0440\u0430\u043c\u0438 (\u0442\u0430\u043a \u0438 \u043d\u0435 \u043f\u043e\u043d\u044f\u043b \u043a\u0430\u043a \u043b\u0443\u0447\u0448\u0435 \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435 \u201cgalvo scanner&quot;), \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0434\u0435\u0448\u0435\u0432\u044b\u0435 \u0441\u043b\u0435\u0433\u043a\u0430 \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0437\u0432\u0443\u043a\u043e\u0432\u044b\u0435 \u043f\u043b\u0430\u0442\u044b \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430. \u042f \u043f\u043e\u0448\u0435\u043b \u0438\u043d\u044b\u043c \u043f\u0443\u0442\u0435\u043c, \u0442\u0430\u043a \u043a\u0430\u043a \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0441\u0447\u0435\u0442\u0435 \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u0435\u0437 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430.<\/p>\n<p>  <iframe loading=\"lazy\" width=\"560\" height=\"349\" src=\"\/\/www.youtube.com\/embed\/QHp79ptwRd4?wmode=opaque\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0438\u0437 \u0447\u0435\u0433\u043e \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u043c\u043e\u0439 \u043b\u0430\u0437\u0435\u0440\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0440. \u0421\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0432\u0441\u0435\u0445 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u043e\u043a\u043e\u043b\u043e 8000 \u0440\u0443\u0431, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u044b \u2014 \u044d\u0442\u043e 70mW \u043b\u0430\u0437\u0435\u0440\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c.  <\/p>\n<ol>\n<li><a href=\"http:\/\/www.ebay.com\/itm\/20Kpps-HightSpeed-galvo-scanner-max35Kpps-\/251501064829?pt=US_Stage_Lighting_Single_Units&amp;hash=item3a8ea1b27d\">\u0413\u0430\u043b\u044c\u0432\u0430\u043d\u043e\u043c\u0435\u0442\u0440\u044b \u0438 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u044b \u043a \u043d\u0438\u043c<\/a> \u0434\u043b\u044f \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u0438\u044f \u043b\u0443\u0447\u0430 \u043b\u0430\u0437\u0435\u0440\u0430 \u043f\u043e \u043e\u0441\u044f\u043c X\/Y<\/li>\n<li>532\u043d\u043c 70mW \u043b\u0430\u0437\u0435\u0440\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0441 \u043f\u0438\u0442\u0430\u043d\u0438\u0435\u043c \u043e\u0442 5\u0412 Dragon Lasers SGLM70<\/li>\n<li>Texas Instruments Stellaris Launchpad<\/li>\n<li>\u0421\u0430\u043c\u043e\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u043b\u0430\u0442\u0430 \u0441 \u0426\u0410\u041f <a href=\"http:\/\/www.analog.com\/static\/imported-files\/data_sheets\/AD7249.pdf\">AD7249BRZ<\/a><\/li>\n<li>\u0411\u043b\u043e\u043a \u043f\u0438\u0442\u0430\u043d\u0438\u044f<\/li>\n<\/ol>\n<p>  <a name=\"habracut\"><\/a>  <\/p>\n<h4>\u0416\u0435\u043b\u0435\u0437\u043e<\/h4>\n<p>  \u0412 \u043c\u043e\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f Stellaris Launchpad \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u00ab\u043c\u043e\u0437\u0433\u0430\u00bb (\u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043e\u043d \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u0438 \u0438\u043c\u0435\u0435\u0442 \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u0443\u044e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 USB) \u0438 12-\u0431\u0438\u0442\u043d\u044b\u0439 \u0434\u0432\u0443\u0445\u043a\u0430\u043d\u0430\u043b\u044c\u043d\u044b\u0439 \u0426\u0410\u041f \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u043e\u043c Analog Devices <a href=\"http:\/\/www.analog.com\/static\/imported-files\/data_sheets\/AD7249.pdf\">AD7249BRZ<\/a>. \u0414\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u0438\u0435\u043c \u043b\u0443\u0447\u0430 \u043d\u0430 \u0432\u0445\u043e\u0434 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0434\u0430\u0432\u0430\u0442\u044c \u0430\u043d\u0430\u043b\u043e\u0433\u043e\u0432\u044b\u0439 \u0441\u0438\u0433\u043d\u0430\u043b \u0432 \u0434\u0438\u0430\u043f\u0430\u0437\u043e\u043d\u0435 \u043e\u0442 -5 \u0434\u043e 5 \u0432\u043e\u043b\u044c\u0442. \u0426\u0410\u041f AD7249BRZ \u043a\u0430\u043a \u0440\u0430\u0437 \u0443\u043c\u0435\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 \u0442\u0430\u043a\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435 (\u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0442 0 \u0434\u043e 5 \u0432\u043e\u043b\u044c\u0442 \u0438 \u043e\u0442 0 \u0434\u043e 10 \u0432\u043e\u043b\u044c\u0442). \u0414\u043b\u044f \u043d\u0435\u0433\u043e \u044f \u0440\u0430\u0437\u0432\u0435\u043b \u0432 Eagle \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u0443\u044e \u043f\u043b\u0430\u0442\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043a Stellaris Launchpad. \u041f\u043b\u0430\u0442\u0430 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u0434\u0432\u0443\u0445\u043f\u043e\u043b\u044f\u0440\u043d\u043e\u0433\u043e \u043f\u0438\u0442\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u044b <a href=\"http:\/\/www.intersil.com\/content\/dam\/Intersil\/documents\/icl7\/icl7660.pdf\">ICL7660<\/a>. \u0414\u043b\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0433\u043e \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c\u043e\u0433\u043e \u0441 \u0433\u0430\u043b\u044c\u0432\u0430\u043d\u043e\u043c\u0435\u0442\u0440\u0430\u043c\u0438 \u0431\u043b\u043e\u043a\u0430 \u043f\u0438\u0442\u0430\u043d\u0438\u044f (15\u0412) \u0432 \u043d\u0443\u0436\u043d\u044b\u0435 \u043c\u043d\u0435 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043b\u0438\u043d\u0435\u0439\u043d\u044b\u0439 \u0440\u0435\u0433\u0443\u043b\u044f\u0442\u043e\u0440 LM317, \u0447\u0442\u043e \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043d\u0435 \u0441\u0430\u043c\u044b\u043c \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u044b\u043c \u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c, \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0434\u043b\u044f \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043b\u0430\u0437\u0435\u0440\u043d\u043e\u0433\u043e \u043c\u043e\u0434\u0443\u043b\u044f \u2014 \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e LM-\u043a\u0430 \u0441 \u0431\u043e\u043b\u044c\u0448\u0438\u043c \u0440\u0430\u0434\u0438\u0430\u0442\u043e\u0440\u043e\u043c (\u0432\u0438\u0434\u0435\u043d \u043d\u0430 \u0432\u0438\u0434\u0435\u043e) \u0447\u0435\u0440\u0435\u0437 \u043c\u0438\u043d\u0443\u0442 10 \u0440\u0430\u0431\u043e\u0442\u044b \u043d\u0430\u0433\u0440\u0435\u0432\u0430\u0435\u0442\u0441\u044f \u0433\u0440\u0430\u0434\u0443\u0441\u043e\u0432 \u0434\u043e 70. \u0411\u0435\u0437 \u0440\u0430\u0434\u0438\u0430\u0442\u043e\u0440\u0430 \u043e\u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u0435\u0440\u0435\u0433\u0440\u0435\u0432\u0430\u043b\u0430\u0441\u044c \u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u043b\u0430\u0441\u044c \u043e\u0442 \u043f\u0435\u0440\u0435\u0433\u0440\u0435\u0432\u0430 (\u0430 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u043d\u0435\u0439 \u0438 \u043b\u0430\u0437\u0435\u0440\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c, \u0438\u0437-\u0437\u0430 \u0447\u0435\u0433\u043e \u044f \u043f\u043e\u043d\u0430\u0447\u0430\u043b\u0443 \u0440\u0435\u0448\u0438\u043b \u0447\u0442\u043e \u043e\u043d \u0441\u0433\u043e\u0440\u0435\u043b \u0438 \u0447\u0443\u0442\u044c \u043d\u0435 \u043e\u0442\u043b\u043e\u0436\u0438\u043b \u043f\u0430\u0440\u0443 \u043a\u0438\u0440\u043f\u0438\u0447\u0435\u0439, \u0442.\u043a. \u043f\u0440\u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0439 \u043f\u043e\u0434\u0430\u0447\u0435 \u043f\u0438\u0442\u0430\u043d\u0438\u044f \u043e\u043d \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0430\u043b\u0441\u044f \u2014 \u043a\u0430\u043a \u0443\u0436\u0435 \u043f\u043e\u0442\u043e\u043c \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c \u0434\u043e \u0442\u0435\u0445 \u043f\u043e\u0440, \u043f\u043e\u043a\u0430 \u043d\u0435 \u043e\u0441\u0442\u044b\u043d\u0435\u0442 \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u0430).<\/p>\n<p>  \u041b\u0430\u0437\u0435\u0440\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u043b TTL-\u043c\u043e\u0434\u0443\u043b\u044f\u0446\u0438\u044e, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043a\u043e\u0433\u0434\u0430 \u043c\u043d\u0435 \u043d\u0430\u0434\u043e\u0435\u043b\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u043e\u0434\u0438\u0442\u044c \u043b\u0430\u0437\u0435\u0440\u043e\u043c \u0432 \u0440\u0430\u0437\u043d\u044b\u0435 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u044f \u0437\u0430\u0434\u0443\u043c\u0430\u043b\u0441\u044f \u043e \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0432 \u043d\u0443\u0436\u043d\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043b\u0443\u0447. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u0434\u043e\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043b\u0430\u0437\u0435\u0440\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u043f\u0430\u044f\u043b\u044c\u043d\u0438\u043a\u043e\u043c. \u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435 \u043a\u0438\u0442\u0430\u0439\u0441\u043a\u0438\u0435 \u043b\u0430\u0437\u0435\u0440\u043d\u044b\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0432\u0435\u0441\u044c\u043c\u0430 \u043f\u043e\u0445\u043e\u0436\u0438 \u0434\u0440\u0443\u0433 \u043d\u0430 \u0434\u0440\u0443\u0433\u0430, \u043f\u0440\u043e\u0441\u0442\u044b, \u0438 \u0441\u0434\u0435\u043b\u0430\u043d\u044b \u043d\u0430 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u043c \u0443\u0441\u0438\u043b\u0438\u0442\u0435\u043b\u0435 LM358. \u041f\u043e\u0434\u043f\u0430\u044f\u0432 \u043a \u0435\u0433\u043e \u043d\u043e\u0433\u0430\u043c 3 \u0438 4 (\u043d\u0435\u0438\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u044e\u0449\u0438\u0439 \u0432\u0445\u043e\u0434 \u0438 \u0437\u0435\u043c\u043b\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e) \u044d\u043c\u0438\u0442\u0442\u0435\u0440 \u0438 \u043a\u043e\u043b\u043b\u0435\u043a\u0442\u043e\u0440 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u043f\u043e\u043f\u0430\u0432\u0448\u0435\u0433\u043e\u0441\u044f \u0431\u0438\u043f\u043e\u043b\u044f\u0440\u043d\u043e\u0433\u043e \u0442\u0440\u0430\u043d\u0437\u0438\u0441\u0442\u043e\u0440\u0430 2N4401, \u044f, \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u043b\u0430\u0437\u0435\u0440\u0430, \u043f\u043e\u0434\u0430\u0432\u0430\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0439 \u0441\u0438\u0433\u043d\u0430\u043b \u043d\u0430 \u0431\u0430\u0437\u0443 \u0442\u0440\u0430\u043d\u0437\u0438\u0441\u0442\u043e\u0440\u0430:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/a79\/17b\/8a8\/a7917b8a862cdf9b9afa3916221ba185.jpg\"\/>  <\/p>\n<h6>\u0414\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0439 \u043d\u0430\u043f\u0438\u043b\u044c\u043d\u0438\u043a\u043e\u043c \u043b\u0430\u0437\u0435\u0440\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c<\/h6>\n<p>  \u0421\u0445\u0435\u043c\u0430 \u0438 \u043f\u043b\u0430\u0442\u0430 \u0434\u043b\u044f AD7249BRZ \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u043d\u0438\u0436\u0435. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0447\u0438\u0442\u0430\u0442\u0435\u043b\u044c \u043d\u0430\u0439\u0434\u0435\u0442 \u0432 \u0441\u0445\u0435\u043c\u0435 \u043e\u0448\u0438\u0431\u043a\u0443, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432 \u043d\u0435\u0439 \u043f\u043e \u043d\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u043c \u043c\u043d\u0435 \u043f\u0440\u0438\u0447\u0438\u043d\u0430\u043c \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0447\u0430\u0441\u0442\u044c \u0441 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u043c \u0443\u0441\u0438\u043b\u0438\u0442\u0435\u043b\u0435\u043c, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438\u0437\u0432\u0430\u043d\u0430 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0439 \u0441\u0438\u0433\u043d\u0430\u043b \u0441\u0445\u0435\u043c\u044b <a href=\"http:\/\/ru.wikipedia.org\/wiki\/%D0%91%D0%B0%D0%BB%D0%B0%D0%BD%D1%81%D0%BD%D0%BE%D0%B5_%D0%BF%D0%BE%D0%B4%D0%BA%D0%BB%D1%8E%D1%87%D0%B5%D0%BD%D0%B8%D0%B5\">\u0431\u0430\u043b\u0430\u043d\u0441\u043d\u044b\u043c<\/a> \u0434\u043b\u044f \u043f\u0443\u0449\u0435\u0439 \u0437\u0430\u0449\u0438\u0442\u044b \u043e\u0442 \u043f\u043e\u043c\u0435\u0445. \u041c\u043e\u0439 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440 \u0432\u043c\u0435\u0441\u0442\u043e \u0431\u0430\u043b\u0430\u043d\u0441\u043d\u043e\u0433\u043e \u0441\u0438\u0433\u043d\u0430\u043b\u0430 \u0432\u044b\u0434\u0430\u0435\u0442 \u043d\u0435\u0431\u0430\u043b\u0430\u043d\u0441\u043d\u044b\u0439, \u043d\u043e, \u0442\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0438 \u0442\u0430\u043a.<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/f84\/06b\/c26\/f8406bc265d01d86de56e5af03c44b2e.jpg\"\/><br \/>  \u041d\u0430\u0434\u0435\u044e\u0441\u044c \u0432\u044b \u043d\u0435 \u0438\u0441\u043f\u0443\u0433\u0430\u043b\u0438\u0441\u044c \u0441\u0442\u0440\u0430\u0448\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0438 \u043f\u043b\u0430\u0442\u044b \u0441 \u043d\u0430\u043b\u0435\u0442\u043e\u043c \u0443 \u0432\u044b\u0432\u043e\u0434\u043e\u0432 \u043c\u0438\u043a\u0440\u043e\u0441\u0445\u0435\u043c\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u043e\u0442\u0438\u0440\u043a\u0438 \u044d\u0442\u0438\u043b\u043e\u0432\u044b\u043c \u0441\u043f\u0438\u0440\u0442\u043e\u043c. \u041a\u0441\u0442\u0430\u0442\u0438, \u043f\u043e \u044d\u0442\u043e\u0439 \u043f\u0440\u0438\u0447\u0438\u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u044e\u0442 \u043e\u0442\u043c\u044b\u0432\u0430\u0442\u044c \u0444\u043b\u044e\u0441 \u0438\u0437\u043e\u043f\u0440\u043e\u043f\u0438\u043b\u043e\u0432\u044b\u043c \u0441\u043f\u0438\u0440\u0442\u043e\u043c, \u0442\u0430\u043a \u043a\u0430\u043a \u043e\u043d \u043d\u0435 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0442\u0430\u043a\u0438\u0445 \u0440\u0430\u0437\u0432\u043e\u0434\u043e\u0432. \u041a\u0441\u0442\u0430\u0442\u0438, \u043a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0447\u0442\u043e \u044d\u0442\u043e \u0437\u0430 \u0440\u0430\u0437\u044a\u0435\u043c\u044b \u0442\u0430\u043a\u0438\u0435 \u0441 \u0437\u0430\u0449\u0435\u043b\u043a\u043e\u0439 \u043d\u0430 \u043f\u043b\u0430\u0442\u0435 \u2014 \u044d\u0442\u043e \u0440\u0430\u0437\u044a\u0435\u043c\u044b Molex (22-23-2021 \u0440\u043e\u0437\u0435\u0442\u043a\u0430, 22-01-3027 \u0432\u0438\u043b\u043a\u0430, 08-50-0114 \u043a\u043e\u043d\u0442\u0430\u043a\u0442 \u0434\u043b\u044f \u0432\u0438\u043b\u043a\u0438), \u0437\u0430\u043a\u0430\u0437\u044b\u0432\u0430\u043b \u0438\u0445 \u0447\u0435\u0440\u0435\u0437 Digikey, \u0442\u0430\u043a \u043a\u0430\u043a \u0443 \u043a\u0438\u0442\u0430\u0439\u0446\u0435\u0432 \u043e\u043d\u0438 \u0441\u0442\u043e\u044f\u0442 \u043a\u0430\u043a-\u0442\u043e \u043d\u0435\u043f\u0440\u0438\u043b\u0438\u0447\u043d\u043e \u0434\u043e\u0440\u043e\u0433\u043e.<\/p>\n<h4>\u0421\u043e\u0444\u0442<\/h4>\n<p>  \u041d\u0430 \u044d\u0442\u043e\u043c \u0432\u0440\u043e\u0434\u0435 \u0432\u0441\u0435 \u0441\u0430\u043c\u043e\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0435 \u043f\u0440\u043e \u0436\u0435\u043b\u0435\u0437\u043d\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u0442\u0430\u043a \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043a \u0447\u0430\u0441\u0442\u0438 \u0441\u043e\u0444\u0442\u043e\u0432\u043e\u0439. \u0421\u043e\u0441\u0442\u043e\u0438\u0442 \u043e\u043d\u0430 \u0438\u0437 \u0434\u0432\u0443\u0445 \u0447\u0430\u0441\u0442\u0435\u0439 \u2014 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043a\u0438 \u0434\u043b\u044f \u041f\u041a \u0438 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u0434\u043b\u044f Stellaris Launchpad, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442 USB bulk-\u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0441 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u043e\u043c \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u043f\u043e 32 \u0431\u0438\u0442\u0430 \u0432 \u043a\u0430\u0436\u0434\u043e\u043c. \u0424\u043e\u0440\u043c\u0430\u0442 \u0441\u044d\u043c\u043f\u043b\u0430 \u043e\u043f\u0438\u0441\u0430\u043d \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439:  <\/p>\n<pre><code class=\"cpp\">typedef struct { \tunsigned x:12; \/\/ \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430 X \tunsigned rx:4; \/\/ \u0444\u043b\u0430\u0433 (\u0432\u043a\u043b\/\u0432\u044b\u043a\u043b \u043b\u0430\u0437\u0435\u0440) \tunsigned y:12; \/\/ \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430 Y \tunsigned ry:4; \/\/ \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f } sample_t; <\/code><\/pre>\n<p>  \u0423\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 USB-\u0431\u0443\u0444\u0435\u0440\u044b \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u043c 512 \u0431\u0430\u0439\u0442, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441 \u041f\u041a \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0437\u0430\u043f\u0430\u0441\u043e\u043c, \u0438 \u0441 \u0442\u0430\u043a\u043e\u0439 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c\u044e, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0438\u043b\u0438 \u043e\u043f\u0443\u0441\u0442\u043e\u0448\u0435\u043d\u0438\u0435 \u0431\u0443\u0444\u0435\u0440\u0430, \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0435. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u044b\u0435 \u0433\u0430\u043b\u044c\u0432\u0430\u043d\u043e\u043c\u0435\u0442\u0440\u044b \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d\u044b \u043d\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 20000 \u0442\u043e\u0447\u0435\u043a \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443, \u0442\u043e \u0435\u0441\u0442\u044c \u044d\u0442\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u0430\u044f \u0447\u0430\u0441\u0442\u043e\u0442\u0430 \u0441\u0435\u043c\u043f\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f. \u0412 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e\u0442 USB \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0431\u0430\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e <code>SysCtlDelay<\/code>. \u0420\u0435\u0433\u0443\u043b\u0438\u0440\u0443\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0441\u0438\u0441\u0442\u0435\u043c\u0443, \u0442\u0430\u043a \u0447\u0442\u043e\u0431\u044b \u0442\u0435\u0441\u0442\u043e\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430 ILDA \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u043b\u0430\u0441\u044c \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/bd6\/3b6\/0e5\/bd63b60e53c92baf1fa65e1ee9636866.jpg\"\/><br \/>  \u0417\u0435\u043b\u0435\u043d\u044b\u0439 \u0441\u0432\u0435\u0442\u043e\u0434\u0438\u043e\u0434 \u043d\u0430 \u0432\u0438\u0434\u0435\u043e \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u043f\u043e\u0441\u0442\u0430 \u043c\u0438\u0433\u0430\u0435\u0442 \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u0430\u0447\u043a\u0438 \u0432 20000 \u0441\u044d\u043c\u043f\u043b\u043e\u0432. \u0422\u043e \u0435\u0441\u0442\u044c, \u0432 \u0438\u0434\u0435\u0430\u043b\u0435 \u043e\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u043c\u0438\u0433\u0430\u0442\u044c \u0440\u043e\u0432\u043d\u043e 1 \u0440\u0430\u0437 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0443.<\/p>\n<p>  \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0434\u043b\u044f \u041f\u041a \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0430 \u043d\u0430 <code>playilda.c<\/code> \u0438\u0437 \u043f\u0430\u043a\u0435\u0442\u0430 <a href=\"https:\/\/github.com\/marcan\/openlase\">OpenLase<\/a>, \u043e\u0434\u043d\u0430\u043a\u043e \u043e\u0442\u0442\u0443\u0434\u0430 \u0432\u044b\u0440\u0435\u0437\u0430\u043d\u043e \u0432\u0441\u0435 \u043b\u0438\u0448\u043d\u0435\u0435 \u0438 \u0432\u043c\u0435\u0441\u0442\u043e \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c JACK \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f libusb \u0434\u043b\u044f \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 Stellaris Launchpad.  <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0418\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u044b \u0434\u043b\u044f \u041f\u041a<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"cpp\">#include &lt;stdlib.h&gt; #include &lt;sys\/time.h&gt; #include &lt;time.h&gt; #include &lt;stdio.h&gt; #include &lt;string.h&gt; #include &lt;libusb-1.0\/libusb.h&gt; #include &lt;iostream&gt; #include &lt;string&gt; #include &lt;vector&gt;  #define MAGIC 0x41444C49  static inline uint16_t swapshort(uint16_t v) { \treturn (v &gt;&gt; 8) | (v &lt;&lt; 8); }  float scale = 1.0;  typedef struct { \tuint32_t\tmagic; \tuint8_t\t\tpad1[3]; \tuint8_t\t\tformat; \tchar\t\tname[8]; \tchar\t\tcompany[8]; \tuint16_t \tcount; \tuint16_t \tframeno; \tuint16_t \tframecount; \tuint8_t\t\tscanner; \tuint8_t \tpad2; } __attribute__((packed)) ilda_hdr;  #define BLANK 0x40 #define LAST  0x80  typedef struct { \tint16_t x; \tint16_t y; \tint16_t z; \tuint8_t state; \tuint8_t color; } __attribute__((packed)) icoord3d;  typedef struct coord3d { \tint16_t x; \tint16_t y; \tint16_t z; \tuint8_t state;  \tcoord3d(int16_t x, int16_t y, int16_t z, uint8_t state) : x(x), y(y), z(z), state(state) { } } coord3d;  typedef struct { \tstd::vector&lt;coord3d&gt; points; \tint position; } frame;  frame rframe; int subpos; int divider = 1;  int loadildahdr(FILE *ild, ilda_hdr & hdr) { \tif (fread(&hdr, sizeof(hdr), 1, ild) != 1) { \t\tstd::cerr &lt;&lt; &quot;Error while reading header&quot; &lt;&lt; std::endl; \t\treturn -1; \t}  \tif (hdr.magic != MAGIC) { \t\tstd::cerr &lt;&lt; &quot;Invalid magic&quot; &lt;&lt; std::endl; \t\treturn -1; \t}  \tif (hdr.format != 0) { \t\tfprintf(stderr, &quot;Unsupported section type %d\\n&quot;, hdr.format); \t\treturn -1; \t}  \thdr.count = swapshort(hdr.count); \thdr.frameno = swapshort(hdr.frameno); \thdr.framecount = swapshort(hdr.framecount); }  int loadild(const std::string & file, frame & frame) { \tint i; \tFILE *ild = fopen(file.c_str(), &quot;rb&quot;);  \tif (!ild) { \t\tstd::cerr &lt;&lt; &quot;Cannot open &quot; &lt;&lt; file &lt;&lt; std::endl; \t\treturn -1; \t}  \tilda_hdr hdr; \tloadildahdr(ild, hdr);  \tfor (int f = 0; f &lt; hdr.framecount; f++) \t{ \t\tstd::cout &lt;&lt; &quot;Frame &quot; &lt;&lt; hdr.frameno &lt;&lt; &quot; of &quot; &lt;&lt; hdr.framecount &lt;&lt; &quot; &quot; &lt;&lt; hdr.count &lt;&lt; &quot; points&quot; &lt;&lt; std::endl; \t\ticoord3d *tmp = (icoord3d*)calloc(hdr.count, sizeof(icoord3d));  \t\tif (fread(tmp, sizeof(icoord3d), hdr.count, ild) != hdr.count) { \t\t\tstd::cerr &lt;&lt; &quot;Error while reading frame&quot; &lt;&lt; std::endl; \t\t\treturn -1; \t\t}  \t\tfor(i = 0; i &lt; hdr.count; i++) { \t\t\tcoord3d point(swapshort(tmp[i].x), swapshort(tmp[i].y), swapshort(tmp[i].z), tmp[i].state); \t\t\tframe.points.push_back(point); \t\t}  \t\tfree(tmp);  \t\tloadildahdr(ild, hdr); \t}  \tfclose(ild); \treturn 0; }  short outBuffer[128];  int process() { \tframe *frame = &rframe;  \tshort *sx = &outBuffer[0]; \tshort *sy = &outBuffer[1];  \tfor (int frm = 0; frm &lt; 64; frm++) { \t\tstruct coord3d *c = &frame-&gt;points[frame-&gt;position];  \t\t*sx = 4095 - (2047 + (2048 * c-&gt;x \/ 32768)) * scale; \t\t*sy = (2047 + (2048 * c-&gt;y \/ 32768)) * scale;  \t\tif(c-&gt;state & BLANK) { \t\t\t*sx |= 1 &lt;&lt; 15; \t\t} else { \t\t\t*sx &= ~(1 &lt;&lt; 15); \t\t}  \t\tsx += 2; \t\tsy += 2;  \t\tsubpos++; \t\tif (subpos == divider) { \t\t\tsubpos = 0; \t\t\tif (c-&gt;state & LAST) \t\t\t\tframe-&gt;position = 0; \t\t\telse \t\t\t\tframe-&gt;position = (frame-&gt;position + 1) % frame-&gt;points.size(); \t\t} \t}  \treturn 0; }  int main(int argc, char **argv) { \tlibusb_device_handle *dev; \tlibusb_context *ctx = NULL; \tint ret, actual;  \tret = libusb_init(&ctx); \tif(ret &lt; 0) { \t\tfprintf(stderr,&quot;Couldn't initialize libusb\\n&quot;); \t\treturn EXIT_FAILURE; \t}  \tlibusb_set_debug(ctx, 3);  \tdev = libusb_open_device_with_vid_pid(ctx, 0x1cbe, 0x0003); \tif(dev == NULL) { \t\tfprintf(stderr, &quot;Cannot open device\\n&quot;); \t\treturn EXIT_FAILURE; \t} \telse \t\tprintf(&quot;Device opened\\n&quot;);  \tif(libusb_kernel_driver_active(dev, 0) == 1) { \t\tfprintf(stderr, &quot;Kernel driver active\\n&quot;); \t\tlibusb_detach_kernel_driver(dev, 0); \t}  \tret = libusb_claim_interface(dev, 0); \tif(ret &lt; 0) { \t\tfprintf(stderr, &quot;Couldn't claim interface\\n&quot;); \t\treturn EXIT_FAILURE; \t}  \t\/\/ To maintain our sample rate \tstruct timespec ts; \tts.tv_sec  = 0; \tts.tv_nsec = 2000000;  \tmemset(&rframe, 0, sizeof(frame)); \tif (loadild(argv[1], rframe) &lt; 0) \t{ \t\tfprintf(stderr, &quot;Failed to load ILDA\\n&quot;); \t\treturn EXIT_FAILURE; \t}  \twhile(1) \t{ \t\tprocess();  \t\tif(nanosleep(&ts, NULL) != 0) \t\t\tfprintf(stderr, &quot;Nanosleep failed&quot;); \t\tret = libusb_bulk_transfer(dev, (1 | LIBUSB_ENDPOINT_OUT), (unsigned char*)&outBuffer, 256, &actual, 0); \t\tif(ret != 0 || actual != 256) \t\t\tfprintf(stderr, &quot;Write error\\n&quot;); \t}  \tlibusb_release_interface(dev, 0); \tlibusb_close(dev); \tlibusb_exit(ctx);  \treturn 0; } <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0412 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <code>main()<\/code> \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e nanosleep \u0442\u0430\u043a\u0436\u0435 \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u043d\u043e\u0441\u0442\u044c, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0443 \u043f\u043e\u0441\u044b\u043b\u0430\u044e\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u0435 \u0434\u0430\u043d\u043d\u044b\u0435.<br \/>  \u041f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c <a href=\"https:\/\/github.com\/madprogrammer\/lm4f-laser\">\u043d\u0430 GitHub<\/a>.<\/p>\n<h4>\u041f\u043b\u0430\u043d\u044b \u043d\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435<\/h4>\n<p>  \u0412 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0441\u044f-\u0442\u0430\u043a\u0438 \u0434\u043e\u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0438\u0435 \u0434\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u044f, \u043f\u043e\u0445\u043e\u0436\u0435\u0433\u043e \u043d\u0430 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u0432\u0448\u0443\u044e\u0441\u044f \u043b\u0430\u0437\u0435\u0440\u043d\u0443\u044e \u0430\u0440\u0444\u0443. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043e\u0434\u043d\u043e\u0433\u043e, \u0430 \u043d\u0435 \u0434\u0432\u0443\u0445 \u0437\u0435\u0440\u043a\u0430\u043b, \u0442\u0430\u043a \u043a\u0430\u043a \u043b\u0430\u0437\u0435\u0440\u043d\u044b\u0439 \u043b\u0443\u0447 \u0434\u0432\u0438\u0433\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0434\u043e\u043b\u044c \u043e\u0434\u043d\u043e\u0439 \u043e\u0441\u0438. \u041f\u0440\u0438\u043d\u0446\u0438\u043f \u0440\u0430\u0431\u043e\u0442\u044b \u0430\u0440\u0444\u044b \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0437\u0430\u0436\u0438\u0433\u0430\u0435\u0442 \u0438 \u0433\u0430\u0441\u0438\u0442 \u043b\u0443\u0447 \u043b\u0430\u0437\u0435\u0440\u0430 \u0432 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0435 \u0435\u043c\u0443 \u043c\u043e\u043c\u0435\u043d\u0442\u044b \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u044f \u043b\u0430\u0437\u0435\u0440\u043d\u0443\u044e \u00ab\u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u0443\u00bb \u0432 \u0432\u043e\u0437\u0434\u0443\u0445\u0435. \u0418\u0441\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c, \u043f\u0435\u0440\u0435\u043a\u0440\u044b\u0432\u0430\u044f \u0440\u0443\u043a\u043e\u0439 \u0432 \u0441\u0432\u0435\u0442\u043e\u043e\u0442\u0440\u0430\u0436\u0430\u044e\u0449\u0435\u0439 \u043f\u0435\u0440\u0447\u0430\u0442\u043a\u0435 \u044f\u0440\u043a\u0438\u0439 \u043b\u0443\u0447 \u043b\u0430\u0437\u0435\u0440\u0430, \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u0432 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0444\u043e\u0442\u043e\u0447\u0443\u0432\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432 \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u00ab\u0430\u0440\u0444\u044b\u00bb. \u0422\u0430\u043a \u043a\u0430\u043a \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0437\u043d\u0430\u0435\u0442, \u0432 \u043a\u0430\u043a\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043a\u0430\u043a\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u044b \u043e\u043d \u00ab\u0440\u0438\u0441\u043e\u0432\u0430\u043b\u00bb, \u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u043a\u0430\u043a\u043e\u0439 \u0438\u0437 \u043b\u0443\u0447\u0435\u0439 \u0431\u044b\u043b \u043f\u0435\u0440\u0435\u043a\u0440\u044b\u0442. \u0414\u0430\u043b\u044c\u0448\u0435 \u0434\u0435\u043b\u043e \u0437\u0430 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e MIDI-\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0435 \u0435\u0433\u043e \u0432 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440 \u0438\u043b\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u0439 \u0430\u043f\u043f\u0430\u0440\u0430\u0442\u043d\u044b\u0439 \u0441\u0438\u043d\u0442\u0435\u0437\u0430\u0442\u043e\u0440 \u0434\u043b\u044f \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0437\u0432\u0443\u043a\u0430.      \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/225531\/\"> http:\/\/habrahabr.ru\/post\/225531\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">     \t\u0418\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u044f \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c <a href=\"http:\/\/ru.wikipedia.org\/wiki\/%D0%9B%D0%B0%D0%B7%D0%B5%D1%80%D0%BD%D0%B0%D1%8F_%D0%B0%D1%80%D1%84%D0%B0\">\u041b\u0430\u0437\u0435\u0440\u043d\u0443\u044e \u0430\u0440\u0444\u0443<\/a>, \u043d\u043e \u043f\u043e\u043a\u0430 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u2014 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u043a \u043b\u0430\u0437\u0435\u0440\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0440 \u2014 \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043b\u0430\u0437\u0435\u0440\u043e\u043c \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0435 \u0444\u0438\u0433\u0443\u0440\u044b, \u0437\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435 \u0432 \u0444\u0430\u0439\u043b\u0430\u0445 \u0444\u043e\u0440\u043c\u0430\u0442\u0430 ILDA. \u042f \u0432 \u043a\u0443\u0440\u0441\u0435, \u0447\u0442\u043e \u043c\u043d\u043e\u0433\u0438\u0435, \u043a\u0442\u043e \u0431\u0435\u0440\u0435\u0442\u0441\u044f \u0437\u0430 \u0441\u0431\u043e\u0440\u043a\u0443 \u043b\u0430\u0437\u0435\u0440\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0440\u0430, \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430, \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0435\u0433\u043e \u0433\u0430\u043b\u044c\u0432\u0430\u043d\u043e\u043c\u0435\u0442\u0440\u0430\u043c\u0438 (\u0442\u0430\u043a \u0438 \u043d\u0435 \u043f\u043e\u043d\u044f\u043b \u043a\u0430\u043a \u043b\u0443\u0447\u0448\u0435 \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435 \u201cgalvo scanner&quot;), \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0434\u0435\u0448\u0435\u0432\u044b\u0435 \u0441\u043b\u0435\u0433\u043a\u0430 \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0437\u0432\u0443\u043a\u043e\u0432\u044b\u0435 \u043f\u043b\u0430\u0442\u044b \u0434\u043b\u044f \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430. \u042f \u043f\u043e\u0448\u0435\u043b \u0438\u043d\u044b\u043c \u043f\u0443\u0442\u0435\u043c, \u0442\u0430\u043a \u043a\u0430\u043a \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0441\u0447\u0435\u0442\u0435 \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0430\u0432\u0442\u043e\u043d\u043e\u043c\u043d\u043e\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u043e, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0431\u0435\u0437 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0430.<\/p>\n<p>  <iframe loading=\"lazy\" width=\"560\" height=\"349\" src=\"\/\/www.youtube.com\/embed\/QHp79ptwRd4?wmode=opaque\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p>  \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0438\u0437 \u0447\u0435\u0433\u043e \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u043c\u043e\u0439 \u043b\u0430\u0437\u0435\u0440\u043d\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0440. \u0421\u0442\u043e\u0438\u043c\u043e\u0441\u0442\u044c \u0432\u0441\u0435\u0445 \u0434\u0435\u0442\u0430\u043b\u0435\u0439 \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u043e\u043a\u043e\u043b\u043e 8000 \u0440\u0443\u0431, \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u043e\u043b\u043e\u0432\u0438\u043d\u044b \u2014 \u044d\u0442\u043e 70mW \u043b\u0430\u0437\u0435\u0440\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c.  <\/p>\n<ol>\n<li><a href=\"http:\/\/www.ebay.com\/itm\/20Kpps-HightSpeed-galvo-scanner-max35Kpps-\/251501064829?pt=US_Stage_Lighting_Single_Units&amp;hash=item3a8ea1b27d\">\u0413\u0430\u043b\u044c\u0432\u0430\u043d\u043e\u043c\u0435\u0442\u0440\u044b \u0438 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u044b \u043a \u043d\u0438\u043c<\/a> \u0434\u043b\u044f \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u0438\u044f \u043b\u0443\u0447\u0430 \u043b\u0430\u0437\u0435\u0440\u0430 \u043f\u043e \u043e\u0441\u044f\u043c X\/Y<\/li>\n<li>532\u043d\u043c 70mW \u043b\u0430\u0437\u0435\u0440\u043d\u044b\u0439 \u043c\u043e\u0434\u0443\u043b\u044c \u0441 \u043f\u0438\u0442\u0430\u043d\u0438\u0435\u043c \u043e\u0442 5\u0412 Dragon Lasers SGLM70<\/li>\n<li>Texas Instruments Stellaris Launchpad<\/li>\n<li>\u0421\u0430\u043c\u043e\u0434\u0435\u043b\u044c\u043d\u0430\u044f \u043f\u043b\u0430\u0442\u0430 \u0441 \u0426\u0410\u041f <a href=\"http:\/\/www.analog.com\/static\/imported-files\/data_sheets\/AD7249.pdf\">AD7249BRZ<\/a><\/li>\n<li>\u0411\u043b\u043e\u043a \u043f\u0438\u0442\u0430\u043d\u0438\u044f<\/li>\n<\/ol>\n<p>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-225531","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/225531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=225531"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/225531\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=225531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=225531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=225531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}