Tuesday, September 21, 2021

Prototyping Phase - Testing and Using the Accelerometer

 Prototyping Phase

1) Accelerometer Testing and Use

After reading through the hookup guide, I came across the circuit diagram and code to execute the Arduino code.


Circuit Diagram of the Accelerometer hooked up to the Arduino

As you can see in the circuitry above, we can see the two resistors of 330 ohms connected to the SDA and SCL ports. I have connected the circuit as shown below:


Accelerometer and Arduino connected

2) Running the Code and Testing

I connected the circuit above and used the laptop to program the code to test the circuit. 


Coding ongoing

The code is shown in the pics below:




The code was tested and it worked, but the only flaws that we saw was the loose connections, so we are going to solder it.











No comments:

Post a Comment

The Final Video Here is the final outcome of the game I designed