Тёмный
No video :(

Mini Pinball 02: Let's Get Flipping! 

element14 presents
Подписаться 772 тыс.
Просмотров 40 тыс.
50% 1

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. 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. Visit the Ben Heck Page at: bit.ly/2ptfi4M
What kind of pinball would you want: bit.ly/2oSPLPl
Help the Team with the Logic Board Game build: bit.ly/2pFWsrR
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. He connects an audio jack to the DAC on the Teensy. There are also two outputs on the board for the solenoids. 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. 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. A switch separates the 5 V from the Teensy for programming purposes. Felix goes to work on getting the DAC working.
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. 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.
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’re making sure it’s Arduino programmable with the Teensy 3.6. Felix puts some potentiometers on the board so they can change the duty cycle, to PWM it. As far as PWM goes, they’re going to want a full burst when you push the button, so it has the power to go up and once it’s up they’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’ll hard-code these values in for the final version, potentiometers allow them to test quickly. They blink an LED at full kernel speed and divide by 2 to determine the actual frequency with interpretation and wiring. They pulse the LED, look at it in the oscilloscope, and use that to divide up the actual values they need.
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.

Опубликовано:

 

5 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 80   
@joshuamoran903
@joshuamoran903 7 лет назад
I want to live in a world with the old thumbnails again!!!
@barbudoru
@barbudoru 7 лет назад
"Call of DUTY CYCLE" GG Felix!
@gorillaau
@gorillaau 5 лет назад
That should not have been an outtake.
@loud2004
@loud2004 7 лет назад
So where is the PIC32? That Teensy is ARM...
@dusk565
@dusk565 7 лет назад
I built a robot that uses both a Chipkit Max32 and a Teensy (PIC32 and ARM), and I can say that ultimately it doesn't matter. The ARM in the Teensy is reduced and restricted enough to make it on the same playing field as the PIC32. It's not like the ARM in a smartphone - at the end of the day they both have their advantages and disadvantages that render them roughly the same.
@4771cu5H
@4771cu5H 6 лет назад
The link from the Mini Pinball Space: bit.ly/2hAL1fy posted on the video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-5tOolgiGsVk.html lists the title of this video as "I Choose You, PIC32!". That is what loud2004 is referring to.
@randyglenn5965
@randyglenn5965 7 лет назад
Curious as to why they didn't use millis() to assist in timing for the solenoid control - that would've made short work of the problem.
@bryanelliott2107
@bryanelliott2107 7 лет назад
Or use an elapsedMillis variable, at least. They're real cheap.
@404Anymouse
@404Anymouse 7 лет назад
Debounce is technique of eliminating the noise of contact bouncing, debounce is not the noise itself
@duskkazuno
@duskkazuno 7 лет назад
I'm glad someone else caught this. I feel as though Ben has lost his engineer edge in the process of making this a more general-viewer friendly show. He used to describe so much of the technical aspects of what he is doing, but now everything feels "dumbed down"
@samiant5199
@samiant5199 7 лет назад
thank you. this Chanel has shot to shit and so have the veiws
@JoshuaPritt
@JoshuaPritt 7 лет назад
You need to incorporate LASERS somewhere in the pinball game!
@Decipher13
@Decipher13 7 лет назад
Last week!? It was a month ago that part one was posted!
@AdrianCostea
@AdrianCostea 7 лет назад
When the audio file playback issue is done you should make........ A Dave Jones themed mini pinball!!!!! Don't turn it on...
@TrollingAround
@TrollingAround 7 лет назад
Wow all them jump cuts during Felix's explanation were starting to make me feel dizzy!
@joinus948
@joinus948 7 лет назад
I love the new background music
@VGA_Guy
@VGA_Guy 7 лет назад
I died at the Call Of Duty Cycle bit.
@matttargett2009
@matttargett2009 7 лет назад
Is Ben going for the "Quint from Jaws" look? Actually, he looks like a cross between Quint and Hooper.
@dgamer5075
@dgamer5075 7 лет назад
Maybe try the SDFAT library. It has more support but it has the same commands and codes.
@boriss.861
@boriss.861 7 лет назад
Hey Guys if the flippers have some Urethane bands on them the flipper will have a bit more control of the ball. eeek only a mad sugestion.
@JoshuaPritt
@JoshuaPritt 7 лет назад
"You don't have to make that sound but it helps." So true.
@snowpython
@snowpython 7 лет назад
rgb lights as a floor. So when the ball goes over it, it'll light up
@chantafreak
@chantafreak 7 лет назад
So are the flippers going to get any rubber treatment?
@scissorenthusiast8340
@scissorenthusiast8340 7 лет назад
I'd like to see a mini IBM pc like with a pi zero or something that would be very cool.
@linuxgnuru
@linuxgnuru 7 лет назад
I'd love it if Felix would show how you can use Blender on Linux to do the same thing Ben does with Autocad
@tetsujin_144
@tetsujin_144 7 лет назад
While you can kind of muddle through with a program like Blender to do 3-D mechanical design, it's really not built for it...
@timtrzepacz3452
@timtrzepacz3452 7 лет назад
I've been watching a lot of your videos, and was thinking that it would be nice to know how long was spent on each part of the process. I know things get edited down for making a nice video, but I keep thinking "I would have spent days on that"! Knowing that you DID spend days on something would make me feel a little better...
@mankee2211
@mankee2211 7 лет назад
isnt the max of analogWrite higher on those chips? esp has 1024, if Im not mistaken?
@niklaswallin9478
@niklaswallin9478 7 лет назад
Do you need that 60 extra Mhz, the teensy 3.5 is 5V tolerant..
@stephenjames2951
@stephenjames2951 7 лет назад
Felix throwing out the jokes!
@EDNOOOOO
@EDNOOOOO 7 лет назад
Hey Ben! I have an interesting project request for you. The original xbox system is the first home console to feature a hard drive unfortunately these hard drives are beginning to die and killing the console with it. I was wondering if you could find a solution, maybe flash memory, or some other form of longer lasting storage. Love the show keep up the good work!
@NeoBit93
@NeoBit93 6 лет назад
can you share the flipper mechanism design fusion 360 ?
@BoingotheClown
@BoingotheClown 7 лет назад
I like the beard Ben. You should keep it.
@darkinertia2
@darkinertia2 7 лет назад
where did you get that ohms law shirt?! i want that!
@Dosbomber
@Dosbomber 7 лет назад
I got mine from Teespring.
@djdjukic
@djdjukic 7 лет назад
Ben, that really doesn't seem like a good way to time the solenoids, since it depends on the program's execution speed... I'd much rather use millis() or micros()
@H2Oredfirefox
@H2Oredfirefox 7 лет назад
how about a small DMD display
@extrachegg
@extrachegg 7 лет назад
I'm totally gonna make one of these, but it's going to be Shrek themed
@chagalag
@chagalag 7 лет назад
GET ON THE POT FELIX
@sokauo
@sokauo 7 лет назад
HOT GLUE all the component ben this is the key for reliability ;). (i know its just a prototype)
@LasseHuhtala
@LasseHuhtala 7 лет назад
Hey Felix, stop triggering the audiophiles, those guys can be really mean when riled up. :-)
@gorillaau
@gorillaau 5 лет назад
Trigger an Audiophile?
@ranoonay
@ranoonay 7 лет назад
I'd say make it a Millennium Falcon pinball game!
@tetsujin_144
@tetsujin_144 7 лет назад
Skill shot: Fire the ball up the entry ramp, and it pops out the door for the escape pods... ...wherever that is...
@ObiTrev
@ObiTrev 7 лет назад
*MATH SOULS: RISE OF THE MATH LORD*
@harrymurphy6331
@harrymurphy6331 7 лет назад
this is my favourite youtube channel!
@jwhite5008
@jwhite5008 7 лет назад
if they are going to generate WAVs from simplistic wave pattern (like BFXR) and then load them from SD card to play, I'll be so sad....
@kayom2000
@kayom2000 7 лет назад
Very sad that TBHS went totally mainstream and at the end explains nothing and builds no knowledge up anymore :-( I was a huge fan...
@thomaskinyon7506
@thomaskinyon7506 7 лет назад
More N64 or maybe a GameCube portable!
@Tuletaja
@Tuletaja 7 лет назад
Like your shows :) keep up the good work!
@numeboys7577
@numeboys7577 7 лет назад
build a looping
@Gooberslot
@Gooberslot 7 лет назад
Felix has been corrupted to the dark side (Windows 10). :(
@4771cu5H
@4771cu5H 6 лет назад
sudo Sergeant must be using Windows Subsystem for Linux
@AzureFlash
@AzureFlash 7 лет назад
I'm supposed to be playing Call of Duty Cycle but this one player keeps kicking my ass.
@Meep3692
@Meep3692 7 лет назад
Is it ThePWM27?
@DoRC
@DoRC 7 лет назад
Why are you pwm ing the relays? I have to imagine they are designed to handle some power. You could always just kill the power after a few seconds.
@b1tw0nder
@b1tw0nder 7 лет назад
dac 0 and 1. theres no 2!
@allluckyseven
@allluckyseven 7 лет назад
Zoom in, zoom out. Zoom in, zoom out. Cut, cut, cut. Why, editor(s)? Why so much annoying cuts and zoom cuts? Can't you see the video gets way too choppy?
@snakeman2506
@snakeman2506 7 лет назад
pinball is fun
@LasseHuhtala
@LasseHuhtala 7 лет назад
Just give me a blinking LED for blinks sake. Blink!
@codeman99-dev
@codeman99-dev 7 лет назад
Don't blink!
@zaprodk
@zaprodk 7 лет назад
Teensny 3.6 :)
@CreepebrineMC
@CreepebrineMC 7 лет назад
Pls do a portable ORIGINAL XBOX.
@blue4lifeblue
@blue4lifeblue 7 лет назад
recreate the GOTG Doritos mp3 player but better improved
@mike-1061
@mike-1061 7 лет назад
There's no way you can make a mobile Wii.
@hawk_ness
@hawk_ness 7 лет назад
Please making the jumping stop... Really amateurish editing.
@andi
@andi 7 лет назад
What happened to this show? The thumbnails look super cheap, the intro seems really odd now and the entire show is just random placed jump cuts and hardly nearly as technical and cool as it used to be. Really sad seeing this as I was such a huge fan and always was hyped about new uploads. Now I almost don't even watch them anymore
@smp1990
@smp1990 7 лет назад
that lipo looking puffy....
@PuffyRainbowCloud
@PuffyRainbowCloud 7 лет назад
Since you were having trouble with the timing when writing in C, perhaps you should, I don't know, find a more suitable programming language?
@DAVIDGREGORYKERR
@DAVIDGREGORYKERR 7 лет назад
Why not use and old M2N68-LA (Narra3) motherboard with a PHENOM II X6 and 32GB of ECC RAM and a plug in PPT addin card which should allow you to have control over the display and the other solenoids and as it has a built in audio subsystem you can have HI-Def audio rather than PWM audio and the firmware can be build in Code::Blocks with the GCC80586 compiler and can be powered by a normal PCXT PSU don't know if this what you want to do.
7 лет назад
Probably not a cost- and space-effective solution. Also some supply issues would arise in near future ;-)
@bryanelliott2107
@bryanelliott2107 7 лет назад
"I'm having troubles with getting the SD card reading" Oh, god, I know what you mean. The state of those libs with respect to the Teensy 3.5+ built-in SD cards is kinda garbage (at least, it was a couple of weeks ago). If you're trying to play mp3s off the card, though, may I recommend Frank Boesing's Arduino Teensy Codec lib: github.com/FrankBoesing/Arduino-Teensy-Codec-lib It works _really_ well with the Teensy's audio graph stuff. Usage sample: gist.github.com/Fordi/baa4330461f1ee202bf486ec1b46ffb9 This was tested on my Teensy 3.5 for a music player I built for my kid. It just plays an SD card full of random files, one after the other. If you're directly addressing files, remember that it's all old-school 8.3 DOS filenames. That tripped me up hard in my initial testing.
@bryanelliott2107
@bryanelliott2107 7 лет назад
"We're using such a fast microcontroller..." www.pjrc.com/teensy/td_timing_elaspedMillis.html Set it to zero on the falling (/rising) state of the button, then wait for it to rise past your time without pausing the loop. It has a clock! Get accurate timings!
@bryanelliott2107
@bryanelliott2107 7 лет назад
"I haven't been able to get the audio to play on DAC1..." Use AudioOutputAnalogStereo instead of AudioOutputAnalog, and patch to its channel 1. You can see how it's done in the sample code I posted above.
@bryanelliott2107
@bryanelliott2107 7 лет назад
Incidentally, if you work out how to direct-drive that little screen from a Teensy, _PLEASE_ post the sources for that. I have so many harvested LCDs I'd LOVE to figure out how to big-bang a few LVDS signals.
@TheDutyPaid
@TheDutyPaid 7 лет назад
Drain all the life out of it. Boring.
@theragingbunny8163
@theragingbunny8163 7 лет назад
43 views
Далее
Super Glue Gun 07: Scoping out the Autostand
18:02
Просмотров 21 тыс.
ЭТО мне КУПИЛИ ПОДПИСЧИКИ 📦
22:33
Most RIDICULOUS Moments In Women Snooker..
9:38
Просмотров 7 млн
Nintendo PlayStation Prototype: Finally Working!
13:51
Mini Pinball 11: Final Analysis and Programming
18:06
Mini Pinball 07: Designing the PCB
22:43
Просмотров 22 тыс.
Super Glue Gun 08: Integrating All Mechs
20:53
Просмотров 27 тыс.
Harder Drive: Hard drives we didn't want or need
36:47
Ben Heck’s Teensy Pinball Portable Part 1
29:10
Просмотров 115 тыс.