Community
cancel
Showing results for 
Search instead for 
Did you mean: 
LLuke
Beginner
948 Views

Voltages for connecting ds18b20 to Edison breakout board

Jump to solution

It appears that the upm library provides support for reading temperatures from a ds18b20 on an Edison via uart. They also provide this http://iotdk.intel.com/docs/master/upm/knownlimitations.html hookup diagram. However, it looks like the http://datasheets.maximintegrated.com/en/ds/DS18B20.pdf ds18b20 can only operate at 5V while the UART TX and RX on the breakout board are at 1.8V (per the Edison Hardware Guide table 28). This upm diagram seems to suggest they should be directly connected though. I am hesitant to try it for fear of damaging the board or module.

Do I need to step the voltage up and down between the Edison uart and a 1-Wire bus?

0 Kudos
1 Solution
NNath3
New Contributor II
27 Views

1. I don't think that MRAA/UPM are exlcusive to the Edison, and Edison comes in at least 2 configurations relevant to your questions. You didn't mention whether you are using the Edison on the Arduino board or not. I think the Arduino board has the I/O pins level-shifted to 3.3 or 5V.

2. Your temperature sensor supports VDD from 3.0-5.5V.

3. If you are using the mini breakout board, then you will need to put a level-shifter between the Edison and your temperature sensor (but at least you can use the Edison's 3.3V output to run the sensor).

Thanks,

View solution in original post

6 Replies
NNath3
New Contributor II
28 Views

1. I don't think that MRAA/UPM are exlcusive to the Edison, and Edison comes in at least 2 configurations relevant to your questions. You didn't mention whether you are using the Edison on the Arduino board or not. I think the Arduino board has the I/O pins level-shifted to 3.3 or 5V.

2. Your temperature sensor supports VDD from 3.0-5.5V.

3. If you are using the mini breakout board, then you will need to put a level-shifter between the Edison and your temperature sensor (but at least you can use the Edison's 3.3V output to run the sensor).

Thanks,

View solution in original post

idata
Community Manager
27 Views

Hi ericksonla,

Thanks for your interest in the Intel Edison Platform.

As nniles points out, it depends on what you are using:

 

 

1) If you are using the Arduino Board Expansion then it is not necessary a level shifter.

 

2) If you are using a mini breakout board it is necessary a level shifter.

I hope you find this information useful.

I will be waiting for your reply, have a nice day.

Best regards,

 

-Jose.

 

LLuke
Beginner
27 Views

Thanks for clearing that up. I'm using an expansion board for prototyping right now and I will either use the expansion board or build an equivalent and expanded customized for our purposes later. That means I need to add a level shifter.

I see that the makers of the ds18b20, Maxim, https://www.maximintegrated.com/en/app-notes/index.mvp/id/4477 recommend a level shifter that they make. It is an unusual package though that I don't have any idea how to solder by hand for prototyping.

http://www.digikey.com/product-search/en/integrated-circuits-ics/logic-translators-level-shifters/25... Digikey offers lots but I'll have to spend some time sorting through them to find which one might be best.

Does anyone have any advice on a good level 1.8V to 5V level shifter for a uart connection at a prototyping scale?

idata
Community Manager
27 Views

Hi ericksonla,

I think this thread might help you ( ), we personally haven't test this shifters, but you may benefit from the feedback of other users. I hope you find this information useful.

I will be waiting for your reply, have a nice day.

Best Regards,

 

-Jose.
LLuke
Beginner
27 Views

Jose,

Thanks, I did see that post. It didn't look like anyone had a definitive solution.

I'm going to try the Maxim-recommended level shifter for the ds18b20 and perhaps also the https://www.adafruit.com/product/757 Adafruit one or the https://www.adafruit.com/products/395 one discussed most in the linked post.

If I manage to get the sensor working, I'll try to post a comprehensive solution somewhere. Its kind of mindboggling to me how many people have tried to get the ds18b20 working with the Edison without posting a complete solution anywhere (without involving the arduino breakout board).

idata
Community Manager
27 Views

Hi ericksonla,

 

 

We encourage you to share your results since it may benefit other users. If you have any more questions regarding the Intel Edison please don't hesitate to contact us.

 

 

Have a nice day.

 

 

Best Regards,

 

-Jose.
Reply