pc88 said:
You'll need some sort of data encoder on the transmit side - either a HT12E or microcontroller will work.
Okay makes sense.

If I use an encoder on one end I am not sure what will come out of the other (at this moment) so for simplicity sake I could just use a matching decoder on the other end and have it convert it for me...at the expense of using extra microcontroller pins.
pc88 said:
We've discussed a lot of ideas in this thread, and my overall advice would be that you go down a path that you know you can make work. Don't worry about getting it right the first time (that's rarely happened to me!) You'll learn a lot just by getting one prototype working, and it will help you decide what the second iteration of your design should look like.
That's exactly what I am looking for. Something that is simple, feed a 1 or 0 into an input on one end and have that 1 or 0 come out on the other end without paying too much for it. I know using a decoder is wasteful in terms of cost and useage of microcontroller pins...but the goal is to make it work the first time, then optimize it after that. I dabble in electronics a bit, but I know I'm not even close to what you guys do.
pc88 said:
That said, let me describe how using a micro-controller (in both the receiver and transmitter sides) could help your design:
- most uC's have built-in ADC units and this would eliminate the 555 and associated circuitry needed to digitize your sensor reading
True, however the microcontroller (Basicx) I know how to program is $50/each...and I'm wanting to build each sensor for around $15-20/each in electronics and around $5/each in metalwork. However for right now I am just creating sensors that create an on/off ouput for a yard monitoring system. So there won't be any really heavily streamed data going on. In the future however I would like to stream data from sensors, but first I want to get my feet wet with a simple on/off transmission.
pc88 said:
- a uC can encode the data packet into a serial bit stream thus performing the function of the HT12E
This is something I will definately have to look into in the future as my current situation doesn't allow this to be cost effective.
pc88 said:
- a uC can decode a serial bit stream into data bytes thus performing the function of the HT12D
I wish I could do this now...but for now the minimal cost of purchasing one HT12D is a non-issue. It's the extra use of pins will be the issue in the future, something which I could correct once I learn how to write the code to interpret the HT12E.
pc88 said:
- a uC can manage the power of your application; it can turn off circuits (even external ones) that are not in use, and itself can go into sleep modes in which it only consumes microamps. This could be very beneficial for battery-powered applications which are only intermittently active.
True, my sensors won't be battery powered yet...because the sensors themselves will use a fair bit of power while they are on. However in the future I'd like to be more energy efficient and allow for battery powered remote sensors to be tied into the "network".
pc88 said:
Again, I would urge you to adopt an approach which you are confident you can succeed at. Often it's more valuable to get something working than to come up with the "best" solution (however that's measured.)
I 100% agree, which is why I like the Linx Technology units...but since I cannot use them in a through hole configuration I have to look elsewhere. I'm debating buying them and finding a way to solder it to a PCB...they seem so much more superior than most units out there. Considering it has 6 times the range as the unit on SFE and all I need is the chip, 10-dip switch and antenna. However if I do go with say the 4800bps RF link from SFE, can I buy 1 receiver and 10 transmitters? I know they are purchased in "matched pairs", but if I need to add more transmitters what do I do?
Nigel Goodwin said:
My tutorials provide code for both transmitter and receiver, using Manchester coding - but it's in assembler.
I have no idea what that code is like...I'm only familiar with the BasicX unit.
