Controll solenoid with muscle sensor

Hello Arduino world! I am working on a project and i need some assistance from anyone who doesnt mind helping. All i am trying to do is connect my Myoware muscle sensor to my arduino Uno. And then connect a 12v solenoid valve to the arduino so when i flex it activates the solenoid valve and stops when i unflex. Please help. It would be greatly appreciated!

I can get the sensor to work and i know how to run the solenoid with the Uno by itself. I know where to plug the sensor in to the arduino and i know where to plug the solenoid into. I dont know to get tje sensor to actually drive the solenoid. I understand i havevto set a value to a pin and another value to another pin. Then i get lost

inventorofthefuture:
I can get the sensor to work and i know how to run the solenoid with the Uno by itself. I know where to plug the sensor in to the arduino and i know where to plug the solenoid into. I dont know to get tje sensor to actually drive the solenoid. I understand i havevto set a value to a pin and another value to another pin. Then i get lost

If you will show us the code you have that properly reads the sensor, we will believe you that it works. But, please DON'T connect the solenoid to the Arduino pin. Use a 220 ohm resistor and red LED to simulate the solenoid.

When you get that coded up, post the code.

Paul

inventorofthefuture's post in Gigs and Collaborations:
http://forum.arduino.cc/index.php?topic=555042