Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Connecting a Sparkfun Arduino quwicc pro micro with a Bosch bmp5801 to a CR1000X data logger help!


usbalasu1 Apr 13, 2025 09:42 PM

I'm attempting to link a Sparkfun Arduino qwicc pro mirco that takes data via a Bosch bmp5801 pressure sensor to a CR1000X data logger, but so far I'm having no luck with communication; I'm new to the CRBasic software. The connection setup I have is the Arduino's TX to the CR1000X's C3, RX to the CR1000X's C4, and a common GND between the two. I also ensured that the Arduino was running at 3.3 V. Any help would be appreciated, thanks!


My current CRBasic code
' Declare a string buffer to receive serial data
Public datastring2 As String * 100
' Define a table to store serial string data
DataTable(PressureLog, True, -1) 
Sample(1, datastring2, String)EndTable
BeginProg
  ' Open COM2 (C3/C4) at 115200 baud, n81 format, 1024 byte buffer 
SerialOpen(2, 115200, 0, 0, 1024) 
SerialFlush(2)
  Scan(2, Sec, 1, 0)   
' Read up to 25 characters into datastring2   
SerialIn(datastring2, 2, 200, -1, 25)
    ' Log the data to the table   
CallTable PressureLog 
NextScan
EndProg



Log in or register to post/reply in the forum.