This is a little dog.
1. Main basic functions
The content is consistent with the training camp. He can move like a dog.
2. Additional personalized functions
A medical puppy who can take pulses. Including the following hardware modules that have been designed and installed, but the software driver part has not yet been completed and needs to be improved slowly in the future.
1. Front ultrasonic ranging module
(a) Predicted function: After measuring the distance, if the distance is less than a certain value (when it is relatively close to the person), the light will turn on (the green light of the Pulse Sensor on the top), which means that the Pulse Sensor is powered.
(b) Implementation method: Read the specific IO port level or IIC/UART communication data, obtain the distance value, compare it, and then set the Hi3861 IO port/PCA9685 LED port to a high level to power the sensor and start working.
2. The pulse sensor on the top and the 1.3-inch 240*240 ips screen
(a) Expected function: The 1.3-inch screen will prompt the pulse wave measurement information. When the operator presses the fingertip on the sensor on the top, the screen will display the pulse wave waveform and give the heart rate value.
(b) Implementation method: In the external IO port of Hi3861, the ADC interface is used to collect and convert pulse wave data. The obtained data is processed and then transmitted to the LCD screen (driver ST7789) through the SPI interface for real-time display.
3. 0.96-inch OLED screen on the rear
(a) Predicted function: display time and battery power.
(b) Implementation method: It is a 7-pin compatible IIC/SPI type. Considering that the external SPI IO port of Hi3861 is insufficient, it is planned to use the IIC interface for communication. The time is obtained from the mobile phone/computer through the Internet, and the power is estimated by reading the battery voltage combined with the discharge curve of the 18650 lithium battery.