Software apps and online services
Hand tools and fabrication machines
During Menopause the condition through which a women has to go through is very painful and dramatic. Through " Hacking Menopause " I got a chance to not only do something helpful for women in need but also to showcase my skills and talent. So I decided to make Automatic Temperature regulated " Smart clothes " & " Smart Cooling Sheets ".What Smart Clothes can do ?
Smart Clothes can automatically read & control the temperature of the human body, via Thermoelectric peltier module. It can also control home appliances & Music player wirelessly as "Music" is one of the natural mood changer & it also provides relaxation to mind.Making of the Smart Clothes & Smart Cooling Sheets
In order to not create an extra burden on the patient, we are placing one lm35 sensor & peltier module near the private body part (not inside the body ) as area of private body parts are the one's that majorly gets affected & responsible for mood swings during this "Menopause" period.
In women's undergarments above the private part, in under arms & under the neck we are placing an "LM35" temperature sensor which will provide body temperature readings to the Arduino Uno which will further control peltier module under the legs ( in socks ), in hand-gloves for cooling the body & on the forehead.
After getting larger reading than the normal temperature of the body (will be defined in the arduino code) the arduino uno will provide analog pwm signal to the analog input of the buck boost convertor ( will clarify more deeply in the picture) which will control the voltage input of the thermoelectric peltier module which will further maintain the body temperature.
Whenever the temperature of the body is greater than the normal range it will also enable the WIFI module to wirelessly control the music system (& other household electronics) as per the user needs.
Same concept is used in making Smart Cooling Sheets it will also maintain body temperature & improve sleeping quality to provide relaxation to the body. As per the report provided by the WHO a good sleep can improve a person's mood & his/her self-esteem.Home Automation using NodeMCU via Google Assistant:Step 1: Downloading and Installing the Blynk App on the Smartphone
1) Open Play store and download and install the Blynk App
2) Open the app & create an account.
3) Click on Create New Project.
4) Give a project name & Select the hardware device as NodeMCU and select the connection type as WIFI, and hit create.
5) You will get "Auth Token" on the account details you entered.
6) To add a new button just click anywhere on the blank area and select button from the side menu that pops up.
7) Name the relay & define the digital pin to which you will connect to it.
8) Repeat if you want to control more than one electronic device for demonstration here I am using just one device & the blynk app setup is complete.Step 2: Downloading Arduino IDE and Setting up Blynk Libraries.
1) Install the Arduino IDE from official site arduino.cc.
2) Download the required latest blynk libraries from https://github.com/blynkkk/blynk-library/releases/v0.4.8 it will be used to configure Blynk app.
3) Extract the downloaded zip file & open up Arduino IDE, go to: File > Preferences and under the Settings tab, copy the sketchbook location path
4) Now open the file explorer and go to the copied path location. This ismwhere all the Blynk libraries are installed Now, copy all the newly downloaded Blynk libraries into this folder
5) Copy the files/folders from the Libraries folder of the downloaded Blynk directory, and paste it to the Libraries folder of your Arduino IDE’s directory (The path that we copied in step 4). Similarly, copy the files/folder from the Tools folder of the downloaded Blynk directory, and paste it to the Tools folder of your Arduino IDE’s directory.Step 3: Uploading the code to NodeMCU.
1) Connect the NodeMCU to your PC using a USB cable & start Arduino IDE.
2) Go to Tools > Port and make sure an appropriate port is selected.
3) Now Go to Tools > Board and select ‘NodeMCU 1.0 (ESP-12E Module)’ as the board.
4) Go to Files > Examples > Blynk > Boards_WIFI > ESP8266_Standalone. A new file with some prewritten code will open.
5) Now, in this file we have to do following changes.
Change the line ‘char auth = “YourAuthToken”’ and replace the ‘YourAuthToken’ part with your Blynk’s auth token that you received in your email. Change the line ‘char ssid = “YourNetworkName”’ and replace the ‘YourNetworkName’ part with the name of your WIFI network that you want your NodeMCU to connect to. Change the line where it says ‘char pass = “YourPassword”’ and replace the ‘YourPassword’ part with the password of your WIFI network.
6) Upload the code & after next power on it will automatically get connected to the network.Step 4: Hardware
1) Connect the NodeMCU with the Relay board with a bread board.
2) Connect the D3 pin of NodeMCU with Pin 1 of Relay. Similarly ( if needed) connect D4 with 2, D5 with 3 and D6 with 4.
3) Connect both the grounds.
4) Now to power up the NodeMCU you can use a normal phone charger, just make sure its voltage is not too high. And to power up the Relay board, you can use a battery.
5) We are using a one-channel relay you can connect at most 1 electronic appliances to the Relay and control them over the internet. (if you want to control more appliances then connect more relay modules
6) Connect your household appliances like Fan, Lights etc. which you want to control ( in my case Fan ). Be careful while dealing with AC current.Step 5: Connecting Google Assistant (using IFTTT) to make the NodeMCU work with voice commands.
We cannot connect the Google Assistant to the NodeMCU directly, so to connect them we are using the Blynk app. Blynk app can directly connect to the NodeMCU and send data to it. We can send the voice commands interpreted by google assistant directly to the Blynk app, the Blynk app can then forward those commands to the NodeMCU. But the Google Assistant cannot directly understand commands like “turn on the fan” or “turn on relay one” etc. So, for this we use another app/website called ‘IFTTT’.
1) Go to IFTTT’s website and sign up to it using your Google Account.
2) After Signing in click on My Applets and select New Applet.
3) Click on 'this'.
4) Search 'Google Assistant' click & connect it.
5) IFTTT will ask you for permission to use your google account to add voice commands to it simply click 'Allow'.
6) Select the card that says “Say a simple phrase”.
7) Type the phrase that you want to say to Google Assistant. For ex “Turn on the T.V”, “Turn on the fan” etc.
8) For the next two text boxes, you write some other ways if you like to say the first command. (it's not mandatory )
9) In the fourth textbox type the reply that Google Assistant should respond with. For ex“Okay, Turning on the T.V”
10) Click on ‘Create Trigger’ & then click on 'that' & type webhooks & select it, and click connect. It will allow us to send commands to the Blynk Server.
Replace the “YourAuthTokenHere” part with your Blynk Auth token that you have. And “DigitalPinToBeUpdateHere” part with the Digital pin of NodeMCU that is to be updated. So, as we assigned the Digital Pin D3 of NodeMCU to relay one we must write D0 in place of “DigitalPinToBeUpdateHere”.
12) Select the ‘Method’ field as PUT & then Select ‘Content type’ as Application/JSON.
13) For the ‘Body’ type this: [“0”]
14) Now click on ‘Create Action’ and then Finish.
Now we have successfully created two buttons to turn on and off one Relay.
(If needed we can create triggers for more relays. Just change the phrase and Digital pin for each Relay. All the other steps will remain the same.)
After this you will be able to control home appliances (in my case fan) verbally through Google Assistant.
"All the services used in the project which is publicly available , credit for the services belongs to them."