Skip to content
Snippets Groups Projects
Commit c2f616aa authored by Mitalee Parikh's avatar Mitalee Parikh
Browse files

Output page

parent bbee2bca
No related branches found
No related tags found
No related merge requests found
Pipeline #227092 passed
Showing
with 17 additions and 16 deletions
......@@ -15,17 +15,17 @@ These are the components I need to control the motor:
* Arduino Uno + Breadboard + Jumper Wires
![](../fabacademy/images/output/shopping.jpg)
![](./images/output/shopping.jpg)
I refered to this schematic in the Arduino Projects book:
![](../fabacademy/images/output/schematic.jpg)
![](./images/output/schematic.jpg)
To understand the circuit I arranged everything and marked the functions and connections of each part. And checked the [datasheet
for H-bridge L298N.](https://www.st.com/resource/en/datasheet/l298.pdf)
![](../fabacademy/images/output/setup.jpg)
![](./images/output/setup.jpg)
From the above setup, we can see that the pins used are:
......@@ -44,7 +44,7 @@ From the above setup, we can see that the pins used are:
Based on this I defined the constants in the sketch in Arduino IDE.
Then, defined the variables, defined inputs and outputs, setup code, and the loop. Each part is explained briefly in the
sketch.![](../fabacademy/images/output/IDE.jpg)
sketch.![](./images/output/IDE.jpg)
I uploaded the sketch without any errors, but still the motor did not run. I checked all connections and finally had to change my 9
......@@ -57,7 +57,7 @@ battery.
Next, I fabricated a circular base to make the top spin on top from some tape and board I had at home. The pink top was milled by m
on a Roland 4-axis milling machine some years back. If in the lab, I would like to make this setup more refined using the machines.
![](../fabacademy/images/output/top.jpg)
![](./images/output/top.jpg)
Finally I put everything together and this is the setup for a forever spinning top.
......@@ -67,7 +67,7 @@ encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe>
#### Code
[Sketch](../fabacademy/images/output/foreverspin__dcmotor_potentiometer_hbridge_.zip)
[Sketch](./images/output/foreverspin__dcmotor_potentiometer_hbridge_.zip)
#### Tutorials
......@@ -85,7 +85,7 @@ First I made a simple tilt sensor test with led outputs to understand how it wor
torial](https://www.electronicshub.org/arduino-tilt-sensor/) to make leds light on tilting.
![](../fabacademy/images/output/onlytilt.jpg)
![](./images/output/onlytilt.jpg)
Next, I simplified the DC motor circuit from before by removing the H-brige, the potentiometer and the 2 switches, as I didn't
need to change direction or speed.
......@@ -96,21 +96,21 @@ e the dc motor. And then did something similar to [this.](https://www.dummies.co
After I got that to work, I combined both sketches to make the tilt sensor the input and the motor the output.
![](../fabacademy/images/output/sketch.jpg)
![](./images/output/sketch.jpg)
I assembled all components, combining both the circuits
![](../fabacademy/images/output/setup2.jpg)
![](./images/output/setup2.jpg)
I made some changes to the base, as it was wobbly, and then assembled eveything.
![](../fabacademy/images/output/1.jpg)
![](../fabacademy/images/output/2.jpg)
![](../fabacademy/images/output/3.jpg)
![](./images/output/1.jpg)
![](./images/output/2.jpg)
![](./images/output/3.jpg)
This is the whole setup.
![](../fabacademy/images/output/4.jpg)
![](./images/output/4.jpg)
This is a video of it in action
......@@ -122,6 +122,6 @@ I would like to make the base more refined and add the breadboard and arduino in
#### Code
[Only DC motor - sketch](../fabacademy/images/output/foreverspin__dcmotor_potentiometer_hbridge_.zip)
[Only tilt sensor - sketch](../fabacademy/images/output/foreverspin__dcmotor_potentiometer_hbridge_.zip)
[Tilt sensor + DC motor - sketch](../fabacademy/images/output/foreverspin__dcmotor_potentiometer_hbridge_.zip)
[Only DC motor - sketch](./images/output/foreverspin__dcmotor_potentiometer_hbridge_.zip)
[Only tilt sensor - sketch](./images/output/foreverspin__dcmotor_potentiometer_hbridge_.zip)
[Tilt sensor + DC motor - sketch](./images/output/foreverspin__dcmotor_potentiometer_hbridge_.zip)
docs/images/output/1.jpg

110 KiB

docs/images/output/2.jpg

108 KiB

docs/images/output/3.jpg

91.3 KiB

docs/images/output/4.jpg

148 KiB

docs/images/output/IDE.jpg

149 KiB

File added
File added
docs/images/output/onlytilt.jpg

149 KiB

docs/images/output/schematic.jpg

117 KiB

docs/images/output/setup.jpg

211 KiB

docs/images/output/setup2.jpg

204 KiB

docs/images/output/shopping.jpg

173 KiB

File added
File added
docs/images/output/sketch.jpg

80.3 KiB

docs/images/output/top.jpg

86.6 KiB

......@@ -31,6 +31,7 @@ nav:
- Computer-controlled machining: 'Computer-controlled Machining.md'
- Input Devices: 'Input Devices.md'
- Molding & Casting: 'Molding & Casting.md'
- Output Devices: 'Output Devices.md'
- Final Project: 'Final Project.md'
extra:
generator: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment