sorry for the lack of information ![]()
i also apologize for the code. i know it might even be totally inappropriate for my intention but this is where i got so far by reading examples on the internet. as i said earlier, i'm not a programmer but i like to learn.
i will try and make more clear my intentions. i have a hydraulic press that works in 2 modes. it can use position switch that when the piston is pressing until x position, the press returns up. the second mode is with a pressure sensor that controls the piston until it reaches x amount of pressure than go up. so the up position should be the time when i can manipulate the switch on the press for using each sensor for the next step.
since the light indicating that the cylinder is in up/rest position gives 50VAC, i will need to convert this to 5VDC so i can read in a pin that the value is HIGH. i got parts and instructions for making this conversion from the guy at the electronics parts store where i also bought the arduino. i will weld the items of the first photo in a form of a mini shield and use as the input for the presses up position.
on the second photo i'm using 2 rotary switches to help me set the amount of steps in each mode of the press (pressure or position). i want to be able to change the amont of steps as i work so that's why i need these switches that i can mount on the box that will hold the arduino.
the third photo is the micro switch that will enable me to bypass the switch on the press to give command to the presses board in which mode to do the next step.
sorry for the delay on the return of information, i had some urgent matters to attend to.


