User Tools

Site Tools


toh:d-link:dir-505

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toh:d-link:dir-505 [2014/08/08 15:01]
aind
toh:d-link:dir-505 [2015/01/12 23:37] (current)
MMN-o [Serial]
Line 504: Line 504:
 | WPS | Secure Easy Setup | | WPS | Secure Easy Setup |
  
 +=== Use WPS button for reboot and shutdown ===
  
-There is a 4 position switch on the top of the unitThe fourth position is used by the DIR-505L model to shutdown the software and operate as a USB charger - on the DIR-505 the case keeps the switch from going into the fourth position.+see [[https://​forum.openwrt.org/​viewtopic.php?​pid=248346#​p248346|this forum posting]] for how to use the WPS button ​to reboot / shutdown the device.
  
-I mapped out the gpio values. The switch ​seems to modify GPIO 19,20,21,22 and 23. This is what I got, respectively:​+=== Mode-switch ​===
  
-|"wifi hotspot"​|01001| +There is a 4 position ​switch on the top of the unit. The fourth position is used by the DIR-505L model to shutdown the software and operate as a USB charger - on the DIR-505 the case keeps the switch from going into the fourth position.
-|"​repeater"​|11001| +
-|"​Router/​AP"​|10001|  +
-|4th position|11000|+
  
 +You can use the mode switch for pretty much anything you want -- however, keep in mind that the "​Charge"​ position turns the router off and is pretty easy to accidentally switch to.
  
 +The switch seems to modify GPIO 19,20,21,22 and 23:
  
 +^  Switch position ​ ^  GPIO  ^
 +| "WiFi Hotspot" ​ | 01001 |
 +| "​Repeater" ​     | 11001 |
 +| "​Router/​AP" ​    | 10001 | 
 +| "​Charger" ​      | 11000 |
  
 ===== Hardware ===== ===== Hardware =====
Line 565: Line 570:
 See above photo for connections. 115200 bps, 8N1. You can use any 3.3V serial dongle for this, I used a 3.3v arduino serial programming cable. See above photo for connections. 115200 bps, 8N1. You can use any 3.3V serial dongle for this, I used a 3.3v arduino serial programming cable.
  
 +When the case is open it may be more convenient to power the DIR-505 directly from a 5V power supply. The power connector is the female 4-pin header (2.54mm/​0.1in spacing) and has a symmetric connection: <​code>​[-|+|+|-]</​code>​ (the inner two pins are +5V, the outer ones are 0V/GND).
 ==== JTAG ==== ==== JTAG ====
 -> [[doc:​hardware:​port.jtag]] general information about the JTAG port, JTAG cable, etc. -> [[doc:​hardware:​port.jtag]] general information about the JTAG port, JTAG cable, etc.
toh/d-link/dir-505.1407502868.txt.bz2 · Last modified: 2014/08/08 15:01 by aind