I currently have a project using an Arduino R3, set up across the room from my computer. This has become quite annoying, as every time I want to push something to the Arduino I have to get up and move either the computer or the Arduino to another location, plug it in, and hope my code works the first time, lest I have to repeat the test over and over again. I am trying to set up an SSH server between my Raspberry Pi 2 and computer so I can just push new sketches over SSH, however, I use my Pi 2 for other projects occasionally and want to purchase a second board specifically for this purpose. Is there a good, cheap, board with wifi built in (besides the Pi 3) that I could use for this? Any suggestions?
-
1How is SSH helping achieve your goals?– Nick Gammon ♦Jan 23, 2017 at 20:40
-
hackaday.io/project/…– GerbenJan 23, 2017 at 21:26
-
@Gerben I don't see any reference to SSH on that page.– Nick Gammon ♦Jan 23, 2017 at 22:22
-
1SSH is a secure (encrypted) shell. Why do you need to encrypt an upload from one part of your room to the other?– Nick Gammon ♦Jan 23, 2017 at 23:27
-
1@NickGammon I don't, it just seemed like the easiest way to link the two terminals, and I have a friend who did it and said it works fine for him.– Ely EastmanJan 24, 2017 at 0:02
3 Answers
Sounds like you want an Arduino Yun instead of an Uno. Or a Dragino Yun Shield that turns your Uno into a Yun.
-
Yeah I confirm. I did some work recently and the Arduino Yùn Shield could do the job. You can push sketches via Wifi and run ssh commands. I add performance problem, but otherwise it works like a charm. arduino.cc/en/Guide/ArduinoYunShield Jan 24, 2017 at 21:31
If you get it working on the Pi2, could you just drop in a Pi Zero ($5) and a cheap USB network adapter ($2)?
Note that your question title asks for "best", but you don't define your criteria. Reading between the lines I suspect "cheapest and adequate" is what you mean.
You could swap out the Arduino for a ESP012, not sure it meets your I/O needs. The new ESPs support over wifi firmware uploads.