<div dir="ltr">Depending on when the race is, I did this in a similar Dad's race (except our rules our less than 5oz, fits in the box, bring it.) but I used a motor and fan out of an RC electric jet.   I had lithium ion battery pack (to be able to supply instantaneous current), and a board I laid out with an attiny to give the right signals to the embedded speed controller that handled driving the motor.<div><br></div><div>I had a switch on the front of the car so when the pin dropped, the switch would open.   I had the motor spin up to idle speed when the switch was pressed (ie, car first put on track) and then go to full power when it opened.</div><div><br></div><div>I got a little nervous because we have a group of boys that congregate at the bottom of the track.   So I went the night before to test it out on the track.   I went to go test it and nothing.   I hadn't brought anything with me and was stunned.  I finally saw a wire crossing and used my pocket knife to clean it up.    I then started it up.   I hollered for people to watch and put it on the track.</div><div><br></div><div>In a typical pinewood derby race, the car picks up speed going downhill and then slows down on the straight piece.  This car picked up speed the entire time until it hit the end where there was a plywood board.   The battery wasn't connected well enough, and it flew up into the fan blade knocking out half the fan blades and causing the car to fly off the track across the room.   Luckily I have several dependable eyewitnesses that will swear that it was scary fast.   Unfortunately there is no video, and I entered the car with torn up blades in the race the next day under the name "Heartbreak"</div><div><br></div><div>--Alan</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 10, 2017 at 1:27 PM, John Vaughters via TriEmbed <span dir="ltr"><<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12px"><span class=""><div id="m_2871195130596763164yui_3_16_0_ym19_1_1484056401395_73753" dir="ltr"><span style="font-family:"Helvetica Neue","Segoe UI",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px" id="m_2871195130596763164yui_3_16_0_ym19_1_1484056401395_73785">> I hadn't considered the motor actually slowing the car down though.</span><span></span></div><div id="m_2871195130596763164yui_3_16_0_ym19_1_1484056401395_73753" dir="ltr"><span style="font-family:"Helvetica Neue","Segoe UI",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px"><br></span></div></span><div id="m_2871195130596763164yui_3_16_0_ym19_1_1484056401395_73753" dir="ltr"><span style="font-family:"Helvetica Neue","Segoe UI",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px" id="m_2871195130596763164yui_3_16_0_ym19_1_1484056401395_74078">It wouldn't really slow it down, but it would prevent it from speeding up, or become a dragging force once you reach the top RPM the motor will run with the applied load at the top voltage. It is a significant force to consider. The extreme example would be a 100:1 gear ratio on a motor. You get to top speed quickly, but just try to speed it up with another force, it is difficult. The motor and gear leverage is the limiting factor.</span></div><div id="m_2871195130596763164yui_3_16_0_ym19_1_1484056401395_73753" dir="ltr"><span style="font-family:"Helvetica Neue","Segoe UI",Helvetica,Arial,"Lucida Grande",sans-serif;font-size:13px"><br></span></div><div id="m_2871195130596763164yui_3_16_0_ym19_1_1484056401395_73753" dir="ltr"><font face="Helvetica Neue, Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif" id="m_2871195130596763164yui_3_16_0_ym19_1_1484056401395_74290"><span style="font-size:13px" id="m_2871195130596763164yui_3_16_0_ym19_1_1484056401395_74289">Probably the best sensor you could use would be an acceleration sensor. Then you could play with the gear ratio that gets you to a constant acceleration and top out near the finish line. It would be fairly clear that you top out with the sensor. Between the best time and acceleration measurements you will find the best gear ratio. Also, consider ramping the voltage with your PWM to prevent wheel spin. If you really want to go all out and do not care about the motor, test over driving the motor with higher than rated voltage. They can take it, but only for so long before they spark themselves short.</span></font></div><div id="m_2871195130596763164yui_3_16_0_ym19_1_1484056401395_73753" dir="ltr"><font face="Helvetica Neue, Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif"><span style="font-size:13px"><br></span></font></div><div id="m_2871195130596763164yui_3_16_0_ym19_1_1484056401395_73753" dir="ltr"><font face="Helvetica Neue, Segoe UI, Helvetica, Arial, Lucida Grande, sans-serif" id="m_2871195130596763164yui_3_16_0_ym19_1_1484056401395_74703"><span style="font-size:13px" id="m_2871195130596763164yui_3_16_0_ym19_1_1484056401395_74702">Good Luck and Have fun!!!!</span></font></div><div><div class="h5"> <div class="m_2871195130596763164qtdSeparateBR"><br><br></div><div class="m_2871195130596763164yahoo_quoted" style="display:block"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12px"> <div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"> <div dir="ltr"><font size="2" face="Arial"> On Tuesday, January 10, 2017 12:56 PM, Craig Cook via TriEmbed <<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>> wrote:<br></font></div>  <br><br> <div class="m_2871195130596763164y_msg_container">>Still go down hill, but now you have a motor and not just gravity as a force.<br><br>Correct.<br><br>If I can make it work I also want to be able to ssh into the CHIP when at the race track so I can make tuning adjustments.<br><br>Race day is 27 Jan.<br><br>It's going to be a power-to-weight and traction problem.  I hadn't considered the motor actually slowing the car down though.<br><br><br>If there is interest I could do a TriEmbed presentation on "How I made a block of wood into a Race car with the help of TriEmbed".<br><br>My Son's car is going to have LED headlights and tail lights.  That is run from a CR1616 battery I already had.  Will be run in a parallel circuit with resistors.  Already have that working on a breadboard.  Fitting 5mm LED's into a block of wood and hiding wires is interesting.  I sacrificed a cat6 cable for it's wiring.<br><br><br><br>Got a note today that my digikey order has been shipped.<br><br><br>Thanks<br><br>Craig<br><br>______________________________<wbr>_________________<br>Triangle, NC Embedded Computing mailing list<br><a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br><a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/<wbr>mailman/listinfo/triembed_<wbr>triembed.org</a><br>TriEmbed web site: <a href="http://triembed.org/" target="_blank">http://TriEmbed.org</a><br><br><br></div>  </div> </div>  </div></div></div></div></div><br>______________________________<wbr>_________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" rel="noreferrer" target="_blank">http://mail.triembed.org/<wbr>mailman/listinfo/triembed_<wbr>triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" rel="noreferrer" target="_blank">http://TriEmbed.org</a><br>
<br></blockquote></div><br></div>