Professional Documents
Culture Documents
What was done: 1. Enable Local Data Logging with Auto Run 2. LM35 Temperature Sensor with Beaglebone 3. Telemetry Block Diagram (Beaglebone + Arduino) & Location of Components 4. Circuit Sensors for Use: Amploc25, 50 & 100 5. Voltage Attenuation Circuit Design & Prototype 6. Arduino: Communication using I2C, Analog Read & Display on LCD 7. Switchover to Arduino Micro-Controller 8. Research on Arduino Shields: CAN Bus, Data Logger & Serial LCD 9. Updated Telemetry Block Diagram (Arduino MEGA) To do's: 1. Order Arduino Shields & LCD 2. XBee/XStream Transmission & Receiving 3. Software for User Interface for Chase Vehicle
Figure 1.0 Program for Running Data Logging with Auto Run
Do take note that the function Display() has been omitted with the '//' command as there is no way to display the outputs on a the console log as it is not connected to the computer.
Figure 2.0 LM35 Sensor Connected to the Beaglebone with a Toggle switch to end the Auto Run process
Figure 3.0 Location of where the MPPT's will be placed in the solar car
Figure 3.1 Location of where the Motor Controllers 1 &2 and Battery Box will be placed in the solar car
From Figure 3.0 and 3.1, we see that the Motor Controllers and the Battery Box are located quite closely. The MPPT currents and MPPT string voltage that we want to measure are also located closely together. Hence, we come up with the following Telemetry Block Diagrams:
Table 4.0 Table reflecting the currents to be measured and their maximum currents From here, we will need 7 Amploc current sensors: 4 Amploc25 for the Solar/MPPT string currents 3 Amploc50 for the Motor and Battery currents
Figure 5.0 Circuit design for the voltage attenuation circuit Even in the case of 126V or 130V, the voltage would still appear to be 4.2V or 4.333V, hence a step down ratio of 1:30 is good.
Figure 6.0 Arduino communicating with one another and displaying measured ambient temperature via LCD We managed to get 2 Arduino's to communicate with each other via I2C. The Arduino would analog read in the ambient temperature, store it, then send that value across to another Arduino before displaying it on an LCD. This would play a big part for our Telemetry system should 1 Arduino MEGA be unable to handle all the instructions it is tasked to do.
8. Research on Arduino Shields: CAN Bus, Data Logger & Serial LCD
The CAN Bus shield we've looked at and are trying to order is this:
Figure 8.1 Only CAN Bus Shield Description The full set comes with a Data Logger Micro/SD Card, however, the full feature is out of stock. Instead we aim to look at the "Only CAN Bus" Shield instead. We chose this as it had sufficient resources and tutorials so we would be able to fully utilise this shield.
Figure 8.2 MicroSD Card Shield for Arduino This MicroSD card we've looked up takes up less pins from the Arduino. Unlike the other shield we've looked up, this is compatible with the Arduino MEGA, whereas others would need an Arduino UNO. We aim to have just a single Micro-Controller board: Arduino MEGA if possible (if it can handle all the instructions assigned to it).
Figure 8.3 Serial LCD(20x4) We also had to look for resources and tutorials whether we'll understand how to use and get this to function. After further researching, and discerned that we would be able to get this to work, we decided to go with this. Feasibility is one of the key things that we look at, and time and skill is one of the important factors of feasibility. Whether with what skill set we have, can we accomplish and get the intended parts we bought to function with the limited time given was one of the few questions we've asked ourselves.