B4R Question Dallas Library - newbie    Oct 15, 2021 Hello,
where can i find this library ???
Working library is available here: https://www.b4x.-dallas-1-wire-protocol.66672/ rWireOne
thanks for help
kind regards from gemany B4R Question Dallas 18b20 - derez (first post)    Oct 24, 2024 Try with pin GPIO2
https://www.makerguides.com/esp32-ds18b20-digital-thermometer/ B4R Question InLine C and Dallas-Address - Erel (first post)    Jun 24, 2021 Not so simple and the exact details depend on the way the array is created and who is expected to release it.
There are several libraries and related threads: https://www.b4x./?query=b4r+dallas
If they don't help then post the not working inline C code. B4R Question B4R Compatible Hardware - MarrowZero    Aug 22, 2022 Would be nice to choose something where a plastic project box is available and maybe a small lcd screen later (although we'll write a B4A app to display the data) The m5stack boards look very easy to start with, but I think I read there is some incompatibility with B4R ? The temperature sensors see B4R Library OneWire - Dallas 1-wire protocol - Erel    May 08, 2016   (7 reactions) data(0))
If type_s Then
raw = Bit.ShiftLeft(raw, 3)
If data(7) = 0x10 Then
raw = Bit.And(raw, 0xFFF0) + 12 - data(6)
End If
Else
Dim cfg As Byte = Bit.And(data(4), 0x60)
If cfg = 0 Then
raw = Bit.And(raw, Bit.Not(7))
Else if cfg = 0x20 Then
ra B4R Tutorial Glossary for Arduino Development - KiloBravo (first post)    Apr 06, 2022   (1 reaction) Looks great, nice work! I would make the distinction that I2C is two wires and SPI is usually four wires. Also, add a reference for the Dallas One Wire Protocol. A lot of temperature sensors use that. https://wiki.seeedstudio.com/One-Wire-Temperature-Sensor-DS18B20 <<< IMHO I will add, the part B4R Question Dallas Onewire/DS18B20 probe issue - Cableguy (first post)    Jul 25, 2018   (1 reaction) the resistor is needed to cut back the 2 wires (one wire hug?) capacitance and thus create a network termination.
many sensor have this resistor internally. one thing you do not mention is at what distance is the sensor from the controller, and what type or cable did you use to connect the sensor.
O B4R Code Snippet Temperature sensors comparison - DS18B20 vs DHT11 - Peter Simpson    Apr 01, 2017   (7 reactions) // Pass oneWire reference to Dallas Temperature. DallasTemperature sensors(&oneWire); void setup (B4R::Object* unused) { // Start up the library. sensors.begin(); //B4R USERS, YOU CAN TAKE THIS LINE OUT AS IT STILL WORKS WITHOUT IT } void loop (B4R::Object* unused) { // Request temperat B4R Tutorial Erels B4R Oveview from Walt's B4xGoodies - created with B4xgoodies Explorer using BVAD3 - Mashiane    Apr 27, 2021   (5 reactions) - B4r Led - Rledcontrol Library - B4r Led - Rmax7219ledmatrix Library - B4r Led - Tm1637 - 4 Digits Display Library - B4r Motor - Radafruitmotorshield (v2) Library - B4r Motor - Stepper Motors Library - B4r Sensor - Bmp180 - Pressure And Temperature Library - B4r Sensor - Dht11 & Dht22 Library - B4r B4R Question initialization inside Inline-C from B4R - peacemaker    Sep 09, 2023 But how to pass "pinNumber" to Inline-C correctly ?
RunNative("setup_ds18b20", Null)
Timer1.Initialize("Timer1_Tick", 2000)
Timer1.Enabled = True
End Sub
Sub Stop
Timer1.Enabled = False
Log("ds18b20 stopped")
End Sub
Private Sub Timer1_Tick
RunNative("read_ds18b20",Null)
Page: 1   2   3   4   5   6   7   Powered by ColBERT |