From ce3c28755ed733985fa91e45ffaf366ebbcd3a62 Mon Sep 17 00:00:00 2001 From: vedarshshah <33162616+vedarshshah@users.noreply.github.com> Date: Fri, 26 Apr 2024 19:03:06 -0400 Subject: [PATCH] Updated Pressure Arduino Onboard Voltage (#545) Fixed pressure arduino onboard voltage --- .../Arduino Sketchbooks/PressureArduino/PressureArduino.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onboard/catkin_ws/src/offboard_comms/Arduino Sketchbooks/PressureArduino/PressureArduino.ino b/onboard/catkin_ws/src/offboard_comms/Arduino Sketchbooks/PressureArduino/PressureArduino.ino index 9f2d46b80..cb57d5581 100755 --- a/onboard/catkin_ws/src/offboard_comms/Arduino Sketchbooks/PressureArduino/PressureArduino.ino +++ b/onboard/catkin_ws/src/offboard_comms/Arduino Sketchbooks/PressureArduino/PressureArduino.ino @@ -4,7 +4,7 @@ // Baud rate for serial communication with Blue Robotics Bar30 High-Resolution 300m Depth/Pressure Sensor #define BAUD_RATE 9600 -#define ONBOARD_VOLTAGE 4.5565 // Arduino onboard voltage (true output of 5V pin) +#define ONBOARD_VOLTAGE 4.655 // Arduino onboard voltage (true output of 5V pin) #define VPIN 3 // voltage pin analog input #define VOLTAGE_PERIOD 1000 // how often to print out voltage