Need help integrating modules into Arduino sketch

Job ID: 32535458

Budget: $25 – $50 USD

Hello. I have a number of sensors that feed into an Arduino, and I need help gathering the information I need from them.
Independent variables used by the sketch are first loaded on to a microSD card, on a laptop; that card is loaded into a microSD card adaptor attached to the Mega 2560 pins #50, 51, 52, 53. These 20+ variables are referenced by the sketch.
I take temperatures from two sources (a DHT 21 and a DHT 22), and use one (along with other information) to calibrate information from a pressure transducer, which reads at a known temperature and pressure and then compares a second pressure and temperature reading taken under different conditions.
I use an MPU6050 to determine a tilt condition in the device; it needs to find the Tangent of the angle from vertical for use in the sketch.
I use a Tiny RTC module to log the 24 highest-value readings and the times from the pressure transducer. (These values change only when a new high value is reached; then the old 24th value is eliminated, and the new one takes its place. These times and values are later read in order of value and time.)
Finally, after the calculations are performed, a 3.5" TFT capacitive touchscreen displays one of nine pre-loaded .bmp pictures, silhouettes on a white background, and over the white area displays specific text relevant to the results of the sketch's operating on the variables received from the sensors. The sequence of events is triggered by using this touchscreen to post a query to get the new sensor values.
An alternative display is found on the client's Android smartphone, and communicates with the Arduino via Bluetooth. [This method is preferred.]
I have built a partly-functional proof-of-concept system, but I prefer to make another one, introducing one module and feature at a time, adding a new sensor or function only when the previous ones are working.
The project would progress thus:
1) The nine preformatted .bmp images would be loaded onto the microSD card from the Windows 10-based laptop.
2) The independent variables would be requested and loaded to the same microSD card, through a dialog on the laptop
3) the microSD card would be loaded into the Arduino device
4) the MPU6050 on the device where the Arduino is resident will be calibrated at zero degrees; this zero cannot be changed except by deliberate technician action
5) a switch on the device will initiate calibration of pressure (reading voltage from the pressure transducer) and temperature at the time of calibration; these data will be maintained until the next calibration, and will be used to normalize subsequent readings.
6) On request from the operator (through the TFT screen or the smartphone), new pressure and temperature readings are taken and are compared to the earlier readings, and one of the .bmp files is selected to display, along with specific text to appear in the white area of the .bmp.

Summary: modules and sensors include
a) up to three pressure transducers, with known upper and lower voltage outputs (typically 0.2~4.5 VDC)
b) DHT 21 and DHT 22 sensors (for temperature reading only -- humidity is not used)
c) MPU6050 to be calibrated one time at setup and read at each query, to generate Tangent of angle +- up to 10 degrees
d) microSD card to be loaded with nine preformatted .bmp images, to carry a set of 20+ variables that are to be loaded from a Windows 10 laptop; and which will maintain up to 24 (maximum) values and times from the pressure transducers
e) Tiny RTC module to provide real-time data to corollate the data from the pressure transducers, data to be stored on the microSD card
f – option i) ZS-040 module for Bluetooth/wi-fi communication to Android smartphone
f – option ii) 3.5” TFT screen instead of smartphone; used as operator interface to initiate query and display results
My client has a strong NDA; I cannot share specifics. I will incorporate your steps into a useful model and sketch. I can share more details, as necessary, as we progress.
Related categories: Electronics Electrical Engineering Arduino