Skip to content
/ imuball Public

Control a Sphero Mini with the IMU on a Bosch Nicla Sense Me device via bluetooth

License

Notifications You must be signed in to change notification settings

maaadc/imuball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imuball

Control a Sphero Mini robot with the Bosch IMU on a Nicla Sense Me device via bluetooth.

References

Nicla Sense Me Board: https://docs.arduino.cc/tutorials/nicla-sense-me/cheat-sheet

Communication to a Sphero Mini:

Setup

Info from scan.ino example from ArduinoBLE

Bluetooth® Low Energy Central scan
Discovered a peripheral
-----------------------
Address: f3:a1:19:f0:59:35
Local Name: SM-5935
Service UUIDs: 00010001-574f-4f20-5370-6865726f2121 
RSSI: -59

Info from peripheral_explorer.ino example from ArduinoBLE

Service 00020001-574f-4f20-5370-6865726f2121
	Characteristic 00020003-574f-4f20-5370-6865726f2121, properties 0x4
	Characteristic 00020002-574f-4f20-5370-6865726f2121, properties 0x18
	Characteristic 00020004-574f-4f20-5370-6865726f2121, properties 0x2, value 0x00000F000C000202
	Characteristic 00020005-574f-4f20-5370-6865726f2121, properties 0xC
Service 180f
	Characteristic 2a19, properties 0x12, value 0x64
		Descriptor 2902, value 0x0000
Service 00010001-574f-4f20-5370-6865726f2121
	Characteristic 00010002-574f-4f20-5370-6865726f2121, properties 0x1C
	Characteristic 00010003-574f-4f20-5370-6865726f2121, properties 0x1C
		Descriptor 2902, value 0x0000

Caveats

Necessary changes in the ArduinoBLE library: In the file ATT.cpp of the ArduinoBLE library the +1 needs to be deleted from the statement service->characteristic(j + 1) in line 1712.

About

Control a Sphero Mini with the IMU on a Bosch Nicla Sense Me device via bluetooth

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages