Web Server On a Business Card 169
mollyhackit writes "We've seen tiny Web servers in the past, but rarely ones that are home-built. Here's a guide to building your own tiny web server with a footprint no larger than a business card. The design uses two major chips. One handles the SPI to MAC/PHY translation for the ethernet jack. The other chip is a PIC24F, which hosts a simple web server and reads files stored on a microSD card. All components run at a low 3.3 volts. Part of the compactness of the design comes from the PIC24F having programmable pins; only four jumper wires were needed. The single-sided SMD design is easy to manufacture at home. Part 1 covered many of the 24F's features and both posts have full code available."
As big as a business card eh? (Score:4, Insightful)
I'm glad I don't have any 1cm thick business cards in my wallet.
Wireless Connectivity (Score:2, Insightful)
Now if this could serve up pages wirelessly: hello future!
Sure it sounds cool.... (Score:3, Insightful)
Re:Sure it sounds cool.... (Score:5, Insightful)
The real point is an embedded webserver can be used to provide easy, simple access to some embedded device using software that is shipped as standard on any PC or any smart phone. There are other uses for things that can speak HTTP than serving huge content-rich web pages. This particular device might not be terribly useful on its own but that's not to say similar devices aren't. There are lots and lots of applications for embedded devices that can host a tiny server of some kind.
Re:As big as a business card eh? (Score:4, Insightful)
Re:As big as a business card eh? (Score:4, Insightful)
You know... I realize we're a bunch of geeks here but, really...
This is the reason that I enjoy being geeky and, well, is why I am considered geeky. I hadn't seen that before and when I just read about it I was pretty much smiling like a little kid on Christmas morning. I have absolutely no need for something like that at this time. I probably don't have the patience to build it unless I had a need.
That doesn't matter to me.
It still made me smile, read the article, and imagine a small email gateway or something trivial for home use.
I suppose it is like that for most of us here on /. though so anything more and I'd be preaching to the choir which would be even sillier considering the percentage of people here who are even geekier than I and probably will build one.
Re:As big as a business card eh? (Score:5, Insightful)
Why? Because he could, obviously. He really needs no better reason than that.
Projects like this don't get done because the world is clamoring for a web server that has a foot print which is comparable to a business card. They get done because someone with the necessary skillset (or, who is developing the skillset) did it for practice/experience/fun. This is no different that the vast majority of open source projects -- someone did it because they wanted to.
Sure, it's not something which is likely sale-able. But, if you were interviewing someone to do work in a related area, and their "resume" included a little wee web server like this, you'd have no doubt but that he knows what the hell he's doing. In some ways (likely that you and I can't quite imagine) he likely has advanced the state of the art.
I know for a fact that I (and likely 90% or more of all Slashdotters) couldn't ever hope to do this. This isn't cool because of its utility, it's cool because it's novel, and, well, it's just plain old cool. That's the point.
Cheers
Re:And this is news why? (Score:3, Insightful)
-Jason
Re:Sure it sounds cool/hot. (Score:3, Insightful)
I have a programmable thermostat. It has 1 temp sensor located in the main hallway. This is no way indicative of temperature in my back bedroom or in the basement. There is no controls output for commercial HVAC duct flaps to direct flow.
The PID controller in it is on the 'safe' side. I'm sure the gain and phase margins are huge because you never know where it's going to be installed. They probably have quite a large hysteresis band to keep from always burning fuel. I could design a controller that was specific to my house. That kept the wife's study +5 degrees warmer than other rooms without burning too much extra fuel.
Again, I have a controls concentration BSME. I do this for my job (although on much much different types of systems, with response times in the milliseconds not minutes range).
Re:As big as a business card eh? (Score:3, Insightful)
How about embedded or remote applications? HTTP is a very simple and widely implemented data exchange protocol that would be useful for a variety of tasks.
For example, the microcontroller could do other things such as data logging, save them to the SD card, and cough up the data on HTTP request. Many network attached devices (especially routers, printers and plotters) contain embedded web servers... why not something of your own creation?
I've considered installing a microcontroller in my car (which predates real onboard computers) to monitor things like speeds, pressures and temperatures. An HTTP interface would be a handy way to display the data on nearly any device and/or download raw data files without putting my own data protocol together.
=Smidge=
Re:As big as a business card eh? (Score:2, Insightful)
Re:Sure it sounds cool.... (Score:3, Insightful)
It's also $700 for the whole package. Even just the mini-module is $250.
The board in the article is small and cheap enough that you could put them in out-of-the-way places and abandon them.