Mini Pinball 07: Designing the PCB

Поділитися
Вставка
  • Опубліковано 2 лис 2017
  • The prototype for the mini pinball machine has a 16x2 LCD display, audio amplifier, 16 switches in, 16 lights out, 4 MOSFET controllers, and 4 servo ports. In today’s episode, Ben translates this prototype into an Eagle design. Felix works on finding the libraries and the part numbers while Ben Does the layout. Visit the Ben Heck page at: bit.ly/2h7TgCK
    Visit the Learning Circuit: bit.ly/2yqZkhp
    Visit the Mini Pinball Space: bit.ly/2hAL1fy
    Visit Project14: bit.ly/2zbsBff
    Ben puts together the PCB for the mini pinball machine in Eagle. He starts with some of the more cumbersome areas first, namely the lights and switches. He’s going to use these molex 2.54 or .1 inch pitch headers. He puts in the 16 switch molex connectors in and 16 for the lights. He’s got to think about how to orient the circuits in relation to the 16 switch molex connectors. He creates spacing so that they are able to make an adapter board that can attach for testing. He won’t run the traces until he has the main components on the board. There should be enough space between these.
    He lays out placement for the power, the microcontroller, the screen, and input/output plugs on the lower-left. He shows the schematic of the constant current LED driver. Ben reuses a layout of an eagle file for the schematic of the constant current LED driver. They used the TLC59282 constant-current sink driver in the persistence of vision episode and Super Space Shuttle. You source the LED with current and then it sinks into the device.
    Ben uses a schematic of an LCD display that fits his requirements but lacks an Eagle file so he’ll have to do his own. When working with schematic design software it is often necessary to either hunt down a library or make one. For rare parts it can be quicker to make one. For the schematic, the symbol is representative of the part, whereas the package detail comes from the datasheet. Ben creates a package that matches the physicality of the hardware.
    After laying out a lot of the parts for the board to run the digital signals Ben needs to attach the SPI signals between the Teensy/Arduino and the I/O chips. At this point he’s added 2 MOSFET packages, headers for the solenoids, voltage regulator, placement for the Teensy and Arduino, and some resistors. After running the traces the PCB is done. Power comes in through the 2.1 millimeter jack and goes to a push button switch. A large capacitor for the 12 volt line goes to a 5 volt regulator which also has an electrolytic capacitor on it. This regulator goes to the 5 volt input of the Arduino or the 5 volt input of the Teensy. Both the Teensy and the Arduino output their own built-in regulators. That 3 volt regulator goes to the switch integrated circuits.
    There are 16 switches and 16 lights. The light driver has 16 bits of switch input. There are connectors for 4 servos, a large electrolytic capacitor next to those servos because servos can draw a lot of power and cause spikes in power. The audio amplifier is set to a fixed gain and finally the speakers where they hook up. Then there is the LCD screen with a silkscreen along the screw holes. The silkscreen is .26 inches in diameter. This represents the head of the screw to make sure that it’s not bumping into anything. After doing a design check, the design is ready to be sent off to get boards made.
  • Наука та технологія

КОМЕНТАРІ • 56

  • @NEOhioTrainFan
    @NEOhioTrainFan 6 років тому +2

    Neat project! Pinball sure is up there as one of my favorite games as a kid.

  • @BrentBlueAllen
    @BrentBlueAllen 6 років тому +5

    Eagle tip: instead of placing lines and then editing their properties to put them at the right coordinates, you can type in coordinates into the command line at the top in (x y) notation. So for making the entire outline of the LCD you could type (after selecting the line tool) "(-2.4015 -0.866) (-2.4015 0.866) (2.4015 0.866) (2.4015 -0.866) (-2.4015 -0.866)" and it would all appear *as if by magic*. Same goes for holes at specific coordinates.

  • @PainiacZ
    @PainiacZ 6 років тому

    This looks great. I can't wait for this kit to be released. Hoping I learn a lot and can use it to upscale this project and build my own full size Pinball machine... ah .. a boy can dream.

  • @NikolajLepka
    @NikolajLepka 6 років тому

    pinball themed pinball machine; it'll be a great success

  • @silviustro1
    @silviustro1 6 років тому +2

    Hey there Ben. In order to be able to view the traces after hitting ratsnest, you can go to the terminal bar above and type "RIPUP @;" (without quotes) to ripup all polygons. You can limit this to polygons of a list of signals by typing "RIPUP @ GND VCC MYSIGNAL;"

    • @maker_karen1785
      @maker_karen1785 6 років тому +1

      Ben doesn't spend much time on here so I shared your comment with him. His response, "That sounds useful." Thanks for sharing.

    • @silviustro1
      @silviustro1 6 років тому +1

      You're welcome! :D

  • @RoryOConnor
    @RoryOConnor 6 років тому

    The PCB _'talk through'_ was awesome! It would really make great short osmosis style 'learning circuits' videos!

  • @stephenbrown5999
    @stephenbrown5999 6 років тому +3

    Last show before basic training. I'm going to have a Heck of a marathon when I get out.

    • @maker_karen1785
      @maker_karen1785 6 років тому +1

      I see what you did there. Good luck in basic!

  • @ZEROSTATIC72
    @ZEROSTATIC72 6 років тому +14

    Ben, did you just make that DC connector center ground, that's evil.

    • @reasonablebeing5392
      @reasonablebeing5392 6 років тому

      ZEROSTATIC72 Doesn't look that way to me. When it comes to not using center grounds, "in Ben we trust".

  • @feeterican
    @feeterican 6 років тому

    we use that LCR Display on some of our Vitamix boards. I've been soldering those for years.

  • @haakonness
    @haakonness 6 років тому

    Eagle tip: If you have clicked ratsnest after placing a ground polygon, you can write "ripup @;" to just remove the visual polygon fill, so you can continue routing, and still see what you do. Clicking ratsnest again would show you/calculate the fill again.

  • @RunnerPack
    @RunnerPack 6 років тому

    1. You can double-click in the pin list to assign one to whichever signal is currently highlighted without using the "connect" button.
    2. You didn't assign a direction to any of those pins. Some should be set to input only, some output only, and some to power. That allows you to use the ERC to find errors you otherwise might miss.
    3. Once you had one short and one long side of the LCD, you could have just cloned each one and stuck them in place. (Or just use Brent Allen's tip to make it in one go).

  • @malx1289
    @malx1289 3 роки тому

    I miss this

  • @MauricioFernandezF
    @MauricioFernandezF 6 років тому +1

    It's a mini pinball so Antman theme seems like a good fit

  • @lucacasonato
    @lucacasonato 6 років тому +2

    Heckputer. Love it :)

  • @madhunugg
    @madhunugg 6 років тому

    You can manually type in hole diameters in Eagle. so, you can have a 3.5mm diameter hole.

  • @madhunugg
    @madhunugg 6 років тому +9

    Also, your LCD pinout may be incorrect... the datasheet showed that pin 1 is actually pin 14...

    • @Davedarko
      @Davedarko 6 років тому +3

      too bad they don't read the comments :(

    • @Davedarko
      @Davedarko 6 років тому +1

      at 17:58 you can see that pin 1 is actually connected to ground :) so Ben must have noticed that

  • @allluckyseven
    @allluckyseven 6 років тому +2

    17:23 - Aha! I see you've corrected the number of pins on your custom component part. It appeared to me that you made the same mistake of jumping one pin number twice!

  • @TheSh_dow
    @TheSh_dow 6 років тому

    Next week on the Ben Heck Show...

  • @JaapioNL
    @JaapioNL 6 років тому

    Yay, pinball!

  • @RichardBousquet
    @RichardBousquet 6 років тому

    Hahaha Ben was so fucking over "Heckputer"

  • @Mixbag
    @Mixbag 6 років тому

    IS IT BEST TO PUT GND PLANE ON TOP OF BOARD AND ON BOTTOM ? OR CAN YOU PUT GND ON ONE SIDE AND VOLTAGE ON OTHER ?

  • @DAVIDGREGORYKERR
    @DAVIDGREGORYKERR 6 років тому

    Can you not use seven segment display modules or the alphanumeric modules but which uses 16 pins of the number of pins that the 7 segment display modules,VFD tubes require at least 64volts for it to work.

  • @marcelo.junior2478
    @marcelo.junior2478 6 років тому

    I wanted you teel me what program you use please and please do more básicos videos.

  • @EthanDoezYT
    @EthanDoezYT 6 років тому

    question so im building a gaming laptop and im trying to make it chargable but im also using desktop parts but i wanna adapt the battary to the chords, sorry if you dunno what i mean.
    REPLY

  • @DaveMcAnulty
    @DaveMcAnulty 6 років тому

    No input protection?

  • @ObiTrev
    @ObiTrev 6 років тому

    How about a Pinball themed Pinball Machine.

  • @Dellenite
    @Dellenite 6 років тому

    I was thinking the Hec 9000 series

  • @onurolce
    @onurolce 6 років тому +1

    what do you mean in 19:20 ? :)

    • @rya3190
      @rya3190 6 років тому

      I'm guessing since the wire is there it's easier to go around the jack, as opposed to straight through (slamming the side parallel to the base)

  • @scratches12mevideos
    @scratches12mevideos 6 років тому

    When will we see a tear down video of Xbox one x

  • @Dellenite
    @Dellenite 6 років тому

    Wouldn't that be a rule of finger

  • @loganjorgensen
    @loganjorgensen 6 років тому

    No to the Heck Computer hmm, maybe he was hoping for a Heckmobile.

  • @queenelizabethii3606
    @queenelizabethii3606 6 років тому

    I'd let ben populate my io :^)

  • @jackfry
    @jackfry 6 років тому

    When are you going to tear apart a xbox one x?

  • @RyanNeufeld
    @RyanNeufeld 6 років тому

    Whoever was getting messages in the background should really put their phone on silent while filming.

  • @GaudyMarko
    @GaudyMarko 6 років тому

    now it has to be sloth themed or i'll be dissapointed

  • @CoverMechanic
    @CoverMechanic 6 років тому

    Why can't you just draw the part using 0, 0 as the origin and centre it afterwards? Seems like dividing everything by 2 is a tedious and error-prone way of doing things...

    • @nunes1907
      @nunes1907 6 років тому

      at 10:19 he explains why...

  • @thenb8474
    @thenb8474 6 років тому +2

    Tomorrow xbox one x teardown

  • @RJMaker
    @RJMaker 6 років тому

    Star Trek Discovery Theme..

  • @petesmith13
    @petesmith13 6 років тому

    who else checked their hangouts for messages that weren't there while watching this?

  • @Quetzaqu0tl
    @Quetzaqu0tl 6 років тому

    good femplacement

  • @jamesingham
    @jamesingham 6 років тому

    Nice Ballmer joke

  • @AvocadoDiaboli
    @AvocadoDiaboli 6 років тому

    It's funny after he noticed that the pads were wrong, he redid them and they were still wrong, skipping number 8, meaning there were a total of 17 pads. But after the "Finishing up the design" card, suddenly there are 18 pads. It's also infuriating to see someone click on something and then move their mouse to the cancle button. Just use the escape key if you have to do repetitive tasks like this so you don't have to move your mouse that much.

  • @zedmanatutube
    @zedmanatutube 6 років тому

    first?