{"id":4195,"date":"2024-12-02T10:30:19","date_gmt":"2024-12-02T18:30:19","guid":{"rendered":"https:\/\/www.donluc.com\/?p=4195"},"modified":"2024-12-02T10:30:19","modified_gmt":"2024-12-02T18:30:19","slug":"patreon-beginner","status":"publish","type":"post","link":"https:\/\/www.donluc.com\/?p=4195","title":{"rendered":"Patreon: Beginner"},"content":{"rendered":"<div style=\"width: 720px;\" class=\"wp-video\"><video class=\"wp-video-shortcode\" id=\"video-4195-1\" width=\"720\" height=\"480\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/12\/DL2412Mk01W.mp4?_=1\" \/><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/12\/DL2412Mk01W.mp4\">https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/12\/DL2412Mk01W.mp4<\/a><\/video><\/div>\n<p>&#8212;&#8212;<\/p>\n<p>#DonLucElectronics #DonLuc #Arduino #Project #Patreon #Electronics #Microcontrollers #IoT #Fritzing #Programming #Consultant<\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/12\/DL2412Mk01a.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/12\/DL2412Mk01a.jpg\" alt=\"Patreon: Beginner\" width=\"720\" height=\"735\" class=\"alignnone size-full wp-image-4197\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/12\/DL2412Mk01a.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/12\/DL2412Mk01a-294x300.jpg 294w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/12\/DL2412Mk01b.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/12\/DL2412Mk01b.jpg\" alt=\"Patreon: Beginner\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-4198\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/12\/DL2412Mk01b.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/12\/DL2412Mk01b-300x200.jpg 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><a href=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/12\/DL2412Mk01c.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/12\/DL2412Mk01c.jpg\" alt=\"Patreon: Beginner\" width=\"720\" height=\"480\" class=\"alignnone size-full wp-image-4199\" srcset=\"https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/12\/DL2412Mk01c.jpg 720w, https:\/\/www.donluc.com\/wp-content\/uploads\/2024\/12\/DL2412Mk01c-300x200.jpg 300w\" sizes=\"auto, (max-width: 720px) 100vw, 720px\" \/><\/a><\/p>\n<p>&#8212;&#8212;<\/p>\n<p><strong>Patreon: Beginner<\/strong><\/p>\n<p><strong>Beginner:<\/strong> These beginner-friendly microcontrollers is Arduino Uno are easy to use and program with just a computer or laptop, a USB cable, and some open-source software.<\/p>\n<p><strong>What is Arduino?<\/strong><\/p>\n<p>Arduino board designs use a variety of microprocessors and controllers. The boards are equipped with sets of digital and analog input\/output (I\/O) pins that may be interfaced to various expansion boards &#8220;Shields&#8221; or breadboards and other circuits. The boards feature serial communications interfaces, including Universal Serial Bus (USB) on some models, which are also used for loading programs. Arduino boards are able to read inputs, light on a sensor, a finger on a button, or a Twitter message, and turn it into an output, activating a motor, turning on an LED, publishing something online. You can tell your board what to do by sending a set of instructions to the microcontroller on the board. The microcontrollers can be programmed using the C and C++ programming languages, using a standard API which is also known as the Arduino Programming Language, and the Arduino Software (IDE).<\/p>\n<p><strong>Arduino Software (IDE)<\/strong><\/p>\n<p>A minimal Arduino C\/C++ program consists of only two functions:<\/p>\n<p>setup(): This function is called once when a sketch starts after power-up or reset. It is used to initialize variables, input and output pin modes, and other libraries needed in the sketch.<br \/>\nloop(): After setup() function exits, the loop() function is executed repeatedly in the main program. It controls the board until the board is powered off or is reset. It is analogous to the function while.<\/p>\n<p><strong>DL2412Mk01<\/strong><\/p>\n<p>1 x SparkFun RedBoard Qwiic<br \/>\n1 x Potentiometer 10K Ohm<br \/>\n1 x ProtoScrewShield<br \/>\n2 x LED<br \/>\n1 x USB Micro-B Cable<\/p>\n<p><strong>SparkFun RedBoard Qwiic<\/strong><\/p>\n<p>POT &#8211; A0<br \/>\nLEDP &#8211; 13<br \/>\nLEDG &#8211; 12<br \/>\nVIN &#8211; +5V<br \/>\nGND &#8211; GND<\/p>\n<p>&#8212;&#8212;<\/p>\n<p><strong>DL2412Mk01ppp<\/strong><\/p>\n<p><strong>DL2412Mk01ppp.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/****** Don Luc Electronics \u00a9 ******\/\r\n\r\nint iPot = A0;\r\nint iPotVal = 0;\r\nint Threshold = 500;\r\nint iLEDProto = 13;\r\nint iLEDGreen = 12;\r\nString sver = &quot;Beginner&quot;;\r\n\r\nvoid setup()\r\n{\r\n\r\n  delay(100);\r\n\r\n  Serial.begin(57600);\r\n  pinMode(iLEDProto, OUTPUT);\r\n  pinMode(iLEDGreen, OUTPUT);\r\n  delay( 100 );\r\n\r\n}\r\n\r\nvoid loop() {\r\n\r\n  iPotVal = analogRead( iPot );\r\n  Serial.print(&quot;Potentiometer: &quot;);\r\n  if (iPotVal &gt; Threshold) {\r\n\r\n    digitalWrite(iLEDProto, LOW);\r\n    Serial.print( &quot;LED Green &quot; );\r\n    Serial.println( iPotVal );\r\n    digitalWrite(iLEDGreen, HIGH);\r\n    \r\n  }\r\n  else {\r\n\r\n    digitalWrite(iLEDGreen, LOW);\r\n    Serial.print( &quot;LED Proto &quot; );\r\n    Serial.println( iPotVal );\r\n    digitalWrite(iLEDProto, HIGH);\r\n    \r\n  }\r\n  delay( 100 );\r\n\r\n}\r\n<\/pre>\n<p>&#8212;&#8212;<\/p>\n<p><strong>DL2412Mk01pp<\/strong><\/p>\n<p><strong>DL2412Mk01pp.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/****** Don Luc Electronics \u00a9 ******\r\nSoftware Version Information\r\nPatreon: Beginner\r\nBeginner\r\nDL2412Mk01pp.ino\r\nDL2412Mk01\r\n1 x SparkFun RedBoard Qwiic\r\n1 x Potentiometer\r\n1 x ProtoScrewShield\r\n2 x LED\r\n1 x USB Micro-B Cable\r\n*\/\r\n\r\n\/\/ Include the Library Code\r\n\r\n\/\/ Potentiometer\r\nint iPot = A0;\r\nint iPotVal = 0;\r\n\/\/ Change Your Threshold Here\r\nint Threshold = 500;\r\n\r\n\/\/ LED ProtoScrewShield Yellow\r\nint iLEDProto = 13;\r\n\r\n\/\/ LED Green\r\nint iLEDGreen = 12;\r\n\r\n\/\/ Software Version Information\r\nString sver = &quot;Beginner&quot;;\r\n\r\n\/\/ Setup\r\nvoid setup()\r\n{\r\n \r\n  \/\/ Delay\r\n  delay(100);\r\n\r\n  \/\/ Serial\r\n  Serial.begin(57600);\r\n\r\n  \/\/ Initialize the LED iLEDProto\r\n  pinMode(iLEDProto, OUTPUT);\r\n\r\n  \/\/ Initialize the LED iLEDGreen\r\n  pinMode(iLEDGreen, OUTPUT);\r\n\r\n  \/\/ Delay 0.1 Second\r\n  delay( 100 );\r\n\r\n}\r\n\/\/ Loop\r\nvoid loop() {\r\n\r\n  \/\/ Potentiometer\r\n  \/\/ Connect Potentiometer to Analog 0\r\n  iPotVal = analogRead( iPot );\r\n\r\n  \/\/ Serial\r\n  Serial.print(&quot;Potentiometer: &quot;);\r\n\r\n  \/\/ Threshold\r\n  if (iPotVal &gt; Threshold) {\r\n\r\n    \/\/ LEDProto\r\n    digitalWrite(iLEDProto, LOW);\r\n    \/\/ Serial\r\n    Serial.print( &quot;LED Green &quot; );\r\n    Serial.println( iPotVal );\r\n    \/\/ LEDGreen\r\n    digitalWrite(iLEDGreen, HIGH);\r\n    \r\n  }\r\n  else {\r\n    \r\n    \/\/ LEDGreen\r\n    digitalWrite(iLEDGreen, LOW);\r\n    \/\/ Serial\r\n    Serial.print( &quot;LED Proto &quot; );\r\n    Serial.println( iPotVal );\r\n    \/\/ LEDProto\r\n    digitalWrite(iLEDProto, HIGH);\r\n    \r\n  }\r\n\r\n  \/\/ Delay 0.1 Second\r\n  delay( 100 );\r\n\r\n}\r\n<\/pre>\n<p>&#8212;&#8212;<\/p>\n<p><strong>DL2412Mk01p<\/strong><\/p>\n<p><strong>DL2412Mk01p.ino<\/strong><br \/>\nloop()<\/p>\n<p><strong>getPotentiometer.ino<\/strong><br \/>\nAttaining => get<br \/>\nCombining Form => is<\/p>\n<p><strong>setup.ino<\/strong><br \/>\nsetup()<\/p>\n<p><strong>DL2412Mk01p<\/strong><\/p>\n<p><strong>DL2411Mk03p.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/****** Don Luc Electronics \u00a9 ******\r\nSoftware Version Information\r\nPatreon: Beginner\r\nBeginner\r\nDL2412Mk01p.ino\r\nDL2412Mk01\r\n1 x SparkFun RedBoard Qwiic\r\n1 x Potentiometer\r\n1 x ProtoScrewShield\r\n2 x LED\r\n1 x USB Micro-B Cable\r\n*\/\r\n\r\n\/\/ Include the Library Code\r\n\r\n\/\/ Potentiometer\r\nint iPot = A0;\r\nint iPotVal = 0;\r\n\/\/ Change Your Threshold Here\r\nint Threshold = 500;\r\n\r\n\/\/ LED ProtoScrewShield Yellow\r\nint iLEDProto = 13;\r\n\r\n\/\/ LED Green\r\nint iLEDGreen = 12;\r\n\r\n\/\/ Software Version Information\r\nString sver = &quot;Beginner&quot;;\r\n\r\nvoid loop() {\r\n\r\n  \/\/ Potentiometer\r\n  isPotentiometer();\r\n\r\n  \/\/ Delay 0.1 Second\r\n  delay( 100 );\r\n\r\n}\r\n<\/pre>\n<p><strong>getPotentiometer.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/\/ Potentiometer\r\n\/\/ Potentiometer\r\nvoid isPotentiometer(){\r\n\r\n  \/\/ Connect Potentiometer to Analog 0\r\n  iPotVal = analogRead( iPot );\r\n\r\n  \/\/ Serial\r\n  Serial.print(&quot;Potentiometer: &quot;);\r\n\r\n  \/\/ Threshold\r\n  if (iPotVal &gt; Threshold) {\r\n\r\n    \/\/ LEDProto\r\n    digitalWrite(iLEDProto, LOW);\r\n    \/\/ Serial\r\n    Serial.print( &quot;LED Green &quot; );\r\n    Serial.println( iPotVal );\r\n    \/\/ LEDGreen\r\n    digitalWrite(iLEDGreen, HIGH);\r\n    \r\n  }\r\n  else {\r\n    \r\n    \/\/ LEDGreen\r\n    digitalWrite(iLEDGreen, LOW);\r\n    \/\/ Serial\r\n    Serial.print( &quot;LED Proto &quot; );\r\n    Serial.println( iPotVal );\r\n    \/\/ LEDProto\r\n    digitalWrite(iLEDProto, HIGH);\r\n    \r\n  }\r\n\r\n}\r\n<\/pre>\n<p><strong>setup.ino<\/strong><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"arduino\" data-enlighter-title=\"\">\r\n\/\/ Setup\r\nvoid setup()\r\n{\r\n \r\n  \/\/ Delay\r\n  delay(100);\r\n\r\n  \/\/ Serial\r\n  Serial.begin(57600);\r\n\r\n  \/\/ Initialize the LED iLEDProto\r\n  pinMode(iLEDProto, OUTPUT);\r\n\r\n  \/\/ Initialize the LED iLEDGreen\r\n  pinMode(iLEDGreen, OUTPUT);\r\n\r\n  \/\/ Delay 0.1 Second\r\n  delay( 100 );\r\n\r\n}\r\n<\/pre>\n<p>&#8212;&#8212;<\/p>\n<p><strong>People can contact us:<\/strong> https:\/\/www.donluc.com\/?page_id=1927<\/p>\n<p><strong>Electronics, IoT, Teacher, Instructor, R&#038;D and Consulting<\/strong><\/p>\n<ul>\n<li>Programming Language<\/li>\n<li>Single-Board Microcontrollers (PIC, Arduino, Raspberry Pi, Arm, Silicon Labs, Espressif, Etc&#8230;)<\/li>\n<li>IoT<\/li>\n<li>Wireless (Radio Frequency, Bluetooth, WiFi, Etc&#8230;)<\/li>\n<li>Robotics<\/li>\n<li>Automation<\/li>\n<li>Camera and Video Capture Receiver Stationary, Wheel\/Tank and Underwater Vehicle<\/li>\n<li>Unmanned Vehicles Terrestrial and Marine<\/li>\n<li>Machine Learning<\/li>\n<li>Artificial Intelligence (AI)<\/li>\n<li>RTOS<\/li>\n<li>Sensors, eHealth Sensors, Biosensor, and Biometric<\/li>\n<li>Research &#038; Development (R &#038; D)<\/li>\n<li>Consulting<\/li>\n<\/ul>\n<p><strong>Follow Us<\/strong><\/p>\n<p><strong>Luc Paquin \u2013 Curriculum Vitae &#8211; 2024<\/strong><br \/>\nhttps:\/\/www.donluc.com\/luc\/<\/p>\n<p><strong>Web:<\/strong> https:\/\/www.donluc.com\/<br \/>\n<strong>Facebook:<\/strong> https:\/\/www.facebook.com\/neosteam.labs.9\/<br \/>\n<strong>YouTube:<\/strong> https:\/\/www.youtube.com\/@thesass2063<br \/>\n<strong>Twitter:<\/strong> https:\/\/twitter.com\/labs_steam<br \/>\n<strong>Pinterest:<\/strong> https:\/\/www.pinterest.com\/NeoSteamLabs\/<br \/>\n<strong>Instagram:<\/strong> https:\/\/www.instagram.com\/neosteamlabs\/<br \/>\n<strong>Patreon:<\/strong> https:\/\/patreon.com\/DonLucElectronics59<br \/>\n<strong>DFRobot:<\/strong> https:\/\/learn.dfrobot.com\/user-10186.html<br \/>\n<strong>Hackster.io:<\/strong> https:\/\/www.hackster.io\/neosteam-labs<br \/>\n<strong>Elecrow:<\/strong> https:\/\/www.elecrow.com\/share\/sharepj\/center\/no\/760816d385ebb1edc0732fd873bfbf13<br \/>\n<strong>TikTok:<\/strong> https:\/\/www.tiktok.com\/@luc.paquin8<br \/>\n<strong>Twitch:<\/strong> https:\/\/www.twitch.tv\/lucpaquin<br \/>\n<strong>LinkedIn:<\/strong> https:\/\/www.linkedin.com\/in\/jlucpaquin\/<\/p>\n<p><strong>Don Luc<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8212;&#8212; #DonLucElectronics #DonLuc #Arduino #Project #Patreon #Electronics #Microcontrollers #IoT #Fritzing #Programming #Consultant &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; &#8212;&#8212; Patreon: Beginner Beginner: These beginner-friendly microcontrollers is Arduino Uno are easy to use and program with just a computer or laptop, a USB cable, and some open-source software. What is Arduino? Arduino board designs use a variety of microprocessors &#8230; <a title=\"Patreon: Beginner\" class=\"read-more\" href=\"https:\/\/www.donluc.com\/?p=4195\" aria-label=\"Read more about Patreon: Beginner\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50,49,38,59,115,5,138,287,58,43],"tags":[6,92,102,4,19,85,24,139,366,9,109,33,34,108],"class_list":["post-4195","post","type-post","status-publish","format-standard","hentry","category-arduino","category-consultant","category-digitalelectronics","category-fritzing","category-e-mentor","category-microcontrollers","category-patreon","category-program","category-arduino-programming","category-sparkfun","tag-arduino","tag-battery","tag-components","tag-consultant","tag-electronics","tag-fritzing","tag-microcontroller","tag-patreon","tag-patreon-beginner","tag-programming","tag-sparkfun","tag-technology","tag-video-blog","tag-vlog"],"_links":{"self":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4195","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4195"}],"version-history":[{"count":1,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4195\/revisions"}],"predecessor-version":[{"id":4200,"href":"https:\/\/www.donluc.com\/index.php?rest_route=\/wp\/v2\/posts\/4195\/revisions\/4200"}],"wp:attachment":[{"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4195"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4195"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.donluc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4195"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}