appreciation of clothing category

appreciation of clothing category

USING THE RASPI AS AN ETHERNET shield

[Alexandre] wished to set up a web-based temperature logger with his Arduino, however discovered the Arduino Ethernet shield a little finicky. because his Raspberry pi was just delivered, he figured he might utilize the Raspi as an Ethernet shield with just a bit bit of coding.

After [Alexandre] set up his Arduino to send a thermocouple with the USB, the only thing delegated do was to add node.js to the Raspi’s Debian installation. Every five minutes, the Arduino wakes up, takes a temperature reading, as well as sends it over to the Raspberry pi. From there, it’s simple parse the Arduino’s JSON output as well as serve it up on the web.

In the end, [Alexandre] effectively set up his Raspberry pi as an Ethernet shield to serve a web page showing the present temperature (don’t F5 that link, btw). One fascinating thing we have to point out is the expense of setting up this on the internet temperature logger: the Arduino Ethernet shield offers for $45 USD, while the Raspberry pi is offered for $35. Yes, it’s actually less costly to utilize a Raspberry pi as an Ethernet shield than the present Arduino offerings. There you have it, just in situation you were still on the fence about this whole Raspi thing.

Leave a Reply

Your email address will not be published. Required fields are marked *