Tag Archives: router

Wi-fi or two dir-320 and nokia e51

In general, topic — the result of field tests of the relationship between the two routers, and my phone Nokia E51. The task was to establish communication at a distance of 1 km on the roofs of houses on the line of sight, before those tested in the field, maybe, to climb on theroofs of desire was not there. 

Were taken two brand routers dir-320 from MTS. However, they absolutely do not differ from those that lie on the shelves except for a white body coated with these emblems of MTS special firmware from the developers of MTS for external usb 3G modem with the distribution of wifi ...
However firmware was pulled down and installed fairly well-known dd-wrt. (http://www.dd-wrt.com/)
All settings are standard on both, except that the first point, acting as an access point (A), second (B) is configured as a client to the first point, so that the client connects to A and B were all on the same LAN .

One of the most important moments of entogo — Antennas.
As the antenna was chosen because of ease of Double Biquad production availability of all necessary materials.
Needed: (one antenna)
 — List of bilateral PCB 220×110
 — Copper tube 4 cm (inner diameter slightly greater than the incoming cable into it)
 — Copper wire 70 cm section of 1.5 mm
 — Cable 70 ohm, 50 cm
 — Any change in the form of plastic ties, tubes for securing the PCB design.
Manufacturing technology will not spread, it is here (http://martybugs.net/wireless/biquad/double.cgi)
The result should this:


In this case, they made it two for two routers.
Incidentally ... a small problem faced by the majority — connectors antennas to the router. I solved this problem ... so take a piece of wire from UTP. Bare and wound onto neogolennuyu chat turn to turn in a single layer ... it should be 6.5 turns ... now this «spiral» can be worn in the preload on the «nail» in size sockets router. the second piece of wire just pulls the top slot on the router. As a result, these two pieces of wire touches the cable from the antenna.

In field tests, point A was installed in the roof, the antenna is directed toward «the most distant woods.» The second point with the same antenna and MOBILE in a field.
Raises another problem — the power point, which is with itself. For meals were taken ordinary penlight batteries 4 pcs. Nutrition is just 1.5Vh4 = 6V when necessary 5B.
Next, what I would like to achieve — to go to such a distance in the line of sight to my Nokia on could catch the signal. What's most amazing and ridiculous for me it turned out — at a distance, I could not go right, maybe more was only the forest ...
Signal for a mobile phone on it showed the very same about 5-10 SNR. When you turn on the point, it successfully connects to another, even if the lapel antenna 90 degrees ... but why then the signal shows all the time in 92 SNR that is to say the noise signal is -92 dB to 0 dB ... cannot seem to testimony ... A fully test results have not been because of not the name of the laptop to connect directly into the router ...
Now it remains for the installation and testing in the city ... ... ... ...

Home automation

Home automation.

Accumulated some information from internet circuitry, controllers, various examples. As a confirmation of my small developing the project, decided to write an article ...
So we have: router dir-320 (with dd-wrt, the installation process described in the previous article about dir-320 + C), the controller ATmega8535, a small control circuit for optodriver, object management (reading lamps, power audio, home water heater), a little wires soldering iron, FREE  time.
What I would like to receive: software power management objects that feed from ~ 220 V.
Proper management of the facility as follows:
Mobile phone-> mobile browser-> wifi (mobile) -> wifi (router dir-320) -> set lightpd-> handler to perl-> uart (router) -> uart (controller mega8535) -> control signal (+5 controller) -> control signal (+5 optodrayvera) -> control signal (~ 220 optodriver) -> object management.
In this scheme can be replaced with «Mobile phone-> mobile browser-> wifi (mobile) ->» on a laptop, work PC and TP.
Also has the ability to manage through the wan port connected to the Inet Network, again by reference to lightpd.
What + this scheme:
  • No need to get out of bed for the inclusion of blackouts, TC management with a laptop or a mobile.
  • There is a possibility to saving by switch off / on the water heater, even if you're not at home — through the Net.
  • Integrated on / off devices (coming to the house, you can pre-enable such light wherever necessary. Including teapot before joining)
  • Often forget to disconnect the device from the network before leaving. This is possible at any time.
What — this scheme:
  • Maybe not quite convenient to get or keep a hand every once in a mobile phone for on/off light. But this is  solved by parallel turning optodriver with switch light.But, again, will not turn off remotely if it enabled.
  • Each device is an additional wire and a device for optodraiver. The wires need to get by secured to the wall or hide in the wall, which entails a change of wallpaper ))))) Optodriver also need to get by hiding in the socket, God forbid, if there is enough room)
  • Exception when MOBILE, laptop does not turn on the computer broke. Solved only parallel connection of a physical means of control.

Continue reading Home automation