Difference between revisions of "Electric Nickel Board"

From ESE205 Wiki
Jump to navigation Jump to search
 
(62 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== Project Description ==
+
== Overview ==
We intend to build an electric two-wheel scooter with a 3D printed chassis. The scooter will ride on 4.9” diameter skateboard wheels and the drive shaft will be run by a 12 V high torque motor. The scooter will have a contact braking system in which friction slows down the drive wheel. The motor and 12 V battery will be hooked to a variable speed controller so as to be able to accelerate the scooter to a desired speed. If we have time at the end of the semester, we would like to add an infrared proximity sensor as a means for collision avoidance. The sensor would allow us to compute the distance of objects in front of the scooter and if the rider is approaching an object or person, a speaker on the bottom of the scooter can sound a tone to warn the driver.
+
 
 +
The objective of our project is to motorize a Nickel Board powered by a brushless DC motor. The way we will motorize this is by attaching the motor and timing belt to a 4.9" diameter skateboard wheel that will come off of the side of the board. The board will have a remote controller to allow the user to change the speed. This controller will have an RC sensor that will be connected to the Electronic Speed Controller. Power will be provided by a 2S lipo battery which will be rechargeable. The safety measurements will include a temperature sensor placed near the motor to automatically shut off the motor if the temperature rises above 46 degrees Celsius. The temperature corresponds to amount of weight applied which requires more energy from the motor to keep the board moving. The motorized wheel system will be attached to the board through 3D printed parts that we will bolt to a wooden board. This wooden board system will then be clamped onto the board with another, smaller, piece through drilled holes and nuts and bolts. The Arduino board will be mounted to the top of the board, while the lipo battery and ESC will be attached to the bottom of the board.
  
== Overview ==
+
==Team Members==
We intend to build an electric two-wheel scooter powered by a 12 V brushed DC motor. The scooter will have a speed controller to allow the user to accelerate to a desired speed. The main handle bar shaft will be able to pivot so that the user can manually vary the angle of the front wheel to steer the scooter. The scooter will have a brake on the back wheel so as to allow the rider to reduce speed through contact friction between the wheel and brake. Power will be provided by a 7 AH battery which allows the rider a considerable travel distance on a charge. The battery will be a Lead Acid battery and is rechargeable via an AC to DC 12 V wall charger.
+
Serra Erdamar, Andrew O'Sullivan (TA)
  
 
== Objectives ==
 
== Objectives ==
A successful scooter will be durable and able to withstand the weight of an average adult and be able to accelerate the rider to a reasonable speed. The speed controller should allow the user to choose the speed at which to ride and the brake should allow the user to stop in a reasonable distance. The battery should be able to sustain the scooter for a reasonable amount of time and the scooter should be able to power on and off so that it preserves battery when not in use.
+
A successful project will be durable and able to withstand the weight of a backpack (with textbooks and a laptop) and be able to accelerate the objects to a reasonable speed. The remote controller should allow the user to accelerate and decelerate from a distance. The battery should be able to sustain the board for a reasonable amount of time and the board should be able to power on and off so that it preserves battery when not in use. The temperature sensor should be able to turn off the board automatically when the maximum temperature is reached.
  
 
== Challenges ==
 
== Challenges ==
The main challenge of this project is going to be creating the CAD files to 3D print all of the parts so that they fit together. The printing of the parts will be challenging as the tolerances are quite small and we may need to print parts more than once in order to create a functional part. Also, we need to schedule enough time to print all of the parts as well as to have enough time to reprint them if necessary. The handlebar mount and front wheel mount will be difficult to design and will have to be sturdy enough to withstand the weight of a rider. User safety is an important factor as well as ease of use. Therefore, we need a means of acceleration that will stop accelerating the scooter in case the rider falls off. We need to isolate the battery and circuitry to minimize user injury by electronic failures. In addition, the break should operate smoothly so the rider can stop abruptly if necessary to avoid obstacles. The limited budget of $150 is challenging as the motor itself costs $50. Therefore, we had to pick and choose only essential parts for the operation of the scooter. Once built, the operation cost of the scooter should be relatively low with only the occasional need to recharge the battery.
+
One of the main challenges of this project is staying under the budget. The Electronic Speed Controller and motor set is above $80 alone. This project can be dangerous to test if all of the pieces don't fit together. Therefore, we may have to re-buy certain pieces if the sizes are not right. User safety is the most important component of a project, therefore implementing a proper off switch in case of emergency is a priority. A few of the pieces are going to be 3D printed for ease of attachment and budget, however, the 3D printed material must be strong enough to hold the motor and the wheel together as the system runs. It is also a possibility that the battery won't have sufficient run time for the demo.
  
 
== Budget ==
 
== Budget ==
*'''AmpFlow M27-150-P Brushed Electric Motor, at $49.66 at Amazon'''  [https://www.amazon.com/AmpFlow-M27-150-P-Brushed-Electric-Motor/dp/B00D3ORPB2/ref=sr_1_1?ie=UTF8&qid=1473048212&sr=8-1&keywords=AmpFlow+M27-150-P (link)]
+
===Final Project Budget===
** The motor will power the scooter.
+
*'''Motor and Speed Controller Combo and Lipo Battery, at $85.86 at Hobby King'''  [http://www.hobbyking.com/hobbyking/store/uh_viewitem.asp?idproduct=74360 (link)] [http://www.hobbyking.com/hobbyking/store/uh_viewitem.asp?idproduct=58560 (link)]
 +
** The motor and ESC will power the board.
 +
 
 +
*'''Skate Wheel - at $4.99(Blue) on Sparkfun''' [https://www.sparkfun.com/products/12556 (link)]
 +
** Skate wheels will allow board to move.
 +
 
 +
*'''Skate Wheel Adapter - Shaft Connection, at $8.90 on Pololu''' [https://www.pololu.com/product/2675 (link)]
 +
** This adapter will allow us to attach the wheel to the board.
 +
 
 +
*'''Shaft - Solid, at $2.09 on Sparkfun''' [https://www.sparkfun.com/products/12427 (link)]
 +
** Used to connect the wheel to the wooden board system.
  
*'''RioRand Upgraded 6V-90V 15A DC Motor Pump Speed Controller, at $10.99 on Amazon''' [https://www.amazon.com/RioRand-trade-Upgraded-6V-90V-Controller/dp/B00F839VNQ/ref=sr_1_8?ie=UTF8&qid=1473048439&sr=8-8&keywords=high+current+motor+speed+controller (link)]
+
*'''BESTORQ Timing Belt, at $4.67 on Amazon''' [https://www.amazon.com/BESTORQ-237-3M-9-Timing-Outside-Circumference/dp/B00J9U2IUM/ref=sr_1_4?s=industrial&ie=UTF8&qid=1475124073&sr=1- (link)]
** Speed controller will allow user to control speed of scooter manually.
+
** Needed to drive the back pulley and the wheel.
  
*'''Skate Wheel - 4.90(Blue)x2, at $9.98 on Sparkfun''' [https://www.sparkfun.com/products/12556 (link)]
+
*'''Timing Pulley, at $8.95 on Sparkfun''' [https://www.sparkfun.com/products/13597 (link)]
** Skate wheels will allow scooter to move.
+
** Allows the belt to move
  
*'''Skate Wheel Adapter - Shaft Connection, at $5.99 on Sparkfun''' [https://www.sparkfun.com/products/12329 (link)]
+
*'''Timing Pulley, at $14.99 on Amazon''' [https://www.amazon.com/Boston-Gear-PA3011DF090-Diameter-Aluminum/dp/B004NYA5GI/ref=sr_1_2?ie=UTF8&qid=1475123692&sr=8- (link)]
** This adapter will allow us to attach the back wheel to the shaft of the scooter.
+
** Allows motor to drive the belt
  
*'''Ball Bearing - Non-Flanged, at $1.99 on Sparkfun''' [https://www.sparkfun.com/products/13277 (link)]
+
*'''Bearing Mount x2, at $11.98 on SparkFun''' [https://www.sparkfun.com/products/12328(link)]
** The ball bearing will help and allow the front wheel to roll smoothly.
+
**Allows for attachment of wheel to 3D printed piece.
 +
 
 +
*'''TOTAL = $142.43'''
 +
 
 +
===Total Budget===
 +
Some items purchased were not used in the final project, those items are included here along with the parts used in the final project.
 +
 
 +
*'''Motor and Speed Controller Combo and Lipo Battery, at $85.86 at Hobby King'''  [http://www.hobbyking.com/hobbyking/store/uh_viewitem.asp?idproduct=74360 (link)] [http://www.hobbyking.com/hobbyking/store/uh_viewitem.asp?idproduct=58560 (link)]
 +
** The motor and ESC will power the board.
 +
 
 +
*'''Skate Wheel - at $4.99(Blue) on Sparkfun''' [https://www.sparkfun.com/products/12556 (link)]
 +
** Skate wheels will allow board to move.
  
*''' Flanged Standoff A, at $2.95 on Sparkfun''' [https://www.sparkfun.com/products/13163 (link)]
+
*'''Skate Wheel Adapter - Shaft Connection, at $8.90 on Pololu''' [https://www.pololu.com/product/2675 (link)]
** Used to attach front skate wheel.
+
** This adapter will allow us to attach the wheel to the board.
  
 
*'''Shaft - Solid, at $2.09 on Sparkfun''' [https://www.sparkfun.com/products/12427 (link)]
 
*'''Shaft - Solid, at $2.09 on Sparkfun''' [https://www.sparkfun.com/products/12427 (link)]
** Used to connect handle bars to the scooter base.
+
** Used to connect the wheel to the wooden board system.
  
*'''BESTORQ 240-3M-15 3M Timing Belt, Rubber, 240 mm Outside Circumference, 15 mm Width, 3 mm Pitch, 80 Teeth, at $4.23 on Amazon''' [https://www.amazon.com/BESTORQ-240-3M-15-Timing-Outside-Circumference/dp/B00J9UESVE/ref=sr_1_1?s=industrial&ie=UTF8&qid=1473569354&sr=1-1&keywords=timing+belt+15mm+width+3mm+pitch (link)]
+
*'''BESTORQ Timing Belt, at $4.67 on Amazon''' [https://www.amazon.com/BESTORQ-237-3M-9-Timing-Outside-Circumference/dp/B00J9U2IUM/ref=sr_1_4?s=industrial&ie=UTF8&qid=1475124073&sr=1- (link)]
** Needed to drive the back pulley and shaft.
+
** Needed to drive the back pulley and the wheel.
  
*'''12 V Lead Acid Battery 7AH, at $16.99 on Amazon''' [https://www.amazon.com/dp/B003S1RQ2S/ref=nav_timeline_asin?_encoding=UTF8&psc=1 (link)]
+
*'''Timing Pulley, at $8.95 on Sparkfun''' [https://www.sparkfun.com/products/13597 (link)]
** Battery needed to power scooter's motor.
+
** Allows the belt to move
  
*'''Timing Pulley, at $13.99 on Amazon''' [https://www.amazon.com/HTD-3M-Timing-Belt-Pulley/dp/B017LP3KDA/ref=sr_1_2?ie=UTF8&qid=1473570860&sr=8-2&keywords=timing+pulley+3mm+pitch+6.35+mm+bore (link)]
+
*'''Timing Pulley, at $14.99 on Amazon''' [https://www.amazon.com/Boston-Gear-PA3011DF090-Diameter-Aluminum/dp/B004NYA5GI/ref=sr_1_2?ie=UTF8&qid=1475123692&sr=8- (link)]
** Allows the Back shaft to interface with the pulley
+
** Allows motor to drive the belt
 +
 
 +
*'''Bearing Mount x2, at $11.98 on SparkFun''' [https://www.sparkfun.com/products/12328(link)]
 +
**Allows for attachment of wheel to 3D printed piece.
 +
 
 +
*'''Ball Bearing - Non-Flanged, at $6.61 on Karlsson Robotics''' [http://www.kr4.us/ball-bearing-non-flanged-8mm-bore-22mm-od-2-pack.html (link)]
 +
** The ball bearing will help and allow the front wheel to roll smoothly.
 +
 
 +
*''' Flanged Standoff B, at $8.98 on ServoCity''' [https://www.servocity.com/skate-wheel-standoff-b-2-pack (link)]
 +
** Used to attach front skate wheel.
 +
 
 +
*'''Timing Pulley, at $11.59 on Amazon''' [https://www.amazon.com/Boston-Gear-PA3011DF090-Diameter-Aluminum/dp/B004NYA5GI/ref=sr_1_2?ie=UTF8&qid=1475123692&sr=8- (link)]
 +
** Allows motor to drive the belt
  
 
*'''Sparkfun shipping, $6.78'''
 
*'''Sparkfun shipping, $6.78'''
 
** Shipping price
 
** Shipping price
  
*'''Toggle Switch, at $1.95 on Sparkfun [https://www.sparkfun.com/products/9276 (link)]
+
*'''Potentiometer, at $0.95 on Sparkfun''' [https://www.sparkfun.com/products/9939 (link)]
** Used to turn scooter on and off.
+
** Controlling speed
  
*'''Steel Sheet Metal Screw, Zinc Plated, Pan Head, Phillips Drive, Type AB, #6-20 Thread Size, 1" Length (Pack of 100), at $2.53 on Amazon [https://www.amazon.com/Steel-Plated-Phillips-Thread-Length/dp/B00GI7J6ZE/ref=sr_1_4?ie=UTF8&qid=1473570998&sr=8-4&keywords=Steel+Sheet+Metal+Screw+Flat+Head%2C+Phillips+Drive%2C+Type+AB%2C+%236-20+1+inch (link)]
+
*'''Steel Sheet Metal Screw, Phillips Drive, #6-20 Thread Size, 1" Length, at $2.53 on Amazon [https://www.amazon.com/Steel-Plated-Phillips-Thread-Length/dp/B00GI7J6ZE/ref=sr_1_4?ie=UTF8&qid=1473570998&sr=8-4&keywords=Steel+Sheet+Metal+Screw+Flat+Head%2C+Phillips+Drive%2C+Type+AB%2C+%236-20+1+inch (link)]
 
** For fastening
 
** For fastening
  
*'''Steel Sheet Metal Screw, Black Oxide Finish, Undercut 82 degrees Flat Head, Phillips Drive, Type AB, #6-20 Thread Size, 1/4" Length (Pack of 100), at $3.14 on Amazon [https://www.amazon.com/Finish-Undercut-degrees-Phillips-Thread/dp/B00GI98Q30/ref=sr_1_5?s=industrial&ie=UTF8&qid=1473567592&sr=1-5&keywords=Steel+Sheet+Metal+Screw+Flat+Head%2C+Phillips+Drive%2C+Type+AB%2C+%236-20+1%2F4+inch (link)]
+
*'''Steel Sheet Metal Screw, Phillips Drive, #6-20 Thread Size, 1/4" Length (Pack of 100), at $2.83 on Amazon [https://www.amazon.com/Finish-Undercut-degrees-Phillips-Thread/dp/B00GI98Q30/ref=sr_1_5?s=industrial&ie=UTF8&qid=1473567592&sr=1-5&keywords=Steel+Sheet+Metal+Screw+Flat+Head%2C+Phillips+Drive%2C+Type+AB%2C+%236-20+1%2F4+inch (link)]
 
** For fastening
 
** For fastening
  
*'''The Hillman Group 7731 Round Head Combo Machine Screw with Nut, at $4.94 on Amazon [https://www.amazon.com/Hillman-Group-7731-Machine-4-Inch/dp/B001B1SERS/ref=sr_1_1?s=industrial&ie=UTF8&qid=1473266185&sr=1-1&keywords=1%2F4+x+1-1%2F2-Inch+bolt+and+nut (link)]
+
*'''Irwin Tools Hex Shank Drill Bit, 7/64-Inch, at $3.49 on Amazon [https://www.amazon.com/Irwin-Tools-4935635-Black-64-Inch/dp/B0042U2VKQ/ref=sr_1_6?rps=1&ie=UTF8&qid=1473568714&sr=8-6&keywords=7%2F64+drill+bit&refinements=p_85%3A2470955011 (link)]
** For fastening the brake lever
+
** For drilling holes
 +
 
 +
*'''TOTAL = $191.18'''
 +
 
 +
== Gantt Chart ==
 +
 
 +
[[File:updated gantt chart.PNG]]
 +
 
 +
==Design and Solutions==
 +
[[File:nickelboardfinalmotordesign.png|500px|]],  [[File:Board 1.jpg|500px|]], [[File:Board 2.jpg|500px|]], [[File:Board 3.jpg|500px|]]
  
*'''Irwin Tools 4935635 Black Oxide Hex Shank Drill Bit, 7/64-Inch, at $3.49 on Amazon [https://www.amazon.com/Irwin-Tools-4935635-Black-64-Inch/dp/B0042U2VKQ/ref=sr_1_6?rps=1&ie=UTF8&qid=1473568714&sr=8-6&keywords=7%2F64+drill+bit&refinements=p_85%3A2470955011 (link)]
+
===Communication===
** For drilling holes
+
One of our main goals for this project was to successfully have an electronic speed controller (ESC) communicate with a motor. For this part we found the TrackStar ROAR approved 1/10th Stock Class Brushless ESC and Motor Combo (21.5T). This set came with five communication wires that we had to implement for proper signals. (can we include link to howto here? Sure, if you wrote a howto for it)
 +
 
 +
Another main goal for us was to implement safety measures. The first safety measure included a temperature sensor that is programmed to stop sending signals to the motor if it gets too hot. The heat corresponds to the amount of Watts exerted by the motor. Thus, when the temperature reaches above 46 degrees Celsius, the code uploaded to the Arduino will detect this and send the off signal. The second safety measure was an emergency "kill switch." We connected this switch to the battery and the ESC as the mediator in between.
 +
 
 +
===Software (coding)===
 +
An important part of the communication between all of the physical pieces is the code written and executed through the Arduino. To begin with, we had to include the Servo library to set up the ESC. We connected the temperature sensor to analog pin A2 to receive the values, 5V for volts, and ground to complete the circuit. Once we read the raw values in, I used a filter and conversion equation to print out the direct Celsius temperature values. This was so we could detect the average temperatures and the maximum temperature. 
  
*'''TOTAL = $141.69'''
+
===Assembly===
 +
To assemble the project together, we had to 3D print a few pieces. These included the red holders measured out to the size of the motor and the wheel, respectively. These holders have holes implemented so we could bolt the motor and wheel onto the wooden board. Before bolting everything together, we first attached the timing pulleys to the motor's shaft and the wheel's shaft, respectively. Once this system has been assembled, we used another piece of wood as a clamp on the bottom of the board. To do this, we drilled four holes into each board and used nuts and bolts to hold it together.
  
== Team Members ==
+
To find the right timing belt and pulleys, click this link: [[Finding the Right Size for Timing Pulleys]]
Ari Cotler, Serra Erdamar, Andrew O'Sullivan (TA)
+
[[File:3dprintedpart2.png|500px|]]
  
== Gantt Chart ==
+
==Results==
 +
*Motor: One of our main goals was to get our motor working with changing speed. Therefore, being able to send varying signals to the motor through an ESC and motorizing a wheel was one of the fundamental components. By the demo, we were able to connect the RC sensor and successfully communicate those signals through the ESC and to the motor. Since we needed to attach the temperature sensor to the Arduino board to communicate with the ESC, the RC receiver was also connected to the Arduino board. Although the RC receiver and ESC can directly send signals, we needed to connect the sensor to the Arduino board so the written code could decide whether to send those signals or not. Therefore, we had to map the values inputted and outputted so the minimums and maximums matched. After the demo, we tested the board with an adult, however the motor did not have enough torque to get the system moving.
  
[[File:Scooter_Project_Gantt_Chart.PNG]]
+
*Safety Measurements: Using a temperature sensor as a safety measurement against excess weight on the board was another important component. I was successfully able to write and upload code to the Arduino that turned off the motor at a given temperature. We chose 29 degrees Celsius because it was slightly below body temperature and above room temperature, so a person could cup the temperature sensor in their hands and demonstrate the shut off. Although the concept was executed at the demo, realistically, we would have wanted the temperature sensor detecting the rise in heat either by the motor or by the ESC. This was a decision made due to the fact that the motor and ESC didn't heat up significantly enough with the weights we were putting on to the board. The "kill switch" was able to cut off any energy powering the motor from the battery, therefore it was a successful kill switch that worked in any emergency situation.
  
 
[[Category:Projects]]
 
[[Category:Projects]]
 
[[Category:Fall 2016 Projects]]
 
[[Category:Fall 2016 Projects]]

Latest revision as of 19:59, 28 March 2017

Overview

The objective of our project is to motorize a Nickel Board powered by a brushless DC motor. The way we will motorize this is by attaching the motor and timing belt to a 4.9" diameter skateboard wheel that will come off of the side of the board. The board will have a remote controller to allow the user to change the speed. This controller will have an RC sensor that will be connected to the Electronic Speed Controller. Power will be provided by a 2S lipo battery which will be rechargeable. The safety measurements will include a temperature sensor placed near the motor to automatically shut off the motor if the temperature rises above 46 degrees Celsius. The temperature corresponds to amount of weight applied which requires more energy from the motor to keep the board moving. The motorized wheel system will be attached to the board through 3D printed parts that we will bolt to a wooden board. This wooden board system will then be clamped onto the board with another, smaller, piece through drilled holes and nuts and bolts. The Arduino board will be mounted to the top of the board, while the lipo battery and ESC will be attached to the bottom of the board.

Team Members

Serra Erdamar, Andrew O'Sullivan (TA)

Objectives

A successful project will be durable and able to withstand the weight of a backpack (with textbooks and a laptop) and be able to accelerate the objects to a reasonable speed. The remote controller should allow the user to accelerate and decelerate from a distance. The battery should be able to sustain the board for a reasonable amount of time and the board should be able to power on and off so that it preserves battery when not in use. The temperature sensor should be able to turn off the board automatically when the maximum temperature is reached.

Challenges

One of the main challenges of this project is staying under the budget. The Electronic Speed Controller and motor set is above $80 alone. This project can be dangerous to test if all of the pieces don't fit together. Therefore, we may have to re-buy certain pieces if the sizes are not right. User safety is the most important component of a project, therefore implementing a proper off switch in case of emergency is a priority. A few of the pieces are going to be 3D printed for ease of attachment and budget, however, the 3D printed material must be strong enough to hold the motor and the wheel together as the system runs. It is also a possibility that the battery won't have sufficient run time for the demo.

Budget

Final Project Budget

  • Motor and Speed Controller Combo and Lipo Battery, at $85.86 at Hobby King (link) (link)
    • The motor and ESC will power the board.
  • Skate Wheel - at $4.99(Blue) on Sparkfun (link)
    • Skate wheels will allow board to move.
  • Skate Wheel Adapter - Shaft Connection, at $8.90 on Pololu (link)
    • This adapter will allow us to attach the wheel to the board.
  • Shaft - Solid, at $2.09 on Sparkfun (link)
    • Used to connect the wheel to the wooden board system.
  • BESTORQ Timing Belt, at $4.67 on Amazon (link)
    • Needed to drive the back pulley and the wheel.
  • Timing Pulley, at $8.95 on Sparkfun (link)
    • Allows the belt to move
  • Timing Pulley, at $14.99 on Amazon (link)
    • Allows motor to drive the belt
  • Bearing Mount x2, at $11.98 on SparkFun [1]
    • Allows for attachment of wheel to 3D printed piece.
  • TOTAL = $142.43

Total Budget

Some items purchased were not used in the final project, those items are included here along with the parts used in the final project.

  • Motor and Speed Controller Combo and Lipo Battery, at $85.86 at Hobby King (link) (link)
    • The motor and ESC will power the board.
  • Skate Wheel - at $4.99(Blue) on Sparkfun (link)
    • Skate wheels will allow board to move.
  • Skate Wheel Adapter - Shaft Connection, at $8.90 on Pololu (link)
    • This adapter will allow us to attach the wheel to the board.
  • Shaft - Solid, at $2.09 on Sparkfun (link)
    • Used to connect the wheel to the wooden board system.
  • BESTORQ Timing Belt, at $4.67 on Amazon (link)
    • Needed to drive the back pulley and the wheel.
  • Timing Pulley, at $8.95 on Sparkfun (link)
    • Allows the belt to move
  • Timing Pulley, at $14.99 on Amazon (link)
    • Allows motor to drive the belt
  • Bearing Mount x2, at $11.98 on SparkFun [2]
    • Allows for attachment of wheel to 3D printed piece.
  • Ball Bearing - Non-Flanged, at $6.61 on Karlsson Robotics (link)
    • The ball bearing will help and allow the front wheel to roll smoothly.
  • Flanged Standoff B, at $8.98 on ServoCity (link)
    • Used to attach front skate wheel.
  • Timing Pulley, at $11.59 on Amazon (link)
    • Allows motor to drive the belt
  • Sparkfun shipping, $6.78
    • Shipping price
  • Potentiometer, at $0.95 on Sparkfun (link)
    • Controlling speed
  • Steel Sheet Metal Screw, Phillips Drive, #6-20 Thread Size, 1" Length, at $2.53 on Amazon (link)
    • For fastening
  • Steel Sheet Metal Screw, Phillips Drive, #6-20 Thread Size, 1/4" Length (Pack of 100), at $2.83 on Amazon (link)
    • For fastening
  • Irwin Tools Hex Shank Drill Bit, 7/64-Inch, at $3.49 on Amazon (link)
    • For drilling holes
  • TOTAL = $191.18

Gantt Chart

Updated gantt chart.PNG

Design and Solutions

Nickelboardfinalmotordesign.png, Board 1.jpg, Board 2.jpg, Board 3.jpg

Communication

One of our main goals for this project was to successfully have an electronic speed controller (ESC) communicate with a motor. For this part we found the TrackStar ROAR approved 1/10th Stock Class Brushless ESC and Motor Combo (21.5T). This set came with five communication wires that we had to implement for proper signals. (can we include link to howto here? Sure, if you wrote a howto for it)

Another main goal for us was to implement safety measures. The first safety measure included a temperature sensor that is programmed to stop sending signals to the motor if it gets too hot. The heat corresponds to the amount of Watts exerted by the motor. Thus, when the temperature reaches above 46 degrees Celsius, the code uploaded to the Arduino will detect this and send the off signal. The second safety measure was an emergency "kill switch." We connected this switch to the battery and the ESC as the mediator in between.

Software (coding)

An important part of the communication between all of the physical pieces is the code written and executed through the Arduino. To begin with, we had to include the Servo library to set up the ESC. We connected the temperature sensor to analog pin A2 to receive the values, 5V for volts, and ground to complete the circuit. Once we read the raw values in, I used a filter and conversion equation to print out the direct Celsius temperature values. This was so we could detect the average temperatures and the maximum temperature.

Assembly

To assemble the project together, we had to 3D print a few pieces. These included the red holders measured out to the size of the motor and the wheel, respectively. These holders have holes implemented so we could bolt the motor and wheel onto the wooden board. Before bolting everything together, we first attached the timing pulleys to the motor's shaft and the wheel's shaft, respectively. Once this system has been assembled, we used another piece of wood as a clamp on the bottom of the board. To do this, we drilled four holes into each board and used nuts and bolts to hold it together.

To find the right timing belt and pulleys, click this link: Finding the Right Size for Timing Pulleys

3dprintedpart2.png

Results

  • Motor: One of our main goals was to get our motor working with changing speed. Therefore, being able to send varying signals to the motor through an ESC and motorizing a wheel was one of the fundamental components. By the demo, we were able to connect the RC sensor and successfully communicate those signals through the ESC and to the motor. Since we needed to attach the temperature sensor to the Arduino board to communicate with the ESC, the RC receiver was also connected to the Arduino board. Although the RC receiver and ESC can directly send signals, we needed to connect the sensor to the Arduino board so the written code could decide whether to send those signals or not. Therefore, we had to map the values inputted and outputted so the minimums and maximums matched. After the demo, we tested the board with an adult, however the motor did not have enough torque to get the system moving.
  • Safety Measurements: Using a temperature sensor as a safety measurement against excess weight on the board was another important component. I was successfully able to write and upload code to the Arduino that turned off the motor at a given temperature. We chose 29 degrees Celsius because it was slightly below body temperature and above room temperature, so a person could cup the temperature sensor in their hands and demonstrate the shut off. Although the concept was executed at the demo, realistically, we would have wanted the temperature sensor detecting the rise in heat either by the motor or by the ESC. This was a decision made due to the fact that the motor and ESC didn't heat up significantly enough with the weights we were putting on to the board. The "kill switch" was able to cut off any energy powering the motor from the battery, therefore it was a successful kill switch that worked in any emergency situation.