{"id":233405,"date":"2014-08-14T23:14:03","date_gmt":"2014-08-14T19:14:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=233405"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=233405","title":{"rendered":"<span class=\"post_title\">\u041e\u0431 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 sed1335 \u0432 \u043c\u0438\u043a\u0440\u043e\u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430\u0445 stm32f103<\/span>"},"content":{"rendered":"<div class=\"content html_format\">     \t\u041d\u0435 \u0434\u043b\u044f \u043a\u043e\u0433\u043e \u043d\u0435 \u0441\u0435\u043a\u0440\u0435\u0442 \u0447\u0442\u043e \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432 \u0432\u044b\u0432\u043e\u0434\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0443 \u043f\u0440\u0438\u0431\u043e\u0440\u043e\u0432 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u0438\u0441\u043f\u043b\u0435\u0439. \u0412 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043d\u0430 \u041c\u041a \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442 \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u044b\u0435 \u0434\u0438\u0441\u043f\u043b\u0435\u0438 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 hd44780. \u0420\u0435\u0434\u043a\u0438\u043c \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u0438\u0441\u043f\u043b\u0435\u0438 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u0438\u0441\u043f\u043b\u0435\u0438 WG12864A \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c 128*64. \u041d\u043e \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435.<br \/>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/b8d\/385\/4e2\/b8d3854e28e74c45842c228d6466a9b2.jpg\"\/><\/p>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<p>  \u0418 \u0432\u043e\u0442 \u044f \u0437\u0430\u043a\u0430\u0437\u0430\u043b \u0434\u0438\u0441\u043f\u043b\u0435\u0439 WG320240B0-FFH-VZ-000. \u0414\u0430\u0442\u0430\u0448\u0438\u0442 <a href=\"http:\/\/rghost.ru\/57471120\">rghost.ru\/57471120<\/a>. <\/p>\n<p>  \u041f\u0440\u0435\u0434\u043b\u043e\u0436\u0438\u043b \u044d\u0442\u0443 \u043c\u043e\u0434\u0435\u043b\u044c \u043c\u043d\u0435 \u043f\u043e\u0441\u0442\u0430\u0432\u0449\u0438\u043a. \u042f \u0441\u0440\u0430\u0437\u0443 \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043b. \u041f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0430 \u0438\u0434\u0435\u0442 LCD. \u041d\u0443\u0436\u043d\u043e \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c LED, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430\u0439\u0442\u0438 \u0434\u0440\u0430\u0439\u0432\u0435\u0440 DC-AC \u044f \u0442\u0430\u043a \u0438 \u043d\u0435 \u0441\u043c\u043e\u0433.<\/p>\n<p>  \u0414\u0438\u0441\u043f\u043b\u0435\u0439 \u0437\u0430\u043a\u0430\u0437\u0430\u043d, \u043f\u043e\u0440\u0430 \u0435\u0433\u043e \u0447\u0435\u043c \u0442\u043e \u0437\u0430\u0432\u043e\u0434\u0438\u0442\u044c. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u0443\u0444\u0435\u0440\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u043b stm32f103. <br \/>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/b42\/924\/468\/b4292446858349db9edf619e02b09113.jpg\"\/><br \/>  \u0422\u0443\u0442 \u043d\u0430\u0447\u0430\u043b\u043e\u0441\u044c \u0433\u0443\u0433\u043b\u0435\u043d\u0438\u0435. \u041d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u044f \u043e\u0441\u043e\u0431\u043e \u043d\u0438\u0447\u0435\u0433\u043e \u0442\u0430\u043a \u0438 \u043d\u0435 \u043d\u0430\u0448\u0435\u043b.<br \/>  \u041d\u043e \u043f\u043e\u043d\u044f\u043b \u0447\u0442\u043e \u043d\u0430\u0434\u043e \u043a\u043e\u043f\u0430\u0442\u044c \u0432 \u0441\u0442\u043e\u0440\u043e\u043d\u0443<br \/>  SED1335<br \/>   \u2014 SED1335F-\u043c\u043d\u043e\u0433\u043e\u0446\u0435\u043b\u0435\u0432\u0430\u044f \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u0440\u0430 \u0416\u041a\u0414, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0442\u0435\u043a\u0441\u0442 \u0438 \u0433\u0440\u0430\u0444\u0438\u043a\u0443 \u043d\u0430 \u0436\u0438\u0434\u043a\u043e\u043a\u0440\u0438\u0441\u0442\u0430\u043b\u043b\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u0434\u0438\u0441\u043f\u043b\u0435\u0435 \u0441\u0440\u0435\u0434\u043d\u0438\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432. S-MOS \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442, \u0447\u0442\u043e\u0431\u044b \u0432 \u043d\u043e\u0432\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438\u0441\u044c SED1335, \u0442\u0430\u043a \u043a\u0430\u043a SED1330 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0441\u0442\u0435\u043f\u0435\u043d\u043d\u043e \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u044b \u043d\u0430 SED1335.<br \/>   \u2014 \u041d\u0430 \u0431\u0440\u0435\u043b \u044f \u043d\u0430 \u0441\u0430\u0439\u0442 <a href=\"http:\/\/en.radzio.dxp.pl\/ssd1963\/\">en.radzio.dxp.pl\/ssd1963\/<\/a> \u0433\u0434\u0435 \u0431\u044b\u043b\u0430 \u0441\u043a\u0430\u0447\u0430\u043d\u0430 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 sed1335lib.zip<br \/>  \u0414\u043e\u0431\u0430\u0432\u0438\u043b \u044f \u0432 \u0441\u0432\u043e\u0439 \u043f\u0440\u043e\u0435\u043a\u0442  <\/p>\n<pre><code>graphic.c  graphic.h SED1335-STM32.c sed1335.c sed1335.h <\/code><\/pre>\n<p>  \u0432 Main()<br \/>  \u0434\u043e\u0431\u0430\u0432\u0438\u043b<\/p>\n<pre><code>GLCD_Initialize(); GLCD_ClearGraphic();\t GLCD_CircleSS(80,80,60,-90,90); GLCD_ClearText(); GLCD_TextGoTo(7,12); GLCD_WriteText(&quot;5.6 kg\/cm2&quot;); <\/code><\/pre>\n<p>  \u0418 \u0434\u0438\u0441\u043f\u043b\u0435\u0439 \u0443 \u043c\u0435\u043d\u044f \u0437\u0430\u0440\u0430\u0431\u043e\u0442\u0430\u043b.<\/p>\n<p>  \u0422\u0430\u043a \u043a\u0430\u043a \u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0438 \u0435\u0449\u0435 \u043d\u0435\u0442\u0443, \u0442\u043e \u0432\u044b\u043b\u043e\u0436\u0443 \u0447\u0443\u0436\u0438\u0435 \u0444\u043e\u0442\u043e<br \/>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/781\/98b\/8ad\/78198b8ad26c481894792e2db5cb93e2.jpg\"\/><br \/>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/f44\/486\/f85\/f44486f853184a53974c8751bc2bb57c.jpg\"\/><\/p>\n<p>  \u041a\u0440\u0430\u0442\u043a\u043e \u043e \u0441\u043e\u0441\u0442\u0430\u0432\u0435 \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0445 \u0434\u0430\u043d\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438<\/p>\n<pre><code>\/\/ \u0440\u0430\u0437\u0434\u0435\u043b \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 #define SED1335_PORT GPIOA    #define SED1335_A0\tGPIO_Pin_10 #define SED1335_WR\tGPIO_Pin_8 #define SED1335_RD\tGPIO_Pin_9 #define SED1335_CS\tGPIO_Pin_11 #define SED1335_RES\tGPIO_Pin_12 #define SED1335_D0   0 <\/code><\/pre>\n<pre><code>\/\/ \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0437\u0430\u043f\u0438\u0441\u0438 \u0438 \u0447\u0442\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0434\u0438\u0441\u043f\u043b\u0435\u0439 void GLCD_InitPorts(void) void GLCD_WriteData(unsigned char dataToWrite) void GLCD_WriteCommand(unsigned char commandToWrite) unsigned char GLCD_ReadData(void) unsigned char GLCD_ReadByteFromROMMemory(unsigned char * ptr) <\/code><\/pre>\n<p>  \u0413\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u0438 \u0442\u0435\u043a\u0441\u0442\u043e\u0432\u0430\u044f \u0447\u0430\u0441\u0442\u044c  <\/p>\n<pre><code>void GLCD_Rectangle(unsigned int x, unsigned int y, unsigned int b, unsigned int a);\/\/\u041f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a void GLCD_Circle(unsigned int cx, unsigned int cy ,unsigned int radius); \/\/\u041e\u043a\u0440\u0443\u0436\u043d\u043e\u0441\u0442\u044c void GLCD_Line(int X1, int Y1,int X2,int Y2); \/\/\u041b\u0438\u043d\u0438\u044f  void GLCD_SetPixel(unsigned int x,unsigned int y, int color) \/\/ \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0438\u043a\u0441\u0435\u043b\u044c \u0432 \u0447\u0435\u0440\u043d\u044b\u0439 \u0438\u043b\u0438 \u0431\u0435\u043b\u044b\u0439 \u0446\u0432\u0435\u0442 void GLCD_WriteText(char * tekst) \/\/ \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 \u0434\u0438\u0441\u043f\u043b\u0435\u0439 void GLCD_WriteTextP(char * tekst), \/\/ \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0430 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 \u0434\u0438\u0441\u043f\u043b\u0435\u0439 void GLCD_SetCursorAddress(unsigned int address) \/\/ \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043a\u0443\u0440\u0441\u043e\u0440\u0430 void GLCD_TextGoTo(unsigned char x, unsigned char y) \/\/, \u0421\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u043a\u0443\u0440\u0441\u043e\u0440\u0430 void GLCD_GraphicGoTo(unsigned int x, unsigned int y) \/\/ \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u043a\u0438\u0441\u0442\u0438 void GLCD_ClearText(void), \/\/ \u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u0442\u0435\u043a\u0441\u0442\u0430 void GLCD_ClearGraphic(void), \/\/ \u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u0433\u0440\u0430\u0444\u0438\u043a\u0438 void GLCD_Bitmap(char * bmp, int x, int y, int width, int height) \/\/ \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443  <\/code><\/pre>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u0437\u0430 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435      \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\/233405\/\"> http:\/\/habrahabr.ru\/post\/233405\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">     \t\u041d\u0435 \u0434\u043b\u044f \u043a\u043e\u0433\u043e \u043d\u0435 \u0441\u0435\u043a\u0440\u0435\u0442 \u0447\u0442\u043e \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432 \u0432\u044b\u0432\u043e\u0434\u0430 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0443 \u043f\u0440\u0438\u0431\u043e\u0440\u043e\u0432 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0434\u0438\u0441\u043f\u043b\u0435\u0439. \u0412 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c \u043d\u0430 \u041c\u041a \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442 \u0441\u0438\u043c\u0432\u043e\u043b\u044c\u043d\u044b\u0435 \u0434\u0438\u0441\u043f\u043b\u0435\u0438 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 hd44780. \u0420\u0435\u0434\u043a\u0438\u043c \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u0438\u0441\u043f\u043b\u0435\u0438 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0434\u0438\u0441\u043f\u043b\u0435\u0438 WG12864A \u0440\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435\u043c 128*64. \u041d\u043e \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u0431\u043e\u043b\u044c\u0448\u0435.<br \/>  <img decoding=\"async\" src=\"\/\/habrastorage.org\/files\/b8d\/385\/4e2\/b8d3854e28e74c45842c228d6466a9b2.jpg\"\/><\/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-233405","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/233405","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=233405"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/233405\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=233405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=233405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=233405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}