# Arduino DigitalRead Generating Strange Results

**URL:** <https://forum.core-electronics.com.au/t/arduino-digitalread-generating-strange-results/7924>\
**Category:** Arduino\
**Created:** [29 June 2020 00:53 UTC](https://forum.core-electronics.com.au/t/arduino-digitalread-generating-strange-results/7924 "2020-06-29T00:53:47Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![James46717](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@James46717](https://forum.core-electronics.com.au/u/James46717)\
**Post date:** [1 July 2020 23:05 UTC](https://forum.core-electronics.com.au/t/arduino-digitalread-generating-strange-results/7924/25 "2020-07-01T23:05:57Z")

</div>

Hi Claude,

The GV300W outputs use a method common in electronic equipment. The output relies on external equipment to provide voltage and resistance.  
…  
While writing this reply a thought occurred to me.  
…  
An electronic circuit needs to be a loop. Current needs to flow through the circuit from the supply to the ground. If this does not occur the voltage is said to float; the results could be as you have experienced. It could also explain why it works with one output connected but not with 2 or 3.

How exactly is the Arduino connected to the GV300W ??  
The GND of the Arduino needs be connected to the GND of the GV300W. (see pic below)

pin 7 OUT3 to Arduino pin  
pin 8 OUT2 to Arduino pin  
pin 14 OUT1 to Arduino pin  
pin 6 GND to Arduino GND

When connected like this there will be a complete loop for current flow. The Arduino ground will be referenced to the GV300W ground. It will not be floating. (see UNO pic below, GND pins)

Regards  
Jim

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/e/ed93415808c5429ea892ea7a11bcecb755b89e0b.png)  
 ![Image2](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/6/63ff0bba831c94b102ac893903c1129260cfc6a6.jpeg)

---

_[View the full topic](https://forum.core-electronics.com.au/t/arduino-digitalread-generating-strange-results/7924)._
