Skip to main content
Bumped by Community user
Fixed syntax highlighting, added tags.
Source Link
VE7JRO
  • 2.5k
  • 19
  • 28
  • 31

When iI go to the serial monitor  (115200baud115200 baud) and type: AT, there is not response from the ESP8266.

Is there something that I am missing?

I also have a servo motor connected, it works fine.

include "Arduino.h"
include "ESP8266.h"
include "dweet.h"
include "Servo.h"

define ESP8266_PIN_RX 10
define ESP8266_PIN_TX 11
define SERVO9G_PIN_SIG 2

const int servo9gRestPosition   = 20;
const int servo9gTargetPosition = 150;
const char *SSID     = "Wireless Network";
const char *PASSWORD = "wireless_password";

ESP8266 wifi(ESP8266_PIN_RX,ESP8266_PIN_TX);
Servo servo9g;

const int timeout = 10000;
char menuOption = 0;
long time0;

void setup() 
{
   Serial.begin(9600);
   while (!Serial); //await connection.
   Serial.println("start");

   wifi.init(SSID, PASSWORD);
   servo9g.attach(SERVO9G_PIN_SIG);
   servo9g.write(servo9gRestPosition);
   delay(100);
   servo9g.detach();

}

void loop() 
{ 
   servo9g.attach(SERVO9G_PIN_SIG);       
   servo9g.write(servo9gTargetPosition);  
   delay(500);                            
   servo9g.write(servo9gRestPosition);    
   delay(500);                              
   servo9g.detach(); 
}
include "Arduino.h"
include "ESP8266.h"
include "dweet.h"
include "Servo.h"

define ESP8266_PIN_RX 10
define ESP8266_PIN_TX 11
define SERVO9G_PIN_SIG 2

const int servo9gRestPosition   = 20;
const int servo9gTargetPosition = 150;
const char *SSID     = "Wireless Network";
const char *PASSWORD = "wireless_password";

ESP8266 wifi(ESP8266_PIN_RX,ESP8266_PIN_TX);
Servo servo9g;

const int timeout = 10000;
char menuOption = 0;
long time0;

void setup() 
{
   Serial.begin(9600);
   while (!Serial); //await connection.
   Serial.println("start");

   wifi.init(SSID, PASSWORD);
   servo9g.attach(SERVO9G_PIN_SIG);
   servo9g.write(servo9gRestPosition);
   delay(100);
   servo9g.detach();

}

void loop() 
{ 
   servo9g.attach(SERVO9G_PIN_SIG);       
   servo9g.write(servo9gTargetPosition);  
   delay(500);                            
   servo9g.write(servo9gRestPosition);    
   delay(500);                              
   servo9g.detach(); 
}

When i go to the serial monitor(115200baud) and type: AT, there is not response from the ESP8266.

Is there something that I am missing?

I also have a servo motor connected, it works fine.

include "Arduino.h"
include "ESP8266.h"
include "dweet.h"
include "Servo.h"

define ESP8266_PIN_RX 10
define ESP8266_PIN_TX 11
define SERVO9G_PIN_SIG 2

const int servo9gRestPosition   = 20;
const int servo9gTargetPosition = 150;
const char *SSID     = "Wireless Network";
const char *PASSWORD = "wireless_password";

ESP8266 wifi(ESP8266_PIN_RX,ESP8266_PIN_TX);
Servo servo9g;

const int timeout = 10000;
char menuOption = 0;
long time0;

void setup() 
{
   Serial.begin(9600);
   while (!Serial); //await connection.
   Serial.println("start");

   wifi.init(SSID, PASSWORD);
   servo9g.attach(SERVO9G_PIN_SIG);
   servo9g.write(servo9gRestPosition);
   delay(100);
   servo9g.detach();

}

void loop() 
{ 
   servo9g.attach(SERVO9G_PIN_SIG);       
   servo9g.write(servo9gTargetPosition);  
   delay(500);                            
   servo9g.write(servo9gRestPosition);    
   delay(500);                              
   servo9g.detach(); 
}

When I go to the serial monitor  (115200 baud) and type: AT, there is not response from the ESP8266.

Is there something that I am missing?

I also have a servo motor connected, it works fine.

include "Arduino.h"
include "ESP8266.h"
include "dweet.h"
include "Servo.h"

define ESP8266_PIN_RX 10
define ESP8266_PIN_TX 11
define SERVO9G_PIN_SIG 2

const int servo9gRestPosition   = 20;
const int servo9gTargetPosition = 150;
const char *SSID     = "Wireless Network";
const char *PASSWORD = "wireless_password";

ESP8266 wifi(ESP8266_PIN_RX,ESP8266_PIN_TX);
Servo servo9g;

const int timeout = 10000;
char menuOption = 0;
long time0;

void setup() 
{
   Serial.begin(9600);
   while (!Serial); //await connection.
   Serial.println("start");

   wifi.init(SSID, PASSWORD);
   servo9g.attach(SERVO9G_PIN_SIG);
   servo9g.write(servo9gRestPosition);
   delay(100);
   servo9g.detach();

}

void loop() 
{ 
   servo9g.attach(SERVO9G_PIN_SIG);       
   servo9g.write(servo9gTargetPosition);  
   delay(500);                            
   servo9g.write(servo9gRestPosition);    
   delay(500);                              
   servo9g.detach(); 
}
added 64 characters in body
Source Link

G'day guys, I'm trying to get an ESP8266 to work with an Arduino Uno.
Here is the wiring.


wiringPicture

When i go to the serial monitor(115200baud) and type: AT, there is not response from the ESP8266.

Is there something that I am missing?

I also have a servo motor connected, it works fine.

include "Arduino.h"
include "ESP8266.h"
include "dweet.h"
include "Servo.h"

define ESP8266_PIN_RX 10
define ESP8266_PIN_TX 11
define SERVO9G_PIN_SIG 2

const int servo9gRestPosition   = 20;
const int servo9gTargetPosition = 150;
const char *SSID     = "Wireless Network";
const char *PASSWORD = "wireless_password";

ESP8266 wifi(ESP8266_PIN_RX,ESP8266_PIN_TX);
Servo servo9g;

const int timeout = 10000;
char menuOption = 0;
long time0;

void setup() 
{
   Serial.begin(9600);
   while (!Serial); //await connection.
   Serial.println("start");

   wifi.init(SSID, PASSWORD);
   servo9g.attach(SERVO9G_PIN_SIG);
   servo9g.write(servo9gRestPosition);
   delay(100);
   servo9g.detach();

}

void loop() 
{ 
   servo9g.attach(SERVO9G_PIN_SIG);       
   servo9g.write(servo9gTargetPosition);  
   delay(500);                            
   servo9g.write(servo9gRestPosition);    
   delay(500);                              
   servo9g.detach(); 
}

I'm using the ESP8266 Library.
When trying to connect it just says Initializing device...

G'day guys, I'm trying to get an ESP8266 to work with an Arduino Uno.
Here is the wiring.


wiringPicture

When i go to the serial monitor(115200baud) and type: AT, there is not response from the ESP8266.

Is there something that I am missing?

I also have a servo motor connected, it works fine.

include "Arduino.h"
include "ESP8266.h"
include "dweet.h"
include "Servo.h"

define ESP8266_PIN_RX 10
define ESP8266_PIN_TX 11
define SERVO9G_PIN_SIG 2

const int servo9gRestPosition   = 20;
const int servo9gTargetPosition = 150;
const char *SSID     = "Wireless Network";
const char *PASSWORD = "wireless_password";

ESP8266 wifi(ESP8266_PIN_RX,ESP8266_PIN_TX);
Servo servo9g;

const int timeout = 10000;
char menuOption = 0;
long time0;

void setup() 
{
   Serial.begin(9600);
   while (!Serial); //await connection.
   Serial.println("start");

   wifi.init(SSID, PASSWORD);
   servo9g.attach(SERVO9G_PIN_SIG);
   servo9g.write(servo9gRestPosition);
   delay(100);
   servo9g.detach();

}

void loop() 
{ 
   servo9g.attach(SERVO9G_PIN_SIG);       
   servo9g.write(servo9gTargetPosition);  
   delay(500);                            
   servo9g.write(servo9gRestPosition);    
   delay(500);                              
   servo9g.detach(); 
}

I'm using the ESP8266 Library.

G'day guys, I'm trying to get an ESP8266 to work with an Arduino Uno.
Here is the wiring.


wiringPicture

When i go to the serial monitor(115200baud) and type: AT, there is not response from the ESP8266.

Is there something that I am missing?

I also have a servo motor connected, it works fine.

include "Arduino.h"
include "ESP8266.h"
include "dweet.h"
include "Servo.h"

define ESP8266_PIN_RX 10
define ESP8266_PIN_TX 11
define SERVO9G_PIN_SIG 2

const int servo9gRestPosition   = 20;
const int servo9gTargetPosition = 150;
const char *SSID     = "Wireless Network";
const char *PASSWORD = "wireless_password";

ESP8266 wifi(ESP8266_PIN_RX,ESP8266_PIN_TX);
Servo servo9g;

const int timeout = 10000;
char menuOption = 0;
long time0;

void setup() 
{
   Serial.begin(9600);
   while (!Serial); //await connection.
   Serial.println("start");

   wifi.init(SSID, PASSWORD);
   servo9g.attach(SERVO9G_PIN_SIG);
   servo9g.write(servo9gRestPosition);
   delay(100);
   servo9g.detach();

}

void loop() 
{ 
   servo9g.attach(SERVO9G_PIN_SIG);       
   servo9g.write(servo9gTargetPosition);  
   delay(500);                            
   servo9g.write(servo9gRestPosition);    
   delay(500);                              
   servo9g.detach(); 
}

I'm using the ESP8266 Library.
When trying to connect it just says Initializing device...

Source Link

Trying to communicate with an ESP8266

G'day guys, I'm trying to get an ESP8266 to work with an Arduino Uno.
Here is the wiring.


wiringPicture

When i go to the serial monitor(115200baud) and type: AT, there is not response from the ESP8266.

Is there something that I am missing?

I also have a servo motor connected, it works fine.

include "Arduino.h"
include "ESP8266.h"
include "dweet.h"
include "Servo.h"

define ESP8266_PIN_RX 10
define ESP8266_PIN_TX 11
define SERVO9G_PIN_SIG 2

const int servo9gRestPosition   = 20;
const int servo9gTargetPosition = 150;
const char *SSID     = "Wireless Network";
const char *PASSWORD = "wireless_password";

ESP8266 wifi(ESP8266_PIN_RX,ESP8266_PIN_TX);
Servo servo9g;

const int timeout = 10000;
char menuOption = 0;
long time0;

void setup() 
{
   Serial.begin(9600);
   while (!Serial); //await connection.
   Serial.println("start");

   wifi.init(SSID, PASSWORD);
   servo9g.attach(SERVO9G_PIN_SIG);
   servo9g.write(servo9gRestPosition);
   delay(100);
   servo9g.detach();

}

void loop() 
{ 
   servo9g.attach(SERVO9G_PIN_SIG);       
   servo9g.write(servo9gTargetPosition);  
   delay(500);                            
   servo9g.write(servo9gRestPosition);    
   delay(500);                              
   servo9g.detach(); 
}

I'm using the ESP8266 Library.