{"id":590,"date":"2014-12-06T22:35:49","date_gmt":"2014-12-06T22:35:49","guid":{"rendered":"http:\/\/blogs.discovery.wisc.edu\/wearable14\/?p=590"},"modified":"2014-12-06T22:51:43","modified_gmt":"2014-12-06T22:51:43","slug":"1272014-teb-update","status":"publish","type":"post","link":"https:\/\/blogs.discovery.wisc.edu\/wearable14\/2014\/12\/06\/1272014-teb-update\/","title":{"rendered":"12\/7\/2014 TEB Update"},"content":{"rendered":"<p>As the deadline approaches, the project is getting more and more stressful which was expected. \u00a0With that being said, it was quite the relief to test the board and see that there were no problems with the board that would require me to order another batch. \u00a0I am still on schedule and should be able to finish the complete prototype by this upcoming Friday.<\/p>\n<ul>\n<li style=\"font-weight: inherit;font-style: inherit\">What did you do this week?<\/li>\n<\/ul>\n<p>This week, I continued to test the \u00a0functionality of the board with the code that I wrote. \u00a0Of course, testing comes with a lot of debugging so a good portion of my time was spent on solving problems involving my code and just ironing out the kinks of the program.<\/p>\n<p>I also spent time over the weekend fabricating the mounts for attaching the watch band to the heatsink. \u00a0I was very pleased with the results.<\/p>\n<p><img loading=\"lazy\" class=\"alignnone\" src=\"https:\/\/lh5.googleusercontent.com\/-FNg6HFAs4A0\/VIODqUSOQTI\/AAAAAAAAFpQ\/yAyDcEcTI8g\/w401-h534-no\/20141206_161418.jpg\" alt=\"\" width=\"199\" height=\"266\" \/>\u00a0 \u00a0 \u00a0<img loading=\"lazy\" class=\"alignnone\" src=\"https:\/\/lh3.googleusercontent.com\/-yO2fAm8CTfk\/VIODpRjeajI\/AAAAAAAAFpE\/jv7R2B3QPtw\/w401-h534-no\/20141206_161357.jpg\" alt=\"\" width=\"200\" height=\"267\" \/><\/p>\n<ul>\n<li style=\"font-weight: inherit;font-style: inherit\">Describe the problems you encountered<\/li>\n<\/ul>\n<p>I encountered a number of problems this week, but luckily I was able to solve them quickly.<\/p>\n<p>1) When I first powered my board, I noticed &#8216;magic smoke&#8217; and disconnected the power supply. \u00a0I then realized that I had soldered my diode backwards, which had fried my boost converter chip<\/p>\n<p>2)\u00a0I noticed when testing the populated board with my multimeter that there was a short somewhere. \u00a0However, when I tested the unpopulated board, there was no short. I first thought that I may have accidentally bridged some pads during the surface mount soldering operation. \u00a0I inspected every component and ruled that cause out. I further deduced that this short was a result of soldering my diode backwards. It turns out there was an internal short within the boost converter chip so I removed the component and there was no short!<\/p>\n<p>3) I forgot to place a\u00a0power switch on the board when designing the PCB. To solve this, I had to solder the header sockets on the board and now to turn on the board, you just insert the microcontroller and that initializes the program. \u00a0When it is removed the board, no current is drawn. \u00a0 However, because I had to solder these headers, that adds 1\/4&#8243; to the height of the unit<\/p>\n<p>4) When testing my LEDs, they were not illuminating. \u00a0I took another look at the schematic and realized I mixed up the anode and cathode. \u00a0To solve this problem, I cut the common anode trace to negative and placed a jumper to the positive line and then I had to account for this in my code by pulling the pin LOW instead of HIGH to turn on the LED.<\/p>\n<p>5) Next problem I had was with my code. \u00a0When testing the if the LEDs responded to the push buttons, I noticed only one button was working. Well, this turned out to be a bracketing issue.<\/p>\n<p>6) The last problem was also with my code. \u00a0Finding an alternative day of performing a digitalWrite in the loop without using the &#8216;delay&#8217; function. \u00a0If I used &#8216;delay&#8217;, the program ran very slow and often didn&#8217;t function. To solve this, I made use of the millis() function. You can see the code in the following link<\/p>\n<p><a href=\"https:\/\/lh5.googleusercontent.com\/-XTkdBjgiVHQ\/VIODtRx0CsI\/AAAAAAAAFp0\/Oxs4TmCRYhY\/w401-h534-no\/20141206_161947.jpg\">https:\/\/docs.google.com\/document\/d\/1rI2vCf5E__gzYc5JgFOSnOJRUpK55umKUBSVFD3ubfk\/edit?usp=sharing<\/a><\/p>\n<ul>\n<li>Are you on schedule?<\/li>\n<\/ul>\n<p>Yes I am! I should be able to finish the complete prototype by Friday<\/p>\n<ul>\n<li style=\"font-weight: inherit;font-style: inherit\">Describe the successes you had<\/li>\n<\/ul>\n<p>Like I said above, I was very pleased to find that there were no problems with my board that would require me to print another board.<\/p>\n<p>I also was able to fabricate the physical device without any issues.<\/p>\n<p>And also, after many hours of debugging, I wrote\u00a0a program that works very well.<\/p>\n<ul>\n<li style=\"font-weight: inherit;font-style: inherit\">What do you plan to do next week?<\/li>\n<\/ul>\n<p>Next week, I plan to wrap up the prototype and test if it actually gives you the perception of your body heating or cooling down. i will have to test many pulse frequencies to find the optimal one that is most effective.<\/p>\n<figure style=\"width: 300px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" src=\"https:\/\/lh4.googleusercontent.com\/-KXA08fgCfxE\/VIODofXZM6I\/AAAAAAAAFo4\/suXKXVwjG6I\/w401-h534-no\/20141206_143450.jpg\" alt=\"\" width=\"300\" height=\"400\" \/><figcaption class=\"wp-caption-text\">Testing thermoelectric generator using photoelectric cells in series<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<figure style=\"width: 223px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" src=\"https:\/\/lh5.googleusercontent.com\/-XTkdBjgiVHQ\/VIODtRx0CsI\/AAAAAAAAFp0\/Oxs4TmCRYhY\/w401-h534-no\/20141206_161947.jpg\" alt=\"\" width=\"223\" height=\"298\" \/><figcaption class=\"wp-caption-text\">Complete PCB for prototype 1<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As the deadline approaches, the project is getting more and more stressful which was expected. \u00a0With that being said, it was quite the relief to test the board and see that there were no problems with the board that would require me to order another batch. \u00a0I am still on schedule and should be able &hellip; <a href=\"https:\/\/blogs.discovery.wisc.edu\/wearable14\/2014\/12\/06\/1272014-teb-update\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">12\/7\/2014 TEB Update<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":101,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[19],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.discovery.wisc.edu\/wearable14\/wp-json\/wp\/v2\/posts\/590"}],"collection":[{"href":"https:\/\/blogs.discovery.wisc.edu\/wearable14\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.discovery.wisc.edu\/wearable14\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/wearable14\/wp-json\/wp\/v2\/users\/101"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/wearable14\/wp-json\/wp\/v2\/comments?post=590"}],"version-history":[{"count":4,"href":"https:\/\/blogs.discovery.wisc.edu\/wearable14\/wp-json\/wp\/v2\/posts\/590\/revisions"}],"predecessor-version":[{"id":594,"href":"https:\/\/blogs.discovery.wisc.edu\/wearable14\/wp-json\/wp\/v2\/posts\/590\/revisions\/594"}],"wp:attachment":[{"href":"https:\/\/blogs.discovery.wisc.edu\/wearable14\/wp-json\/wp\/v2\/media?parent=590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/wearable14\/wp-json\/wp\/v2\/categories?post=590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.discovery.wisc.edu\/wearable14\/wp-json\/wp\/v2\/tags?post=590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}