Controlling solenoid valve using arduino and EMG sensor

Hello guys! I am a Grade 12 STEM student and I'm just a newbie in the world of computer and robotics engineering. We have a exoskeleton project and it will act as our final output before graduation.

The thing is, when I flex my bicep, the EMG sensor must send a signal to solenoid valve to release a gas, and when I relax my arms the solenoid valve will stop releasing pressure and the stroke of pneumatic cylinder will retract.

Things I need to know:
How am I going to wire/connect the EMG sensor, Arduino Uno, and the Solenoid Valve?
What are the codes should I use?

If you are struggling to understand my problem, you may use the following videos for reference.

Anyhelp will be deeply appreciated. Thank you so much!

Welcome to the forum

  • Exactly what sort of EMG sensor are you using ? Please provide a link to it

  • What experience do you have of programming the Uno ?

  • can you read a value from the sensor ?

  • exactly which solenoid value are you using ? Please provide a link to it

  • can you control the value using an output from the Uno ?

  • how will the project be powered ?

Hello! Thanks for response! Right now, I am just assessing the amount and number of materials we're going to use before I submit it to our teacher so that we can get a sponsor.

*What experience do you have of programming the Uno?
I don't have any, I am just a literally newbie.

*Exactly what sort of EMG sensor are you using?
EMG Sensor - https://shopee.ph/Muscle-Signal-Sensor-EMG-Sensor-Controller-Set-Kit-Detects-Muscle-Contraction-Activity-For-Arduino-i.33695347.549040930?sp_atk=2aa4b4c8-cf6a-4048-98b0-a891231436b0

*Exactly which solenoid value are you using?
5/2 way solenoid valve - https://shopee.ph/High-Quality1-4-4V210-08-5-Way-2-Position-Port-Pneumatic-Control-Solenoid-Air-Pressure-Valve-DC12V-DC24V-AC110V-AC220V-Coil-i.314235649.3169312073?sp_atk=a72b7d31-53f4-4905-b6b7-701ae65721aa

*How will the project be powered? The exoskeleton will be powered using an HHO reactor.

Before going any further I suggest that you download the IDE, get a Uno and become familiar with the Arduino environment, how to write and modify a sketch and experiment with it

As to wiring the project, the sensor will connect to the Uno but the link that you posted has no details of the interface so unless/until that is available then advice on connecting it and reading its output is impossible

The solenoid needs at least 12V to operate, if you buy the right one. The Uno cannot supply this so you will need a relay or MOSFET between the solenoid and the Uno and a power supply capable of providing 12V and enough current to drive the solenoid

Overall, I think that this is not a simple first project considering your lack of experience in the area but you could work towards it. How long have you got to complete the project ?

Yeahh, this project is very complex and complicated. That is why I'm struggling right now coz those links only shows the finish product. I still have 2months left...

Thanks for the help!

Actually, from the programming point of view it sounds fairly simple

read the sensor
if the sensor reading has changed significantly
  if it is higher
    do this
  end if
  else
    do this
  end else
end if

It looks to me as though the complexity is in the mechanical design and implementation

The mechanical design and implementation is not a problem to me, as I have always been exposed to mechanics since I was a child. The only problem is how am I going to connect the Arduino Uno, the EMG sensor, and the solenoid valve; and the code I am going to use. Thanks for your help! Much appreciated!!

The power for all this is likely to also be a problem.

Maybe but im working on it... thanks!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.