- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello everybody!
I'm new.
I'm reading temperature from ds18b20 via upm. (intel edison)
I used python example code at https://github.com/intel-iot-devkit/upm/blob/master/examples/python/ds18b20.py https://github.com/intel-iot-devkit/upm/blob/master/examples/python/ds18b20.py .
I only read number of devices but not read id of them.
when i read id, it was "(".
I think baud rate is not suitable.
Can u help me?
Sorry about my English skill!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
help me!!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hello blackboy,
Thanks for reaching out!
I can see that you are using an outdated version of the repo and probably mraa. This is probably due to the image installed on your Edison, please flash your board with the latest image either by using the setup tool ( https://software.intel.com/en-us/get-started-edison-windows-step2) or the flashall method (https://communities.intel.com/docs/DOC-25154 https://communities.intel.com/docs/DOC-25154). You can find the link to download the latest image in https://software.intel.com/en-us/iot/hardware/edison/downloads under the subtitle "Intel® Edison Module Firmware Software Release 3.5", the link called "Latest Yocto* Poky image".
Once you have flashed the latest image enter the command cat /etc/version and let me know the output. This is to verify that the image was correctly flashed. Then setup an internet connection (let me know if you need help with that) and update the repo, mraa and upm with the following commands:
opkg update
opkg install mraa upm
This will make sure you are using the latest version of everything. After that, try again and if this behavior persists, you might be interested in reporting it directly to upm's developers by submitting an issue in its github page ( https://github.com/intel-iot-devkit/upm/issues) or in contacting the creator of that example, the contact information can be found in the link you shared ( https://github.com/intel-iot-devkit/upm/blob/master/examples/python/ds18b20.py).
I hope this information helps you,
Pedro M.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Thanks for your details, But I tried with the lasted version of pocky, mraa, upm, pyserial-3.3 on my Edison.
When I tried write command "sensor.update(0) in python example" it's look like no respone. The same issue at here: unable to update DS18B20 sensor temperature using upm v1.1.0 on Intel Edison · Issue # 530 · intel-iot-devkit/upm · GitHu…
please help me if you can!
Thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
According to https://github.com/intel-iot-devkit/upm/issues/502, it seems that the issue has been reported and it was determined to be an issue with mraa. According to the last comment this was very recently, therefore, they might still be working on it.
I believe the best approach for this case is that you get in contact with the mraa/upm developers in their github page.
Pedro M.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page