<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Mini Pinball 02:  I Choose You, PIC32! -- Episode 287</title><link>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/2884/mini-pinball-02-i-choose-you-pic32----episode-287</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>Mini Pinball 02:  I Choose You, PIC32! -- Episode 287</title><link>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/2884/mini-pinball-02-i-choose-you-pic32----episode-287</link><pubDate>Fri, 21 Apr 2017 07:24:00 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e9f7cb4e-f33e-4020-8d27-2cc343b96694</guid><dc:creator>Matt</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/2884/mini-pinball-02-i-choose-you-pic32----episode-287#comments</comments><description>Current Revision posted to Documents by Matt on 4/21/2017 7:24:00 AM&lt;br /&gt;
&lt;table cellpadding="0" cellspacing="0" style="padding:0px;margin:0px;background-color:#c4e3ed;width:100%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="3" style="padding:6px 0px 10px 11px;vertical-align:top;"&gt;&lt;a href="/e14/assets/legacy/TBHSlogo2.png" data-e14adj="t"&gt;&lt;img alt="image" class="nolightbox" src="/e14/assets/legacy/TBHSlogo2.png"  /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan="3" style="vertical-align:top;padding:8px 13px 13px;"&gt;&lt;p style="margin:0;font-size:18px;font-weight:bold;padding-bottom:6px;"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/" data-e14adj="t"&gt;element14&amp;#39;s The Ben Heck Show&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding-bottom:6px;line-height:18px;"&gt;&lt;strong&gt;Join the Ben Heck team every week for amazing hacks!&lt;/strong&gt; Watch them build and mod community-inspired projects using electronics!&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a href="/challengesprojects/element14-presents/benheck/" data-e14adj="t"&gt;Back to The Ben Heck Show homepage &lt;img loading="lazy" alt="image" src="/e14/assets/legacy/gen/LinkArrow.gif"  /&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#004156;vertical-align:middle;" width="30%"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/mini-pinball-kit/" data-e14adj="t"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;Mini Pinball Kit&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#005973;vertical-align:middle;"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/ben-heck-exclusive/" data-e14adj="t"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;Featured Bonus Content&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#006f91;vertical-align:middle;"&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/9678/the-ben-heck-show-episode-archive" data-e14adj="t"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;See All Episodes&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table style="width:80%;display:block;margin:0 auto;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="padding-bottom:12px;"&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=P0dR5N7xC5c"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="max-width:634px;padding:8px;background-color:#e9f6fc;border:1px solid #b8d7e5;"&gt;&lt;p style="margin:0;"&gt;Ben continues rebuilding the flipper mecs to get an idea how they can work with the smaller solenoids while Felix continues working on the Teensy 3.1, a popular microcontroller based on Freescale system on a chip.&amp;nbsp; Felix is going to try and get the DAC working, the digital to analog converter, so they can get it to play music and sound effects.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;Felix takes a Teensy 3.6 and puts it on a board attached to a smaller board containing the MOSFETs and buttons to trigger the solenoids. He mounts the Teensy 3.6 onto a larger board.&amp;nbsp; He connects an audio jack to the DAC on the Teensy. There are also two outputs on the board for the solenoids.&amp;nbsp; Felix adds two more MOSFETs to give it a total of four solenoids, headers for three buttons, and a header for the servo. The Teensy is a 3.3 V logic with a 3 V regulator on it. On the board a battery goes into a regulator and the 5 Volts is going to the Teensy.&amp;nbsp; From the Teensy he has 3 Volts going to the little board he glued on for the logic. The 16 Volts in the battery when fully charged comes into the regulator which knocks it down to 5 V.&amp;nbsp; A switch separates the 5 V from the Teensy for programming purposes.&amp;nbsp; Felix goes to work on getting the DAC working.&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;Ben uses bandsaws, lasers, and 3D printers to create a mock-up while Felix is works on the circuits. He uses longer flippers than before to get more motion out of smaller solenoids.&amp;nbsp; Satisfied with how the test flipper is moving the ball, he builds the other flipper and a case at the right angle so he can then hook it up to what Felix is making.&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;Felix is having trouble with the SD card reading while getting the DAC working so Ben gives it a look. The mini pinball is intended to be a DIY kit so they&amp;#39;re making sure it&amp;#39;s Arduino programmable with the Teensy 3.6.&amp;nbsp; Felix puts some potentiometers on the board so they can change the duty cycle, to PWM it. As far as PWM goes, they&amp;#39;re going to want a full burst when you push the button, so it has the power to go up and once it&amp;#39;s up they&amp;#39;ll start by counting to 1/10th of a second before switching to a PWM. PWM will allow them to hold the flipper up without keeping it fully on, which could damage the coil. Ben refines the code that Felix worked on. They&amp;#39;ll hard-code these values in for the final version, potentiometers allow them to test quickly.&amp;nbsp; They blink an LED at full kernel speed and divide by 2 to determine the actual frequency with interpretation and wiring.&amp;nbsp; They pulse the LED, look at it in the oscilloscope, and use that to divide up the actual values they need.&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;Working in Autodesk Fusion 360, Ben goes to work on redesigning the flipper. He designs these flippers with a 15 degree slope (instead of the standard 30) to make the game easier. Felix continues troubleshooting audio on the Teensy 3.6. The newest Teensy uses the full 4 bits of the SD card, whereas older libraries only used 1 bit SPI mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: hack, pic32!, questions_communityfeedback, heck, ben, tbhs_ep, episode 287: mini pinball 02: i choose you&lt;/div&gt;
</description></item><item><title>Episode 287: Mini Pinball 02: Let's Get Flipping!</title><link>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/2884/mini-pinball-02-i-choose-you-pic32----episode-287/revision/1</link><pubDate>Mon, 07 Aug 2017 21:47:05 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:e9f7cb4e-f33e-4020-8d27-2cc343b96694</guid><dc:creator>pchan</dc:creator><comments>https://community.element14.com/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/2884/mini-pinball-02-i-choose-you-pic32----episode-287#comments</comments><description>Revision 1 posted to Documents by pchan on 8/7/2017 9:47:05 PM&lt;br /&gt;
&lt;table cellpadding="0" cellspacing="0" style="padding:0px;margin:0px;background-color:#c4e3ed;width:100%;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="3" style="padding:6px 0px 10px 11px;vertical-align:top;"&gt;&lt;a href="/e14/assets/legacy/TBHSlogo2.png"&gt;&lt;img alt="image" class="nolightbox" src="/e14/assets/legacy/TBHSlogo2.png"  /&gt;&lt;/a&gt;&lt;/td&gt;&lt;td rowspan="3" style="vertical-align:top;padding:8px 13px 13px;"&gt;&lt;p style="margin:0;font-size:18px;font-weight:bold;padding-bottom:6px;"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/"&gt;element14&amp;#39;s The Ben Heck Show&lt;/a&gt;&lt;/p&gt;&lt;p style="margin:0;padding-bottom:6px;line-height:18px;"&gt;&lt;strong&gt;Join the Ben Heck team every week for amazing hacks!&lt;/strong&gt; Watch them build and mod community-inspired projects using electronics!&lt;/p&gt;&lt;p style="margin:0;"&gt;&lt;a href="/challengesprojects/element14-presents/benheck/"&gt;Back to The Ben Heck Show homepage &lt;img loading="lazy" alt="image" src="/e14/assets/legacy/gen/LinkArrow.gif"  /&gt;&lt;/a&gt;&lt;/p&gt;&lt;/td&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#004156;vertical-align:middle;" width="30%"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/mini-pinball-kit/"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;Mini Pinball Kit&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#005973;vertical-align:middle;"&gt;&lt;a class="jivecontainerTT-hover-container jive-link-community-small" href="/challengesprojects/element14-presents/benheck/ben-heck-exclusive/"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;Featured Bonus Content&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="padding:13px 10px 13px 13px;background-color:#006f91;vertical-align:middle;"&gt;&lt;a class="jive-link-wiki-small" href="/challenges-projects/element14-presents/benheck/ben-heck-exclusive/w/documents/9678/the-ben-heck-show-episode-archive"&gt;&lt;span style="color:#ffffff;text-decoration:none;"&gt;See All Episodes&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;table style="width:80%;display:block;margin:0 auto;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="padding-bottom:12px;"&gt;&lt;span&gt;&lt;a href="https://www.youtube.com/watch?v=P0dR5N7xC5c"&gt;www.youtube.com/watch&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="max-width:634px;padding:8px;background-color:#e9f6fc;border:1px solid #b8d7e5;"&gt;&lt;p style="margin:0;"&gt;Ben continues rebuilding the flipper mecs to get an idea how they can work with the smaller solenoids while Felix continues working on the Teensy 3.1, a popular microcontroller based on Freescale system on a chip.&amp;nbsp; Felix is going to try and get the DAC working, the digital to analog converter, so they can get it to play music and sound effects.&lt;/p&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;p style="margin:0;padding:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;Felix takes a Teensy 3.6 and puts it on a board attached to a smaller board containing the MOSFETs and buttons to trigger the solenoids. He mounts the Teensy 3.6 onto a larger board.&amp;nbsp; He connects an audio jack to the DAC on the Teensy. There are also two outputs on the board for the solenoids.&amp;nbsp; Felix adds two more MOSFETs to give it a total of four solenoids, headers for three buttons, and a header for the servo. The Teensy is a 3.3 V logic with a 3 V regulator on it. On the board a battery goes into a regulator and the 5 Volts is going to the Teensy.&amp;nbsp; From the Teensy he has 3 Volts going to the little board he glued on for the logic. The 16 Volts in the battery when fully charged comes into the regulator which knocks it down to 5 V.&amp;nbsp; A switch separates the 5 V from the Teensy for programming purposes.&amp;nbsp; Felix goes to work on getting the DAC working.&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;Ben uses bandsaws, lasers, and 3D printers to create a mock-up while Felix is works on the circuits. He uses longer flippers than before to get more motion out of smaller solenoids.&amp;nbsp; Satisfied with how the test flipper is moving the ball, he builds the other flipper and a case at the right angle so he can then hook it up to what Felix is making.&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;Felix is having trouble with the SD card reading while getting the DAC working so Ben gives it a look. The mini pinball is intended to be a DIY kit so they&amp;#39;re making sure it&amp;#39;s Arduino programmable with the Teensy 3.6.&amp;nbsp; Felix puts some potentiometers on the board so they can change the duty cycle, to PWM it. As far as PWM goes, they&amp;#39;re going to want a full burst when you push the button, so it has the power to go up and once it&amp;#39;s up they&amp;#39;ll start by counting to 1/10th of a second before switching to a PWM. PWM will allow them to hold the flipper up without keeping it fully on, which could damage the coil. Ben refines the code that Felix worked on. They&amp;#39;ll hard-code these values in for the final version, potentiometers allow them to test quickly.&amp;nbsp; They blink an LED at full kernel speed and divide by 2 to determine the actual frequency with interpretation and wiring.&amp;nbsp; They pulse the LED, look at it in the oscilloscope, and use that to divide up the actual values they need.&lt;/p&gt;&lt;p style="margin:0;padding-top:8px;"&gt;Working in Autodesk Fusion 360, Ben goes to work on redesigning the flipper. He designs these flippers with a 15 degree slope (instead of the standard 30) to make the game easier. Felix continues troubleshooting audio on the Teensy 3.6. The newest Teensy uses the full 4 bits of the SD card, whereas older libraries only used 1 bit SPI mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: hack, pic32!, questions_communityfeedback, heck, ben, tbhs_ep, episode 287: mini pinball 02: i choose you&lt;/div&gt;
</description></item></channel></rss>