Sunday, March 17, 2013

TL-WR740N & wireless temperature & humidity sensors

      I have 3 wireless temperature & humidity sensors that sends data over wireless. It is standard 433Mhz frequency.Each sensor send temperature and humidity over wireless. One more information that is send by the sensor is an address. The problem about the address is, that it is changed on every power up. So if you change your batteries you have to reassign the sensor to the specific room(let's say you are login the temperature for a specific room). The sensor i am using looks like this:


      You can get more information about the sensor i am using and the data coding on this page.

      The receiving block schematic diagram is:

      The router has internal regulator that gives me 3.3V, but the only 2 reasons i don't use that voltage is because my radio receiver module needs 5V and my USB cable(for simplicity i am using usb cable) has only 4 wires(5v, GND, RX, TX). So I added a 7805 to give the 5V for the radio module and a LD1117 regulator to make local 3,3V.

      As i mentioned here i will use a microcontroller to receive the data. I am using a PIC24F08KA101. I find the pic24 microcontroller a good choice that can be placed between an Atmega328(arduino classic) and an ARM.
    The result is this:


The rest of the components are SMD and are placed under the PCB board. And the schematic:





Schematic... work in progress...





The changed router looks like this:



The 7805 regulator is in the router, so i am sending 5V to the radio board. Don't forget to add a pull-up resistor(10k) for the router RX line and a wire for TX<->CPU as mentioned at openwrt page

Software will be posted soon...

No comments:

Post a Comment

Write your comments here...