An old software question of mine looks like it would benefit from some hardware.
Basically, I have a web page and want it to communicate via HTTP to a small controller, which will read a string from the serial port and return it to the browser.
Don’t worry about the software, I can handle that. I am wondering which hardware to use, and would like to keep the price down.
The requirements are simple enough. The device needs to be able to read from serial port, and it needs to be able to receive HTTP requests - I don’t care how. I don’t really need an operating system, certainly not a full blown one, but I do need to be able to run a web server, to handle the HTTP request.
I was thinking Raspberry PI, but am one to other solutions if they are cheaper and if they are as simple to code. I can buy in quantities of a dozen up to maybe 100, if it offers a decent discount.
[Update] I also need a dozen or two GPIO pins
- Raspberry Pi 3, plus RS232 hat
- Raspberry Pi Zer0, plus RS232 hat and Wifi or Ethernet (will also need a USB hub)
- Netduino, plus RS232 shield
Long term availability of the device might play a role. E.g maybe not use Pi2, in case it gets phased out. Widely available support , via forums, would be good, although the project is so simple that I don’t envisage needing any help.
Which of these., or an alternative, can do what I want, with an emphasis on cost, but also balancing other terms? Hmmm, I probably want to put it into a case, preferably IP 67 compliant.
[Update] I am also considering:
Although I am not sure how compatible they might be with Raspberry Pi peripherals