-
Notifications
You must be signed in to change notification settings - Fork 89
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
Pro Micro Board compatability #1
Comments
Hi, Done some more experimenting. Using your "Sensor_DS18B20" on a Pro Micro board, I get errors. Constant stream of; If I attach a real DS18B20 the Master see's it instantly and starts to display the value. The Slave then starts displaying the below but the master never Id's the Slave: cmd : 240 HEX: F0 Is this a hardware issue or is there something else I should try. It would appear the slave can see what's happening, but the Master can't see the slave?? Regards, |
hi @GraemeTownsend, Just as a sidenote: the code is still a bit experimental - hope to reach v1 in the next week |
Hi, Thanks for the reply. Will have access to an oscilloscope Tuesday and will gather some good info for you. I will send it through then. |
Hi @orgua, I've progressed some more. I downloaded the code again and started fresh. Using "debug-master_DS18x20.ino" and "Sensor_DS18B20.ino". One change, in slave I set the LED pin to 9 to suit my board. The two boards are talking, but not quiet right? The slave output is consistently printing out: The Master is consistently printing out: The slave LED is blinking OK, but the temperature for SensorB is not changing. I'm going to start looking into the slave code now. Do you still want me to gather oscilloscope data for you? Regards, |
Problem1: the serial-output of the master during the transmission is messing with the onewire-timing. I work on this problem. Using micros() for the timing is no option anymore, since we found out it takes about 3µs per call. |
Hi, Thanks. I even added some real DS18B20 to the bus and the Master just picked them up no problem. I'm keen now to try the DS2408 and will let you know what I find. |
Hi, I'm working on the DS2408 and have a quick query, I can't seem to send it a wrote command? Only the read command. Each time I send a write command an error is produced. Looking at the DS2408.cpp file I can only see the read command in the switch statement. Am I missing something here? Thanks, |
Yeah, it is not quite finished. The header file gives a hint in line 2. It doesn't look like much but i think the datasheet was a big pain. feel free to try :-) |
Thanks. Yep, line 2 on header is quiet a hint... I missed it. I'll check back at the end of the week. |
my todo-list has a lot of other stuff on it before i will have time for the ds2408. |
Hi, I'm running a duinotech LEONARDO as my Master. Both are set as Arduino LEONARDO's in the compiler. |
Add emulation of 3rd party device BAE910
Can i close this issue? |
Hi, Sure. Thanks. Regards, Graeme Townsend t/a TownTech Services Pty Ltd From: inʒo [mailto:[email protected]] Can i close this issue? — {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/orgua/OneWireHub","title":"orgua/OneWireHub","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/orgua/OneWireHub"}},"updates":{"snippets":[{"icon":"PERSON","message":"@orgua in #1: Can i close this issue? "}],"action":{"name":"View Issue","url":"https://github.com/orgua/OneWireHub/issues/1#issuecomment-258997052"}}} No virus found in this message. |
ok and just wanted to note: ds2408 is usable now. |
Hi,
I've just come across your project and I'm impressed with the work. I'm trying to get it to run with my existing project for a test.
I have a LEONARDO board running as a master One Wire device. Connected are two DS18B20 temperature probes that are detected at start up, and polled for temperature with no issue.
I have compiled the OneWireHub example on a Pro Micro (LEONARDO clone, ATmega32) and linked it in as a Slave device. I cannot detect it and get no reading back, however, the debug output shows that it is receiving commands, (example below.)
Is the Pro Micro compatible? Is there something else I should be doing or another example I should try?
Thanks.
Graeme.
Example Error debug output:
Err: incorrect onewire command
cmd : 0 HEX: 0
Err: incorrect onewire command
cmd : 0 HEX: 0
Err: incorrect onewire command
cmd : 204 HEX: CC
cmd : 85 HEX: 55
cmd : 0 HEX: 0
Err: incorrect onewire command
The text was updated successfully, but these errors were encountered: