OpenWrt Forum Archive

Topic: D-Link DIR-615 E4 MODDING (usb mod, gpio, 1-wire)

The content of this topic has been archived on 23 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I've modified the router. soldered usb and connected to an external hard drive and DS9097 1wire adapter, webcam and other devices. 1-wire bus works well in conjunction with ovfs. Organised by monitoring the temperature. More info http://regul.orionnet.ru.
Experimental means were found GPIO pins responsible for LEDs and buttons router.

Table of GPIO pins:
0 wi-fi LED (blue)
1 power LED (yellow)
6 power LED (green)
7 WAN LED (yellow)
12 WI-FI button (default value - 1)
13,14,15,16 lan port LED (green)
17 WAN LED (green)

I wanted to make 1-wire network via GPIO, but ran into a problem. All GPIO pins give 2.2~2.4V, but 1-wire need at least 2.8V. Soldered a pullup resistor does not change the voltage on GPIO pins. because GPIO pins are connected via a bus voltage converter, the output is zener do not give up the voltage above 2.4 volts (imho).
How to make a pull-up 1-wire bus to 5 volts in this case?

(Last edited by Regul on 18 Jan 2012, 11:31)

regul.orionnet.ru  project site

Dir-615
1. Use GPIO PIN for w1-gpio-custom
2. owserver run over w1-gpio
3. w1-lcd + ds18X20 + ds2408 + ds2406 + ds2405
4. One dir-615 is a server and some dir-615 is a clients over 3g (ssh-tonnel with port forwarding)
5. web-cam connect to dir-615 with 3G modem (ssh tonnet to server for BROWSE VIDEO VIA 3G (not real IP) from REMOTE dir-615 smile
notebook <=wifi=> [LAN] =dir615(server)= [WAN] <= internet == [SSHtonnel]=> [3G modem] =Remote DIR615= WEBCAM
port forwarding:
ssh (Control and configurate remote host)
owserver (w1 remote lan)
mjpg-streamer (video and snapshot from remote webcam)
6. remote host send real sms (balance, gsm signal level and other) via e-mail (free) to my Galaxy Note
...more information and scheme on the site smile
any questions? :-D

The discussion might have continued from here.