Hi All!
Assume the following scenario:
A microcontroller with an ADC (10-bit resolution) is interfaced with 2 sensors: temperature (LM35) and pulse rate (TCRT1000) and a GSM (ublox 100).
The acquired signals are sent to a sent to PC for display...
A PC application is being implemented in visual basic 2010 in order to display the above signals (pulse and temperature) through graphical user interface.
The PC aquires data by direct connection to the gadget through cable (RS232) or ethernet cable (for the gsm that sends data to the internet)
My problem is the following:
The software application must be able to decode the received data and consume it (ie, save to database, display real time pulse and temperature,...).
My concern is what is the required format for the data, ie what should be the format of the sent data packet? And how the packet should be defined? How the software would recognise which data is the temperature and which is the pulse?
It makes sense that the software should be programmed based on the packet definition, right?
Hope I expressed myself clearly enough...
Any algorithms, helps, method?
Thanks!
Assume the following scenario:
A microcontroller with an ADC (10-bit resolution) is interfaced with 2 sensors: temperature (LM35) and pulse rate (TCRT1000) and a GSM (ublox 100).
The acquired signals are sent to a sent to PC for display...
A PC application is being implemented in visual basic 2010 in order to display the above signals (pulse and temperature) through graphical user interface.
The PC aquires data by direct connection to the gadget through cable (RS232) or ethernet cable (for the gsm that sends data to the internet)
My problem is the following:
The software application must be able to decode the received data and consume it (ie, save to database, display real time pulse and temperature,...).
My concern is what is the required format for the data, ie what should be the format of the sent data packet? And how the packet should be defined? How the software would recognise which data is the temperature and which is the pulse?
It makes sense that the software should be programmed based on the packet definition, right?
Hope I expressed myself clearly enough...
Any algorithms, helps, method?
Thanks!
Last edited: