Gravity Analog pH Meter - code for micro:bit

Hi!

I require your help regarding a problem I’m encountering.

Description:
i have the Gravity Analog pH Meter, a micro:bit and a breakout board to connect them. Does anyone have the code I could use to make it all work together? I know that the pH meter is usually used with an Arduino, but I have seen it used successfully with the micro:bit

Hardware concerned:
Gravity Analog pH Meter
micro:bit
Octopus:bit Breakout board

Software concerned:
MakeCode.org online platform

Troubleshooting steps already taken:
the hardware is put together according to the instructions in this video: https://youtu.be/4Ht4ETnR0z0
I don’t know what code to install on the micro:bit to make it work as a pH meter though…

Additional information:

Thank you so much in advance for your help!

Hi there,

I believe that you will have to create your own code.

You may use this guide here to understand the functioning of the PH sensor and the value expected: https://www.robotshop.com/media/files/pdf2/rb-dfr-483.pdf

And this would help you to read an analog value with the MicroBit: https://makecode.microbit.org/reference/pins/analog-read-pin

Let me know if this help.

1 Like