I have the same hardware as you: the HM-10 and the MPU-6050 connected to an Arduino Uno. The SCL is in A5 of the Arduino and the SDA in the A4. The TX of the HM-10 is on pin 7 and the RX on pin 8. I am getting the following info after uncommenting the console.log lines in the ble-osc.js file.
poweredOn
Discovered: MLT-BT05
Connected to MLT-BT05
[ Characteristic {
_noble:
Noble {
state: 'poweredOn',
address: '6c:40:08:a8:c1:7b',
_bindings: [Object],
_peripherals: [Object],
_services: [Object],
_characteristics: [Object],
_descriptors: [Object],
_discoveredPeripheralUUids: [Object],
_events: [Object],
_eventsCount: 3,
_allowDuplicates: false },
_peripheralId: '4d9eadafbbb841679690bb747e418f6c',
_serviceUuid: '180a',
uuid: '2a23',
name: 'System ID',
type: 'org.bluetooth.characteristic.system_id',
properties: [ 'read' ],
descriptors: null },
Characteristic {
_noble:
Noble {
state: 'poweredOn',
address: '6c:40:08:a8:c1:7b',
_bindings: [Object],
_peripherals: [Object],
_services: [Object],
_characteristics: [Object],
_descriptors: [Object],
_discoveredPeripheralUUids: [Object],
_events: [Object],
_eventsCount: 3,
_allowDuplicates: false },
_peripheralId: '4d9eadafbbb841679690bb747e418f6c',
_serviceUuid: '180a',
uuid: '2a24',
name: 'Model Number String',
type: 'org.bluetooth.characteristic.model_number_string',
properties: [ 'read' ],
descriptors: null },
Characteristic {
_noble:
Noble {
state: 'poweredOn',
address: '6c:40:08:a8:c1:7b',
_bindings: [Object],
_peripherals: [Object],
_services: [Object],
_characteristics: [Object],
_descriptors: [Object],
_discoveredPeripheralUUids: [Object],
_events: [Object],
_eventsCount: 3,
_allowDuplicates: false },
_peripheralId: '4d9eadafbbb841679690bb747e418f6c',
_serviceUuid: '180a',
uuid: '2a25',
name: 'Serial Number String',
type: 'org.bluetooth.characteristic.serial_number_string',
properties: [ 'read' ],
descriptors: null },
Characteristic {
_noble:
Noble {
state: 'poweredOn',
address: '6c:40:08:a8:c1:7b',
_bindings: [Object],
_peripherals: [Object],
_services: [Object],
_characteristics: [Object],
_descriptors: [Object],
_discoveredPeripheralUUids: [Object],
_events: [Object],
_eventsCount: 3,
_allowDuplicates: false },
_peripheralId: '4d9eadafbbb841679690bb747e418f6c',
_serviceUuid: '180a',
uuid: '2a26',
name: 'Firmware Revision String',
type: 'org.bluetooth.characteristic.firmware_revision_string',
properties: [ 'read' ],
descriptors: null },
Characteristic {
_noble:
Noble {
state: 'poweredOn',
address: '6c:40:08:a8:c1:7b',
_bindings: [Object],
_peripherals: [Object],
_services: [Object],
_characteristics: [Object],
_descriptors: [Object],
_discoveredPeripheralUUids: [Object],
_events: [Object],
_eventsCount: 3,
_allowDuplicates: false },
_peripheralId: '4d9eadafbbb841679690bb747e418f6c',
_serviceUuid: '180a',
uuid: '2a27',
name: 'Hardware Revision String',
type: 'org.bluetooth.characteristic.hardware_revision_string',
properties: [ 'read' ],
descriptors: null },
Characteristic {
_noble:
Noble {
state: 'poweredOn',
address: '6c:40:08:a8:c1:7b',
_bindings: [Object],
_peripherals: [Object],
_services: [Object],
_characteristics: [Object],
_descriptors: [Object],
_discoveredPeripheralUUids: [Object],
_events: [Object],
_eventsCount: 3,
_allowDuplicates: false },
_peripheralId: '4d9eadafbbb841679690bb747e418f6c',
_serviceUuid: '180a',
uuid: '2a28',
name: 'Software Revision String',
type: 'org.bluetooth.characteristic.software_revision_string',
properties: [ 'read' ],
descriptors: null },
Characteristic {
_noble:
Noble {
state: 'poweredOn',
address: '6c:40:08:a8:c1:7b',
_bindings: [Object],
_peripherals: [Object],
_services: [Object],
_characteristics: [Object],
_descriptors: [Object],
_discoveredPeripheralUUids: [Object],
_events: [Object],
_eventsCount: 3,
_allowDuplicates: false },
_peripheralId: '4d9eadafbbb841679690bb747e418f6c',
_serviceUuid: '180a',
uuid: '2a29',
name: 'Manufacturer Name String',
type: 'org.bluetooth.characteristic.manufacturer_name_string',
properties: [ 'read' ],
descriptors: null },
Characteristic {
_noble:
Noble {
state: 'poweredOn',
address: '6c:40:08:a8:c1:7b',
_bindings: [Object],
_peripherals: [Object],
_services: [Object],
_characteristics: [Object],
_descriptors: [Object],
_discoveredPeripheralUUids: [Object],
_events: [Object],
_eventsCount: 3,
_allowDuplicates: false },
_peripheralId: '4d9eadafbbb841679690bb747e418f6c',
_serviceUuid: '180a',
uuid: '2a2a',
name: 'IEEE 11073-20601 Regulatory Certification Data List',
type: 'org.bluetooth.characteristic.ieee_11073-20601_regulatory_certification_data_list',
properties: [ 'read' ],
descriptors: null },
Characteristic {
_noble:
Noble {
state: 'poweredOn',
address: '6c:40:08:a8:c1:7b',
_bindings: [Object],
_peripherals: [Object],
_services: [Object],
_characteristics: [Object],
_descriptors: [Object],
_discoveredPeripheralUUids: [Object],
_events: [Object],
_eventsCount: 3,
_allowDuplicates: false },
_peripheralId: '4d9eadafbbb841679690bb747e418f6c',
_serviceUuid: '180a',
uuid: '2a50',
name: 'PnP ID',
type: 'org.bluetooth.characteristic.pnp_id',
properties: [ 'read' ],
descriptors: null },
Characteristic {
_noble:
Noble {
state: 'poweredOn',
address: '6c:40:08:a8:c1:7b',
_bindings: [Object],
_peripherals: [Object],
_services: [Object],
_characteristics: [Object],
_descriptors: [Object],
_discoveredPeripheralUUids: [Object],
_events: [Object],
_eventsCount: 3,
_allowDuplicates: false },
_peripheralId: '4d9eadafbbb841679690bb747e418f6c',
_serviceUuid: 'ffe0',
uuid: 'ffe1',
name: null,
type: null,
properties: [ 'read', 'writeWithoutResponse', 'write', 'notify' ],
descriptors: null } ]
Hi Roman,
I have the same hardware as you: the HM-10 and the MPU-6050 connected to an Arduino Uno. The SCL is in A5 of the Arduino and the SDA in the A4. The TX of the HM-10 is on pin 7 and the RX on pin 8. I am getting the following info after uncommenting the console.log lines in the ble-osc.js file.
Are those the same connections you are using?
Below is the info I get from the terminal