I am trying to connect the pmod wifi to an arduino uno. I looked for a library, the best I could found is the WiShield https://github.com/airsoftsoldrecn9/WiShield . Clearly, this library is for the WiShield
but I thought because they use the same wifi chip as the pmod wifi this could work. However, after I manage to compile the library (I attached the working library after some minor modification in order to for it to compile) and after I connected the pmod wifi to the SPI of the arduino uno nothing seems to work. I tried to debug and I noticed that the code stuck in initialization stage, specifically in the file g2100.cpp line 144 (do-while loop). Could any one be kind enough to help or, if there is a working library for pmod wifi, that would be great.
2-
I have the chipkit wi-fire rev C,I tried the example WifiTcpEchoServer which is working just fine. However, I need to make the kit act as TcpClient, so I tried the example WifiTCPEchoClient, however it does not work. The problem is that the kit does connect to the router, however, it does not connect to another tcp server on the PC. I tested to see if that is a problem with firewall, but it is not. I tired to debug and I noticed that the code stops at deIPcK.tcpConnect function. I appreciate any help.
Question
SufSam
Hi,
I have two problems regarding wifi
1-
I am trying to connect the pmod wifi to an arduino uno. I looked for a library, the best I could found is the WiShield https://github.com/airsoftsoldrecn9/WiShield . Clearly, this library is for the WiShield
https://www.elechouse.com/elechouse/index.php?main_page=product_info&cPath=90_186&products_id=2165
but I thought because they use the same wifi chip as the pmod wifi this could work. However, after I manage to compile the library (I attached the working library after some minor modification in order to for it to compile) and after I connected the pmod wifi to the SPI of the arduino uno nothing seems to work. I tried to debug and I noticed that the code stuck in initialization stage, specifically in the file g2100.cpp line 144 (do-while loop). Could any one be kind enough to help or, if there is a working library for pmod wifi, that would be great.
2-
I have the chipkit wi-fire rev C,I tried the example WifiTcpEchoServer which is working just fine. However, I need to make the kit act as TcpClient, so I tried the example WifiTCPEchoClient, however it does not work. The problem is that the kit does connect to the router, however, it does not connect to another tcp server on the PC. I tested to see if that is a problem with firewall, but it is not. I tired to debug and I noticed that the code stops at deIPcK.tcpConnect function. I appreciate any help.
Thanks
WiShield3.zip
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.