{"id":1013,"date":"2020-09-15T13:51:36","date_gmt":"2020-09-15T13:51:36","guid":{"rendered":"http:\/\/www.tech-g.com\/?p=1013"},"modified":"2023-05-09T04:47:12","modified_gmt":"2023-05-09T04:47:12","slug":"programming-the-3-3v-arduino-pro-mini-with-a-cp2102-breakout","status":"publish","type":"post","link":"https:\/\/www.voodoo.business\/blog\/2020\/09\/15\/programming-the-3-3v-arduino-pro-mini-with-a-cp2102-breakout\/","title":{"rendered":"Programming the 3.3V arduino pro mini with a CP2102 breakout"},"content":{"rendered":"\n<p>The CP2102 breakout board shown in the photo below has a selector between 3.3V and 5V.<\/p>\n\n\n\n<p>In my case, i simply connected it the way you see it here to a USB port with 3.3V, and what do you know, it works, I have a flashing red light on the Arduino, a constant green light, and it looks like it is read to take code, the CP2102 board has a constant red light.<\/p>\n\n\n\n<p>if you want to check that it is actually working fine, simply upload the sketch blink no delay, and then alter it a bit so that it does a double blink then wait 2 seconds, now your code is working, there you have it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"389\" src=\"http:\/\/www.tech-g.com\/wp-content\/uploads\/2020\/09\/20200913_205146-1024x389.jpg\" alt=\"\" class=\"wp-image-1016\" srcset=\"https:\/\/www.voodoo.business\/blog\/wp-content\/uploads\/2020\/09\/20200913_205146-1024x389.jpg 1024w, https:\/\/www.voodoo.business\/blog\/wp-content\/uploads\/2020\/09\/20200913_205146-300x114.jpg 300w, https:\/\/www.voodoo.business\/blog\/wp-content\/uploads\/2020\/09\/20200913_205146-768x292.jpg 768w, https:\/\/www.voodoo.business\/blog\/wp-content\/uploads\/2020\/09\/20200913_205146-1536x584.jpg 1536w, https:\/\/www.voodoo.business\/blog\/wp-content\/uploads\/2020\/09\/20200913_205146-2048x778.jpg 2048w, https:\/\/www.voodoo.business\/blog\/wp-content\/uploads\/2020\/09\/20200913_205146-1200x456.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"191\" src=\"http:\/\/www.tech-g.com\/wp-content\/uploads\/2020\/09\/20200914_010057-1024x191.jpg\" alt=\"\" class=\"wp-image-1017\" srcset=\"https:\/\/www.voodoo.business\/blog\/wp-content\/uploads\/2020\/09\/20200914_010057-1024x191.jpg 1024w, https:\/\/www.voodoo.business\/blog\/wp-content\/uploads\/2020\/09\/20200914_010057-300x56.jpg 300w, https:\/\/www.voodoo.business\/blog\/wp-content\/uploads\/2020\/09\/20200914_010057-768x143.jpg 768w, https:\/\/www.voodoo.business\/blog\/wp-content\/uploads\/2020\/09\/20200914_010057-1536x286.jpg 1536w, https:\/\/www.voodoo.business\/blog\/wp-content\/uploads\/2020\/09\/20200914_010057-2048x381.jpg 2048w, https:\/\/www.voodoo.business\/blog\/wp-content\/uploads\/2020\/09\/20200914_010057-1200x223.jpg 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>From the device manager, I can see that there is a device that looks like my adapter, namely this one<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Silicon Labs CP210x USB to UART Bridge (Com3)<\/pre>\n\n\n\n<p>That thing above tells me that it has been designated the communication port number 3, which i will need in the Arduino IDE<\/p>\n\n\n\n<p>So now i have installed and am running the Arduino IDE, selected a 3.3V Arduino board from the list and selected Com3, now i should be ready to upload a sketch, let us make a sketch that double flashes an LED every 2 seconds. here is some code to do that<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The CP2102 breakout board shown in the photo below has a selector between 3.3V and 5V. In my case, i simply connected it the way you see it here to a USB port with 3.3V, and what do you know, it works, I have a flashing red light on the Arduino, a constant green light, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[110,89],"tags":[91,94,92,95],"class_list":["post-1013","post","type-post","status-publish","format-standard","hentry","category-arduino","category-diy-electronics","tag-arduino","tag-cp2102","tag-pro-mini","tag-programming"],"_links":{"self":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/1013","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/comments?post=1013"}],"version-history":[{"count":3,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/1013\/revisions"}],"predecessor-version":[{"id":1018,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/posts\/1013\/revisions\/1018"}],"wp:attachment":[{"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/media?parent=1013"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/categories?post=1013"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.voodoo.business\/blog\/wp-json\/wp\/v2\/tags?post=1013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}