Im trying to power my 6V solenoid that is connected to my 8 channel 5V relay using my 8 x AA batterypack. The pi is being powered through an adapter and the relay from the VCC to 5V pi. When the LED to the channel which the solenoid is connected to lights up, the solenoid should trigger as well, but that's not the case. There is nothing wrong with the solenoid, when its powered straight from the batterypack it works fine.

Relay: https://www.amazon.com/JBtek-Channel-Module-Arduino-Raspberry/dp/B00KTELP3I/ref=sr_1_1?keywords=relay+8+channel&qid=1569870908&s=gateway&sr=8-1

Solenoid: https://www.amazon.com/gp/product/B018HX0R2W/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&psc=1

enter image description here

  • This is **YET ANOTHER ** question about the appallingly designed relay module which is unsuitable for the Pi – Milliways Sep 30 '19 at 22:07
  • I don't have any experience using this relay with the Pi, so I can't comment on if it's appalling, but are you sure it's wired up correctly? In your diagram the GPIO wire is attached to what's labeled IN1 but the solenoid is attached to relay K8. When you turn on the GPIO pin do you hear the relay click? Some Amazon reviews suggest it'd be better to connect VCC to +3.3V rather than +5V on the Pi. – Fred Sep 30 '19 at 22:49
  • 1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.