Your team is building a robot that is powered with a 35Ah battery. During testing, the robot will run for a maximum of 5 hours before running out of battery, interrupting testing. The team would like to have a better idea of when the robot is going to run out of battery and needs to be recharged. An electrical engineer on your team designs a board to help solve this, with an LTC2944 and a 0.3mohm sense resistor. You are tasked with writing the software to read the accumulated battery discharge, in mAh, at the highest resolution possible. What should register bits B[5:3] be set to, in hexadecimal (please omit ‘0x’ from your answer)? Look up the datasheet to answer this question.
Your team is building a robot that is powered with a 35Ah battery. During testing, the robot will run for a maximum of 5 hours before running out of battery, interrupting testing. The team would like to have a better idea of when the robot is going to run out of battery and needs to be recharged. An electrical engineer on your team designs a board to help solve this, with an LTC2944 and a 0.3mohm sense resistor. You are tasked with writing the software to read the accumulated battery discharge, in mAh, at the highest resolution possible. What should register bits B[5:3] be set to, in hexadecimal (please omit ‘0x’ from your answer)? Look up the datasheet to answer this question.

The whole code has been attached in step 2.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps









