Shop OBEX P1 Docs P2 Docs Learn Events
Question about the Wiznet Chip — Parallax Forums

Question about the Wiznet Chip

NWCCTVNWCCTV Posts: 3,629
edited 2012-09-22 13:36 in General Discussion
Is it possible to use the Wiznet chip to create a device that I could change the IP address on. I have an idea for a tool but I would need to be able to type in a different IP address on the device I create and on the device it connects to.

Comments

  • msrobotsmsrobots Posts: 3,709
    edited 2012-09-21 22:24
    when you configure the wiznet-chip (as in spinrette) you set MAC-adress and IP-adress in the code.

    so - yes you can do exactly that what you asked for.

    Enjoy!

    Mike
  • NWCCTVNWCCTV Posts: 3,629
    edited 2012-09-21 22:56
    Now you got me thinking, "where do I start"??? What I need to do is create a device that has a monitor on it and can set IP addresses on other devices and be able to view that devices html page. Still doable? I was thinking of just using the Wiznet chip, a standard RJ-45 jack, a numeric keypad and a 3.5" LCD monitor.
  • msrobotsmsrobots Posts: 3,709
    edited 2012-09-21 23:56
    you can use spinnerette/wiznet-chip as client - BUT viewing html on the prop will be not easy. HTML is text with embedded links to other recources. mostly images. You might be able to parse the text and display it but images will be a bigger problem since most of them are compressed to save space and the prop has neither the power nor the ram to load/decompress and show them.

    so it boils down to what your other devices are producing (as HTML-text) and if you can display this on your own on a display.

    you basically need to write a web-browser for th Prop!

    On the other hand if your devices just use simple HTML with - let say - some sensor values at specific positions, then you can parse the text, pick your values out and display them on your screen.

    as allways - yes and no...

    Enjoy!

    Mike
  • Mike GMike G Posts: 2,702
    edited 2012-09-22 06:11
    What I need to do is create a device that has a monitor on it and can set IP addresses on other devices and be able to view that devices html page. Still doable?
    An IP identifies a server. A port identifies a service running on the server. An IP: Port is used to open a socket on the server. Like knocking on a door. The language used to communicate through the socket is defined by the service. If we're talking web server and port 80, the language is the HTTP protocol.

    So yes... perfectly doable but an IP address is not the only thing required. As msrobots pointed out, it might take some work to parse the HTML returned by the server.

    Describe your project in more detail.
  • NWCCTVNWCCTV Posts: 3,629
    edited 2012-09-22 13:36
    Unfortunately I can not really describe in too much detail as I do not want to give away the idea. I think I am going to have to visit a different solution as the graphics portion will be an absolute must on the html page. I have a couple different ideas but it does not involve a Stamp or Prop so may have to go that route.
Sign In or Register to comment.