Connecting your computer - The Mission Pinball Framework (2024)

Connecting your computer to the Stern SPIKE CPU node

Related Config File Sections:

  • hardware:
  • spike:

There are at least 3 options to connect a computer running MPF to theSPIKE CPU via a serial connection.

  1. USB to USB Null Modem Cable
  2. USB to Serial Adapter
  3. Using two USB to Serial Adapters

OPTION 1: USB to USB Null Modem Cable

Probably the cleanest and easiest method is to purchase the USB to USBNull Modem Cable. With this cable, you can plug one end into the USBport on your computer and the other end into one of the two USB ports onthe SPIKE board. On a Windows computer, use the Device Manager todetermine which COM port the cable has been assigned by Windows. Updateyou machine configuration with the correct COM port (example, COM5).

spike: port: COM5

Null modem cables used to be a common way to connect two computerstogether. This is the most expensive solution at about \$50 USD. Howeverit looks just like a USB cable. The only vendor that has the USB to USBNull Modem Cable is the FDTI company.

https://ftdichip.com/products/usb-nmc-2-5m/

This particular cable also provides faster data transfer rates (up to 3MBaud) than Options 2 and 3.

OPTION 2: USB to Serial Adapter

The second method is to purchase a USB-to-serial adapter and connect itto the DBGU header (CN2) on the SPIKE CPU node. The problem you may haveis that not all SPIKE boards have the header soldered onto the board. Aheader is essentially a 6 pin socket that the adapter can plug into. Ifyou do have the header at location CN2, great! Read on.

Ok, you have a header on the SPIKE board. Simply purchase an inexpensiveUSB to serial adapter and plug it in. There are lots of them, most forless than \$10, and they're all pretty much the same.

Some examples that should work (though we don't guarantee it and we'rehappy to hear feedback or recommendations):

https://www.amazon.com/FICBOX-CP2102-Serial-Downloader-Arduino/dp/B01CU12324/https://www.amazon.com/HiLetgo-CP2102-Module-Serial-Converter/dp/B00LODGRV8https://www.amazon.com/HiLetgo-Ft232rl-Serial-Adapter-Arduino/dp/B00IJXZQ7Chttps://www.adafruit.com/products/3309https://www.sparkfun.com/products/12731https://www.sparkfun.com/products/13830

Make sure you have a 3.3v adapter (or that your adapter can be set for3.3v).

Note

If you're using a Raspberry Pi, you can use its built-in serial pinsand don't need a USB-to-serial adapter.

Connecting using DBGU

Connect the USB serial adapter to the DBGU header (CN2) on the SPIKE CPUnode.

Pins are marked GND, RX, TX. You do not need more than these.

Help us write it!

This section is unwritten or needs an update or edit. Can you help write it?Get your name in lights and geeky pinball bragging rights! Hit the magic sparkly wand tothe right of the title to see this page source on GitHub. Then add/edit andsubmit your change. It's easy!

CLICK TO LEARN HOW TO EDIT THIS PAGE

Unfortunately, this header seems to be missing on some revisions ofSpike. You can solder it in though. However, it does not contain anyflow-control pins to it will not work at higher baud rates (up to 400kroughly).

OPTION 3: Connect using two USB-Serial Adapters

Newer versions of the SPIKE CPU node do not have a connector attached tothe CN2/DBGU header. The newer board is the same, but you see a blankspot instead of the plug-in connector attached. If you do not want tosolder a header onto the SPIKE board then you need to go back to Option1 or use this option. Soldering on the SPIKE board is risky if you lackexperience with a solder iron and will likely void your warranty.

For this option, you can buy two USB serial adapters and then use theUSB connection on the SPIKE CPU node.

The one you connect to the SPIKE CPU node needs to have an actual FTDIbrand chip because the FTDI drivers are included in the code on theSPIKE board. The second adapter for your computer can be any brand sinceit's easy to install whatever drivers it needs on your computer.Whatever serial port appears on your computer when you plug in thisadapter is the port name you'll use in your machine config.

These two adapters will have connectors or headers on them that you needto connect together. Connect the "RX" (receive) from one to the "TX"(transmit) on the other and vice-versa. Also connect the grounds(possible labeled "GND") together. It's probably a good idea to twistthe wires together to reduce interference, especially if your wires aremore than a few inches long.

In addition to above you should also "CTS" to "DTS" and "DTS" to"CTS". This will allow you to enable hardware flow control which isessential at higher baud rates (up to 3M).

The following diagram illustrates how everything fits together:

Connecting your computer - The Mission Pinball Framework (1)

You've essentially created a null modem cable as described in Option 1.This option may be a little cheaper but the solution is far less elegantand stable.

What if it did not work?

Have a look at ourSPIKE troubleshooting guide.

Something missing or wrong? You can fix it!

This website is edited by people like you!Is something wrong or missing? Is something out of date, or can you explain it better?

Please help us! You can fix it yourself and be an official "open source" contributor!

It's easy! See our Beginner's guide to editing the docs.

Page navigation via the keyboard: < >

You can navigate this site via the keyboard. There are two modes:

General navigation, when search is not focused:

  • F , S , / : open search dialog
  • P , , : go to previous page
  • N , . : go to next page

While using the search function:

  • Down , Up : select next / previous result
  • Esc , Tab : close search
  • Enter : go to highlighted page in the results
Connecting your computer - The Mission Pinball Framework (2024)
Top Articles
Best Iced Coffee Punch Recipe | Instant Coffee, Yummy Ice Cream & More
5 Reasons (with 5 Recipes) to Have Broth for Breakfast
Week 2 Defense (DEF) Streamers, Starters & Rankings: 2024 Fantasy Tiers, Rankings
Instructional Resources
Coverage of the introduction of the Water (Special Measures) Bill
Alan Miller Jewelers Oregon Ohio
Craigslist In South Carolina - Craigslist Near You
سریال رویای شیرین جوانی قسمت 338
Evita Role Wsj Crossword Clue
Craigslist Phoenix Cars By Owner Only
[2024] How to watch Sound of Freedom on Hulu
What is the surrender charge on life insurance?
10 Great Things You Might Know Troy McClure From | Topless Robot
Goldsboro Daily News Obituaries
Kürtçe Doğum Günü Sözleri
De beste uitvaartdiensten die goede rituele diensten aanbieden voor de laatste rituelen
Laveen Modern Dentistry And Orthodontics Laveen Village Az
Sef2 Lewis Structure
Pearson Correlation Coefficient
[PDF] NAVY RESERVE PERSONNEL MANUAL - Free Download PDF
Glover Park Community Garden
Crossword Help - Find Missing Letters & Solve Clues
Kentuky Fried Chicken Near Me
Gilchrist Verband - Lumedis - Ihre Schulterspezialisten
Cfv Mychart
Truck from Finland, used truck for sale from Finland
This Is How We Roll (Remix) - Florida Georgia Line, Jason Derulo, Luke Bryan - NhacCuaTui
Ts Modesto
Imagetrend Elite Delaware
Ryujinx Firmware 15
Yoshidakins
Kstate Qualtrics
Louisville Volleyball Team Leaks
Are you ready for some football? Zag Alum Justin Lange Forges Career in NFL
Babbychula
Craigslist Ludington Michigan
Wrigley Rooftops Promo Code
World Social Protection Report 2024-26: Universal social protection for climate action and a just transition
M Life Insider
Flipper Zero Delivery Time
Immobiliare di Felice| Appartamento | Appartamento in vendita Porto San
2132815089
Lucifer Morningstar Wiki
Large Pawn Shops Near Me
Learn4Good Job Posting
Race Deepwoken
Suppress Spell Damage Poe
Craigslist Anc Ak
Makes A Successful Catch Maybe Crossword Clue
Walmart Front Door Wreaths
Causeway Gomovies
Bones And All Showtimes Near Emagine Canton
Latest Posts
Article information

Author: Fr. Dewey Fisher

Last Updated:

Views: 6668

Rating: 4.1 / 5 (62 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Fr. Dewey Fisher

Birthday: 1993-03-26

Address: 917 Hyun Views, Rogahnmouth, KY 91013-8827

Phone: +5938540192553

Job: Administration Developer

Hobby: Embroidery, Horseback riding, Juggling, Urban exploration, Skiing, Cycling, Handball

Introduction: My name is Fr. Dewey Fisher, I am a powerful, open, faithful, combative, spotless, faithful, fair person who loves writing and wants to share my knowledge and understanding with you.