{"id":1000,"date":"2020-02-11T23:30:32","date_gmt":"2020-02-11T13:30:32","guid":{"rendered":"https:\/\/blog.hegars.com\/?p=1000"},"modified":"2020-02-19T23:05:13","modified_gmt":"2020-02-19T13:05:13","slug":"ec1204-at89s52-and-ds1302-based-led-clock","status":"publish","type":"post","link":"https:\/\/blog.hegars.com\/?p=1000","title":{"rendered":"EC1204 &#8211; AT89S52 and DS1302 based LED Clock"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"784\" height=\"799\" src=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2020\/02\/image-3.png\" alt=\"\" class=\"wp-image-1030\" srcset=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2020\/02\/image-3.png 784w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2020\/02\/image-3-294x300.png 294w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2020\/02\/image-3-768x783.png 768w\" sizes=\"(max-width: 784px) 100vw, 784px\" \/><\/figure>\n\n\n\n<p>I built the 1204 Kit and it not working, so lets figure it out<\/p>\n\n\n\n<p>Physical all the joints seem to be good and test out fine<\/p>\n\n\n\n<div class=\"wp-block-file\"><a href=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2020\/02\/at89s52clock.pdf\">at89s52clock<\/a><a href=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2020\/02\/at89s52clock.pdf\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Diagnosis <\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Circuit schmatics<\/h3>\n\n\n\n<div class=\"wp-block-file\"><a href=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2020\/02\/EC1204B.pdf\">EC1204B<\/a><a href=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2020\/02\/EC1204B.pdf\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Checking the AT89S52<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Verifying the program <\/h4>\n\n\n\n<p>I the AT89S52 in an EEPROM programmer and it reads and verifies the program that diffs out with other sources on the internet<\/p>\n\n\n\n<p>But are the ports working?<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Checking the output drivers<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">&#8220;2TY&#8221; (SOT-23) PNP transistor LED Drive <\/h4>\n\n\n\n<div class=\"wp-block-file\"><a href=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2020\/02\/s8550-2ty-datasheet.pdf\">s8550-2ty-datasheet<\/a><a href=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2020\/02\/s8550-2ty-datasheet.pdf\" class=\"wp-block-file__button\" download>Download<\/a><\/div>\n\n\n\n<p>Simulating so I can better understand the driving circuit to further diagnose<\/p>\n\n\n\n<p><a href=\"http:\/\/tinyurl.com\/vaxknk6\">http:\/\/tinyurl.com\/vaxknk6<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Solution<\/h2>\n\n\n\n<p>It was a faulty AT89S52, replace and it works.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"719\" height=\"850\" src=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2020\/02\/image-5.png\" alt=\"\" class=\"wp-image-1032\" srcset=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2020\/02\/image-5.png 719w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2020\/02\/image-5-254x300.png 254w\" sizes=\"(max-width: 719px) 100vw, 719px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"540\" height=\"504\" src=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2020\/02\/image-4.png\" alt=\"\" class=\"wp-image-1031\" srcset=\"https:\/\/blog.hegars.com\/wp-content\/uploads\/2020\/02\/image-4.png 540w, https:\/\/blog.hegars.com\/wp-content\/uploads\/2020\/02\/image-4-300x280.png 300w\" sizes=\"(max-width: 540px) 100vw, 540px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Links<\/h2>\n\n\n\n<p>Props to this site, plenty of awesome info<\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-gough-039-s-tech-zone\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/goughlui.com\/2016\/11\/09\/project-at89s52ds1302-based-led-clock-kit-ec1204b-equivalent\/\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I built the 1204 Kit and it not working, so lets figure it out Physical all the joints seem to be good and test out fine Diagnosis Circuit schmatics Checking the AT89S52 Verifying the program I the AT89S52 in an EEPROM programmer and it reads and verifies the program that diffs out with other sources [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[17],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/1000"}],"collection":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1000"}],"version-history":[{"count":20,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/1000\/revisions"}],"predecessor-version":[{"id":1033,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/1000\/revisions\/1033"}],"wp:attachment":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1000"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1000"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1000"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}