Help with TX RX Temp Unit Please
Moderator: Benj
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Help with TX RX Temp Unit Please
Hi Stuart,
You can start reading my following thread if you already not gone through. Here I have shown how to use the sensor. If you manage to use the DHT sensor and the code. I will post code how to send data to RX.
http://www.matrixmultimedia.com/mmforum ... =7&t=11555
You can start reading my following thread if you already not gone through. Here I have shown how to use the sensor. If you manage to use the DHT sensor and the code. I will post code how to send data to RX.
http://www.matrixmultimedia.com/mmforum ... =7&t=11555
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Help with TX RX Temp Unit Please
Hi Stuart,
Did you manged to test the code attached in the link I have posted for DHT11?
Did you manged to test the code attached in the link I have posted for DHT11?
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Help with TX RX Temp Unit Please
Hi Enamul,
I have been busy putting together your DHT-11 circuit, and Wow it worked first time, I must be improving, anyway here it is:
http://www.youtube.com/watch?v=M6fabSeBmLU
Thanks
Acestu
I have been busy putting together your DHT-11 circuit, and Wow it worked first time, I must be improving, anyway here it is:
http://www.youtube.com/watch?v=M6fabSeBmLU
Thanks
Acestu
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.
Computers are like air conditioners. They work fine until you start opening windows.
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Help with TX RX Temp Unit Please
Well done Stuart.
Its nice when things go well and work the first time.
Martin
Its nice when things go well and work the first time.
Martin
Martin
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Help with TX RX Temp Unit Please
Hi Martin,
Hope your OK, Yes things are starting to fall in place more now and I am finding it easier to build the circuits....
thanks
Acestu
Hope your OK, Yes things are starting to fall in place more now and I am finding it easier to build the circuits....
thanks
Acestu
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.
Computers are like air conditioners. They work fine until you start opening windows.
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Help with TX RX Temp Unit Please
Great! Glad to know that you managed to sort. So now you can add tx program with that. I'll post program with DHT11. By the way which chip you are using for DHT11?
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Help with TX RX Temp Unit Please
Hi Enamul
The chip is the 877A
Thanks
Acestu
The chip is the 877A
Thanks
Acestu
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.
Computers are like air conditioners. They work fine until you start opening windows.
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Help with TX RX Temp Unit Please
Fine. In that case it will be easy for me. so I will post program for 16f877a
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Help with TX RX Temp Unit Please
Hi Stuart,
Here is the DHT11 code with Tx enabled. In this code Tx transistor is controller by RC1 and data out is RC0 as PORTB is busy with LCD.
Please let me know if you are not clear.
Here is the DHT11 code with Tx enabled. In this code Tx transistor is controller by RC1 and data out is RC0 as PORTB is busy with LCD.
Please let me know if you are not clear.
- Attachments
-
- DHT11v1.02.fcf
- DHT11&TX
- (44.93 KiB) Downloaded 282 times
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Help with TX RX Temp Unit Please
Hi
Now the RX also changed as we are getting directly temperature value and we don't need to manipulate that in RX. I have modified the RX code and here it is..
Now the RX also changed as we are getting directly temperature value and we don't need to manipulate that in RX. I have modified the RX code and here it is..
- Attachments
-
- 16f877a_rx_ TEMP.fcf
- (15.5 KiB) Downloaded 235 times
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Help with TX RX Temp Unit Please
Hi Enamul,
another first time worker:
http://www.youtube.com/watch?v=RrfJOBWSQN0
Could I get rid of the LCD on the TX side and send the Relative Humidity to the receiver as well as the Temp ?
Thanks
Acestu
another first time worker:
http://www.youtube.com/watch?v=RrfJOBWSQN0
Could I get rid of the LCD on the TX side and send the Relative Humidity to the receiver as well as the Temp ?
Thanks
Acestu
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.
Computers are like air conditioners. They work fine until you start opening windows.
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Help with TX RX Temp Unit Please
Great!
One option is just don't connect LCD in TX or I can remove LCD from code but I need to send humidity so it's better I will post new code for both Tx and RX.
One option is just don't connect LCD in TX or I can remove LCD from code but I need to send humidity so it's better I will post new code for both Tx and RX.
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Help with TX RX Temp Unit Please
Hi Enamul,
Oh that would be brilliant
Thanks
Acestu
Oh that would be brilliant
Thanks
Acestu
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.
Computers are like air conditioners. They work fine until you start opening windows.
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Help with TX RX Temp Unit Please
Hi
Here is the TX and RX code and you will see Temp and Humidity alternatively in the RX display. I kept LCD in Tx here to make sure program is working. If you conform that the code is working I will post code of Tx without LCD.
Here is the TX and RX code and you will see Temp and Humidity alternatively in the RX display. I kept LCD in Tx here to make sure program is working. If you conform that the code is working I will post code of Tx without LCD.
- Attachments
-
- DHT11_TX.fcf
- (45.72 KiB) Downloaded 199 times
-
- 16f877a_rx_ TEMP.fcf
- (16.16 KiB) Downloaded 196 times
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Help with TX RX Temp Unit Please
Hi
Here is the Tx code without LCD. But I feel you should at least have two LEDs in the TX circuit to show you whether that circuit working OK or not. I put two LEDs in the code one is in PORTB0 and other in PORTB1. RB<0> is ON if there is no DHT11 sensor and RB<1> will ON if there is error in data transmission. It's upto you whether you want to use those or not. But I feel it would be better to have those to trouble shoot.
Here is the Tx code without LCD. But I feel you should at least have two LEDs in the TX circuit to show you whether that circuit working OK or not. I put two LEDs in the code one is in PORTB0 and other in PORTB1. RB<0> is ON if there is no DHT11 sensor and RB<1> will ON if there is error in data transmission. It's upto you whether you want to use those or not. But I feel it would be better to have those to trouble shoot.
- Attachments
-
- DHT11_TX_NO_LCD.fcf
- (41.93 KiB) Downloaded 194 times
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Help with TX RX Temp Unit Please
Hi Enamul,
The Temp and Humidity seem to be mixed up as I get Temp 48 and Relative Humidity 24
Apart from that it changes from temp to RH every 6 seconds...
thanks
Acestu
EDIT: I won't use your no lcd code yet until you say its ok
The Temp and Humidity seem to be mixed up as I get Temp 48 and Relative Humidity 24
Apart from that it changes from temp to RH every 6 seconds...
thanks
Acestu
EDIT: I won't use your no lcd code yet until you say its ok
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.
Computers are like air conditioners. They work fine until you start opening windows.
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Help with TX RX Temp Unit Please
Can you please post a video to have look what's going wrong?The Temp and Humidity seem to be mixed up as I get Temp 48 and Relative Humidity 24
That's what I did..that is OKApart from that it changes from temp to RH every 6 seconds...
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Help with TX RX Temp Unit Please
Hi Enamul,
That's weird, it has gone ok now, all is good
http://www.youtube.com/watch?v=CpG7KFg5Oa0
thanks
Acestu
That's weird, it has gone ok now, all is good
http://www.youtube.com/watch?v=CpG7KFg5Oa0
thanks
Acestu
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.
Computers are like air conditioners. They work fine until you start opening windows.
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Help with TX RX Temp Unit Please
Hi Enamul,
Can i use the no lcd code now ?
thanks
Acestu
Can i use the no lcd code now ?
thanks
Acestu
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.
Computers are like air conditioners. They work fine until you start opening windows.
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Help with TX RX Temp Unit Please
Yes, of course. That's ready to use. Just I want to make sure that previous one is working. If you want to show both Temp Humidity in LCD simultaneously please let me know. I can change the code to have that.
- acestu
- Posts: 1720
- Joined: Thu Dec 01, 2011 9:36 pm
- Location: Macclesfield UK
- Has thanked: 783 times
- Been thanked: 223 times
- Contact:
Re: Help with TX RX Temp Unit Please
Hi Enamul,
No what you have done the alternating temp and RH is a great idea and I will put the led's on too...
Thanks
Acestu
No what you have done the alternating temp and RH is a great idea and I will put the led's on too...
Thanks
Acestu
Laptop Mac Book Pro i7 retina El Capitan //// Tower/Intel i7-Windows 7 64 Bit, Toshiba i5 Laptop Windows 10
Computers are like air conditioners. They work fine until you start opening windows.
Computers are like air conditioners. They work fine until you start opening windows.
- Enamul
- Posts: 1772
- Joined: Mon Mar 05, 2012 11:34 pm
- Location: Nottingham, UK
- Has thanked: 271 times
- Been thanked: 814 times
- Contact:
Re: Help with TX RX Temp Unit Please
That's fine. Let me know or better to have a video link. I really like your this idea ![Very Happy :D](./images/smilies/icon_biggrin.gif)
![Very Happy :D](./images/smilies/icon_biggrin.gif)