433mhz remotes

I've recently made an arduino nano project using 433mhz reciever and 4 button remote off ebay.

What are the chance's that ill take my project somewhere and someone else will have the same button codes on their 433mhz transmitter?

What chance is there of buying the same code on ebay again? Lets say my neighbor ordering one.

I understand its to do with the bits in the code but no idea how to calculate this and my internet searching has failed me.

Thanks in advance.

Ask the seller how many of the devices have been sold. Then divide that number into the world population and that will tell you how many people might possible have one of the fobs.

Paul

Assuming a PT2262/PT2272 encoder/decoder based remote, the IC has the capability of using one of 312 = 531441 unique codes per the datasheet. Because some of the code address pins are multiplexed with button pins, the usual eBay version has potentially 38 = 6561 unique codes. I expect they are all built identically so in practice they're probably all sold with the same address setting.

The address is set by connecting encoder/decoder chip pins 1-8 to some combination of ground, Vcc, or open (the default for all 8 pins).

Address pins circled in red, power & ground rails at blue arrows. "Programming" the transmitter is similar and needs to be set the same as the paired receiver.