Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Search the Community

Showing results for tags 'teensy'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to the VPUniverse
    • VPU General Discussion
    • Site News & Announcements
    • The Big Bang
    • VPU Classifieds - Buy / Sell / Trade
    • Pinball Festivals, Groups & Gatherings
  • VPUniverse.com Online Virtual Pinball League
    • League Discussion
  • New Releases
    • B2S New Releases
    • Visual Pinball New Releases
    • Future Pinball New Releases
    • Front End & Support Files New Releases
  • Digital Pinball Cabinets
    • Cabinet Builds
    • Cabinet Discussion
    • PinCab/Pinball Hardware Development
  • Pin2DMD Forums
    • Pin2DMD General Discussion
    • Pin2DMD DMD Colorization Works in Progress
    • Pin2DMD Research & Ideas
  • Planet Visual Pinball
    • Visual Pinball Support
    • Visual Pinball General Discussion
    • Visual Pinball Development
  • Planet Future Pinball
    • Future Pinball General Discussion
    • Future Pinball Support
  • Artwork
    • Backglass Artwork
    • Playfield Artwork
  • Pinball Front-Ends
    • HyperPin Support
    • Pinball X Support
    • Pinup Popper
  • PinMAME
    • PinMAME Development
    • PinMAME Support
  • Real Pinball & Arcade Gaming Discussion
    • Real Pinball Discussion
    • Arcade Gaming Discussion
  • Table Development and Releases
    • Works in Progress
    • Table Requests
  • Table Development and Releases
    • Works in Progress
    • Table Requests
    • Resources
  • Direct Output Framework
    • Direct Output Announcements
    • Direct Output General Discussion
    • Direct Output Support
  • B2S Development
    • B2S Development Support
  • Console & PC Virtual Pinball
    • Other Virtual Pinball & Gaming Discussion
    • Pinball Arcade
    • Console & PC Gaming Discussion
    • ProPinball

Categories

  • Backglass Downloads
    • B2S - For Players
    • B2S - For Developers
    • Animated Backglasses
    • Backglass Resources
  • PinMAME
    • PinMAME Source
    • PinMAME Roms
    • ROM Colorizations
  • Visual Pinball
    • VPU Patching System
    • Visual Pinball - 10.x.x
    • Visual Pinball - 9.x.x
  • Pin2DMD Files
    • Pin2DMD Documentation
    • Pin2DMD Firmware
    • Table Support Files
    • ROM Frame Dumps
    • Pin2DMD Tools
    • Pin2DMD Color Palettes
  • Future Pinball
    • Future Pinball Files
    • Future Pinball Tables
  • Direct Output Framework
  • Pinball Frontend Downloads
    • HyperPin Support Files
    • Frontend Artwork
    • Plugins
    • Media Managers
  • Development Resources
    • Table Resources
    • Table Creation Resources
    • Cabinet Resources

Product Groups

There are no results to display.

Categories

  • Cabinet Building & Configurations
  • DMD Colorization Tutorials
  • VpinMAME
  • Installing PinMAME for SAM Emulation
  • Game Specific Tips & Tricks
  • Future Pinball
  • B2S Tutorials

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 8 results

  1. Can someone help on how I wire this to a teensy for a noob? For example, which wire to 5 v power supply? Which wire for ground on power supply? i have a cat5 cable with a orange/whirte wire and a solid orange wire. Which wires do these attach to? i tried hooking it up myself but just got random lights in the strip to light so obviously I must have did things incorrectly. Thanks in advance, Lance Ps my apologies if this has been covered already or if I posted on wrong spot.
  2. Hi All I have been trying to figure this out now for a few weeks. I have to reach out for help. Here are the facts I have a Teensy that works well with Arduino testing. It is on COM3 as per the screen shot attached. It works when I test the Example files so COM3 is a goer. I have flashed the ROM on Teensy from https://github.com/DirectOutput/TeensyStripController/releases by downloading the file, opening in the TeensyProgram, pressing auto and loading the file and it says OK to reboot. Teensyprogramming.png I have unblocked all DLLs I have installed DOF under c:/directoutput I have removed DofLinx until I can get it sorted I dont have ANY other devices other than the Teensy I have am using all channels of Teensy. 71 x 6 (channels 1-6) for Matrix and 2 x 71 (channels 7 & 8 ) for right and left sides. Tried with Firewall On/Off - Re-installed Windows 10 My only hunch is that the flash of Teensy did not work?? Here is the issue Check out the video - 1. I open the Config tester and select the GlobalConfig_B2sServer.xml file and it opens 2. I then try to open Cabinet and it crashes with this error. 2019.03.25 14:22:31.665 Initializing cabinet 2019.03.25 14:22:31.665 Debug: Initializing output controllers 2019.03.25 14:22:31.681 TeensyStripController TeensyStripController intialized and updater thread started. 2019.03.25 14:22:31.681 Debug: Output controllers initialized 2019.03.25 14:22:31.697 TeensyStripController TeensyStripController updater thread started. 2019.03.25 14:22:31.697 Cabinet initialized 2019.03.25 14:22:31.697 Loading shape definition file: C:\DirectOutput\Config\DirectOutputShapes.xml 2019.03.25 14:22:31.728 Framework initialized. 2019.03.25 14:22:31.728 Have fun! 2019.03.25 14:22:32.337 EXCEPTION: TeensyStripController TeensyStripController updater thread could not connect to the controller. Thread will quit. 2019.03.25 14:22:32.337 EXCEPTION: Thread: TeensyStripController TeensyStripController updater thread 2019.03.25 14:22:32.337 EXCEPTION: Message: IOException --> The semaphore timeout period has expired. 2019.03.25 14:22:32.337 2019.03.25 14:22:32.337 2019.03.25 14:22:32.337 EXCEPTION: Stacktrace: at System.IO.Ports.InternalResources.WinIOError(Int32 errorCode, String str) 2019.03.25 14:22:32.337 EXCEPTION: Stacktrace: at System.IO.Ports.SerialStream.EndWrite(IAsyncResult asyncResult) 2019.03.25 14:22:32.337 EXCEPTION: Stacktrace: at System.IO.Ports.SerialStream.Write(Byte[] array, Int32 offset, Int32 count, Int32 timeout) 2019.03.25 14:22:32.337 EXCEPTION: Stacktrace: at System.IO.Ports.SerialPort.Write(Byte[] buffer, Int32 offset, Int32 count) 2019.03.25 14:22:32.337 EXCEPTION: Stacktrace: at DirectOutput.Cab.Out.AdressableLedStrip.TeensyStripController.ConnectToController() 2019.03.25 14:22:32.337 EXCEPTION: Stacktrace: at DirectOutput.Cab.Out.OutputControllerCompleteBase.UpdaterThreadDoIt() 2019.03.25 14:22:32.353 EXCEPTION: Targetsite: Void WinIOError(Int32, System.String) If anyone can help that would be AMAZING! Its the last bit to this little mission! Daren DirectOutput.log directoutputconfig30.ini GlobalConfig_B2SServer.xml GlobalConfig_PinballX.xml Cabinet.xml
  3. After weeks of failed attempts, I am now ready to draw from your massive collective pool of knowledge. I have been over my config and researched possible solutions many many times and cannot get my addressable LEDs functioning with DOF/DofLinx. They are connected to a Teensy 3.2/OctoWS2811. I must be overlooking something obvious - or I am missing something. I have 2 strips of 67 LEDs - one on the orange pair and one on the blue pair - both on the TOP connector of the OctoWS2811 board. The board was set to COM3 - then I tried changing it to COM6 then COM2 with no change. I also changed the USB cable just in case. The Teensy is loaded with TeensyStripController.Beta.V1.02.1601021351.hex Other Teensy test sketches run perfectly and light all the LEDs properly. I have bridged Teensy pins 15 & 16 to solve the "all white" problem. DirectOutput MJR Grander Unified DOF R3++ edition - Version 3.1.6968.21374 built 2019.01.29 11:52 - Installed using the Windows Installer - Installed to C:\DirectOutput DofLinx Version 6.62B - VBS file copied to Future Pinball\Scripts B2S Backglass Server Version 1.3.0.1 Cabinet config is named ForbisManor.ini In DOF Online Config: Combine Toys - Combo2 = RGB Addressable (PF Left Flashers MX + PF Left Effects MX) - Combo3 = RGB Addressable (PF Right Flashers MX + PF Right Effects MX) Device WS2801 1 - directoutputconfigini30 - Port 1-3 = Combo2 - Port 4-6 = Combo3 Other devices working perfectly: - PacLed64 - 2 x SainSmart 8 Port USB Boards Testing with Future Pinball Tables: - Tron Legacy (Stern) (Ultimate 1.01) (p2.7) (DOFLinx MX) - Star Wars DSA (Ultimate 1.04) (p2.7) (DOFLinx MX 1.1) - RetroFlair (p2.5) (DOFLinx MX) - Masters of the Universe - Mastered Edition (p2.5) (DOFLinx MX) Including all relevent config files and logs here: https://www.dropbox.com/sh/77w0ssku5inavfg/AADXK4UBLjOZXoiYL2mK6Iaea?dl=0 THANKS!!! - Chris
  4. I have my system fully functional using Visual Pinball but when I use PinballX my addressable LED strips (2) one each side are not working, everything else works in Pinballx including rear flasher bar. Of course I am not an expert on the coding or xml, I do see there is an error loading the plugin in the log but can’t figure out how to fix it. I can register the object in Direct Output, I run the plugin manager in PinballX and it shows up but when I go to Configure it gives me an error that it can find path. I am sure this is something simple but I just need another set of eyes to look at it. I have attached files and logs. As always thanks to everybody for your help! Scott. PinballX.ini PinballXlog.txt PinballX DirectOutput Plugin.log DirectOutput.log Cabinet.xml directoutputconfig.ini directoutputconfig30.ini
  5. Hello. I have put addressable LEDs in my speaker grilles (Teensy controlled). Looks very nice when they use same setting as the Pinball buttons (also same LEDs). I use DOF "Flipper Button MX" for these. Constantly ON function. Now I tried to add some flashing to the speakers too, making a combo of "Flipper Button MX" and "PF Back Strobe MX". But nothing happens... the speaker LEDs are still constantly on... They can't flash wihout being turned off?? Or is it some layering issue, that the "Flipper Button MX" has to uppermost layer, covering everything else?? Anyone has an idea how to get my desired effect?
  6. Hello I need some help to isolate my problem. I'ven running A LOT of testing, reading, testing, etc but I can't understand what's wrong. I have Teensy + one strip 156 addressable LED's running right+back+left side. If I load Medieval Madness in DirectOutputConfigTester.exe, I get solenoid and switches list. While sending pulse or activation all my LED's respond nicely. BUT when I start the exact same table in VP nothing happens??! No blink, nothing... Plugins are activated, DOF is running, table is running, no lag, etc etc. What could cause this behavior?
  7. How can i get the PBX browsing feedback working with teensy leds? I have the solenoids working for left and right flipper in PBX but no leds. It seems to me that the DOF plugin is not running right in PBX, because in the B2S Screen i can not open the DOF plugin Settings. (Inside VP i can select this button.) The PinballX DOF plugin is activated in PBX. The Globalconfig_PinballX.xml and DirectOutput PinballX Plugin.dll is inside PinballX plugin directory. My DirectOutput folder is on drive F:\DirectOutput. Some people reported a non working dof if the controller id or c:\DirectOutput folder is a little bit different. Also when the XML is pointing to the right path. I have one LedWiz ID 6 and one Teensy No. 30. (directoutputconfig6.ini + directoutputconfig30.ini but no directoutputconfig.ini because i dont have a LedWiz ID1). Is this the problem? Teensy is always No. 30 with the Dof Tool. I have made the 3 RGB addressable Combos like this link: http://vpuniverse.com/forums/topic/2695-configtool-big-update-for-teensy-users/ Maybe a wrong folder or a missing INI / XML for the PBX plugin???
  8. My usage: handling LEDstrips as in http://vpuniverse.com/forums/topic/2180-addressable-rgbs/?p=23208 As the discussed controller is not available yet and I don't want to wait, I try creating my own. This mail describes the first steps, using a Teensy as controller for lamps, LEDs, etc. Background: A Teensy is similar to an Arduino a tiny, low cost microprocessor with many Input/Output Pins with digital (one/off) or analog (PWM) output. Compared to Arduino it is more powerful - and more expensive. While you get an Arduino clone for $5, a Teensy 3.1 is $20. But you get plenty of features for that: 72 MHZ - fast enough to drive several long ledstrips 128 kb Flash, 16 kb Ram (compared to 2-8 kb of Arduino. 16kb is needed to handle 1000 LED's - array of 4 byte * 1000 = 4kb, too much for Arduino) 34 digital I/O Pins And a fully controllable USB (acting as HID device to simulate keyboard, joystick, serial or raw, no driver needed) Even smaller as an Arduino Nano/Micro, it still has more GPIOs (some not useable for breadboard, only soldered). While I want to use it for Ledstrips only, it could also be used for other stuff, like lamps or motors (you need power driver or relay to handle that, the Teensy can handle only 3V with 60mA) or buttons (acting in parallel via USB and Ethernet). This tutorial is covering to handle LED's as placeholder, just as prove of concept and help for others to do first steps. To follow this steps, you need hardware: - Teensy 3.1 (I purchased with header pins to avoid soldering) - USB cable (Micro USB) - Ethernet shield. I used one with ENC28J60. You can get one on ebay for < $5. Google for ENC28J60 and Arduino. This is cheaper as the standard Arduino shield (Using W5100). If you already have one based on W5100, you can of course also use this one. The ENC28J60 uses other libraries, you need to slightly modify the following code example. - Breadboard + some wires - 2 LED's (any color) - 2 resistors, like 220 Ohm Connect the stuff following the enclosed picture. For Teensy<->ENC28J60: GND 1 <-> GND 3.3V 24 - VCC CS 10 <-> CS DOut 11 <-> SF DIn 12 <-> SO SCK 13 <-> SCK 2 connectors of the ENC28J60 are not used. For LED's: The short leg goes to minus! Now for the software: Download Arduino development kit from https://www.arduino.cc/ Download Teensyduino https://www.pjrc.com/teensy/teensyduino.html This goes as plugin in Arduino, allows to use the standard Arduino development tool, no need to learn something different. If you are new to that, start with the tutorial on that page and do a LEDblink first: https://www.pjrc.com/teensy/tutorial.html To make the Teensy to act as Art-Net controller, we need two libraries: - Ethernet - Artnet If you are using a W5100 based Ethernet shield, you can use the standard library. For ENC28J60 download: arduino_uip https://github.com/ntruchsess/arduino_uip Click on Download Zip Expand it, remove the word "-master", so the folder is named "arduino_uip" Move that folder inside the library folder of your arduino documents. On OS X that's a path like "/Users/Westworld/Documents/Arduino/libraries" On Windows inside your documents folder. For Artnet download: https://github.com/natcl/Artnet Follow the description as above, rename the folder and move it into your Arduino/Libraries folder. Now rename it Artnet_uip, as we need to modify it. Note: if you use a W5100 based ethernet shield, you do not need to do this steps! In Artnet.h replace: #include <Arduino.h> #include <Ethernet.h> #include <EthernetUdp.h> with: #include <Arduino.h> #include <UIPEthernet.h> //#include <EthernetUdp.h> rename it from Artnet.h to UIPArtnet.h In Artnet.cpp: replace: #include <Artnet.h> with: #include <UIPArtnet.h> Save it as UIPArtnet.cpp For any kind of ethernet shield, you need to modify Artnet.cpp or UIPArtnet.cpp to fix a bug: Line 44: for (byte i = 0 ; i < 9 ; i++) replace with: for (byte i = 0 ; i < 7 ; i++) Finally the sketch to run all that: /* This is a basic example that will print out the header and the content of an ArtDmx packet. This example uses the read() function and the different getter functions to read the data. This example may be copied under the terms of the MIT license, see the LICENSE file for details */ #include <UIPEthernet.h> #include <UIPArtnet.h> //#include <EthernetUdp.h> #include <SPI.h> Artnet artnet; // Change ip for your setup - you can keep the MAC address or modify it byte ip[] = {192, 168, 0, 200}; uint8_t mac[] = {0x04, 0xE9, 0xE5, 0x00, 0x69, 0xEC}; const int ledPin1 = 23; const int ledPin2 = 22; void setup() { Serial.begin(115200); artnet.begin(mac, ip); Serial.println("start"); pinMode(ledPin1, OUTPUT); pinMode(ledPin2, OUTPUT); digitalWrite(ledPin1, HIGH); // set the LED on for(int i=0;i<256;i++) { analogWrite(ledPin2, i); delay(10); } digitalWrite(ledPin1, LOW); // set the LED off analogWrite(ledPin2, 0); // set the LED off } void loop() { if (artnet.read() == ART_DMX) { // print out our data - debug only Serial.print("universe number = "); Serial.print(artnet.getUniverse()); Serial.print("\tdata length = "); Serial.print(artnet.getLength()); Serial.print("\tsequence n0. = "); Serial.println(artnet.getSequence()); Serial.print("DMX data: "); for (int i = 0 ; i < artnet.getLength() ; i++) { Serial.print(artnet.getDmxFrame()[i]); Serial.print(" "); } Serial.println(); Serial.println(); if (artnet.getLength() > 1) { if (artnet.getDmxFrame()[0] > 0) digitalWrite(ledPin1, HIGH); // set the LED on else digitalWrite(ledPin1, LOW); // set the LED on analogWrite(ledPin2, artnet.getDmxFrame()[1]); } } } Look for: byte ip[] = {192, 168, 0, 200}; replace that with a free address in your local network. Compile and transfer to your Teensy. It will reboot, then one LED will be fully on, the second will slowly go from off to full y on - then both off. Now either use your cabinet/Virtual Pinball and DOF to test it - or a Art-Net test application (like free DMX-ArtNET-controller from http://www.robe.cz/, for Mac or Windows) Use any Universe, channel 1 and 2. Note: this simple code respond to any universe, it does not check it. Channel 1 is off for 0, one for any other value Channel 2 is covering 0-255 (analog). In doubt use the serial monitor from the Arduino software. This will give you a report for every received packet - with all values (all 512 values, not just the 2 we are using) - and for every universe. Great for debugging... As soon everything works, take the code and remove every Serial.xxxx line. This was just for debugging. Also remove in Setup() the on/off code, which is there only for testing. If you don't know how to use Art-Net in DOF, this beginners tutorial might help: http://vpuniverse.com/forums/topic/2200-beginners-tutorial-to-use-art-net-with-dof/
×
×
  • Create New...