Forum  
					
				Software/programming  
					
				ESP8266 Arduino IDE programming  
					
				Why is my ESP8266 appearing as an access point ?  
		
	 
	
	
		 
	
	
		
	
 
	
 
	
	
	
	
	
		
		
				
	
		
			
									
						Posts: 1					 
				
				
									
						Thank you received: 0					 
				
				
				
				
									
											 
				
				
				
									
						 
				
				
							 
		 
	 
		 
		
			
	
				9 years 10 months ago 				#2702 
		by vuden  
	 
	
		
			
			
				I just uploaded my first sketch to an ESP8266-01 via the Arduino IDE.
		 
			 
			Please Log in   or Create an account  to join the conversation.
	
		
			 		
													 
	 
	
		
				
	
		
			
									
						Posts: 2					 
				
				
									
						Thank you received: 0					 
				
				
				
				
									
											 
				
				
				
									
						 
				
				
							 
		 
	 
		 
		
			
	
				9 years 4 months ago 		 - 9 years 4 months ago 		#3377 
		by edautz  
	 
	
		
			
			
				This is the default behaviour of the ESP. It default acts as an station and access point at the same time.
		 
			 
	
		Last edit: 9 years 4 months ago  by 
edautz .			
Please Log in   or Create an account  to join the conversation.
	
		
			 		
													 
	 
	
		
				
	
		
			
									
						Posts: 81					 
				
									
						Karma: 5					 
				
									
						Thank you received: 26					 
				
				
				
									
						 
				
									
											 
				
									
						 
				
				
									
						 
				
				
							 
		 
	 
		 
		
			
	
				9 years 4 months ago 		 - 9 years 4 months ago 		#3378 
		by NightOne  
	 
	
		
			
			
				Thats the default if you dont tell it otherwise..... with the blink example there is no code telling the ESP what to connect too.... If you have a look at the other examples they include the ESP wifi library which does the heavy lifting for you
the code looks like this
#include <ESP8266WiFi.h>
const char* ssid = "your-ssid";
const char* password = "your-password"; 
Once you add this to your code it will connect to your wifi router..... It however wont do anything on the router till you tell it to..
for example you can tell it to run as a webserver .
Here is a super easy example for making a webserver on the ESP and turing on the led remotely
	www.arduinesp.com/wifiwebserver 
			 
			 
	
		Last edit: 9 years 4 months ago  by 
NightOne .			
Please Log in   or Create an account  to join the conversation.
	
		
			 		
													 
	 
	
		
				
	
		
			
									
						Posts: 1					 
				
				
									
						Thank you received: 0					 
				
				
				
				
									
											 
				
				
				
									
						 
				
				
							 
		 
	 
		 
		
			
	
				8 years 10 months ago 				#3623 
		by wini  
	 
	
		
			
			
				Simply add this line to set the station mode:
		 
			 
			Please Log in   or Create an account  to join the conversation.
	
		
			 		
													 
	 
 
	
		
	
 
	
 
	
	
	
	
	
	
	
 
	
		
			Forum  
					
				Software/programming  
					
				ESP8266 Arduino IDE programming  
					
				Why is my ESP8266 appearing as an access point ?  
		
	 
	
	
	
		Time to create page: 0.174 seconds