Results 1 to 5 of 5

Thread: 12V submarine pump Vixen

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2023
    Post Thanks / Like

    Default 12V submarine pump Vixen

    Hello there,
    I want to control a 12v DC water pump using an Arduino board and Vixen 3,
    I have a Mosfet (IRFZ44N) that I tried to use for speed control in normal Arduino,
    but now I want to do this from Vixen 3, can't figure out how to do it,
    here is the code I used to control the DC pump speed:
    int PWM_PIN = 6;
    int pwmval = 0;
    void setup() {
    void loop() {
      if (Serial.available() > 1) {
          pwmval =  Serial.parseInt();
          Serial.print("Speed: ");
          analogWrite(PWM_PIN, pwmval);
    I wonder if someone knows a way or could point me to how to adjust this code and enable controlling the pump from Vixen 3.

    Thank you in advance.
    Last edited by XxFriction; 01-24-2023 at 05:50 PM.

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts