4 ms·
How secure is it to connect an Arduino to the internet? Does it support any secure protocols?
by Aardwolf 13y ago
How secure is it to connect an Arduino to the internet? Does it support any secure protocols?
- bagels 13y agoBesides secure protocols, if these things are widely deployed in this manner, I'm imagining stack overflow attacks that seem impossible to avoid in some uses of C and C++.
- plumeria 13y agoYou can use the Standard Firmdata sketch, and then use whatever you want. For example, Node.js with Jhonny-five: https://github.com/rwaldron/johnny-five https://github.com/rwaldron/johnny-five I use it together with a pcDuino and it works like a charm.
- tdicola 13y agoNot directly--with only 32kb of program space in the Arduino Uno you can just barely get a wifi stack in (see the CC3000 chip), but there's no room left for SSL or anything secure. A better option is something like the Arduino Yun which has two processors, a small Atmel microcontroller and an Atheros system on a chip running OpenWRT linux. The linux processor can act as a bridge to let the microcontroller communicate with the internet pretty easily.
- runjake 13y agoAt that point, just use a RaspberryPi unless you're specifically doing it for the challenge of it. Arduino is fun though.
- Sanddancer 13y agoNot really. There are some pretty considerable disadvantages to using the Raspberry Pi for the sorts of things the Arduino excels at. There are more, more resilient GPIO ports, there are more ADC ports, there are more PWM ports, the Yun can enumerate itself as a USB slave device, which can allow for all sorts of other cool uses, etc. Each device has pros and cons that you have to take into consideration.
- plumeria 13y agoWhat are some uses of a USB slave device?
- Sanddancer 13y agoIt can be, to your computer, like any other USB device. So you can set it up to be a USB keyboard, USB joystick, USB storage device, etc. So, when you plug it in, you can have it set up that configuring the device, or getting logs, works like any other file operation, similar to how the wifly looks to a camera like just another sd card. Or have it enumerate as a usb input device, and use it to control and be controlled by a pdp 11 front panel ( http://retrocmp.com/projects/pdp-1170-panel/25-pdp-1170-console-panel http://retrocmp.com/projects/pdp-1170-panel/25-pdp-1170-cons... ). In short, it lets you tie whatever real-world interface device you've made to whatever pre-existing computing metaphor makes the most sense...or creating your own driver to let the sky be the limit.
- plumeria 13y agoCool, thanks for the explanation.
- javan 13y agoThere's also https://www.spark.io/ https://www.spark.io/
- jmspring 13y agoI would be leery to put an arduino directly on a public ip, best to have some home bastion server you log into then access your private network. This advice goes for many other set ups as well.