thegrunta666 Posted May 10, 2016 Share Posted May 10, 2016 What board did you use for the displays Trev? Are they off ebay????? Link to comment Share on other sites More sharing options...
BIG Trev Posted May 10, 2016 Author Share Posted May 10, 2016 What board did you use for the displays Trev? Are they off ebay????? These are the ones I bought.http:// http://www.ebay.com/itm/281738556970 You can add two together and run as many sets of 8 as you like from an Arduino so long as you have enough data pins. Only 3 data pins are required per set of 8 displays plus gnd and +5v. Here's a link to the library details.http:// http://playground.arduino.cc/Main/LedControl I downloaded the examples at the bottom and modified one. The link to the library is there too. I had fun trying to get the images the right way round but got there in the end. Trev Link to comment Share on other sites More sharing options...
Gemini2544 Posted May 10, 2016 Share Posted May 10, 2016 Well done Trev, Wont be long now till it's a working game. :D Link to comment Share on other sites More sharing options...
ddstoys Posted May 10, 2016 Share Posted May 10, 2016 Blown away I can't even turn on a computer these days Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
Administrators furballx Posted May 11, 2016 Administrators Share Posted May 11, 2016 These are the ones I bought.http:// http://www.ebay.com/itm/281738556970 You can add two together and run as many sets of 8 as you like from an Arduino so long as you have enough data pins. Only 3 data pins are required per set of 8 displays plus gnd and +5v. Here's a link to the library details.http:// http://playground.arduino.cc/Main/LedControl I downloaded the examples at the bottom and modified one. The link to the library is there too. I had fun trying to get the images the right way round but got there in the end. Trev Hey Trev, do you know of any generic controllers for commercial LED strip signage? I scored some strips 1.2m long and have no idea what to use to drive them. The good thing is that the control interface is a LAN connection. Would be great if I could get these running for use at Pinball Expo and the like..... Dave - - - Updated - - - PS, your pin is looking pretty sweet :) Link to comment Share on other sites More sharing options...
BIG Trev Posted May 11, 2016 Author Share Posted May 11, 2016 Sorry Dave but I have no idea regarding the led strips. I haven't really had anything to do with them. Yet. Have you got a picture of the components you've got or part numbers? Maybe @kress or Mike @Homepin could help? PS. Thanks. PPS. Mosfets may be the way to go? Link to comment Share on other sites More sharing options...
kress Posted May 11, 2016 Share Posted May 11, 2016 Generally the RGB LED strip has a little shift register with 8 addresses per 3 led banks.If you can be bothered making a circuit for such a thing.? The store bought controllers are pretty cheap( $30) and do a million colours. Most come with an infra red remote. Best to buy a kit with 5 meters of lights that matches the strip you already have. Link to comment Share on other sites More sharing options...
thegrunta666 Posted May 15, 2016 Share Posted May 15, 2016 These are the ones I bought.http:// http://www.ebay.com/itm/281738556970 You can add two together and run as many sets of 8 as you like from an Arduino so long as you have enough data pins. Only 3 data pins are required per set of 8 displays plus gnd and +5v. Here's a link to the library details.http:// http://playground.arduino.cc/Main/LedControl I downloaded the examples at the bottom and modified one. The link to the library is there too. I had fun trying to get the images the right way round but got there in the end. Trev HI Trev, just wondering if you ran a separate 5v line to the supplies, not off the arduino board ? Also the orientation of the displays is a problem that none of my tame programmers can get working with my scrolling display on the 4 display board....Keep up the good work fella.. Link to comment Share on other sites More sharing options...
Fire_Power Posted May 15, 2016 Share Posted May 15, 2016 HI Trev, just wondering if you ran a separate 5v line to the supplies, not off the arduino board ? Also the orientation of the displays is a problem that none of my tame programmers can get working with my scrolling display on the 4 display board....Keep up the good work fella.. Sorry for the thread hijack Trev, but grunta I wouldn't pull allthe power to multiple displays thru the arduino - run a big enough common supply to both the arduino and the displays. You haven't said how your generating your character set for the displays but if you use a byte based arrays then just do the rotation in the character set. Link to comment Share on other sites More sharing options...
BIG Trev Posted May 15, 2016 Author Share Posted May 15, 2016 I did run mine from the 5v supply on the Arduino board and it seems to work fine for the short term. I have tried a phone charger rated at 5v 1A that dies when I plug the displays in but the usb port on my laptop seems fine. It'll all be powered from a 5v arcade supply when installed in the machine. I wouldn't try turning all the leds on at once at full brightness. Mine are set at about 1/4 full brightness for testing. Trev Link to comment Share on other sites More sharing options...
BIG Trev Posted May 15, 2016 Author Share Posted May 15, 2016 I received the 1.4" lcd displays the other day along with some sd card readers for storing the bitmap files, so there's more tinkering to be done. Link to comment Share on other sites More sharing options...
BIG Trev Posted May 19, 2016 Author Share Posted May 19, 2016 I've had very little time lately to do anything on this but here's a taste of things to come.http:// you can see where this is eventually heading but it's quite hard to achieve. Of the 8 displays in each set they are numbered 0 to 7 from right to left, known as the display address. Each column in each 8x8 display also has a designated number from 0 to 7 but this time from left to right and then the variable array for the invader character has 10 lots of data for each column in the sprite, including a blank line before and after the image. I've stopped here as I now need to move the sprite onto display 1( the second from the right) from display 0. Have I got you confused yet? Well I am. The sad part is that I may have to do it all again as it draws faster if you draw rows rather than columns and it's a bit chunky at the moment. Cheers Trev I had to remove the code from this post as it kept displaying incorrectly. Link to comment Share on other sites More sharing options...
Fire_Power Posted May 20, 2016 Share Posted May 20, 2016 no vid for me "failed to find video url" - any chance of a direct link? You probably do it aswell but when I'm mucking around with these arduino bits and bobs I do a series of smaller mini bits of code to try and explore the libraries and for future reference with my notes and to hopefully prevent re-wirtes but sometimes eh .... The good thing is the re-write is usually a fair bit better and easier than the first run. Link to comment Share on other sites More sharing options...
BIG Trev Posted May 20, 2016 Author Share Posted May 20, 2016 Here you go. Link to comment Share on other sites More sharing options...
BIG Trev Posted May 20, 2016 Author Share Posted May 20, 2016 Well that didn't work I'll try and pm it to you. Yes I start by modifying examples I've found online and then I go over the code a few times before I'm happy. Link to comment Share on other sites More sharing options...
BIG Trev Posted May 20, 2016 Author Share Posted May 20, 2016 I've had that video issue too with other peoples vids. May be an AA issue? Link to comment Share on other sites More sharing options...
thejudge Posted May 20, 2016 Share Posted May 20, 2016 Both vids work for me:) Link to comment Share on other sites More sharing options...
Fire_Power Posted May 20, 2016 Share Posted May 20, 2016 Cool :cool: I like the inverted Y - are you going to flip it in the animation? Also will the invader jump a "whole" display unit of 8 cols at a time or will you treat the display as 8 rows high by 64 cols wide? I think the vid problem might be me and an out of date flash plugging - shits me having to update so often. Link to comment Share on other sites More sharing options...
BIG Trev Posted May 20, 2016 Author Share Posted May 20, 2016 Yes the y will be flipped. It'll move one column at a time and the invader will change between the two different sprites. Link to comment Share on other sites More sharing options...
BIG Trev Posted May 28, 2016 Author Share Posted May 28, 2016 I tried the maxMatrix library for the DMD but the copy I found seems to have a fault so it's back to the LedControl library. it's unfortunate that I have to do this as the maxMatrix library lets you use more displays than the 8 allowed in the LedControl library. I'm going to redo the code so the sprites draw one row at a time rather than one column, which draws the image faster. I had to rewire the displays too so they draw from left to right not right to left. It's easier to rewire them than try and write code to compensate.http://uploads.tapatalk-cdn.com/20160528/1c69fe1c9344c4abe8260e38085ac2e1.jpg I just need to remove 4 displays from the one in the picture. Trev Link to comment Share on other sites More sharing options...
BIG Trev Posted May 31, 2016 Author Share Posted May 31, 2016 So much to do and so little time. Now I have to add a shaker motor to the lineup of things to do. It's all good fun. Trev Link to comment Share on other sites More sharing options...
BIG Trev Posted May 31, 2016 Author Share Posted May 31, 2016 (edited) I've been looking through some pics on my phone and these made me smile. Beforehttp://uploads.tapatalk-cdn.com/20160531/02655c62f8ff5c4fe781cce1aae30eb8.jpgAfterhttp://uploads.tapatalk-cdn.com/20160531/5fc5bdf9cfcb6a9d2a81be2b38b66fb3.jpghttp://uploads.tapatalk-cdn.com/20160531/cec444491860e8142469d33446251971.jpg Edited June 1, 2016 by BIG Trev Link to comment Share on other sites More sharing options...
BIG Trev Posted June 2, 2016 Author Share Posted June 2, 2016 I've spent a bit of time today assembling the DIY DMD so it's all one unit which will make it easier to handle while I'm programming it. It consists of 6 x 4 gang 8x8 led displays and an Arduino mega making it a 96 x 16 display. Using the LedControl library it will operate as three separate 8 gang displays accessed by the one mega board. These are the rewired displays minus the leds and the mega board .http://uploads.tapatalk-cdn.com/20160601/abcb5e800bd5c561db6e0681ffb91f68.jpgThe perspex mounting plate.http://uploads.tapatalk-cdn.com/20160601/a72f4c6cb6c35c1bb57327a20cb2b7b7.jpgAssembled minus leds and connecting wiring.http://uploads.tapatalk-cdn.com/20160601/8e97e9f1a1ebf0846e0cb4df5eae8329.jpgAssembled with leds and wiring ready to go.http://uploads.tapatalk-cdn.com/20160601/29891af96a4d1555dbac91a3674c3f85.jpghttp://uploads.tapatalk-cdn.com/20160601/dd0403cf73dc26ee61d8fe54fdf3ca65.jpg I'll drill some holes about 10mm in from the edge to mount the unit in the bezel. Trev Link to comment Share on other sites More sharing options...
BIG Trev Posted June 2, 2016 Author Share Posted June 2, 2016 Testing to make sure it works okhttp:// and you can see how the three 8 gang displays are layed out. Link to comment Share on other sites More sharing options...
ozfalcon Posted June 3, 2016 Share Posted June 3, 2016 I've been looking through some pics on my phone and these made me smile. Beforehttp://uploads.tapatalk-cdn.com/20160531/02655c62f8ff5c4fe781cce1aae30eb8.jpgAfterhttp://uploads.tapatalk-cdn.com/20160531/5fc5bdf9cfcb6a9d2a81be2b38b66fb3.jpghttp://uploads.tapatalk-cdn.com/20160531/cec444491860e8142469d33446251971.jpg I can understand that while you are using Arduino's - A DMD might seem like a good idea. But - I look at your cabinet - And see a large LCD area (The Marquee is above). (And are those speakers on each side?) The Pi would be ideal to run your software/hardware and display game animations/score on the LCD. IMHO Drop the DMD. Use a larger LCD that fills out the entire headboard space (Excluding the Marquee). Mount speakers underneath - Up close to the player. Use a Pi to run your pinball software and display on the LCD. Your focus should be populating the play field and getting a ball bouncing around :cool: Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now