{"id":2842,"date":"2021-03-27T13:00:00","date_gmt":"2021-03-27T13:00:00","guid":{"rendered":"https:\/\/chewett.co.uk\/blog\/?p=2842"},"modified":"2021-03-29T23:42:55","modified_gmt":"2021-03-29T22:42:55","slug":"configuring-the-makerhawk-heltec-esp32-lora-development-board-for-arduino-ide","status":"publish","type":"post","link":"https:\/\/chewett.co.uk\/blog\/2842\/configuring-the-makerhawk-heltec-esp32-lora-development-board-for-arduino-ide\/","title":{"rendered":"Configuring the MakerHawk Heltec ESP32 LoRa Development Board for Arduino IDE"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"254\" data-attachment-id=\"2871\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/2842\/configuring-the-makerhawk-heltec-esp32-lora-development-board-for-arduino-ide\/makerhawk_esp32_lora_arduino_ide_header\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/makerhawk_esp32_lora_arduino_ide_header.jpg?fit=800%2C300&amp;ssl=1\" data-orig-size=\"800,300\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"makerhawk_esp32_lora_arduino_ide_header\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/makerhawk_esp32_lora_arduino_ide_header.jpg?fit=300%2C113&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/makerhawk_esp32_lora_arduino_ide_header.jpg?fit=678%2C254&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/makerhawk_esp32_lora_arduino_ide_header.jpg?resize=678%2C254&#038;ssl=1\" alt=\"\" class=\"wp-image-2871\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/makerhawk_esp32_lora_arduino_ide_header.jpg?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/makerhawk_esp32_lora_arduino_ide_header.jpg?resize=300%2C113&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/makerhawk_esp32_lora_arduino_ide_header.jpg?resize=768%2C288&amp;ssl=1 768w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/makerhawk_esp32_lora_arduino_ide_header.jpg?resize=50%2C19&amp;ssl=1 50w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/figure>\n\n\n\n<p>This guide runs you through the basic steps to configure the Arduino IDE for the MakerHawk Heltec ESP32 LoRa Development Board.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">What is the MakerHawk Heltec ESP32 LoRa Development Board<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"335\" data-attachment-id=\"2868\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/2842\/configuring-the-makerhawk-heltec-esp32-lora-development-board-for-arduino-ide\/top_view_v4\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/top_view_v4.jpg?fit=800%2C395&amp;ssl=1\" data-orig-size=\"800,395\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"top_view_v4\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/top_view_v4.jpg?fit=300%2C148&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/top_view_v4.jpg?fit=678%2C335&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/top_view_v4.jpg?resize=678%2C335&#038;ssl=1\" alt=\"\" class=\"wp-image-2868\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/top_view_v4.jpg?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/top_view_v4.jpg?resize=300%2C148&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/top_view_v4.jpg?resize=768%2C379&amp;ssl=1 768w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/top_view_v4.jpg?resize=50%2C25&amp;ssl=1 50w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><figcaption>Top of the MakerHawk Heltec ESP32 LoRa Development Board<\/figcaption><\/figure>\n\n\n\n<p>The MakerHawk Heltec ESP32 LoRa Development board combines an ESP32 microcontroller with a LoRa node chip, and display panel. This has the power of something like an Arduino with the additional features of Wi-Fi, Bluetooth, and LoRa support.<\/p>\n\n\n\n<p>The ESP32 provides Wi-Fi (802.11 b\/g\/n) and Bluetooth 4.2\/LE which can be useful to communicate with standard devices. This board also has a LoRa chip which allows communication with other LoRa nodes. This has an advantage over Wi-Fi and Bluetooth as the range is significantly longer.<\/p>\n\n\n\n<p>The ESP32 has two CPU units which means you can power one down and run on a small amount of power. Then you only need to wake and power the primary CPU when more intensive work has to be done. This can extend the life of the microcontroller when on batteries significantly.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"335\" data-attachment-id=\"2869\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/2842\/configuring-the-makerhawk-heltec-esp32-lora-development-board-for-arduino-ide\/bottom_view-fw\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/bottom_view.fw_.png?fit=800%2C395&amp;ssl=1\" data-orig-size=\"800,395\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"bottom_view.fw\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/bottom_view.fw_.png?fit=300%2C148&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/bottom_view.fw_.png?fit=678%2C335&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/bottom_view.fw_.png?resize=678%2C335&#038;ssl=1\" alt=\"\" class=\"wp-image-2869\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/bottom_view.fw_.png?w=800&amp;ssl=1 800w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/bottom_view.fw_.png?resize=300%2C148&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/bottom_view.fw_.png?resize=768%2C379&amp;ssl=1 768w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/bottom_view.fw_.png?resize=50%2C25&amp;ssl=1 50w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><figcaption>Bottom of the MakerHawk Heltec ESP32 LoRa Development Board<\/figcaption><\/figure>\n\n\n\n<p>This development board has the ability to run on a Lithium battery which it will charge up when connected to a power source. The low power combined with the ability to run off a battery allows this to be placed somewhere without permanent power.<\/p>\n\n\n\n<p>On the top of the board is a small 128*64 OLED display which can display useful information or graphics.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Configuring the Arduino IDE for the MakerHawk Heltec ESP32 LoRa Development Board<\/h2>\n\n\n\n<p>I am going to program my ESP32 LoRa development board using the Arduino IDE. To do this I am going to have to install the board software needed to compile my sketches.<\/p>\n\n\n\n<p>You will need to ensure your Arduino IDE is higher than version 1.6.4 as this is the first version that supports alternative boards.<\/p>\n\n\n\n<p>Once you have opened the Arduino IDE you need to go into File -&gt; preferences on the main menu. You will want to insert the board URL in the &#8220;Additional Boards Manager URLs&#8221; box. If this already has text in it press the button to the right of the box.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"405\" data-attachment-id=\"2847\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/2842\/configuring-the-makerhawk-heltec-esp32-lora-development-board-for-arduino-ide\/preferences_dialog\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/preferences_dialog.jpg?fit=802%2C479&amp;ssl=1\" data-orig-size=\"802,479\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"preferences_dialog\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/preferences_dialog.jpg?fit=300%2C179&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/preferences_dialog.jpg?fit=678%2C405&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/preferences_dialog.jpg?resize=678%2C405&#038;ssl=1\" alt=\"\" class=\"wp-image-2847\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/preferences_dialog.jpg?w=802&amp;ssl=1 802w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/preferences_dialog.jpg?resize=300%2C179&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/preferences_dialog.jpg?resize=768%2C459&amp;ssl=1 768w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/preferences_dialog.jpg?resize=50%2C30&amp;ssl=1 50w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/figure>\n\n\n\n<p>Once selected you will want to put the board URL on a new line. The Board URL for this chip is:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">https:\/\/resource.heltec.cn\/download\/package_heltec_esp32_index.json<\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"636\" height=\"238\" data-attachment-id=\"2848\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/2842\/configuring-the-makerhawk-heltec-esp32-lora-development-board-for-arduino-ide\/new_board_on_new_line\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/new_board_on_new_line.jpg?fit=636%2C238&amp;ssl=1\" data-orig-size=\"636,238\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"new_board_on_new_line\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/new_board_on_new_line.jpg?fit=300%2C112&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/new_board_on_new_line.jpg?fit=636%2C238&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/new_board_on_new_line.jpg?resize=636%2C238&#038;ssl=1\" alt=\"\" class=\"wp-image-2848\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/new_board_on_new_line.jpg?w=636&amp;ssl=1 636w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/new_board_on_new_line.jpg?resize=300%2C112&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/new_board_on_new_line.jpg?resize=50%2C19&amp;ssl=1 50w\" sizes=\"auto, (max-width: 636px) 100vw, 636px\" \/><\/figure>\n\n\n\n<p>Once this is saved you then need to install the Heltec ESP32 boards to the Arduino IDE. You can do this by going into Tools -&gt; Board -&gt; Boards Manager.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"678\" height=\"382\" data-attachment-id=\"2849\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/2842\/configuring-the-makerhawk-heltec-esp32-lora-development-board-for-arduino-ide\/add_boards_esp32\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/add_boards_esp32.jpg?fit=786%2C443&amp;ssl=1\" data-orig-size=\"786,443\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"add_boards_esp32\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/add_boards_esp32.jpg?fit=300%2C169&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/add_boards_esp32.jpg?fit=678%2C382&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/add_boards_esp32.jpg?resize=678%2C382&#038;ssl=1\" alt=\"\" class=\"wp-image-2849\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/add_boards_esp32.jpg?w=786&amp;ssl=1 786w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/add_boards_esp32.jpg?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/add_boards_esp32.jpg?resize=768%2C433&amp;ssl=1 768w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/add_boards_esp32.jpg?resize=50%2C28&amp;ssl=1 50w\" sizes=\"auto, (max-width: 678px) 100vw, 678px\" \/><\/figure>\n\n\n\n<p>Then in the board manager enter &#8220;ESP32&#8221; and select the &#8220;Heltec ESP32 Series Dev-boards&#8221; board set and press the install button. This will download the necessary tools to build software for the Heltec ESP32 board.<\/p>\n\n\n\n<p>Finally you should be able to select the WiFi LoRa 32 (V2) on the Arduino Board dropdown under the Heltec ESP32 Arduino subheading.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Compiling my first program for the MakerHawk Heltec ESP32 LoRa Development Board<\/h2>\n\n\n\n<p>Now that I have selected the correct board, the IDE will be able to compile programs written for it. My first test will be the classic Hello World program printing to the Serial port. This will ensure that the Arduino IDE is configured correctly for my ESP32 module.<\/p>\n\n\n\n<p>I am going to use the below code to test it is working.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nvoid setup() {\n  Serial.begin(115200);\n}\n\nvoid loop() {\n  Serial.println(&quot;Hello I am a MakerHawk Heltec ESP32 LoRa Development Board&quot;);\n  delay(2000);\n}\n<\/pre><\/div>\n\n\n<p>This just prints out a simple message on the serial port every two seconds. Once the IDE has the code I can then select the right COM port and press Upload.<\/p>\n\n\n\n<p>You may find that the first time you compile a sketch for the ESP32 it will take a while. This is because the Arduino IDE has to compile all the standard ESP32 libraries however it will cache them for future use.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"601\" height=\"418\" data-attachment-id=\"2850\" data-permalink=\"https:\/\/chewett.co.uk\/blog\/2842\/configuring-the-makerhawk-heltec-esp32-lora-development-board-for-arduino-ide\/serial_output_fin\/\" data-orig-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/serial_output_fin.jpg?fit=601%2C418&amp;ssl=1\" data-orig-size=\"601,418\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"serial_output_fin\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/serial_output_fin.jpg?fit=300%2C209&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/serial_output_fin.jpg?fit=601%2C418&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/serial_output_fin.jpg?resize=601%2C418&#038;ssl=1\" alt=\"\" class=\"wp-image-2850\" srcset=\"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/serial_output_fin.jpg?w=601&amp;ssl=1 601w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/serial_output_fin.jpg?resize=300%2C209&amp;ssl=1 300w, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/serial_output_fin.jpg?resize=50%2C35&amp;ssl=1 50w\" sizes=\"auto, (max-width: 601px) 100vw, 601px\" \/><\/figure>\n\n\n\n<p>After running this I can see that it has printed out my message and the Arduino IDE has successfully written my program to the ESP32.<\/p>\n\n\n\n<p>Now this is working I will look at testing the Heltec library on the ESP32.<\/p>\n\n\n\n<p>If you have any questions configuring your ESP32 feel free to ask in the comments below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This guide runs you through the basic steps to configure the Arduino IDE for the MakerHawk Heltec ESP32 LoRa Development Board.<\/p>\n","protected":false},"author":1,"featured_media":2862,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[97],"tags":[132,211,402,399,400,403,401],"class_list":["post-2842","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-electronics","tag-arduino","tag-arduino-ide","tag-bluetooth","tag-esp32","tag-lora","tag-microcontroller","tag-wifi"],"wppr_data":{"cwp_meta_box_check":"No"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/03\/makerhawk_lora_esp32_posticon_OUTPUT.png?fit=1200%2C628&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/p2toWX-JQ","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2853,"url":"https:\/\/chewett.co.uk\/blog\/2853\/adding-the-heltec-esp32-library-to-the-arduino-ide\/","url_meta":{"origin":2842,"position":0},"title":"Adding the Heltec ESP32 library to the Arduino IDE","author":"Chewett","date":"April 10, 2021","format":false,"excerpt":"This post talks about how you can add the Heltec ESP32 library to the Arduino IDE and use it to test your Heltec ESP32. Adding board support for the Heltec ESP32 Before adding the Heltec ESP32 library to the Arduino IDE you should ensure the Heltec ESP32 series boards are\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/chewett.co.uk\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/makerhawk_lora_esp32_library_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/makerhawk_lora_esp32_library_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/makerhawk_lora_esp32_library_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/makerhawk_lora_esp32_library_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/makerhawk_lora_esp32_library_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":937,"url":"https:\/\/chewett.co.uk\/blog\/937\/configuring-wemos-d1-mini-pro-esp8266-arduino-ide\/","url_meta":{"origin":2842,"position":1},"title":"Configuring the Wemos D1 Mini Pro ESP8266 for Arduino IDE","author":"Chewett","date":"December 30, 2017","format":false,"excerpt":"This guide runs you through a basic set of steps to configure the Aduino IDE to program a Wemos D1 Mini Pro ESP8266. What is the Wemos D1 mini Pro The Wemos D1 mini Pro is an Arduino-like board that runs using the ESP8266 microcontroller. One of the key differences\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/chewett.co.uk\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/01\/wemos_d1_mini_post_icon.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/01\/wemos_d1_mini_post_icon.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/01\/wemos_d1_mini_post_icon.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/01\/wemos_d1_mini_post_icon.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1066,"url":"https:\/\/chewett.co.uk\/blog\/1066\/pin-numbering-for-wemos-d1-mini-esp8266\/","url_meta":{"origin":2842,"position":2},"title":"Pin numbering for WeMos D1 Mini (ESP8266)","author":"Chewett","date":"March 17, 2018","format":false,"excerpt":"Here I explain the difference in pin numbering for the WeMos D1 Mini compared to an Arduino and include a sample blink sketch. Setting up the Arduino IDE for the WeMos D1 mini This tutorial assumes that you have set up the Arduino IDE to able to compile the\u00a0Wemos D1\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/chewett.co.uk\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/03\/pin_numbering_wemos_d1_mini.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/03\/pin_numbering_wemos_d1_mini.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/03\/pin_numbering_wemos_d1_mini.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/03\/pin_numbering_wemos_d1_mini.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":1405,"url":"https:\/\/chewett.co.uk\/blog\/1405\/using-the-dht11-temperature-sensor-with-a-wemos-d1-mini-esp8266\/","url_meta":{"origin":2842,"position":3},"title":"Using the DHT11 Temperature Sensor with a WeMos D1 Mini (ESP8266)","author":"Chewett","date":"August 18, 2018","format":false,"excerpt":"In this blog post I talk about the additional steps needed to use the DHT11 temperature sensor with a WeMos D1 Mini (ESP8266) with the Arduino IDE. Differences from running a DHT11 on an Arduino There are two major differences to bear in mind when using the DHT11 on a\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/chewett.co.uk\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/08\/dht11_on_wemos_d1_mini.jpg?fit=800%2C800&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/08\/dht11_on_wemos_d1_mini.jpg?fit=800%2C800&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/08\/dht11_on_wemos_d1_mini.jpg?fit=800%2C800&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2018\/08\/dht11_on_wemos_d1_mini.jpg?fit=800%2C800&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2514,"url":"https:\/\/chewett.co.uk\/blog\/2514\/ws2812b-8x8-led-matrix-panel-review-and-code\/","url_meta":{"origin":2842,"position":4},"title":"WS2812B 8&#215;8 LED Matrix Panel Review and Code","author":"Chewett","date":"May 8, 2021","format":false,"excerpt":"This post talks about how you can use the WS2812B 8x8 LED Matrix Panel with an Arduino. WS2812B 8x8 LED Matrix Panel The WS2812B 8x8 LED Matrix Panel is an square arrangement of 64 RGB LED's. Each LED has its own LED driver which allows you to individually address and\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/chewett.co.uk\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/WS2812B-8x8-LED-Matrix-Panel_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/WS2812B-8x8-LED-Matrix-Panel_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/WS2812B-8x8-LED-Matrix-Panel_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/WS2812B-8x8-LED-Matrix-Panel_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2021\/04\/WS2812B-8x8-LED-Matrix-Panel_posticon_OUTPUT.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2543,"url":"https:\/\/chewett.co.uk\/blog\/2543\/i2c-connection-pins-on-the-wemos-d1-mini-esp8266\/","url_meta":{"origin":2842,"position":5},"title":"I2C Connection Pins on the WeMos D1 Mini (ESP8266)","author":"Chewett","date":"July 18, 2020","format":false,"excerpt":"This blog post details the I2C connections on the WeMos D1 Mini (ESP8266). Using I2C connections with the WeMos D1 Mini (ESP8266) Within IoT devices the I2C protocol is used a lot for multi-master multi-slave communication as a relatively simple serial bus. You will find that small sensors will report\u2026","rel":"","context":"In &quot;Electronics&quot;","block_context":{"text":"Electronics","link":"https:\/\/chewett.co.uk\/blog\/category\/electronics\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/08\/wemos_i2c_pin_numbering_posticon_output.png?fit=1200%2C628&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/08\/wemos_i2c_pin_numbering_posticon_output.png?fit=1200%2C628&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/08\/wemos_i2c_pin_numbering_posticon_output.png?fit=1200%2C628&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/08\/wemos_i2c_pin_numbering_posticon_output.png?fit=1200%2C628&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/chewett.co.uk\/blog\/wp-content\/uploads\/2020\/08\/wemos_i2c_pin_numbering_posticon_output.png?fit=1200%2C628&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2842","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=2842"}],"version-history":[{"count":9,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2842\/revisions"}],"predecessor-version":[{"id":2873,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/posts\/2842\/revisions\/2873"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media\/2862"}],"wp:attachment":[{"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=2842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=2842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chewett.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=2842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}