Update on Mini CO₂ Sensor Integration
- I’m getting about 12.1 V out of VOUT, so the power supply voltage looks solid.
- Wiring has been verified, and all ports are confirmed working properly.
- When using a PC → USB → RS232 converter, with the Dev Kit powered by a wall outlet, we can successfully access and communicate with the sensor.
- Measured RS232 lines on the Dev Kit side show:
- However, when powering the sensor strictly from the Dev Kit, the sensor does not power on or function correctly.
Additional update:
I double-checked the flashing process by building and deploying a simple test code that blinks LED1 and LED2 on the Dev Kit. That worked perfectly, confirming flashing is successful and the Dev Kit is running custom code as expected.
(I have a video showing this if anyone wants to see it — happy to share!)
Configuration update:
I set the baud rate on the mote to 19200 to match the Mini CO₂ sensor’s baud rate, but every time I re-open the port, it resets back to the default 9600, so I have to manually change it each time.
Debug info:
After enabling debug output on the mote, here is a snippet of the received serial data:
[RX:'h'] h [RX:'um_temp | tick: 1182189, rtc: 0, hum: 49.318054, temp: 22.932268\n']
um_temp | tick: 1182189, rtc: 0, hum: 49.318054, temp: 22.932268
[RX:'p'] p [RX:'ressure | tick: 1184198, rtc: 0, temp: 22.942606, pressure: 989.518982\n']
ressure | tick: 1184198, rtc: 0, temp: 22.942606, pressure: 989.518982
[RX:'p'] p [RX:'ower | tick: 1184205, rtc: 0, addr: 67, voltage: 23.681601, current: -0.000250\n
power | tick: 1184207, rtc: 0, addr: 65, voltage: 23.681601, current: 0.006250\n']
ower | tick: 1184205, rtc: 0, addr: 67, voltage: 23.681601, current: -0.000250
power | tick: 1184207, rtc: 0, addr: 65, voltage: 23.681601, current: 0.006250
This confirms data is streaming through the mote’s serial interface.
Questions:
How can I verify that the Dev Kit is actively sending RS232 data to the sensor when powered solely by the Dev Kit?
Is there something that I am missing or overlooking? Any help is much appreciated!