Error 507 Arduino Project

Hello, I am using an HC-05 Bluetooth module in an Arduino project. Before opening the application, it was possible to pair the HC-05 with the mobile phone, but even when selecting this device in the ‘Connect Bluetooth’ button, error 507 appears.


We usually get 507 errors from a Clock Timer left running in the Designer, sending to a device that isn't ready to receive.

To be sure, upload both the sketch and the exported .aia Project file.

P.S. Are you sure you need that Bluetooth server component?

And where is the Clock Timer to receive incoming data?

APP_CONTROLO.aia (89.0 KB)
The aim of the project is to create a command to control a car via Bluetooth. That's why I don't think it's necessary to use the BluetoothServer component. But I find it strange that I can pair the HC-05 outside the app. Even when I go to choose the device I want to connect within the app, the HC-05 appears there but then doesn't connect ‘completely’.

I neglected to ask for the Arduino sketch too

I don't see anything obvious in your blocks, aside from not asking for permissions before connecting.

I recommend getting a serial bluetooth terminal app from the Google Play Store and trying to test your sketch and wiring with that app.

That would factor out AI2 from the testing.

If that doesn't work, post your Arduino code and your wiring diagram here.