Microbit has a number of on-board components that I would like to access via my arduino uno
especially- bluetooth, accelerommeter & compass I know the microbit has I2C and SPI dedicated "pins" from what I have read and If remember correctly the Accelerometer & compass use I2C I've connected the two devices via I2C useing shields for both devices running an I2C bus Scan from Arduino I see 2 components I hope somebody can point to libraries to connect to the devices as well as other ways to communicate between the two micro-controllers. I've seen add on boards for connecting Microbit to Raspberry Pi and boards to connect Arduino uno to Rasberry Pi. but no boards that connect the Microbit to the Arduino Uno. Btw I'm fairly New to Micro-controllers although I'v been a hobbyist Programmer on and off for over 30 years.
Kiera777:
Microbit has a number of on-board components that I would like to access via my arduino uno
especially- bluetooth, accelerommeter & compass I know the microbit has I2C and SPI dedicated "pins" from what I have read and If remember correctly the Accelerometer & compass use I2C I've connected the two devices via I2C useing shields for both devices running an I2C bus Scan from Arduino I see 2 components I hope somebody can point to libraries to connect to the devices as well as other ways to communicate between the two micro-controllers. I've seen add on boards for connecting Microbit to Raspberry Pi and boards to connect Arduino uno to Rasberry Pi. but no boards that connect the Microbit to the Arduino Uno. Btw I'm fairly New to Micro-controllers although I'v been a hobbyist Programmer on and off for over 30 years.
Why do you want to access the micro:bit components from an Arduino, it would be easier to access them from the micro:bit itself .......................
I find your post hard to understand.
Kiera777:
....I've connected the two devices via I2C useing shields for both devices running an I2C bus Scan from Arduino I see 2 components...
So you have already connected the Arduino via I2C to the Microbit?
For I2C communication you need the data sheets of the components, where you can find the command and register descriptions of the chips. Eventually you also can get Arduino libraries for the known chips.
srnet:
Why do you want to access the micro:bit components from an Arduino, it would be easier to access them from the micro:bit itself .......................
I would prefer to access the sensors with Micro bit and to send info to the Arduino Uno related to the sensors and possibly send info from Arduno to microbit to display Info/images on the microbit 5X5 Led display. I now realise that I2C and SPI are likely not the best way for comunicating between these 2 boards I'm now looking into serial comunication. Any Help would be apricated.
Hi friends,
I`m trying the same - connecting a Microbit to Arduino for sending commands
The micro:bit can be programmed using the Arduino IDE without an Uno.
That’s right.
But I want to control with the Microbit the Arduino.
I will steer my ArduinoRobot with it
Try a Google search on;
'Arduino python serial communication'
I well remember the original BBC Micro ......... I used to look after the manufacture of around 5000 per week.