Can't function L9110S with Argon


I have particle argon, L9110S, motor. I am trying to control the motor using L9110S, but it doesn’t work. Below is my test code.

I tested the same setup and code with arduino, it worked.

const int a = D3;
const int b = D2;

void setup() {                
  // initialize the digital pin as an output.
  pinMode(a, OUTPUT);
  pinMode(b, OUTPUT);    

void loop() {
  digitalWrite(a, HIGH);  
  digitalWrite(a, LOW);    
 digitalWrite(b, HIGH);   
  digitalWrite(b, LOW);    

I appreciate if you have any suggestions.


@andyd, a few more details are generally required so we can help:

  • Which DeviceOS version
  • Web link to L9110S board or breakout you are using
  • Web link to motor or description of motor specs you are using
  • How are the Argon, L9110S and motor powered
  • Circuit diagram (ideal) or description

Typically, if something works on an Arduino, it is because it is a 5v system, not 3.3v like the Argon, or that you are powering the L9110S from the 3.3v output of the Argon, which cannot supply enough current. Understanding your setup is key and thus the questions above.

1 Like

@peekay123, Thank you for your willingness to help.

DeviceOS version: 2.3.0
L9110S board link:

In fact, it is DC latching solenoid valve.
DC latching solenoid Iink:

Argon is just powered by USB now, and L9110S is powered by 9V battery.

Wire diagram:
Argon (D2) – L9110S (A-1A)
Argon (D3) – L9110S (A-1B)
9V Battery (Positive) – L9110S (VCC)
9V Battery (Negative) – L9110S (GND)
DC latching solenoid – L9110S (Motor A)

You need common GND (Argon GND <-> L9110S GND).
Without it the D2/D3 signals are “floating” with respect to the GND level of your battery.

1 Like

@ScruffR Thank you!

It worked. Learning new things everyday.

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