User Tools

Site Tools


Sidebar

Dan's Wiki

DokuWiki Instructions (local) DokuWiki Manual
Site Checker (Orphans Wanted)

Edit Sidebar

projects:a4sim:diary

This is an old revision of the document!


A-4 Simulator Restoration Diary

DateNotes
8/10/2019Moved A-4 Simulator From Gary Allen's home in Lake Steven's to my carport in Renton
8/12/2019Don gave permission to disassemble unneeded electrical and hydraulic parts. None of the gauges were connected to anything. Hydraulic lines mostly connected only to internal couplings, and not to anything active (no pumps, etc.)
8/12/2019Spent 2 hours removing unneeded electrical and hydraulic parts. Removed side controls for trough access. None of the controls were connected to anything.
8/13/2019Spent 2 more hours removing more unneeded parts. Removed seat.
8/14/2019Spent 1 hours removing some bolts which connect sim to dolly, in preparation for moving the sim into my living room.
8/15/2019Met with Don to discuss how to proceed. I will be inventorying the gauges and Don will check to see if he has A-4 Simulator gauges. At this point, the A-4 Simulator seems to have only actual gauges.
8/16/2019Did research on force feedback. Appears that some people have attempted this. They connect a servo to an encoder-equipped steering wheel, then attempt to control the servo torque by using PWM. Not all driver chips support variable torque like this. They mention the Logitech G29 (a gamer steering wheel) has force feedback but costs $399
8/21/2019Experimented with the X27 168 steppers. Was able to connect directly from an Ardino Nano to the 4 coil pins. Didn't use diodes (yet). Running sweeping test code, occasionally the stepper will chatter, then move perhaps 30 degrees and continue running. Not sure if there is noise. Tried using another stepper motor, same result.
8/21/2019Tried using AccelStepper library. This seems to be more for propulsion type stepper motors. Mostly it keeps accelerating between stop points. Probably not suitable for gauge use.
8/21/2019Had more success with the X27 168 by not incrementing through steps, and instead jumping directly to values in an array. Also, I think I had the wiring wrong. I found a test which merely rotated clockwise, then Counterclockwise and my set up was backwards. When looking at the pins from the back, counter-clockwise from upper right, the pins are 1, 2, 4, 3. I have these connected to digital outputs 2, 4, 7, 6 on the Arduino respectively.

After rewiring, and adjusting the code, the pointer (heat-glued on for now) is doing much better.
projects/a4sim/diary.1566449487.txt.gz · Last modified: 2019/08/22 04:51 by dwheele