Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18153

Edison + Arduino Expansion + DFRobot I/O Expansion Shield v7: cannot get readings from Digital pins.

$
0
0

Hi

 

I am trying to connect various sensors to the IO Expansion shield mounted ontop of the Arduino break-out for Edison.

 

I am trying to connect the following sensors/components:

 

1. An I2C 20x4 LCD

2. HC-SR04 Ultrasonic

3. DFRobot Temperature and Humidity sesor

4. Joystick module ( analogue thumbstick )

 

I have connected them as follow to the IO Expansion board:

 

1. LCD connected to the I2C connectors on IO Expansion board, and I got this working; ie, I can actually display text to the LCD display.

2. Ultrasonic sensor: GND,VCC and pins 7 & 8

3. Temperature & Humidity sensor: GND, VCC and pin 4 (tried 3 as well)

4. Analogue stick: GND, VCC and pins 13, 12 & 11 for X, Y and Button respectively.

 

I am not doing anything with the analogue joystick in my code yet, other than registering the pins for input.

 

What I am getting currently is only output to the LCD screen, but my temp and echo sensors does not "return" anything.

 

Any suggestions/help?

 

PS - if anyone can also add suggestions as to reading from the analogue sticks so I can switch display modes; eg, if I press stick in X direction, I only show temp and humidity, Y direction = distance from echo sensor?

Thanks in advance for any assistance.


Viewing all articles
Browse latest Browse all 18153

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>