Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me connect Arduino UNO pins to sensor (Vcc, GND, Data)

Status
Not open for further replies.

psurya1994

Member level 5
Joined
Jun 29, 2012
Messages
86
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Activity points
1,807
Arduino UNO has 13 digital pins.. I want to use the pins 2 and 3 as input by connecting them to sensors. But the problem is my sensor has to be connected with three wires(Vcc, GND, Data). I have only one Vcc pin on my board. How should i make the connections?
 

Re: Doubt using Arduino.

What is the exact sensor you wish to connect?

It seems it maybe a 1-wire interface, DS1820.

BigDog
 

Re: Doubt using Arduino.

Hi,

As BDG says you need to mention the sensor and what its Vcc is 5v or 3v3, you have both on the Uno board

The UNO is designed to be used with a breadboard and breadboard wires, this makes it easy so connect more devices, though any small gauge solid copper wire could be use to plug in to the Uno connectors.
 

Re: Doubt using Arduino.

My infra red sensor looks similar to this ir.jpg
Okay. Got it. I should be using a breadboard..
 

Re: Doubt using Arduino.

Do you have a copy of the devices datasheet?

Have you reviewed the datasheet to ensure, as wp100 mentions, the device is properly powered, the required protocol/signalling method is implemented, etc?

Not all 1-Wire devices are created equal. Some adhere to the Dallas/MAXIM standards, others do not.

When in doubt, first always reference the devices datasheet.

BigDog
 

Re: Doubt using Arduino.

I have the datasheet of my arduino but not that of the sensor.
@bigdogguru.. i am a newbie, i didn't get exactly what you are taking about.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top