Unofficial Pi Position Q&A & Support Thread

I have run into the same scenario, I also have no steering, pedal or shifter. I can switch between games. I am able to switch the pedal to reverse which will give me only full throttle as actuating the peddle has no effect. The coin switch doesn't work for me either which is less of an issue for me as I prefer free play. @Salerno2442 - I may have missed this in the thread, had you tried to use the 32gb card?
Yes, I bought a 64gb card. No changed. At this point, I boxed up the project and put the PP 2 board back in. Really disappointed with this... Tried other USB ports and cables, no luck.
 
Does anyone have a fix for this problem? I get the same error when trying to program the firmware. As it stands no inputs from the cabinet effect any change with the game. No coinup, start, nothing.

getting a Joystick.h no such file or directory?
Arduino: 1.8.18 (Windows 8.1), Board: "Arduino Leonardo"


pp_joy4r2:1:10: fatal error: Joystick.h: No such file or directory

#include <Joystick.h>

^~~~~~~~~~~~

compilation terminated.

exit status 1

Joystick.h: No such file or directory



This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
 
I have changed out my USB cable which had given me signs of life - controls were not perfect (i.e. shifter seemed to work backward-hi was lo and lo was hi) but they were all reacting, for about 30 seconds, at which point they had gone back to being unresponsive. I had cycled the power, was able to get the controls back and again after about 30 seconds they again became unresponsive. Now the controls are back to being unresponsive even after cycling power.
 
I have changed out my USB cable which had given me signs of life - controls were not perfect (i.e. shifter seemed to work backward-hi was lo and lo was hi) but they were all reacting, for about 30 seconds, at which point they had gone back to being unresponsive. I had cycled the power, was able to get the controls back and again after about 30 seconds they again became unresponsive. Now the controls are back to being unresponsive even after cycling power.
Did you do the firmware download? Wondering if I it will help if the firm ware is up to date.
 
I thought I saw where the Arduino should have two lights on when it is working properly but can't find the post again. Can anyone confirm the two-light deal on the Arduino? Mine has a single red light on.
 
Did you do the firmware download? Wondering if I it will help if the firm ware is up to date.
No I haven't yet, I am in the process of figuring out how to do this, I am hoping to do update the firmware today, I will post my results.
 
I thought I saw where the Arduino should have two lights on when it is working properly but can't find the post again. Can anyone confirm the two-light deal on the Arduino? Mine has a single red light on.
Did you do the firmware download? Wondering if I it will help if the firm ware is up to date.

I have attempted the firmware upload and have gotten a similar error as Nerdhaven -

Joystick.h: No such file or directory

RE: the 2 lights - I have heard that as well -it seems to me I have 1 red light and one green light - I am going to have to confirm this as I am not by my board currently.
 
I got my board to work today. I tried another usb cable. Not sure if it was the problem or not. I the controls were responsive and both PP and PP2 worked well. Could not get to the higher speeds but I have not tried to mess with settings yet. I work on this between projects in my shop. After a couple of power cycles, I found the gas pedal reversed in PP2 and still working correct in PP. Weird the gas only reversed in PP2. I also want to try the firmware update again.
 
I have spent some more time trying to apply the firmware update - I had run into an error as stated above - cannot locate Joystick.h - it is complaining that it did not have the correct included library, this can be solved by following these steps:

1.) download the library within a zip file located: https://github.com/.../ArduinoJoystick.../archive/master.zip
2.) in the Arduino app go into <Sketch> <include library><Add.ZIP Library> (may need to scroll up the menu)
3.) navigate to the ArduinoJoystickLibrary-master zip file you just downloaded
This should get you through the Joystick error!

I am still stuck at trying to apply the firmware update as just as it is about to upload, I get the following error: "avrdude: ser_open(): can't set com-state for "\\.\COM5""
I have changed USB ports on my computer, as well as USB cables with no change

Given the original issue that I am attempting to fix is that I am having issues with inputs, getting no reaction from steering/shifting/gas/coin. I had brief moments of life that was a result of changing what USB port was used - sadly these signs of life did not last long as the board had reverted back after about 30 seconds of play, this had happened one more time - after cycling power to the game, 30 seconds of getting input from steering and gas and the shifter (they weren't acting correctly but they were acting) but again after about 30 seconds the controls had stopped working and now the game had reverted back to its original state of no input from steering/shifting/gas/coin

adding this latest experience with my original issues, I am becoming suspicious of the arduino - maybe more specifically the USB connection on the arduino board - any thoughts?
 
I have not been able to update the Arduino I was able to get it working with another usb cord. In the middle of messing with it the cord that worked was too heavy and the usb socket came off. I got it reattached, but I think it was weak to begin with. The controls now do work, but I was having issues with the gas pedal. I tried both as I have two machines. both had the cable jacked up, so I need to sit down and rewrap the cables and see if that helps. No matter what my pots seemed really scratchy even after deoxit. I need to test them again after I wrap the cable. I was getting reversed gas pedal and then I was getting partial throttle regular then after that it shut down. I am starting to wonder if these boards already the Arduino have updated as I just purchased it from Arcade Shop. Did anyone else with the Joystick file error also purchase recently from Arcade Shop?
 
I have not been able to update the Arduino I was able to get it working with another usb cord. In the middle of messing with it the cord that worked was too heavy and the usb socket came off. I got it reattached, but I think it was weak to begin with. The controls now do work, but I was having issues with the gas pedal. I tried both as I have two machines. both had the cable jacked up, so I need to sit down and rewrap the cables and see if that helps. No matter what my pots seemed really scratchy even after deoxit. I need to test them again after I wrap the cable. I was getting reversed gas pedal and then I was getting partial throttle regular then after that it shut down. I am starting to wonder if these boards already the Arduino have updated as I just purchased it from Arcade Shop. Did anyone else with the Joystick file error also purchase recently from Arcade Shop?
I am confused as I thought the board from Arcade Shop didn't need the firmware update?

I've also been having throttle issues with my original board - and based on what I've been able to gather, Pi Position is less tolerant of those - so I am going to rebuild my throttle assembly with a new pot and and see if that helps.
 
That was a basic question I had that no one has been able to answer yet. Does anyone know if the new boards from Arcadeshop need the update?
 
Updating the firmware is always a good idea.
It is unless the update is not needed and causing an error. More than a few people have run into problems updating the firm ware and what I am trying to figure out is if the error is throwing because I am trying to update firmware that is already up to date.
 
Incidently, after cleaning my pots with deoxit the games seemed to play just fine last night. Now I just need to recap the monitor to get rid of the curl at the top.
 
I have attempted the firmware upload and have gotten a similar error as Nerdhaven -

Joystick.h: No such file or directory

RE: the 2 lights - I have heard that as well -it seems to me I have 1 red light and one green light - I am going to have to confirm this as I am not by my board currently.
I have spent some more time trying to apply the firmware update - I had run into an error as stated above - cannot locate Joystick.h - it is complaining that it did not have the correct included library, this can be solved by following these steps:

1.) download the library within a zip file located: https://github.com/.../ArduinoJoystick.../archive/master.zip
2.) in the Arduino app go into <Sketch> <include library><Add.ZIP Library> (may need to scroll up the menu)
3.) navigate to the ArduinoJoystickLibrary-master zip file you just downloaded
This should get you through the Joystick error!

I am still stuck at trying to apply the firmware update as just as it is about to upload, I get the following error: "avrdude: ser_open(): can't set com-state for "\\.\COM5""
I have changed USB ports on my computer, as well as USB cables with no change

Given the original issue that I am attempting to fix is that I am having issues with inputs, getting no reaction from steering/shifting/gas/coin. I had brief moments of life that was a result of changing what USB port was used - sadly these signs of life did not last long as the board had reverted back after about 30 seconds of play, this had happened one more time - after cycling power to the game, 30 seconds of getting input from steering and gas and the shifter (they weren't acting correctly but they were acting) but again after about 30 seconds the controls had stopped working and now the game had reverted back to its original state of no input from steering/shifting/gas/coin

adding this latest experience with my original issues, I am becoming suspicious of the arduino - maybe more specifically the USB connection on the arduino board - any thoughts?
I have tried a few other USB cords, still no joy.

I have been unable to run the firmware update due to the above mentioned coms error.

Above I had stated that I had 1 red light and 1 green light, which I had stated from memory - this was during the brief time it had worked - currently as I am back to having no inputs registering from the cabinet controls I do notice I have only the one red light on the adruino - I believe this is the power indicator - I do not see any other activity from the other lights.

The software works from a keyboard which you plug directly into the pi - I just cannot get it to interface with the cabinet controls.
 
I am confused as I thought the board from Arcade Shop didn't need the firmware update?

I've also been having throttle issues with my original board - and based on what I've been able to gather, Pi Position is less tolerant of those - so I am going to rebuild my throttle assembly with a new pot and and see if that helps.

For me, a new pot from arcadefixit.com solved all my problems. I also have the monitor issue but recap'ing a monitor is miles beyond my capabilities, so I will just have to deal with it.

I then got greedy and tried to run the Final Lap games and Daytona USA and torqued up my SD card, so grabbed another SD card (32 GB) and am starting over on that front.
 
I have spent some more time trying to apply the firmware update - I had run into an error as stated above - cannot locate Joystick.h - it is complaining that it did not have the correct included library, this can be solved by following these steps:

1.) download the library within a zip file located: https://github.com/.../ArduinoJoystick.../archive/master.zip
2.) in the Arduino app go into <Sketch> <include library><Add.ZIP Library> (may need to scroll up the menu)
3.) navigate to the ArduinoJoystickLibrary-master zip file you just downloaded
This should get you through the Joystick error!

I am still stuck at trying to apply the firmware update as just as it is about to upload, I get the following error: "avrdude: ser_open(): can't set com-state for "\\.\COM5""
I have changed USB ports on my computer, as well as USB cables with no change

Given the original issue that I am attempting to fix is that I am having issues with inputs, getting no reaction from steering/shifting/gas/coin. I had brief moments of life that was a result of changing what USB port was used - sadly these signs of life did not last long as the board had reverted back after about 30 seconds of play, this had happened one more time - after cycling power to the game, 30 seconds of getting input from steering and gas and the shifter (they weren't acting correctly but they were acting) but again after about 30 seconds the controls had stopped working and now the game had reverted back to its original state of no input from steering/shifting/gas/coin

adding this latest experience with my original issues, I am becoming suspicious of the arduino - maybe more specifically the USB connection on the arduino board - any thoughts?
thanx man, that seemed to work to get the sketch uploaded
 
Last edited:
I had to do a bit of pedal cable adjustment to get the pot to register correctly ... but after the software update, library update, and firmware update... it seems to be behaving (not reversing) after power cycles
Just need to address the picture size / centering, and gas pedal max speed of ~ 94 mph now...
 
Back
Top Bottom