{"id":5880,"date":"2021-05-27T08:41:57","date_gmt":"2021-05-27T15:41:57","guid":{"rendered":"https:\/\/www.circuitspecialists.com\/blog\/?p=5880"},"modified":"2021-07-30T11:43:47","modified_gmt":"2021-07-30T18:43:47","slug":"the-smart-house-project-part-3","status":"publish","type":"post","link":"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/","title":{"rendered":"The Smart House Project &#8211; Part 3"},"content":{"rendered":"\n<p><a href=\"\/blog\/smart-house-project-part-2\/\">The Smart House<\/a> of the future is environmentally friendly yet doesn\u2019t sacrifice its occupant\u2019s comfort. In this chapter, we will learn how to make a smart house with an environmentally friendly air conditioning (AC) system that measures the temperature inside and outside by measuring outdoor light levels. This will ensure the AC system will run greener with more input from the environment around the house and not solely on GPS information.<\/p>\n\n\n\n<p>To demonstrate this idea, we will use the Reading Temperature (p.g.17) to show how we can read the outdoor environment and the smart house can make an efficient decision on how to control the AC. We will also add a popular OSEPP breakout board to the project, the <a href=\"\/mtd-01-motor-driver-module.html\">Motor Driver Module<\/a>. This board will enable us to control the DC motor in the AC.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2048-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2048-1024x768.jpg\" alt=\"\" class=\"wp-image-5881\" width=\"798\" height=\"599\" srcset=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2048-1024x768.jpg 1024w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2048-300x225.jpg 300w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2048-768x576.jpg 768w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2048-1536x1152.jpg 1536w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2048-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 798px) 100vw, 798px\" \/><\/a><\/figure><\/div>\n\n\n\n<h5 class=\"wp-block-heading\">Part List<\/h5>\n\n\n\n<p><a href=\"\/ard-02.html\">ARD-02  Arduino Basics Starter Kit<\/a><\/p>\n\n\n\n<p>Motor Driver Module<\/p>\n\n\n\n<p>DC motor <\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Wiring the DC Motor Driver Module <\/h5>\n\n\n\n<p>The wiring is fairly straightforward, since we only use one side of the controller we only need to wire EnA, In1, and In2.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>EnA &#8212;&gt; Pin 10<\/li><li>In1 &#8212;-&gt; Pin 9<\/li><li>In2 &#8212;-&gt; Pin8<\/li><\/ul>\n\n\n\n<p>You can get more information from OSEPP here in the link below http:\/\/osepp.com\/wp-content\/uploads\/2016\/01\/MOTOR-DRIVER.pdf<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2123-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2123-1024x768.jpg\" alt=\"\" class=\"wp-image-5882\" width=\"830\" height=\"623\" srcset=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2123-1024x768.jpg 1024w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2123-300x225.jpg 300w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2123-768x576.jpg 768w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2123-1536x1152.jpg 1536w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2123-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 830px) 100vw, 830px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>I used the provided code from <a href=\"https:\/\/www.osepp.com\/electronic-modules\/breakout-boards\/92-osepp-motor-driver-module\">OSEPP<\/a> to test the motor driver to make sure the breakout board function abnormally. <\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Now we need to build that AC unit.<\/h5>\n\n\n\n<p>Cut out an AC picture and glue it to a piece of cardboard.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2125-1-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2125-1-1024x768.jpg\" alt=\"\" class=\"wp-image-5884\" srcset=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2125-1-1024x768.jpg 1024w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2125-1-300x225.jpg 300w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2125-1-768x576.jpg 768w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2125-1-1536x1152.jpg 1536w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2125-1-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n\n<p> <\/p>\n\n\n\n<p>Build the motor mount and cut out the slot for the propeller.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2126-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2126-1024x768.jpg\" alt=\"\" class=\"wp-image-5885\" width=\"820\" height=\"615\" srcset=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2126-1024x768.jpg 1024w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2126-300x225.jpg 300w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2126-768x576.jpg 768w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2126-1536x1152.jpg 1536w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2126-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 820px) 100vw, 820px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>Glue the DC motor in place.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21271-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21271-1024x768.jpg\" alt=\"\" class=\"wp-image-5886\" width=\"771\" height=\"578\" srcset=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21271-1024x768.jpg 1024w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21271-300x225.jpg 300w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21271-768x576.jpg 768w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21271-1536x1152.jpg 1536w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21271-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 771px) 100vw, 771px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>Solder the extension to the motor&#8217;s wires as shown in the picture below.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2128-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2128-1024x768.jpg\" alt=\"\" class=\"wp-image-5887\" width=\"800\" height=\"600\" srcset=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2128-1024x768.jpg 1024w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2128-300x225.jpg 300w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2128-768x576.jpg 768w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2128-1536x1152.jpg 1536w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2128-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>Solder the 3 signal wires to the Motor Driver Module.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21301-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21301-1024x768.jpg\" alt=\"\" class=\"wp-image-5888\" width=\"801\" height=\"601\" srcset=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21301-1024x768.jpg 1024w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21301-300x225.jpg 300w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21301-768x576.jpg 768w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21301-1536x1152.jpg 1536w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21301-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 801px) 100vw, 801px\" \/><\/a><\/figure><\/div>\n\n\n\n<h5 class=\"wp-block-heading\">Wiring Temperature Sensor <\/h5>\n\n\n\n<p>If you have the OSEPP handbook from the ARD-02 Arduino Basics Starter Kit, you can follow along on page 17. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21331-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21331-1024x768.jpg\" alt=\"\" class=\"wp-image-5889\" width=\"875\" height=\"656\" srcset=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21331-1024x768.jpg 1024w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21331-300x225.jpg 300w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21331-768x576.jpg 768w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21331-1536x1152.jpg 1536w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21331-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 875px) 100vw, 875px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>The LM35 is very user-friendly, just make sure the flat side facing you then the right pin is 5V, the left pin is 0V and, the middle pin is Signal.<\/p>\n\n\n\n<p>I will attach a schematic below for reference. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/Schematic-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"722\" src=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/Schematic-1-1024x722.png\" alt=\"\" class=\"wp-image-5894\" srcset=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/Schematic-1-1024x722.png 1024w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/Schematic-1-300x212.png 300w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/Schematic-1-768x542.png 768w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/Schematic-1.png 1215w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Now, we need to make the temperature sensor compact for installation. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21351-scaled.jpg\"><img decoding=\"async\" src=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21351-1024x768.jpg\" alt=\"\" class=\"wp-image-5890\" width=\"-131\" height=\"-97\" srcset=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21351-1024x768.jpg 1024w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21351-300x225.jpg 300w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21351-768x576.jpg 768w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21351-1536x1152.jpg 1536w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21351-2048x1536.jpg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>I used a heat shrink tube on an individual legs to increase the strength of the connection. Then I complete with another heat shrink on top, making sure you don&#8217;t cover the sensor.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21362-scaled.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21362-1024x768.jpg\" alt=\"\" class=\"wp-image-5891\" width=\"848\" height=\"636\" srcset=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21362-1024x768.jpg 1024w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21362-300x225.jpg 300w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21362-768x576.jpg 768w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21362-1536x1152.jpg 1536w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_21362-2048x1536.jpg 2048w\" sizes=\"auto, (max-width: 848px) 100vw, 848px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>The <a href=\"\/variacs\">AC system<\/a> and temperature sensor are ready to install. I want the temperature close to the fan so the wind that generates will cool the sensor down, this will simulate how the AC change according to the change in the temperature sensor.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><a href=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2138-scaled.jpg\"><img decoding=\"async\" src=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2138-1024x768.jpg\" alt=\"\" class=\"wp-image-5892\" width=\"-93\" height=\"-69\" srcset=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2138-1024x768.jpg 1024w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2138-300x225.jpg 300w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2138-768x576.jpg 768w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2138-1536x1152.jpg 1536w, https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/IMG_2138-2048x1536.jpg 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div>\n\n\n\n<h5 class=\"wp-block-heading\">The Code <\/h5>\n\n\n\n<p>First changes, this code block showing the new integer and the new lines in the void setup().<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\nint IN1=8;\nint IN2=9;\nint ENA=10;\n\n\nint analogValue;\nfloat temperature;\n\nvoid setup()\n{\n    \/\/ set up serial at 9600 baud   \n    Serial.begin(9600);\n    pinMode(First_Floor_LED, OUTPUT);\n    pinMode(Second_Floor_LED, OUTPUT);\n    pinMode(Front_Door_LED, OUTPUT);\n    pinMode(IN1,OUTPUT);\n    pinMode(IN2,OUTPUT);  \n    WelcomeSong();\n}\n\n<\/code><\/pre>\n\n\n\n<p>Another addition, this code block for reading the temperature and write it on the serial com.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\nvoid Read_Temp()\n{\n      analogValue = analogRead(lm35Pin);\n\n    \/\/ convert the 10bit analog value to celcius\n    temperature = float(analogValue) \/ 1023;\n    temperature = temperature * 500;\n\n    \/\/ print the temperature over serial\n    Serial.print(\"Temp: \");\n    Serial.print(temperature);\n    Serial.println(\"C\");\n    delay(100);\n}<\/code><\/pre>\n\n\n\n<p>Next, this code block for controlling the speed of the DC motor.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\nvoid AirCondition(int speedR)\n{\n analogWrite(ENA, speedR);\/\/ motor speed  \n digitalWrite(IN2,LOW);\/\/ rotate forward\n digitalWrite(IN1,HIGH);\n delay(500);  \n}<\/code><\/pre>\n\n\n\n<p>The full code <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/Project: Smart House 05\/20\/2021\n\n\/\/ include our list of note pitches\n\n#include \"pitches.h\"\n\nint Front_Door_LED = 2 ;\nint First_Floor_LED = 3;\nint Second_Floor_LED = 5;\n\nint IN1=8;\nint IN2=9;\nint ENA=10;\n\n\/\/ the photocell voltage divider pin\nint photocellPin = A0;\nint piezoPin = A1;\nint lm35Pin = A2;\n\n\/\/ the pin the speaker is attached to\nint speakerPin = 7;\n\n\nconst int sensorMin = 0;\n\/\/ sensor maximum, discovered through experiment\nconst int sensorMax = 800;\nconst int threshold = 10; \n\n\/\/ the notes in our melody and their duration in fractions of a second\n\/\/ e.g. quarter note = 4, eighth note = 8, etc.\nconst int melody&#91;]&#91;2] = \n{\n    {NOTE_C4, 4},\n    {NOTE_G3, 8},\n    {NOTE_G3, 8},\n    {NOTE_A3, 4},\n    {NOTE_G3, 4},\n    {NOTE_BLANK, 4},\n    {NOTE_B3, 4},\n    {NOTE_C4, 4}\n};\n\n    int analogValue;\n    float temperature;\n\n    \nvoid setup()\n{\n    \/\/ set up serial at 9600 baud   \n    Serial.begin(9600);\n    pinMode(First_Floor_LED, OUTPUT);\n    pinMode(Second_Floor_LED, OUTPUT);\n    pinMode(Front_Door_LED, OUTPUT);\n    pinMode(IN1,OUTPUT);\n    pinMode(IN2,OUTPUT);  \n    WelcomeSong();\n}\n\nvoid loop()\n{\n \/\/LightSensor();\n \/\/Alarm_System();\n Read_Temp();\n if (temperature &gt;27)\n {\n AirCondition(100);\n }\n if(temperature &lt;=27q)\n {\n  AirCondition(0);\n}\n\n}\nvoid AirCondition(int speedR)\n{\n analogWrite(ENA, speedR);\/\/ motor speed  \n digitalWrite(IN2,LOW);\/\/ rotate forward\n digitalWrite(IN1,HIGH);\n delay(500);  \n}\nvoid Read_Temp()\n{\n      analogValue = analogRead(lm35Pin);\n\n    \/\/ convert the 10bit analog value to celcius\n    temperature = float(analogValue) \/ 1023;\n    temperature = temperature * 500;\n\n    \/\/ print the temperature over serial\n    Serial.print(\"Temp: \");\n    Serial.print(temperature);\n    Serial.println(\"C\");\n    delay(100);\n}\nvoid Alarm_System()\n{\n   int analogValue;\n\n    \/\/ read the sensor and store it in the variable sensorReading:\n    analogValue = analogRead(piezoPin);\n    \n    Serial.print (\"Soud= \");Serial.println(analogValue);\n    \n    \/\/ if the sensor reading is greater than the threshold:\n    if (analogValue &gt; threshold)\n    {\n        \/\/ send the string \"Knock!\" back to the computer, followed by newline\n        \/\/Serial.println(\"Knock!\");\n    for(int i = 0; i&lt;10; i++) \n    { \n    alarm_sound();\n    LightControl(5);\n    delay(10);\n    }\n    \n    }\n        digitalWrite(First_Floor_LED, LOW);\n        digitalWrite(Second_Floor_LED, LOW);\n    \/\/ delay to avoid overloading the serial port buffer\n    delay(10);\n}\nvoid alarm_sound()\n{\n         \/\/ figure out the number of notes in our melody\n    int numberOfNotes = sizeof(melody) \/ sizeof(melody&#91;0]);\n\n    \/\/ iterate over the notes of the melody\n    for (int thisNote = 0; thisNote &lt; numberOfNotes; thisNote++)\n    {\n        \/\/ grab our note and note duration from our array\n        int thisNoteTone = melody&#91;thisNote]&#91;0];\n        int thisNoteDuration = melody&#91;thisNote]&#91;1];\n\n        \/\/ to calculate the note duration in ms\n        int noteDurationMS = 100 \/ thisNoteDuration;\n\n        \/\/ play the note\n        tone(speakerPin, thisNoteTone, noteDurationMS);\n\n        \/\/ to distinguish the notes, set a minimum time between them.\n        \/\/ the note's duration + 30% seems to work well:\n        delay(noteDurationMS * 1.30);\n    }\n}\n\nint WelcomeSong()\n{\n    int numberOfNotes = sizeof(melody) \/ sizeof(melody&#91;0]);\n    for (int thisNote = 0; thisNote &lt; numberOfNotes; thisNote++)\n    {\n        int thisNoteTone = melody&#91;thisNote]&#91;0];\n        int thisNoteDuration = melody&#91;thisNote]&#91;1];\n        int noteDurationMS = 1000 \/ thisNoteDuration;\n        \/\/ play the note\n        tone(speakerPin, thisNoteTone, noteDurationMS);\n        delay(noteDurationMS * 1.30);\n    }\n}\n\nvoid LightSensor()\n{\n     int analogValue;\n    int range;\n\nanalogValue = analogRead(photocellPin);\nSerial.print(\"photocellPin= \");Serial.println(analogValue);\n\nrange = map(analogValue, sensorMin, sensorMax, 0, 3);\n\n\/\/ do something different depending on the \n\/\/ range value\nswitch (range) \n{\n    \/\/ Dark turn on the light \n    case 0:\n        Serial.println(\"dark\");\n        LightControl(5);\n\/\/        digitalWrite(First_Floor_LED, HIGH);\n\/\/        digitalWrite(Second_Floor_LED, HIGH);\n        break;\n    \/\/ Dim turn on the light \n    case 1:\n        Serial.println(\"dim\");\n        LightControl(5);\n\/\/        digitalWrite(First_Floor_LED, HIGH);\n\/\/        digitalWrite(Second_Floor_LED, HIGH);\n        break;\n    \/\/ Medium turn off the ligh \n    case 2: \n        Serial.println(\"medium\");\n        LightControl(0);\n\/\/        digitalWrite(First_Floor_LED, LOW);\n\/\/        digitalWrite(Second_Floor_LED, LOW);\n        break;\n    \/\/ Bright Turn off the ligh \n    case 3:\n        Serial.println(\"bright\");\n        LightControl(0);\n\/\/        digitalWrite(First_Floor_LED, LOW);\n\/\/        digitalWrite(Second_Floor_LED, LOW);\n        break;\n}\n\n\/\/ wait 0.25s before reading the photocell again\ndelay(25);\n}\n\nvoid LightControl(int LightLevel)\n{\n  int Light = map(LightLevel,0,5,0,250);\n  \n    analogWrite(First_Floor_LED, Light);\n    analogWrite(Second_Floor_LED,Light);\n    analogWrite(Front_Door_LED,Light);\n    \n\n\n}<\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">Conclusion <\/h5>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Smart House Project Part 3\" width=\"800\" height=\"450\" src=\"https:\/\/www.youtube.com\/embed\/-BUP-G55e2M?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>The Smart House of the future not only provides the occupants with comfort, security, and convenience but also operates with the surrounding environment. With <a href=\"https:\/\/www.energy.gov\/eere\/solar\/how-does-solar-work\">solar energy<\/a> becoming more and more accessible, a power management system will be a crucial part of the Smart House of the future, where it representing the House Health Status. In the final chapter of the Smart House series project, we will add some more motion control such as controlling the servo motor. A Smart House should be able to recognize its owner where it should be able to open the garage door when the occupant&#8217;s vehicle is in the parkway. We can use a servo motor to demonstrate this idea in the next Smart House project.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Smart House of the future is environmentally friendly yet doesn\u2019t sacrifice its occupant\u2019s comfort. In this chapter, we will<\/p>\n","protected":false},"author":10687,"featured_media":5899,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_layout":"default_layout","footnotes":""},"categories":[1,124,8,21,287,240,135],"tags":[129,133,132],"class_list":["post-5880","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-all-posts","category-arduino","category-diy","category-education-kits","category-electronic-kits","category-experiments","category-tutorial-how-to","tag-arduino","tag-diy","tag-makers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The Smart House Project - Part 3 | Simply Smarter Circuitry Blog<\/title>\n<meta name=\"description\" content=\"The Smart House of the future is environmentally friendly yet doesn\u2019t sacrifice its occupant\u2019s comfort.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Smart House Project - Part 3 | Simply Smarter Circuitry Blog\" \/>\n<meta property=\"og:description\" content=\"The Smart House of the future is environmentally friendly yet doesn\u2019t sacrifice its occupant\u2019s comfort.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/\" \/>\n<meta property=\"og:site_name\" content=\"Simply Smarter Circuitry Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/CircuitSpecialists\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-05-27T15:41:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-30T18:43:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/2021-05-27.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t<meta property=\"og:image:height\" content=\"288\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Khang\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CircuitSpecial\" \/>\n<meta name=\"twitter:site\" content=\"@CircuitSpecial\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Khang\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/\"},\"author\":{\"name\":\"Khang\",\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/#\/schema\/person\/2004b049c7f4ad1ef1c677c13230001e\"},\"headline\":\"The Smart House Project &#8211; Part 3\",\"datePublished\":\"2021-05-27T15:41:57+00:00\",\"dateModified\":\"2021-07-30T18:43:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/\"},\"wordCount\":625,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/2021-05-27.jpg\",\"keywords\":[\"Arduino\",\"DIY\",\"Makers\"],\"articleSection\":[\"All Posts\",\"Arduino\",\"DIY\",\"Education Kits\",\"Electronic Kits\",\"Experiments\",\"Tutorial \/ How-to\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/\",\"url\":\"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/\",\"name\":\"The Smart House Project - Part 3 | Simply Smarter Circuitry Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/2021-05-27.jpg\",\"datePublished\":\"2021-05-27T15:41:57+00:00\",\"dateModified\":\"2021-07-30T18:43:47+00:00\",\"description\":\"The Smart House of the future is environmentally friendly yet doesn\u2019t sacrifice its occupant\u2019s comfort.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/#primaryimage\",\"url\":\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/2021-05-27.jpg\",\"contentUrl\":\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/2021-05-27.jpg\",\"width\":512,\"height\":288,\"caption\":\"Blog\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.circuitspecialists.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Smart House Project &#8211; Part 3\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/#website\",\"url\":\"https:\/\/www.circuitspecialists.com\/blog\/\",\"name\":\"Simply Smarter Circuitry Blog\",\"description\":\"How To&#039;s, Reviews, and Product News from Circuit Specialists HQ.\",\"publisher\":{\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.circuitspecialists.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/#organization\",\"name\":\"Circuit Specialists\",\"url\":\"https:\/\/www.circuitspecialists.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2016\/03\/csi.jpg\",\"contentUrl\":\"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2016\/03\/csi.jpg\",\"width\":120,\"height\":120,\"caption\":\"Circuit Specialists\"},\"image\":{\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/CircuitSpecialists\/\",\"https:\/\/x.com\/CircuitSpecial\",\"https:\/\/www.youtube.com\/channel\/UCG87WTqDKIqA704uqjumJgg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/#\/schema\/person\/2004b049c7f4ad1ef1c677c13230001e\",\"name\":\"Khang\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.circuitspecialists.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ffe2b76fa2901ed9a217ed89e6528178?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ffe2b76fa2901ed9a217ed89e6528178?s=96&r=g\",\"caption\":\"Khang\"},\"url\":\"https:\/\/www.circuitspecialists.com\/blog\/author\/khang\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Smart House Project - Part 3 | Simply Smarter Circuitry Blog","description":"The Smart House of the future is environmentally friendly yet doesn\u2019t sacrifice its occupant\u2019s comfort.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/","og_locale":"en_US","og_type":"article","og_title":"The Smart House Project - Part 3 | Simply Smarter Circuitry Blog","og_description":"The Smart House of the future is environmentally friendly yet doesn\u2019t sacrifice its occupant\u2019s comfort.","og_url":"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/","og_site_name":"Simply Smarter Circuitry Blog","article_publisher":"https:\/\/www.facebook.com\/CircuitSpecialists\/","article_published_time":"2021-05-27T15:41:57+00:00","article_modified_time":"2021-07-30T18:43:47+00:00","og_image":[{"width":512,"height":288,"url":"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/2021-05-27.jpg","type":"image\/jpeg"}],"author":"Khang","twitter_card":"summary_large_image","twitter_creator":"@CircuitSpecial","twitter_site":"@CircuitSpecial","twitter_misc":{"Written by":"Khang","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/#article","isPartOf":{"@id":"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/"},"author":{"name":"Khang","@id":"https:\/\/www.circuitspecialists.com\/blog\/#\/schema\/person\/2004b049c7f4ad1ef1c677c13230001e"},"headline":"The Smart House Project &#8211; Part 3","datePublished":"2021-05-27T15:41:57+00:00","dateModified":"2021-07-30T18:43:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/"},"wordCount":625,"commentCount":0,"publisher":{"@id":"https:\/\/www.circuitspecialists.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/#primaryimage"},"thumbnailUrl":"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/2021-05-27.jpg","keywords":["Arduino","DIY","Makers"],"articleSection":["All Posts","Arduino","DIY","Education Kits","Electronic Kits","Experiments","Tutorial \/ How-to"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/","url":"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/","name":"The Smart House Project - Part 3 | Simply Smarter Circuitry Blog","isPartOf":{"@id":"https:\/\/www.circuitspecialists.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/#primaryimage"},"image":{"@id":"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/#primaryimage"},"thumbnailUrl":"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/2021-05-27.jpg","datePublished":"2021-05-27T15:41:57+00:00","dateModified":"2021-07-30T18:43:47+00:00","description":"The Smart House of the future is environmentally friendly yet doesn\u2019t sacrifice its occupant\u2019s comfort.","breadcrumb":{"@id":"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/#primaryimage","url":"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/2021-05-27.jpg","contentUrl":"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2021\/05\/2021-05-27.jpg","width":512,"height":288,"caption":"Blog"},{"@type":"BreadcrumbList","@id":"https:\/\/www.circuitspecialists.com\/blog\/the-smart-house-project-part-3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.circuitspecialists.com\/blog\/"},{"@type":"ListItem","position":2,"name":"The Smart House Project &#8211; Part 3"}]},{"@type":"WebSite","@id":"https:\/\/www.circuitspecialists.com\/blog\/#website","url":"https:\/\/www.circuitspecialists.com\/blog\/","name":"Simply Smarter Circuitry Blog","description":"How To&#039;s, Reviews, and Product News from Circuit Specialists HQ.","publisher":{"@id":"https:\/\/www.circuitspecialists.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.circuitspecialists.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.circuitspecialists.com\/blog\/#organization","name":"Circuit Specialists","url":"https:\/\/www.circuitspecialists.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.circuitspecialists.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2016\/03\/csi.jpg","contentUrl":"https:\/\/www.circuitspecialists.com\/blog\/wp-content\/uploads\/2016\/03\/csi.jpg","width":120,"height":120,"caption":"Circuit Specialists"},"image":{"@id":"https:\/\/www.circuitspecialists.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/CircuitSpecialists\/","https:\/\/x.com\/CircuitSpecial","https:\/\/www.youtube.com\/channel\/UCG87WTqDKIqA704uqjumJgg"]},{"@type":"Person","@id":"https:\/\/www.circuitspecialists.com\/blog\/#\/schema\/person\/2004b049c7f4ad1ef1c677c13230001e","name":"Khang","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.circuitspecialists.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ffe2b76fa2901ed9a217ed89e6528178?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ffe2b76fa2901ed9a217ed89e6528178?s=96&r=g","caption":"Khang"},"url":"https:\/\/www.circuitspecialists.com\/blog\/author\/khang\/"}]}},"_links":{"self":[{"href":"https:\/\/www.circuitspecialists.com\/blog\/wp-json\/wp\/v2\/posts\/5880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.circuitspecialists.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.circuitspecialists.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.circuitspecialists.com\/blog\/wp-json\/wp\/v2\/users\/10687"}],"replies":[{"embeddable":true,"href":"https:\/\/www.circuitspecialists.com\/blog\/wp-json\/wp\/v2\/comments?post=5880"}],"version-history":[{"count":8,"href":"https:\/\/www.circuitspecialists.com\/blog\/wp-json\/wp\/v2\/posts\/5880\/revisions"}],"predecessor-version":[{"id":6151,"href":"https:\/\/www.circuitspecialists.com\/blog\/wp-json\/wp\/v2\/posts\/5880\/revisions\/6151"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.circuitspecialists.com\/blog\/wp-json\/wp\/v2\/media\/5899"}],"wp:attachment":[{"href":"https:\/\/www.circuitspecialists.com\/blog\/wp-json\/wp\/v2\/media?parent=5880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.circuitspecialists.com\/blog\/wp-json\/wp\/v2\/categories?post=5880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.circuitspecialists.com\/blog\/wp-json\/wp\/v2\/tags?post=5880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}