Posts

cognitive disorder

 समझा आपण एक काळ्या रंगाचा चश्मा घातलाय . जेव्हा आपण तो काळा रंगाचा चश्मा घालून दुनियेला बघतो, आपल्याला दुनिया आणि त्याच्यातले रंग सुद्धा थोडे काळपटच दिसतात . तसेच असतं ह्या distortions चं पण. जेव्हा आपण distortions चा काळा चश्मा घातलेला असतो आपल्याला जग आणि वास्तविकता थोडी काळपटच दिसते. रंग साफ दिसत नाहीत . पण आपली दृष्टी तर आपल्याला तेच दाखवतीये . मग आपल्याला कुणीही कितीही सांगितलं तरी त्यांच्या दृष्टिकोणने जगाला बघणे अवघड होऊन जाते इथे . एक गोष्ट notice केलीत ? बदल दृष्टी मध्ये नाही तर दृष्टिकोणा मध्ये आणायचाय . आपला दृष्टिकोण आपली दृष्टि व विचारांचा समावेश असतो . म्हणून जर आपल्याला दृष्टिकोण बदलायचा असेल तर आपल्या विचारांवर व आपल्या भावनेंवर लक्ष्य देणे गरजेचे होऊन जाते . ह्या गोष्टीमध्ये therapists , counselors व अनेक mental health professionals आपली सहायता करतात व इथून पुढे आपल्याला ते स्वतः करता येईल याच्यासाठी मार्गही दाखवतात .  पण हे distortions नेमके घडतात कसे . ? तर ते आपल्या अनुभवांने . आपले अनुभावांचा आपला दृष्टिकोण घडवण्यामध्ये खूप मोठा हात असतो. हे अनुभव कधी सका...

arduino to esp

  #include <ESP8266WiFi.h> const char * ssid = "TP-Link_3A44" ; // Enter your WiFi SSID const char * password = "36730186" ; // Enter your WiFi password void setup () { Serial . begin ( 115200 ) ; delay ( 100 ) ; // Connect to WiFi Serial . println () ; Serial . print ( "Connecting to " ) ; Serial . println ( ssid ) ; WiFi . begin ( ssid, password ) ; while ( WiFi . status () != WL_CONNECTED ) { delay ( 500 ) ; Serial . print ( "." ) ; } Serial . println ( "" ) ; Serial . println ( "WiFi connected" ) ; Serial . println ( "IP address: " ) ; Serial . println ( WiFi . localIP ()) ; } void loop () { // Your Arduino code here }

website

#include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ThingSpeak.h> const char * ssid = "TP-Link_3A44" ; const char * password = "36730186" ; const char * host = "file:///Users/swami/Desktop/College/%3C!DOCTYPE%20html%3E.html#home " ; const String apiKey = "QLTJTC9CSVSALKJY" ; WiFiClient client; void setup () { Serial . begin ( 115200 ) ; delay ( 10 ) ; // Connect to WiFi network Serial . println () ; Serial . println () ; Serial . print ( "Connecting to " ) ; Serial . println ( ssid ) ; WiFi . begin ( ssid, password ) ; while ( WiFi . status () != WL_CONNECTED ) { delay ( 500 ) ; Serial . print ( "." ) ; } Serial . println ( "" ) ; Serial . println ( "WiFi connected" ) ; Serial . println ( "IP address: " ) ; Serial . println ( WiFi . localIP ()) ; } void loop () { if ( client . connect ( host, 80 )) { String postS...

CODE NEW

  #include <ESP8266WiFi.h> #include   <WiFiClient.h> #include   <ThingSpeak.h> const char * ssid = "LTCE" ; const char * password = "690391" ; const char * host = "file:///C:/Users/Harsh%20Vatre/Desktop/Untitled-1.html " ; const String apiKey = "QLTJTC9CSVSALKJY" ; WiFiClient client; void setup () {   Serial . begin ( 115200 ) ;   delay ( 10 ) ;   // Connect to WiFi network   Serial . println () ;   Serial . println () ;   Serial . print ( "Connecting to " ) ;   Serial . println ( ssid ) ;   WiFi . begin ( ssid, password ) ;   while ( WiFi . status () != WL_CONNECTED ) {     delay ( 500 ) ;     Serial . print ( "." ) ;   }   Serial . println ( "" ) ;   Serial . println ( "WiFi connected" ) ;   Serial . println ( "IP address: " ) ;   Serial . println ( WiFi . localIP ()) ; } void loop () {   if ( client . connect ( host, 80 )) {     St...

HEART BEAT NOT WORKING (1-201)

#include <SoftwareSerial.h> #define DEBUG true SoftwareSerial esp8266 ( 9 , 10 ) ; #include <LiquidCrystal.h> #include <stdlib.h> LiquidCrystal lcd ( 12 , 11 , 5 , 4 , 3 , 2 ) ; #define SSID "TP-Link_3A44" // "SSID-WiFiname" #define PASS "36730186" // "password" #define IP "192.168.0.104" // thingspeak.com ip String msg = "GET /update?key=00LI4ZLLY488U0QS" ; //change it with your api key //Variables float temp; int hum; String tempC; int error; int pulsePin = 0 ; // Pulse Sensor connected to analog pin int blinkPin = 7 ; // pin to blink led at each beat int fadePin = 5 ; int fadeRate = 0 ; // Volatile Variables, used in the interrupt service routine! volatile int BPM; // int that holds raw Analog in 0. updated every 2mS volatile int Signal; // holds the incoming raw data volatile int IBI = 600 ; // int that holds the time interval between beats! Must be seeded! volatile boo...

Temperature sensor

 int val; int tempPin = 1; void setup() { Serial.begin(9600); } void loop() { val = analogRead(tempPin); float mv = ( val/1024.0)*5000; float cel = mv/10; float farh = (cel*9)/5 + 32; Serial.print("TEMPRATURE = "); Serial.print(cel); Serial.print("*C"); Serial.println(); delay(1000); /* uncomment this to get temperature in farenhite Serial.print("TEMPRATURE = "); Serial.print(farh); Serial.print("*F"); Serial.println(); */ }

HEART BEAT SENSING (1-206)

#include <LiquidCrystal_I2C.h> LiquidCrystal_I2C lcd ( 0x 3f , 2 , 1 , 0 , 4 , 5 , 6 , 7 , 3 , POSITIVE ) ; int pulsePin = A0; // Pulse Sensor purple wire connected to analog pin A0 int blinkPin = 13 ; // pin to blink led at each beat // Volatile Variables, used in the interrupt service routine! volatile int BPM; // int that holds raw Analog in 0. updated every 2mS volatile int Signal; // holds the incoming raw data volatile int IBI = 600 ; // int that holds the time interval between beats! Must be seeded! volatile boolean Pulse = false ; // "True" when User's live heartbeat is detected. "False" when not a "live beat". volatile boolean QS = false ; // becomes true when Arduoino finds a beat. static boolean serialVisual = true ; // Set to 'false' by Default. Re-set to 'true' to see Arduino Serial Monitor ASCII Visual Pulse ...