Arduino UNO + BT + Relay. Security issue.

Hi guys :slight_smile:

I have a Arduino UNO, Bluetooth shield and relay shield, all working as it should.

My only concern is security, as I plan to use this for controlling a warehouse door.

At the moment I am sending a single character over bt serial to control a relay.

How would I go about this secure, is it enough to just change the pass key of the bt shield?

Thanks. :slight_smile:

Why don't you send a sixteen character command to control the relay?

Is it that simple? If so happy days.

Many thanks. :slight_smile:

I think it should be. You just have a string "bnghyjusthaveast" which is in Arduino and has to be checked. I understand you cannot retrieve a programme from Arduino, so I guess the code is safe even if the device is stolen.