Page 1 of 1

Swordfish --> Web Server

Posted: Wed Feb 24, 2016 1:35 am
by TonyR
I've got a few working Swordfish projects now that gather all kinds of data that's accessible to the user by GSM. I mostly used the PIC18FK22 and Quectel M35 for that.

The question is, whats the shortest way to connect my projects to the net instead of GSM? ie. Is there a tiny Swordfish web server project somewhere?

I noticed that Jerry Messina had kindly posted an Ethernet interface module which (I think) was tested on an Olimex PIC-WEB.

Does this mean in theory I could use Jerrys code in a second PIC on one of my project PCBs to connect to the Olimex and hence the net?

Sorry if this is a dumb question, I haven't ventured into the Internet area before the code all looked too big and complex. Advice appreciated.

Re: Swordfish --> Web Server

Posted: Wed Feb 24, 2016 10:16 am
by octal
You can merge your code directly in the same chip used for ethernet. Your firmware can use the SF ethernet library as any other library.

http://www.sfcompiler.co.uk/wiki/pmwiki ... r.Ethernet

Re: Swordfish --> Web Server

Posted: Wed Feb 24, 2016 10:35 am
by David Barker
This is also worth checking out

http://www.sfcompiler.co.uk/wiki/pmwiki ... User.W5500

I've also worked with the ESP8266 WiFi chip with Firewing with good results. Depends what you want to do I guess...

Re: Swordfish --> Web Server

Posted: Wed Feb 24, 2016 6:28 pm
by TonyR
Thanks for advice, will investigate further.

Re: Swordfish --> Web Server

Posted: Wed Feb 24, 2016 7:23 pm
by Coccoliso
Hi,
Then there is also the W5100 chip with its module WIZ811MJ here http://www.sfcompiler.co.uk/wiki/pmwiki ... User.W5100

Re: Swordfish --> Web Server

Posted: Wed Feb 24, 2016 10:23 pm
by TonyR
Well Ive dived in and bought some WIZ550io from Digikey since they're next day delivery.

If you have time - whats the difference between using the WIZ550io which sounds like it will work OK and the WIZ5100 ? In beginners language :-)

Re: Swordfish --> Web Server

Posted: Thu Feb 25, 2016 6:28 am
by Coccoliso
Hi,
surely the W5500 is the best choice.
The W5500 allows you to not use a local buffer because it has a better memory management.
The W5100 is more popular and the price (from China) is more convenient.

W5500
- RAM 32KB ( 16 RX & 16 TX)
- 8 sockets
- Only SPI
- Few pins
- a more simplified management of buffer compared to W5100

W5100
- RAM 16KB ( 8 RX & 8 TX )
- 4 sockets.
- SPI and paralell
- Many many pins
- there is a difference in the operations to do when there is a buffer RX overrun