Forum >Can't load any other program other than BLINK
Can't load any other program other than BLINK

Hi,
I'm working with DFRobot wifi shield V2.2 as medium for transmission of Arduino Mega Adk for my robot project. I already configured the shield and is able to view it to my router and can ping it using different PCs'. The problem is that, once I tried loading other program, the "stw" and "assoc" LEDs turn off and is not connected to the wifi anymore. Shield is switched to "Arduino" and "prog" before loading program. Once it's done, there goes configuring again
Is there any way that I can load program without having these trouble?
Any help would be much appreciated. PLEASE. Thank you!
I'm working with DFRobot wifi shield V2.2 as medium for transmission of Arduino Mega Adk for my robot project. I already configured the shield and is able to view it to my router and can ping it using different PCs'. The problem is that, once I tried loading other program, the "stw" and "assoc" LEDs turn off and is not connected to the wifi anymore. Shield is switched to "Arduino" and "prog" before loading program. Once it's done, there goes configuring again

Is there any way that I can load program without having these trouble?
Any help would be much appreciated. PLEASE. Thank you!
2012-11-12 21:28:50 Sorry for the late reply.
You should be able to send commands to the Arduino via serial. So you can use a serial terminal to send the commands to it.
There should be an example to follow on the wiki page
Hector
You should be able to send commands to the Arduino via serial. So you can use a serial terminal to send the commands to it.
There should be an example to follow on the wiki page

2012-11-02 19:03:20 We've tried that in re-configuring but I'm not trying to re-configure the shield, I want to control my robot and send characters to it via wifi.
If there is a particular way on how to do this then please let me know. Your help is really appreciated. Thank you!
weisheil
If there is a particular way on how to do this then please let me know. Your help is really appreciated. Thank you!

2012-11-02 16:42:24 Hi Weisheil,
When the shield connects to a wifi signal it will no longer accept AT commands. So in order for you to be able to send AT commands again you need to remove it from the network.
Options:
1. Remove the wifi shield antennae (hopefully it will loose signal strength and disconnect from the network) allowing you to send AT commands.
2. Remove power from your router temporarily so you can re-configure the Wifi-Shield.
Hector
When the shield connects to a wifi signal it will no longer accept AT commands. So in order for you to be able to send AT commands again you need to remove it from the network.
Options:
1. Remove the wifi shield antennae (hopefully it will loose signal strength and disconnect from the network) allowing you to send AT commands.
2. Remove power from your router temporarily so you can re-configure the Wifi-Shield.

2012-11-02 00:30:43 Yeah you're definitely right about WizSmart! When I tried configuring the shield using my laptop it does not work in Putty but when I used other computer it works just fine.
Now I'm able to see the shield connected to my router. However it is not recorded in DHCP though I set AT+NDHCP = 1.
My problem now is that, I can't communicate with my shield through wifi even though I set the switch to Wifi and Run mode. I used Putty to send data "0" and "1" which is needed in the program I loaded the shield with. I setup the putty in RAW and 5000 port number(which is the same as what I configured it).
When I used serial connection to send data using the arduino sketch Serial Monitor and Putty they both work great.
What should I do to send data to shield? Thank you!
weisheil
Now I'm able to see the shield connected to my router. However it is not recorded in DHCP though I set AT+NDHCP = 1.
My problem now is that, I can't communicate with my shield through wifi even though I set the switch to Wifi and Run mode. I used Putty to send data "0" and "1" which is needed in the program I loaded the shield with. I setup the putty in RAW and 5000 port number(which is the same as what I configured it).
When I used serial connection to send data using the arduino sketch Serial Monitor and Putty they both work great.
What should I do to send data to shield? Thank you!

2012-10-29 23:04:35 In my experience the WizSmartScript isn't very good. I would recommend you use a serial terminal (PuTTY) and the AT commands detailed in the wiki.
I haven't encountered the "low bat" message you mentioned. It could be that you are not providing enough power for your shield. I would recommend 7Vdc @ 1A from an external source other than USB which only provides 5V.
Also, if you are using batteries, they might be low, consider recharging or replacing your batteries.
If you do not provide enough power to the shield it might affect it's ability to connect to the router.
If you really want to learn and understand how to use the shield, please read the data sheet which is linked in the Wiki. The wiki is only meant to be a quick primer and does not provide too much detail about the more complex details of the Shield.
Hector
I haven't encountered the "low bat" message you mentioned. It could be that you are not providing enough power for your shield. I would recommend 7Vdc @ 1A from an external source other than USB which only provides 5V.
Also, if you are using batteries, they might be low, consider recharging or replacing your batteries.
If you do not provide enough power to the shield it might affect it's ability to connect to the router.
If you really want to learn and understand how to use the shield, please read the data sheet which is linked in the Wiki. The wiki is only meant to be a quick primer and does not provide too much detail about the more complex details of the Shield.

2012-10-29 20:09:29 Hello,
I'm using WizSmartScript and during the configuration I encountered ATC1, AT&W0 and ATA and there'll all [OK]. When I tried removing the supply, and replug it only the POWER led remains lit and it does not connected to the router anymore.
I also tried using putty after that and this message is displayed: "[UnExpected Warm Boot(Possibly Low Battery)]". Does it affect the functionality of the shield? What do I do with it? Your help would really help a lot. Thanks!
weisheil
I'm using WizSmartScript and during the configuration I encountered ATC1, AT&W0 and ATA and there'll all [OK]. When I tried removing the supply, and replug it only the POWER led remains lit and it does not connected to the router anymore.
I also tried using putty after that and this message is displayed: "[UnExpected Warm Boot(Possibly Low Battery)]". Does it affect the functionality of the shield? What do I do with it? Your help would really help a lot. Thanks!

2012-10-29 19:41:40 Hi,
First, when you make the Wifi shield configuration do you also save the configuration and set that profile to auto-load when the shield is re-started?
The last 3 commands in the Wiki should help you achieve this.
https://www.dfrobot.com/wiki/index.php/W ... U:TEL0047)
you might also try removing the Wifi sheild to upload your program, then re-connect your shield. Make sure the jumpers are in the right position.
Hector
First, when you make the Wifi shield configuration do you also save the configuration and set that profile to auto-load when the shield is re-started?
The last 3 commands in the Wiki should help you achieve this.
https://www.dfrobot.com/wiki/index.php/W ... U:TEL0047)
you might also try removing the Wifi sheild to upload your program, then re-connect your shield. Make sure the jumpers are in the right position.
