Sign up ×
Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It's 100% free, no registration required.

I have been able to program my ESP8266 and make it as an access point and now I want to connect it to a router so that I can communicate through that. There is a command AT+CWJAP which connects the esp to a router but I want to program it so that it automatically gets connected and I don't have to write this command on the serial monitor.

I have connected the ESP8266 with an Arduino UNO, so I will be programming it through that and not doing it directly.

share|improve this question

closed as off-topic by Chris Stratton, Nick Gammon, Majenko, jfpoilpret, TheDoctor Jul 12 at 23:59

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be about Arduino, within the scope defined in the help center." – Chris Stratton, Nick Gammon, Majenko, jfpoilpret, TheDoctor
If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer 1

Make the Arduino send the commands. That is the whole purpose of the AT command set - to make it easy for a program to interface with the WiFi chip.

share|improve this answer
    
I have already done that.But it is giving an error when i run this particular command.Everything else works perfectly.Is there any other way to do this? – Rohan sethi Jul 13 at 7:39
    
What is the error? What is your sketch? Have you considered getting rid of the Arduino and just programming the esp direct? – Majenko Jul 13 at 7:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.