can i connect the ht-12e rf encoder to the arduino

i want to connect the ht-12e rf encoder data inputs to the arduino? i havnt test it yet but in the data sheet it says that data input must stay either left floating or grounded, so is it normal to connect the data inputs directly to 4 digital pins of the arduio and send high and low signal to transmitt data? thank you.

Yes just connect the pins you want to drive to the Arduino

that data input must stay either left floating or grounded

No it doesn't quite mean this. This is what you can do if you are not using that pin. If you are using that pin you drive it to the appropriate logic level.

yes thank you for the reply but, can i send logic 5 and 0 volts to the rf encoder data inputs? tha data sheet says their are certain logic levels that i could use!

can i send logic 5 and 0 volts to the rf encoder data inputs?


I just said yes didn't I?

what i mean is that if you read mr.grumpy_miker the data sheet of the ht-12e encoder you will find that the logic levels are as the data sheet says :

"Error: AD8~AD11 pins input voltage > VDD+0.3V"

i think mr.grumpy_mike you have to use google and read the data sheet!

I have read the data sheet. I think it is you who don’t understand what it means.
That is the absolute voltage rating above which you will permanently damage the device. It is not the working input voltage.
Any voltage over 0.8V will be taken as a logic one and lower than 0.2V will be a logic zero.

All the example circuits point to this being a normal logic level input.
For example on page 10 the external 12V is reduced to the supply of the chip by the transistor.

The circuit with the error on it on page 9 had the inputs being connected to 12V which is greater than the maximum permitted, hence it was an error.

You also do not need tristate buffers when connecting it to the Arduino as you are connecting it to an I/O pin NOT the data bus. If you were connecting it to the data bus then you would need tri-state buffers but there is no access to the data bus on the Arduino.