-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emulate 2 DS18b20 #39
Comments
so you say you still have your gps-master and it works with sensor A and sensor B separate, but when both are on the bus this experiment fails? Both have individual bus-addresses? seems that your master does not support "search rom" command and just uses "skip rom". so it does not have to discover the divices. Just adresssing "that" one device on the bus. |
very odd, indeed. This example with 2x ds18b20 and 1x 18s20 does not have any problems. Do you use the newest library 2.1.1 and have every debug-code disabled in config?
|
Can't confirm your results. I extended the ds18b20-example to use ds18b20, ds18s20 and ds1822, twice each. setTemperature() was fed with 10 and 30 °C for these twins in int8 and float. and my ds9490-master showed the right temperatures every time. the master and the software-tool are both from maxim/dallas, so they should know their stuff. And i double-checked my emulation code twice. it is easy to get the datasheet wrong, because they do some silly stuff there.
|
Hi guys, When i'm connecting the emulator to a teltonika device its show an error of300 on the server side, |
@ShanmukhaGanesh - not with this little information. Please work at least through the start page of the project. Especially section "HELP" |
@orgua - While I'm connecting the ds18b20 to a teltonika device(GPS TRACKER) directly it is able to transmit the data to my server. |
sorry, a basic set of embedded skills on your side is needed to solve this problem. if you have serious effort, you would have a logic analyzer at hand. your problem sounds like a timing-issue. impossible to solve without a timing-analysis. |
Hi, I when I try to emulate 2 ds18b20 my master couldn't read anything but when I emulate 1 ds18b20 with 1 ds18s20 my master can read the reading.
Is there any way to emulate 2 ds18b20 as there is always a 0.7 difference between ds18b20 and ds18s20?
Thank you.
Regards,
Nick
The text was updated successfully, but these errors were encountered: