Code Monkey home page Code Monkey logo

iot-based-smart-cradle-using-esp8266's Introduction

IOT-Based-Smart-Cradle-using-ESP8266

Smart cradle using ESP8266, PIR sensor, wet sensor, Mic Sensor and servo motor.

If you wish to donate, Help me to do more projects

iot-based-smart-cradle-using-esp8266's People

Contributors

sach1027 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

iot-based-smart-cradle-using-esp8266's Issues

Various error

Arduino: 1.8.20 Hourly Build 2021/12/20 07:33 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Code:33:16: error: 'D0' was not declared in this scope; did you mean 'A0'?

33 | #define DHTPIN D0 // DHT 11 : Temperature & humidity sensor connected to digital pin D0

  |                ^~

D:\College\Sem 7\IOE\MiniProject\IOT-Based-Smart-Cradle-using-ESP8266-main\Code\Code.ino:35:9: note: in expansion of macro 'DHTPIN'

35 | DHT dht(DHTPIN, DHTTYPE); // Send DHT pin and type parameter to DHT Function

  |         ^~~~~~

In file included from C:\Users\yunus\Documents\Arduino\libraries\blynk-library-master\src/Blynk/BlynkApi.h:37,

             from C:\Users\yunus\Documents\Arduino\libraries\blynk-library-master\src/BlynkApiArduino.h:14,

             from C:\Users\yunus\Documents\Arduino\libraries\blynk-library-master\src/BlynkSimpleEsp8266.h:24,

             from D:\College\Sem 7\IOE\MiniProject\IOT-Based-Smart-Cradle-using-ESP8266-main\Code\Code.ino:19:

C:\Users\yunus\Documents\Arduino\libraries\blynk-library-master\src/Blynk/BlynkTimer.h:36:21: error: redefinition of 'class BlynkTimer'

36 | #define SimpleTimer BlynkTimer

  |                     ^~~~~~~~~~

C:\Users\yunus\Documents\Arduino\libraries\SimpleTimer/SimpleTimer.h:10:7: note: in expansion of macro 'SimpleTimer'

10 | class SimpleTimer {

  |       ^~~~~~~~~~~

C:\Users\yunus\Documents\Arduino\libraries\blynk-library-master\src/Blynk/BlynkTimer.h:36:21: note: previous definition of 'class BlynkTimer'

36 | #define SimpleTimer BlynkTimer

  |                     ^~~~~~~~~~

C:\Users\yunus\Documents\Arduino\libraries\blynk-library-master\src/Blynk/BlynkTimer.h:51:7: note: in expansion of macro 'SimpleTimer'

51 | class SimpleTimer {

  |       ^~~~~~~~~~~

D:\College\Sem 7\IOE\MiniProject\IOT-Based-Smart-Cradle-using-ESP8266-main\Code\Code.ino: In function 'void setup()':

Code:29:19: error: 'D8' was not declared in this scope; did you mean 's8'?

29 | #define servo1Pin D8 // Define the NodeMCU pin D8 to attach the Servo

  |                   ^~

D:\College\Sem 7\IOE\MiniProject\IOT-Based-Smart-Cradle-using-ESP8266-main\Code\Code.ino:105:18: note: in expansion of macro 'servo1Pin'

105 | servo1.attach(servo1Pin);

  |                  ^~~~~~~~~

Code:46:17: error: 'D3' was not declared in this scope; did you mean 'V3'?

46 | #define Buzzer D3 // Buzzer to digital pin D3

  |                 ^~

D:\College\Sem 7\IOE\MiniProject\IOT-Based-Smart-Cradle-using-ESP8266-main\Code\Code.ino:107:12: note: in expansion of macro 'Buzzer'

107 | pinMode(Buzzer, OUTPUT);

  |            ^~~~~~

Code:33:16: error: 'D0' was not declared in this scope; did you mean 'A0'?

33 | #define DHTPIN D0 // DHT 11 : Temperature & humidity sensor connected to digital pin D0

  |                ^~

D:\College\Sem 7\IOE\MiniProject\IOT-Based-Smart-Cradle-using-ESP8266-main\Code\Code.ino:110:12: note: in expansion of macro 'DHTPIN'

110 | pinMode(DHTPIN, INPUT);

  |            ^~~~~~

Code:44:24: error: 'D2' was not declared in this scope; did you mean 'V2'?

44 | #define Watersensor D2 // Water/Wet sensor to Digital pin D2

  |                        ^~

D:\College\Sem 7\IOE\MiniProject\IOT-Based-Smart-Cradle-using-ESP8266-main\Code\Code.ino:112:12: note: in expansion of macro 'Watersensor'

112 | pinMode(Watersensor, INPUT);

  |            ^~~~~~~~~~~

Code:43:24: error: 'D1' was not declared in this scope; did you mean 'y1'?

43 | #define PirSensorPin D1 // PIR Sensor connected to digital pin D1

  |                        ^~

D:\College\Sem 7\IOE\MiniProject\IOT-Based-Smart-Cradle-using-ESP8266-main\Code\Code.ino:113:12: note: in expansion of macro 'PirSensorPin'

113 | pinMode(PirSensorPin, INPUT);

  |            ^~~~~~~~~~~~

D:\College\Sem 7\IOE\MiniProject\IOT-Based-Smart-Cradle-using-ESP8266-main\Code\Code.ino: In function 'void loop()':

Code:46:17: error: 'D3' was not declared in this scope; did you mean 'V3'?

46 | #define Buzzer D3 // Buzzer to digital pin D3

  |                 ^~

D:\College\Sem 7\IOE\MiniProject\IOT-Based-Smart-Cradle-using-ESP8266-main\Code\Code.ino:136:8: note: in expansion of macro 'Buzzer'

136 | tone(Buzzer,1);

  |        ^~~~~~

D:\College\Sem 7\IOE\MiniProject\IOT-Based-Smart-Cradle-using-ESP8266-main\Code\Code.ino: In function 'void AutomateAll()':

Code:46:17: error: 'D3' was not declared in this scope; did you mean 'V3'?

46 | #define Buzzer D3 // Buzzer to digital pin D3

  |                 ^~

D:\College\Sem 7\IOE\MiniProject\IOT-Based-Smart-Cradle-using-ESP8266-main\Code\Code.ino:161:8: note: in expansion of macro 'Buzzer'

161 | tone(Buzzer,1);

  |        ^~~~~~

D:\College\Sem 7\IOE\MiniProject\IOT-Based-Smart-Cradle-using-ESP8266-main\Code\Code.ino: In function 'void getInputData()':

Code:44:24: error: 'D2' was not declared in this scope; did you mean 'V2'?

44 | #define Watersensor D2 // Water/Wet sensor to Digital pin D2

  |                        ^~

D:\College\Sem 7\IOE\MiniProject\IOT-Based-Smart-Cradle-using-ESP8266-main\Code\Code.ino:188:33: note: in expansion of macro 'Watersensor'

188 | Water_Sensor = !digitalRead(Watersensor); /*Wet sensor is Active high , so it is inverted */

  |                                 ^~~~~~~~~~~

Code:43:24: error: 'D1' was not declared in this scope; did you mean 'y1'?

43 | #define PirSensorPin D1 // PIR Sensor connected to digital pin D1

  |                        ^~

D:\College\Sem 7\IOE\MiniProject\IOT-Based-Smart-Cradle-using-ESP8266-main\Code\Code.ino:190:32: note: in expansion of macro 'PirSensorPin'

190 | PIR_Sensor = digitalRead(PirSensorPin);

  |                                ^~~~~~~~~~~~

Multiple libraries were found for "Servo.h"

Used: C:\Users\yunus\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\Servo

Not used: C:\Users\yunus\Documents\Arduino\libraries\ServoESP32-master

Not used: D:\Softwares\arduino-nightly\libraries\Servo

Multiple libraries were found for "DHT.h"

Used: C:\Users\yunus\Documents\Arduino\libraries\DHT-sensor-library-master

Not used: C:\Users\yunus\Documents\Arduino\libraries\DHT_sensor_library

Multiple libraries were found for "BlynkSimpleEsp8266.h"

Used: C:\Users\yunus\Documents\Arduino\libraries\blynk-library-master

Not used: C:\Users\yunus\Documents\Arduino\libraries\Blynk

exit status 1

'D0' was not declared in this scope; did you mean 'A0'?

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.