{"id":6082,"date":"2024-06-28T08:02:37","date_gmt":"2024-06-28T08:02:37","guid":{"rendered":"https:\/\/surinlearninglab.com\/?p=6082"},"modified":"2025-05-02T01:57:08","modified_gmt":"2025-05-02T01:57:08","slug":"magic-8-ball","status":"publish","type":"post","link":"https:\/\/surinlearninglab.com\/th\/2024\/06\/28\/magic-8-ball\/","title":{"rendered":"Magic-8-Ball"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"6082\" class=\"elementor elementor-6082\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6782e741 elementor-section-content-middle elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6782e741\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t\t<div class=\"elementor-background-overlay\"><\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-no\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6b0f642b\" data-id=\"6b0f642b\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6c6345ab elementor-position-top elementor-widget elementor-widget-image-box\" data-id=\"6c6345ab\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-image-box-wrapper\"><figure class=\"elementor-image-box-img\"><img decoding=\"async\" src=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/Arduino-UNO-Majic-8-Ball.webp?fit=700%2C400&#038;ssl=1\" title=\"Arduino UNO Majic 8 Ball\" alt=\"Arduino UNO Majic 8 Ball\" loading=\"lazy\" \/><\/figure><div class=\"elementor-image-box-content\"><h2 class=\"elementor-image-box-title\">Magic 8-Ball:  Arduino UNO R3, a tilt switch, and an LCD display<\/h2><p class=\"elementor-image-box-description\">Hey Science Enthusiasts! Get ready to build your own electronic Magic 8 Ball using an Arduino, a tilt switch, and an LCD display. This cool project will let you ask your very own \"Crystal Ball\" any yes-or-no question and get a mystic answer! Let\u2019s dive into making this magically fun gadget step-by-step.<\/p><\/div><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-17d1769d elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"17d1769d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1693ea28 elementor-widget elementor-widget-heading\" data-id=\"1693ea28\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0e27\u0e31\u0e2a\u0e14\u0e38\u0e17\u0e35\u0e48\u0e04\u0e38\u0e13\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49:<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-34575518 elementor-widget elementor-widget-text-editor\" data-id=\"34575518\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h3>\u00a0<\/h3><ul><li><strong>\u0e2d\u0e32\u0e23\u0e4c\u0e14\u0e39\u0e2d\u0e35\u0e42\u0e19\u0e48 Uno<\/strong>: The brain of our magic ball.<\/li><li><strong>\u0e2a\u0e27\u0e34\u0e15\u0e0a\u0e4c\u0e40\u0e2d\u0e35\u0e22\u0e07<\/strong>: To detect the shaking motion.<\/li><li><strong>16&#215;2 LCD Display<\/strong>: To display the crystal ball\u2019s answers.<\/li><li><strong>\u0e41\u0e1c\u0e48\u0e19\u0e17\u0e14\u0e25\u0e2d\u0e07\u0e27\u0e07\u0e08\u0e23 (\u0e40\u0e1a\u0e23\u0e14\u0e1a\u0e2d\u0e23\u0e4c\u0e14)<\/strong>: The staging area for your electronic components.<\/li><li><strong>Jump Wires<\/strong>: To connect all the parts together.<\/li><li><strong>Potentiometer:\u00a0<\/strong>To control the brightness of our LCD<\/li><li><strong>USB Cable<\/strong>: To connect your Arduino to your computer for programming.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-54dd348a elementor-widget elementor-widget-image-gallery\" data-id=\"54dd348a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image-gallery.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-image-gallery\">\n\t\t\t\n<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"54dd348a\" data-elementor-lightbox-title=\"download (2)\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjA2MiwidXJsIjoiaHR0cHM6XC9cL3N1cmlubGVhcm5pbmdsYWIuY29tXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNlwvZG93bmxvYWQtMi5qcGciLCJzbGlkZXNob3ciOiI1NGRkMzQ4YSJ9\" href=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/download-2.jpg?ssl=1\"><img decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/download-2.jpg?resize=150%2C150&amp;ssl=1\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" \/><\/a>\n<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"54dd348a\" data-elementor-lightbox-title=\"download (1)\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjA5MSwidXJsIjoiaHR0cHM6XC9cL3N1cmlubGVhcm5pbmdsYWIuY29tXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNlwvZG93bmxvYWQtMS0xLmpwZyIsInNsaWRlc2hvdyI6IjU0ZGQzNDhhIn0%3D\" href=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/download-1-1.jpg?ssl=1\"><img decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/download-1-1.jpg?resize=150%2C150&amp;ssl=1\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/download-1-1.jpg?w=225&amp;ssl=1 225w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/download-1-1.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/download-1-1.jpg?resize=12%2C12&amp;ssl=1 12w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"54dd348a\" data-elementor-lightbox-title=\"images (1)\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjA5MiwidXJsIjoiaHR0cHM6XC9cL3N1cmlubGVhcm5pbmdsYWIuY29tXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNlwvaW1hZ2VzLTEuanBnIiwic2xpZGVzaG93IjoiNTRkZDM0OGEifQ%3D%3D\" href=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/images-1.jpg?ssl=1\"><img decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/images-1.jpg?resize=150%2C150&amp;ssl=1\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/images-1.jpg?w=225&amp;ssl=1 225w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/images-1.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/images-1.jpg?resize=12%2C12&amp;ssl=1 12w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"54dd348a\" data-elementor-lightbox-title=\"download\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjA5MywidXJsIjoiaHR0cHM6XC9cL3N1cmlubGVhcm5pbmdsYWIuY29tXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNlwvZG93bmxvYWQtNC5qcGciLCJzbGlkZXNob3ciOiI1NGRkMzQ4YSJ9\" href=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/download-4.jpg?ssl=1\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/download-4.jpg?resize=150%2C150&amp;ssl=1\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/download-4.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/download-4.jpg?resize=11%2C12&amp;ssl=1 11w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"54dd348a\" data-elementor-lightbox-title=\"download (4)\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjA5NCwidXJsIjoiaHR0cHM6XC9cL3N1cmlubGVhcm5pbmdsYWIuY29tXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNlwvZG93bmxvYWQtNC0xLmpwZyIsInNsaWRlc2hvdyI6IjU0ZGQzNDhhIn0%3D\" href=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/download-4-1.jpg?ssl=1\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/download-4-1.jpg?resize=150%2C150&amp;ssl=1\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/download-4-1.jpg?w=225&amp;ssl=1 225w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/download-4-1.jpg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/download-4-1.jpg?resize=12%2C12&amp;ssl=1 12w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3de21000 elementor-widget elementor-widget-heading\" data-id=\"3de21000\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e17\u0e35\u0e48 1: \u0e40\u0e0a\u0e37\u0e48\u0e2d\u0e21\u0e15\u0e48\u0e2d\u0e2e\u0e32\u0e23\u0e4c\u0e14\u0e41\u0e27\u0e23\u0e4c<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5efd722 elementor-widget elementor-widget-text-editor\" data-id=\"5efd722\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Let\u2019s start wiring things up!<\/p><ul><li><strong>Hook up the LCD Display<\/strong>:<ul><li><code>RS<\/code> to Digital Pin 12.<\/li><li><code>Enable<\/code> to Digital Pin 11.<\/li><li>VO to Signal Pin on Pot Meter<\/li><li><code>D4<\/code> to Digital Pin 5.<\/li><li><code>D5<\/code> to Digital Pin 4.<\/li><li><code>D6<\/code> to Digital Pin 3.<\/li><li><code>D7<\/code> to Digital Pin 2.<\/li><li><code>VCC<\/code> to 5V and <code>GND<\/code> to Ground on Arduino.<\/li><\/ul><\/li><li><strong>Set up the Tilt Switch<\/strong>:<ul><li>GND To Common Ground<\/li><li>VCC To Common 5V<\/li><li>S To Digital Pin 6<\/li><li><strong>Connect The Pot Meter:<\/strong><\/li><li>One Outside Pin To Common Ground<\/li><li>The Other Outside Pin To Common 5V<\/li><li>Wiper Pin (Middle Pin) To VO on LCD<\/li><\/ul><\/li><\/ul><p><strong>Remember<\/strong>: Always ensure your connections are secure and correct to prevent any short circuits or damage to the Arduino!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-11a4afd1 elementor-widget elementor-widget-image\" data-id=\"11a4afd1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"439\" src=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/updated-magic-8-ball-fritzing-diagram_bb.png?fit=1024%2C439&amp;ssl=1\" class=\"attachment-large size-large wp-image-6392\" alt=\"Fritzing Magic 8-ball Diagram\" srcset=\"https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/updated-magic-8-ball-fritzing-diagram_bb.png?w=2593&amp;ssl=1 2593w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/updated-magic-8-ball-fritzing-diagram_bb.png?resize=300%2C129&amp;ssl=1 300w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/updated-magic-8-ball-fritzing-diagram_bb.png?resize=1024%2C439&amp;ssl=1 1024w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/updated-magic-8-ball-fritzing-diagram_bb.png?resize=768%2C329&amp;ssl=1 768w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/updated-magic-8-ball-fritzing-diagram_bb.png?resize=1536%2C659&amp;ssl=1 1536w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/updated-magic-8-ball-fritzing-diagram_bb.png?resize=2048%2C878&amp;ssl=1 2048w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/updated-magic-8-ball-fritzing-diagram_bb.png?resize=18%2C8&amp;ssl=1 18w, https:\/\/i0.wp.com\/surinlearninglab.com\/wp-content\/uploads\/2024\/06\/updated-magic-8-ball-fritzing-diagram_bb.png?w=2400&amp;ssl=1 2400w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-60c27254 elementor-widget elementor-widget-heading\" data-id=\"60c27254\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">\u0e02\u0e31\u0e49\u0e19\u0e15\u0e2d\u0e19\u0e17\u0e35\u0e48 2: \u0e40\u0e27\u0e25\u0e32\u0e40\u0e02\u0e35\u0e22\u0e19\u0e42\u0e04\u0e49\u0e14!<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3d9526c5 elementor-widget elementor-widget-text-editor\" data-id=\"3d9526c5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Let\u2019s breathe life into our crystal ball.<\/p><ul><li><p><strong>\u0e40\u0e1b\u0e34\u0e14\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Arduino IDE \u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13<\/strong>:<\/p><ul><li>\u0e40\u0e1b\u0e34\u0e14\u0e42\u0e1b\u0e23\u0e41\u0e01\u0e23\u0e21 Arduino IDE \u0e1a\u0e19\u0e04\u0e2d\u0e21\u0e1e\u0e34\u0e27\u0e40\u0e15\u0e2d\u0e23\u0e4c\u0e02\u0e2d\u0e07\u0e04\u0e38\u0e13<\/li><\/ul><\/li><li><p><strong>Include the LCD Library<\/strong>:<\/p><ul><li>Make sure the <code>LiquidCrystal<\/code> library is included (it comes pre-installed with the Arduino IDE).<\/li><\/ul><\/li><li><p><strong>Copy the Sketch<\/strong>:<\/p><ul><li>Copy the provided Arduino sketch into your Arduino IDE. This code initializes the LCD and checks the tilt switch to display a random answer when activated.<\/li><\/ul><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-456e1551 elementor-button-info elementor-align-center elementor-widget elementor-widget-button\" data-id=\"456e1551\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/github.com\/Surin-Learning-Lab\/Magic-8-Ball\/tree\/main\" target=\"_blank\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t<span class=\"elementor-button-icon\">\n\t\t\t\t<i aria-hidden=\"true\" class=\"fab fa-github\"><\/i>\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Click here for Arduino Sketch<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1789478 elementor-widget elementor-widget-text-editor\" data-id=\"1789478\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><p><strong>Upload the Code<\/strong>:<\/p><ul><li>Connect your Arduino to your computer using the USB cable.<\/li><li>Select the correct board and port from Tools.<\/li><li>Click the Upload button.<\/li><\/ul><\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-27bdf4d8 elementor-widget elementor-widget-heading\" data-id=\"27bdf4d8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Step 3: Test Your Crystal Ball!<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-19b7cc3f elementor-widget elementor-widget-text-editor\" data-id=\"19b7cc3f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>It\u2019s showtime\u2014let\u2019s see the magic happen!<\/p><ul><li><strong>Power Up Your Arduino<\/strong>:<ul><li>Connect your Arduino to a power source (USB cable or external battery).<\/li><\/ul><\/li><li><strong>Ask a Question<\/strong>:<ul><li>Gently tilt your device to simulate asking a question.<\/li><li>Wait for a few seconds; your answer will appear on the LCD!<\/li><\/ul><\/li><\/ul><h3>\ud83c\udf1f Voil\u00e0! Your Electronic Magic 8 Ball is Ready! \ud83c\udf1f<\/h3>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-df8d15b elementor-widget elementor-widget-heading\" data-id=\"df8d15b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Troubleshooting Tips:<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-49695450 elementor-widget elementor-widget-text-editor\" data-id=\"49695450\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<ul><li><strong>No Display?<\/strong> Check your LCD connections and make sure your contrast pin is properly adjusted.<\/li><li><strong>Not Responding to Tilts?<\/strong> Verify that the tilt switch is working and connected correctly.<\/li><\/ul><p>\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-473deee7 elementor-widget elementor-widget-text-editor\" data-id=\"473deee7\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><em>Congratulations, you&#8217;ve created a mystical gadget to amaze your friends and family! As you enjoy your new creation, remember, the fun of science is in exploration and discovery. Keep tinkering, keep learning, and most importantly, keep having fun with science!<\/em><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Magic 8-Ball: Arduino UNO R3, a tilt switch, and an LCD display Hey Science Enthusiasts! Get ready to build your own electronic Magic 8 Ball using an Arduino, a tilt switch, and an LCD display. This cool project will let you ask your very own &#8220;Crystal Ball&#8221; any yes-or-no question and get a mystic answer! [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"iawp_total_views":53,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[7],"tags":[],"class_list":["post-6082","post","type-post","status-publish","format-standard","hentry","category-arduino"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/posts\/6082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/comments?post=6082"}],"version-history":[{"count":25,"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/posts\/6082\/revisions"}],"predecessor-version":[{"id":6467,"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/posts\/6082\/revisions\/6467"}],"wp:attachment":[{"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/media?parent=6082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/categories?post=6082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/surinlearninglab.com\/th\/wp-json\/wp\/v2\/tags?post=6082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}