{"id":768,"date":"2021-03-17T04:24:32","date_gmt":"2021-03-17T04:24:32","guid":{"rendered":"https:\/\/thinkerspace.my\/makerkit\/?p=768"},"modified":"2021-03-22T07:38:25","modified_gmt":"2021-03-22T07:38:25","slug":"tutorial-bluetooth","status":"publish","type":"post","link":"https:\/\/thinkerspace.my\/makerkit\/tutorial-bluetooth\/","title":{"rendered":"Tutorial Bluetooth"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;1px|||||&#8221;][et_pb_row _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;3px|||||&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221;][et_pb_blurb title=&#8221;First Step&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/tinker.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Open TinkerCode app in your browser<\/p>\n<p>Click <a href=\"https:\/\/app.tinkercode.my\/\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> to go to TinkerCode app!<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Second Step&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/2nd.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Drop setup block and adruino loop from Base Controller menu<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Third Step&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/b3rd.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Drop set up for bluetooth initialization block from Logic menu<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Fourth Step&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/b4th.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Drop Bluetooth Data block from Tuah Bot menu<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Fifth Step&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/b5th.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Create new variable with any names suitable from Variables menu\u00a0<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Sixth Step&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/b6th.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Drop these two block with the variable name&#8217;s that you created under the Bluetooth Data block<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Seventh Step&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/b7th.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Drop Read Bluetooth Data from Tuah Bot Menu inside &#8216;as Character&#8217; block<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Eighth Step&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/b8th.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Drop these two block from Logic menu under the &#8216;if do&#8217; block<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Ninth Step&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/b9th.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Drop variable name&#8217;s block that you created inside the &#8216;equal (=)&#8217; block\u00a0<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Tenth Step&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/btenth.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Drop this block from Text menu in the other side of &#8216;equal (=)&#8217; block and type a character for green LED. For example, g<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Eleventh Step&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/b11th.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Drop DigitalWhite block from Adruino menu beside &#8216;do&#8217; text. Next, set pin for green LED and set Stat to HIGH = ON<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Twelfth Step&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/b12th.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Do a condition to turn OFF LED by clicking &#8216;setting&#8217; icon and drag else into if<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Thirteenth Step &#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/b13th.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Duplicate the DigitalWrite block by right click &gt; Duplicate. Next set Stat to LOW = OFF<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Fourteenth Step &#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/b14th.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Duplicate all of the condition of green LED block for yellow LED. Set text to y which is for yellow LED\u00a0<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Fourteenth Step &#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/bforteenth.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Duplicate all of the condition of green LED block for yellow LED. Set text to y which is for yellow LED and change the pin number follow the yellow LED pin<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Fifteenth Step &#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/b15th.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Next, duplicate for red LED. Set text to r which is for red LED and change the pin number follow the red LED pin<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Sixteenth Step &#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/b16th.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Lastly, duplicate for buzzer. Set text to b which is for buzzer and change the pin number follow the buzzer pin<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Seventeenth Step&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/7th.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Plug in Maker Kit USB to your laptop or computer<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Eighteenth Step&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/8th-1.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Set Board Type and Port in setting according your Maker Kit port. Next, click Update button<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Nineteenth Step&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/6thh-1.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Lastly, click upload button to upload your program to Maker Kit device<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Awesome pop up says your program is all set. See the result!&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/9th-2.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;][\/et_pb_blurb][et_pb_blurb title=&#8221;Result&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/bresult.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>Insert bluetooth device into bluetooth port<\/p>\n<p>[\/et_pb_blurb][et_pb_blurb title=&#8221;Install Tuah Controller from playstore in your smart phone&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/bresult2.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;][\/et_pb_blurb][et_pb_blurb title=&#8221;Search for Tuah Bluetooth and pair it with your device. Pin number is 1234&#8243; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/bresult3.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; header_line_height=&#8221;1.2em&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;][\/et_pb_blurb][et_pb_blurb title=&#8221;Final Result&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/bresult4.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; header_line_height=&#8221;1.2em&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;]<\/p>\n<p>You can click button from your smartphone and Maker Kit device will give a response. For example, red LED will light up. Enjoy!<\/p>\n<p>[\/et_pb_blurb][\/et_pb_column][\/et_pb_row][et_pb_row _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221;][et_pb_video src=&#8221;http:\/\/youtu.be\/XMenFM7lQcs&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221;][\/et_pb_video][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;1px|||||&#8221;][et_pb_row _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; custom_padding=&#8221;3px|||||&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221;][et_pb_blurb title=&#8221;First Step&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/tinker.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;] Open TinkerCode app in your browser Click here to go to TinkerCode app! [\/et_pb_blurb][et_pb_blurb title=&#8221;Second Step&#8221; image=&#8221;https:\/\/thinkerspace.my\/makerkit\/wp-content\/uploads\/2021\/03\/2nd.png&#8221; _builder_version=&#8221;4.8.2&#8243; _module_preset=&#8221;default&#8221; header_font=&#8221;|700|||||||&#8221; custom_margin=&#8221;||80px|||&#8221; border_width_all_image=&#8221;1px&#8221; border_color_all_image=&#8221;#000000&#8243;] Drop setup block and adruino loop from Base Controller menu [\/et_pb_blurb][et_pb_blurb title=&#8221;Third [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":1128,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[13,10],"tags":[],"class_list":["post-768","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-makerkit-nano","category-tutorial"],"_links":{"self":[{"href":"https:\/\/thinkerspace.my\/makerkit\/wp-json\/wp\/v2\/posts\/768","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thinkerspace.my\/makerkit\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thinkerspace.my\/makerkit\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thinkerspace.my\/makerkit\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/thinkerspace.my\/makerkit\/wp-json\/wp\/v2\/comments?post=768"}],"version-history":[{"count":5,"href":"https:\/\/thinkerspace.my\/makerkit\/wp-json\/wp\/v2\/posts\/768\/revisions"}],"predecessor-version":[{"id":1130,"href":"https:\/\/thinkerspace.my\/makerkit\/wp-json\/wp\/v2\/posts\/768\/revisions\/1130"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thinkerspace.my\/makerkit\/wp-json\/wp\/v2\/media\/1128"}],"wp:attachment":[{"href":"https:\/\/thinkerspace.my\/makerkit\/wp-json\/wp\/v2\/media?parent=768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thinkerspace.my\/makerkit\/wp-json\/wp\/v2\/categories?post=768"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thinkerspace.my\/makerkit\/wp-json\/wp\/v2\/tags?post=768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}