This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
We were looking to reuse the BLE CO sessor
https://www.digikey.com/en/products/detail/texas-instruments/GASSENSOREVM/4764883
And while we found code and everything we are having lots of issues trying to make the whole system work end to end.
What we would like to do now is to move this to a :"newer" platform.. We have code we developed on the CC26x2 platform and were wondering what we would need to do to move the older project to the new platform
Hi,
The referenced demo was created on the CC2541. To migrate this demo to the CC26X2 platform, you will need to migrate from the BLE4 stack the BLE5 stack as well as address some SDK and generation differences between the device. We have a helpful migration reference that can be used to guide the migration effort in the documentation:
Best Regards,
Jan
Hi John,
You can buy CO sensor then read it using the CC26x2 launchpad. I suggest to just create new code for the CO sensor. You can also port existing CO sensor code library to work for CC26x2. Example Arduino code library to TI driver example program. I have done something similar before.
-kel
Yes after seeing Jan's post and also looking at the code.. Plus we dont need an exact port.
Was thinking to do just that... I have not looked to see what would need to be added to the launchpad board to read the sensor. Is there an A/D or something to do this on the LP?
You say there is an arduino lib I could look to port? Link?
JBP
Hi John,
This is Arduino code library for MQ-9 sensor. MQ-9 sensor can sense carbon monoxide.
https://github.com/SolderedElectronics/Soldered-MQ-Gas-Sensor-Arduino-Library
The analog output is 5V - 0. So you need to step down it to analog reading levels of CC26x2.
If you made this to work this is proof of concept prototype. There could be lots of needed improvements from initial prototype.
I have seen the TI Gas Sensor Platform Reference Design it has been designed very well, but it's old. There are newer CO sensor and better TI BLE MCU's.
Also, if you intend this to be powered from battery you need to test for current consumption. TI provides free tool EnergyTrace at CCS for analyzing the current consumption. However, DC power analyzers provide much accurate results.
-kel