What I am looking for is a skeleton of a firmware for a Nordic NRF52 device. The firmware should:
On boot, sets up the pins and peripherals.
Has functions to read/write I2C data to/from the IR Thermometer, Heart Rate & Pulse, Accelerometer, Gyro, Compass, ECG Clock, and Battery Charger.
Has functions to read/write 4-wire SPI to/from the ECG sensor
Has functions to read I2S data from MEMS microphone
Has functions to read ADC value for Glucose Monitor
Has functions to set a PWM output value for Red, Green, and Blue LEDs. Only used for human indication. 8bit resolution would be fine on the PWM as long as the strobe is kept higher than 30Hz. Want to be able to adjust the clock a bit it is on in case there is an alias with the IR thermometer or heart rate/pulse sensor
SD Card is not used
ADC will not actually be used but it would be useful to have code in there as an example
Go to sleep when idle and shut down the non-used power supplies. Wake them back up coming out of sleep
I like the idea of using your round-robin style scheduler for these tasks
That would be the extent of the hardware to/from the module on the PCB itself. Then for the actual BLE magic, looking for code that can
Report back IR Temp in degrees C as the sensor reports it
Report back the heart rate and pulse as the sensor reports it
Report back 9 axis worth of data from the accel/gyro/compass as it reports it
Report back the ECG data as the sensor reports it
Ideally be able to stream the audio data live over the BLE connection in a way that the phone could play it on its audio output channel (speaker / headphone)
Report back an ADC value for the glucose monitor even though it won't be used
Report back battery voltage as read from the TI battery controller
Has an interface to send data chunks from the app to the BLE module such that
Configuration registers in any of the sensors can be changed. Something simple like a few bytes of data being passed back and forth is fine. We can make up a proprietary encoding that allows the one stream to talk to all sensors' config. One configuration register would be some ram on the ble module itself to say what state it is in or what the user is expecting the hardware to do (like wake up and read the ECG or become a stethoscope)
9 freelancers estão ofertando em média $1114 para esse trabalho
I have developed various electronic devices such as dvb-t2 modulator, drm receiver and so on. I am familiar with electronics and I did many such projects. I can do it ASAP.