SparkFun Forums 

Where electronics enthusiasts find answers.

Search found 6 matches

 Go to advanced search

Re: Unexpected bytes received by RN-131

 by alfo48 ¦  Sun Apr 08, 2018 8:50 am ¦  Forum: Wireless/RF ¦  Topic: Unexpected bytes received by RN-131 ¦  Replies: 10 ¦  Views: 731

Resolved!!!!
The problem was solved using two different DC sources for AVR board and RN-131 shield. Using the same ground plus TX and RX signals everything was OK.

Re: Unexpected bytes received by RN-131

 by alfo48 ¦  Fri Apr 06, 2018 2:05 am ¦  Forum: Wireless/RF ¦  Topic: Unexpected bytes received by RN-131 ¦  Replies: 10 ¦  Views: 731

After a LOT of reading about RN-131 documents and many different tries configuring RN-131 ( set comm time and set comm size parameters) I always find that the wifly module sends the 0xFF's when the TCP connection gets closed automatically. At this time the TX led shows the trasmission activity. I'm ...

Re: Unexpected bytes received by RN-131

 by alfo48 ¦  Wed Apr 04, 2018 2:45 am ¦  Forum: Wireless/RF ¦  Topic: Unexpected bytes received by RN-131 ¦  Replies: 10 ¦  Views: 731

Paul, thanks for your answer. I've tried this with two different RN131 modules with the same results. I would expect, if the baud rate is nor set up correctly, that the response sent should have garbage, while it seems not. I attach here a sketch of the AVR program (only relevant code) for completen...

Re: Unexpected bytes received by RN-131

 by alfo48 ¦  Tue Apr 03, 2018 3:06 pm ¦  Forum: Wireless/RF ¦  Topic: Unexpected bytes received by RN-131 ¦  Replies: 10 ¦  Views: 731

I'm using an ATMEGA32 board with an RN131G-I/RM shield. The only two signals connected between AVR and RN131 are the UART TX and RX. The RN131 was setup to join my existing Access Point (SSID) at power on, show its IP address on a LCD and just listen for data on port 2000. When a connection is done ...

Re: Unexpected bytes received by RN-131

 by alfo48 ¦  Tue Apr 03, 2018 7:40 am ¦  Forum: Wireless/RF ¦  Topic: Unexpected bytes received by RN-131 ¦  Replies: 10 ¦  Views: 731

I'm using PIN 13( UTX) and Pin 12 (URX) for serial communications.

Unexpected bytes received by RN-131

 by alfo48 ¦  Mon Apr 02, 2018 2:28 am ¦  Forum: Wireless/RF ¦  Topic: Unexpected bytes received by RN-131 ¦  Replies: 10 ¦  Views: 731

I'm trying to test a small HTTP server based on WIFLY module RN131 and an AVR micro in my wifi home local network. I know that this device is designed to work as a client, however in my case I find a strange behaviour that i cannot explain and don't know if related to the design of this module or if...