Comments (4)
Hi @gegedvd I'm not able to explain why we are getting different values to work. What I did to determine the value was in this post #102 (comment)
What did you measure in order to find that you had to increase from 51
to 71
? You mentioned that you didn't have 1ms but what value did you have? Maybe this value isn't always the same and my value was at 1 end of the range and now your value is at the other end of the acceptable range. I just ran a few tests adjusting VALUE_IPL
until I was close to 1ms and the code was working but I didn't spend time trying to find the window of acceptable values.
from onewirehub.
PlatformIO Project Configuration File
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:m5stack-atom]
platform = espressif32
board = m5stack-atom
framework = arduino
upload_protocol = esptool
upload_port = COM8
monitor_speed = 115200
lib_deps =
SPI
Wire
adafruit/Adafruit MLX90614 Library
adafruit/Adafruit BMP3XX Library
OneWire
DallasTemperature
orgua/OneWireHub@^3.0.0
from onewirehub.
I checked issue #102 VALUE_IPL and I didn't have 1ms on the debug pin , I adjusted the VALUE_IPL
value from 51
to 71
to get 996µs
and now the OneWireSlave works fine
@GeorgeIoak : can you explain different value of VALUE_IPL
on ESP32 chip @240Mhz
Thanks a Lot
from onewirehub.
Hello , thank you for our reply
I have check with oscilloscope on debug pin with master 1w disconnect during measure
IPL:51 => Debug:1.38ms not run
IPL:55 => Debug:1.27ms not run
IPL:61 => Debug:1.13ms run flirckly
...
IPL:70 => Debug:1.01ms run (diff 10µs)
IPL:71 => Debug:0.996ms run (diff 4µs better)
I run on Stack-M5 Atom-U USB-A STICK
@GeorgeIoak do not hesitate to submit me a test on this platform
from onewirehub.
Related Issues (20)
- ZONT controller HOT 4
- Possible 24B33 support ?
- error:first bit of byte timeout HOT 1
- Issue on ESP32. Missing bit because interrupts executed
- Why DS2506_EEPROM.ino can't emulate more than 574 bytes of data? HOT 1
- Build issues on PlatformIO (for Arduino Uno)
- Stability / timing issue HOT 1
- Non-Volatile Memory / Save Page Data to EPROM
- Would it be possible to adapt this project with ATtiny85 for 1-wire + I2C? HOT 1
- ESPHome , Home Assistant HOT 1
- Need solution for ESPHome HOT 1
- Support for Raspberry RP2040 HOT 3
- Supported and tested Hardware: Attiny84 - Global variables use 574 bytes (112%) of dynamic memory HOT 17
- samd51 m4
- Instability when connected with several real slaves HOT 2
- Support for ATtiny816 / 1-series ATtiny HOT 1
- DS2431 wrong answer (0x55) at Copy Scratchpad Command
- DS2430 is not included in keywords.txt.
- DS2502 write command CRC seems incorrect
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onewirehub.