Skip to content

Arduino Yun functionality using a $20 WR703N router and a $3 Arduino Pro Mini.

License

Notifications You must be signed in to change notification settings

probonopd/poor-mans-yun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

poor-mans-yun

Arduino Yun functionality using a $20 WR703N router and a $3 Arduino Pro Mini.

This allows you to upload sketches to the Arduino Pro Mini over Ethernet or WLAN from the Arduino IDE, just like with the Arduino Yun.

duino

So far I did not attempt to port the Bridge, since it seems rather bloated to me.

Materials used

  • WR703N router (do NOT use WR702N) from eBay or Aliexpress, around $20 shipped
  • $3 Arduino Pro Mini from eBay, around $3 shipped

Soldering

  • Solder Arduino pin VCC to WR703N +3.3V
  • Solder Arduino pin GND to WR703N Ground
  • Solder Arduino pin RST to WR703N GPIO 29 signal = R17-South
  • Solder Arduino pin RX to WR703N TP_OUT signal = C55-West
  • Solder Arduino pin TX to WR703N TP_IN signal = R82-North

For information on the WR703N pins, see http://wiki.openwrt.org/toh/tp-link/tl-wr703n#gpios

Preparing Arduino IDE

Edit boards.txt so that it contains the following line:

pro.upload.via_ssh=true
```

Preparing WR703N
----------------
Install OpenWrt on the WR703N. Set a ssh password. Then install the "announce" package and finally run the script from this repository on the WR703N.

How this works
--------------
The Arduino announces itself to the network using Zeroconf. The Arduino IDE sees this and uses ssh into the machine. There it runs /usr/bin/merge-sketch-with-bootloader.lua (this is a blank script in our case) and then it runs /usr/bin/run-avrdude (this is where the magic happens and where avrdude is invoked to flash the Arduino).

About

Arduino Yun functionality using a $20 WR703N router and a $3 Arduino Pro Mini.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages