Hi, im building RF receiver for one of those universal keyfobs (keyfob cloner) tor just any keyfib in general. im using HCS500 as decoder and cheap 433mhz receiver from ebay. The HCS500 uses I2C and this is where it gets confusing. Correct me if im wrong but im pretty sure that I2C slaves should have addresses. this chip doesnt and it has some weird connection sequence.
The microcontroller starts the command by taking the clock line high
for up to 500 ms. The decoder acknowledges the startup
sequence by taking the data line high. The microcontroller
takes the clock line low, after which the
decoder will take the data line low, tri-state the data line
and wait for the command to be clock in. The data must
be set up on the rising edge and will be sampled on the
falling edge of the clock line.
I also put pullup resistors on data and clock lines which isnt really shown in datasheet. Can i communicate with it using wire library? How do i start communicating with it? Help is much appreciated. Thanks.
datasheet: HCS500