PS4 News on Facebook! PS4 News on Twitter! PS4 News on YouTube! PS4 News RSS Feed!

Home PS4 News - Latest PlayStation 4 and PS3 News

February 23, 2011 // 1:12 pm - This PS3 project might help someone out there to use their Teensy development boards for at least something, I call it my GT5: Grind A-Spec babysitter.

I got the idea from a mate of mine who used a keypad with paper wedged in to keep the enter key depressed and a controller with rubber bands and presstic. I don't own a usb keuboard or keypad, so I asked some questions and did some reading and this is the result.

Keep in mind I know nothing about programming and I can not help with other development boards.. although the code is very simple, I had to ask for advice.

Thanks to Paul at PJRC for doing the code for me.

1. Download and install Arudino Software
2. Download and install Teensy Loader
3. Download and install Teensyduino installer
4. Run the Teensyduino installer (You must select the location where you extracted the Arduino Software)
5. Run the Arudino software and the Teensy loader
6. Plug in the Teensy development board into a USB slot
7. Copy the following code into the Arduino software

[Register or Login to view code]

8. Click "verify".
9. Then push the button on your Teensy (of course, it needs to be plugged in), and it'll get programmed with this code.

This tells the Teensy to "pres ENTER" all the time

10. Remove the Teensy
11. Switch on the PS3 and load GT5.
12. Go to Extreme A-Spec races
13. Select the Indy track in "Like the Wind"
14. Make sure you use the Red Bull X1 (Switch all assists to on, traction control 5, ABS 1, reduce downforce to minimum and change oil)
15. Make sure "accelerate" is set to up on the right analog stick
16. Take a rubber band and put it around the right analog stick to the front of the controller and around - secure it around the right handle - this will make the car accelerate all the time
17. Enter the race.
18. Now do the same with the left analog stick. You will see in the race that the car will go straight all the time - adjust the steering ever so slightly to the right so the car does not go left when it is released from the walls (just do it - you will see what I mean - it might take a few races to fine tune this). The controller must be plugged into the USB, else the battery might go flat and the grinding comes to a halt.
19. Plug in the Teensy into the PS3.

When the race is finished, the Teensy will do all the keystrokes for the race to be repeated.

GT5: Grind A-Spec PS3 Project for Teensy Development Boards

PlayStation Follow us on Twitter, Facebook and join us at our new site WWW.PSXHAX.COM!

#14 - deba94 - March 19, 2011 // 3:55 pm
deba94's Avatar
After seeing the interest people put into the GT5 A-Spec grinding with the Teensey boards, I thought I'd share my B-Spec grinding method done with the Arduino Uno (as a matter of fact, this works for A-Spec as well).

NOTE: This will only work for the Arduino Uno (tested) and possibly the Arduino Mega 2560. The Uno and (if I recall correctly, the Mega 2560) differ(s) from all preceding boards in that it does not use the FTDI USB-to-serial driver chip. Instead, it features the Atmega8U2 programmed as a USB-to-serial converter. This allows the board to be seen as a HID by flashing the Atmega8U2 with a custom hex file.

What you'll need:

Arduino Uno (or Mega 2560) x1
Usb cable x1
Wire about an inch long and stripped on both ends x2

Arduino IDE
Flip Programmer (windows only)
MacPorts & dfu-programmer ("sudo port install dfu-programmer") (mac only)
dfu-programmer (grab it from your distro's repos) (linux only)
My big-bag-o-fun

Copy of GT5
Red Bull x2010 (any version)

Start off by uploading this sketch to your Arduino:

[Register or Login to view code]

Now, you'll need to throw your UNO into DFU mode. To do this, (while your Arduino is plugged into USB) use one of the short wires to bridge two points on the back of the board near the map of Italy (just below). With that in place (hold it down with tape if you'd like) use the other wire to bridge the the two points seen here:

If done correctly, your UNO should now be in DFU mode. (Confirm this by checking the list of serial ports. The serial port for your board should no longer show up.)

Now, flash the 8u2!

Windows: Open flip, load the hex, select at90usb82 and flash away.
OS X/Linux:

[Register or Login to view code]

Now unplug the board and plug it back in. Careful though! It'll start typing exactly 6 seconds after the board receives power. Open notepad/gedit/emacs or something.

Go hook it up to the ps3! Fire up B-Spec and go to either Extreme Series > Dream car championship > second from the left (indy) (best for farming XP) or Extreme Series > Like the Wind (indy) (best for farming monies).

The UNO will alternate between sending the "return" key and the "down" key, so you can simply walk away and come back whenever you want to collect your winnings.


to A.McD and ant.b from the arduino forums for the base code.
to Dean Camera for LUFA-lib.

#13 - smurfercom - March 16, 2011 // 3:43 am
smurfercom's Avatar
Hi first post, all i did was use a usb wireless kb and wedged a piece of paper to hold the enter key and just let it repeat. I grinded a spec this way using two rubberbands but eventually just quit playing the game. I'm at lvl 34 b spec 34 a spec have all the cars I want including the x2010 just got bored of the game itself.

#12 - OGroteKoning - March 14, 2011 // 7:45 am
OGroteKoning's Avatar
I got bored and played around with my Teensy 2.0 ++ again. And again, with Paul at PJRC's help, I managed to get the Teensy to order Bob around.

Christiann got me thinking about B-Spec grinding and although I don't really care about getting my Bob (B-Spec drivers) to level 40, I thought there must be a way to use the Teensy to do some automatic grinding on my behalf should I want to do more grinding. So I decided to get Bob to the end of his career without me having to sit through every race and watch. This grinding thing can really become tedious and boring and in my opinion has no place in decent games. So this was just to get Bob to the end of his career and also to get the trophy that comes with it.

For those interested, (and there are probably not a lot left that would use this), I will share the code.

[Register or Login to view code]

What this does, is repeat the ENTER and DOWN keystrokes on of a keypad on an alternate basis. (ENTER DOWN ENTER DOWN ENTER DOWN ... ETC)

This does unfortunately NOT work that well with championships. It would work with the individual races within championships or if you want to do only one championship which might lasts maybe 90 mins. But if you want to grind for long hours, then don't select the whole championship!

So after you programmed your board, go into B-Spec events and select a car and a race of your choice. After loading the track and setting up your car, start the race and plug in your Teensy. The Teensy will constantly tell Bob to "reduce pace", but if you have a fast enough car, this will not matter. At the end of the race, the teensy will do all the necessary keystrokes to start a new race and there you go (again and again and again ...)

I also tested this on the A-spec races and as per the first post, this code will also enable you to do A-Spec grinding too.

Hope this helps and have fun not doing the tedious bits!

#11 - OGroteKoning - February 28, 2011 // 6:36 am
OGroteKoning's Avatar
There is no special code to circumvent anything on the PS3 in order for this to work. It should work on any PS3 with any FW. All the code does is repeat the "enter" key of a USB keyboard or keypad. If a USB keyboard or keypad works on your PS3, then this should too.

#10 - SagatPL - February 27, 2011 // 6:07 pm
SagatPL's Avatar
works on kmeaw 3.55? probably only 3.41... may use the PSX pad with autofire with usb-adapter?

#9 - OGroteKoning - February 25, 2011 // 6:55 am
OGroteKoning's Avatar
at brushless
To help you (and perhaps others) out these are settings to check and/or play around with to get the Teensy to work. This replaces step 8 above:

8.1 In Arduino click Tools - Board: Select the correct board
8.2 In Arduino click Tools - USB Type: Select Keyboard + Mouse
8.3 In Arduino click Tools - Keyboard Layout: Select the correct keyboard for your region (I used US English)
8.4 Click "verify"

Hope this helps.

At Christiann Yup, I wish I had thought of this when I grinded for B-spec to do the SLS Challenge to win the SLS. But I could only manage level 36 by doing endurance races (best XP gain) and the cash was not important to me at the time.

Although your idea is very sound, grinding for cash is the same or even quicker this way than with similar B-spec events and with the added bonus that your A-spec XP increases and not ol' Bob's XP. I am grinding about 1mil Cr per hour. So in 24hrs I grind for 20 hrs to get about 20mil Cr (this is max currently) and then spend a couple of hours to spend the cash on cars.

Tis a bit tedious, but it gets the job done. Also, with B-spec, you have to press the down button or left analog stick down to exit the Bob's page after a race. I have not tested this at all so I don't know how the constant input from the Teensy will influence the way Bob races in the game. I think default setting is to reduce pace and I surely don't want him to "fall asleep".

#8 - Christiann - February 24, 2011 // 10:19 pm
Christiann's Avatar
Why not use the B-sec mode instead, based on this idea?

Think about it: Let your b-spec driver constantly race him a track over and over again, while you are sleeping, at work or school.
In this way you will get a lot of money too, and you also don't need something to keep the right analog stick up.

#7 - OGroteKoning - February 24, 2011 // 5:49 pm
OGroteKoning's Avatar
I don't have my laptop with me now and I can't remember all the options. You must select the teensy you have. think I selected the first option that referred to a keyboard ??Keyboard and mouse??.

Worked first time for me. Play around - if you don't come right, I will check for you tomorrow. Let me know.

#6 - brushless - February 24, 2011 // 5:33 pm
brushless's Avatar
For the life of me, it just don't want to work. i set it to keyboard tried every teensy model. the ps3 just says unknown usb device and nothing happens.

#5 - elser1 - February 23, 2011 // 11:49 pm
elser1's Avatar
ex points and cash... get to level 40 this way.. LOL