back
Proffieboard Test Rig
Got Pike?
DIY Teensy based lightsaber


This test rig allows you to test a Proffieboard without having to solder it to a Teensy.

Download Proffieboard Test Rig KiCad files here.

What you will need:

Assembly

Assembly is pretty straightforward. Start with the SMD components, then solder all the headers, buttons and LEDs into place and trim the legs. Screw two PCBs together with the 20mm screws. The one with all the components on it goes on top. The bottom one is left completely unpopulated. Insert the pogo pins and solder them to the top board. Solder some pin haders to a Teensy 3.2, matching the female headers on the board. Put the Teensy in place and flash the TeensySaber firmware on it.

Pinout

Normally, you'll want to place jumpers all down the left side of the board. Where it says J1, J2, J3. This connects the output pins to LEDs so you can see what is going on. Most of the time I have J4 and J5 jumpered as well, as that hooks up the 6 LEDs and lets me do basic testing. I usually leave the neopixel jumper out, as the neopixels blink distractingly otherwise. The two sets of power pins are interchangable, and the switch decide which of them actually powers the board. I hook up one of them to a multimeter, and set the multimeter to beep if there is a short, and I hook up the other one to a 3.7v 18650 battery. The idea is that the multimeter will tell you if there is a short, before you power everything on. If you plug in the battery to a board that has a short, it will most likely fry the test rig. (Don't ask how I know that.)

Test procedure (for linux)

  1. In one window, start up OpenOCD
  2. In a second window, run tail -f /var/log/kern.log
  3. Start up arduino and enable test script in lightsaber.ino
  4. Hook up a multimeter to test board and set it to beep on a short. Verify that this works!
  5. Now, for each board:
  6. Insert SD, put board on test rig and plug in USB.
  7. Check that OpenOCD connects and that kernel window says STM32 bootloader
  8. press reset, make sure STM32 bootloader pops up again
  9. It should say LOW BATTERY repeatedly, no beeps
  10. Switch to battery power
  11. Press BOOT
  12. Press Power button
  13. Press AUX button
  14. Press AUX2 button
  15. verify that all LEDs light up in order
  16. verify that music is playing
  17. Switch back to short checking and turn off USB

Problems? Questions? Suggestions? Check out the fx-sabers online forum.


This page has been accessed 48 times since July 30th, 2018.
Last modified: August 7th, 2018 - Design by Monica & Fredrik Hübinette