ESP32 Bus Pirate Update Adds RF Tools, USB Host Mode, Signal Analysis, and Cellular Plans
ESP32 Bus Pirate Update Adds RF Tools, USB Host Mode, Signal Analysis, and Cellular Plans
J'ai une #idee ! (oui : encore)
J'ai une raspi5 qui fait home cinema
mais je manque de retours de température dans la maison 🤔
Alors j'ai des #DS18B20 #1wire, et la raspi a des #gpio
Bon jusque-là : ok
Mais la raspi chauffe, et des fils + un truc format transistor qui traîne (oui : encore), bein c'est moche, et ça va mesurer le dégagement de la raspi.
Alors je me suis dit :
il faut le surélever, et trouver un design sympa.
Conclusion : une main qui lève le doigt en #3D avec le capteur logé au bout du doigt.
Et en cas de question :
"Mais c'est quoi ce truc !?"
- c'est un thermomètre : c'est pour mesurer la température au doigt mouillé" 🤭 😂
#DIY
Now that I’ve successfully avoided FPGA-hell (thanks Quentin!) I used my copious free time to slide into GPIO-hell. I don’t have a screen or serial console at the moment on the Rock 4 SE, but whatever magic @armbian is trying to do in the fixup script to get 1Wire configured didn’t work here (see also https://github.com/MichaIng/DietPi/issues/7879#issuecomment-3686491513) and turned my GPIO4_D2 into "gpios = <0x8a 0x04 0x00 0xae>;” instead of “gpios = <0x1a 0x1a 0x00>;” that I need. Yay for handwritten DTSs!
After 15+ years of #Domiticz home automation software I figured it’s time to try Home Assistant, not really because I need it, more because I can.
My environment is quite large and complex so it’s going to be a long transition, bare with me
I’m using MQTT, a lot of Node-red logic, IKEA with gateway, a huge 1-wire network, several bash scripts, several Blocky scripts, Rfxcom with a lot of devices. Many scenarios and time events, ambient controls, and much more.
For now I have a Docker running HA and a ESPHome connected to the IKEA Gateway and realized that it can’t see the events from IR sensors and that I probably need a Zigbee gateway. Happy to get a nodeMCU showing the temp values from a DS18B20 Dallas on the GPIO pins but sadly realized that to configure each device it needs to be available as a pre built device. Hmmm and a lot of my devices are not yet integrated, this means I will need a 1-wire master for the HA, because I like to leave the Raspberry 1-wire setup as today. Why? Because I have to put too much work into it at every upgrade and the Rpi stability considering SD-cards are not the best. (Even though my last installation has run 4+ years on the same card)
Well, the slow journey has at least started towards a new environment, let’s see how it progresses
ESP32 Bus Pirate Turns Low-Cost Boards into Multi-Protocol Debugging Tools
Домофон Лидер-М. Как скрестить трубку с ключом и всем проиграть
Приветствую всех! Когда-то я уже рассказывал про цифровые домофоны и про то, как они работают. Но, как оказалось, их система с перемычками была далеко не единственной. В конце девяностых появилась ещё одна схема, использовавшаяся в малораспространённых питерских домофонах. Чем она была примечательна и почему она так и не получила распространения? Сейчас и узнаем.
https://habr.com/ru/companies/timeweb/articles/922724/
#домофон #ключи #1wire #лидер #блок_питания #dallas #timeweb_статьи
My central heating 1wire thermistor sensors stopped working after a long run of working fine for several months. Could be several things but it's finally time to replace the shonkey burglar alarm wire with proper cat5 twisted pair. Connecting all the thermistors along the wire is such a pain though urgh.
Чужой в модуле Wiren Board: вживляем контроллер Lavritech с LoRaWAN
Мы разрабатываем модульные контроллеры Lavritech и считаем, что если объединить два хороших устройства, то можно получить решение еще универсальнее и интереснее. Так и сделали: интегрировали контроллер Lavritech в разные Modbus-модули Wiren Board — релейные, аналоговых и дискретных входов, счетчики электроэнергии — из обычного модуля получили ПЛК. В статье подробно расскажем о том, как разрабатывали решение, какие проблемы преодолевали и что получили в итоге.
https://habr.com/ru/companies/wirenboard/articles/852966/
#wiren_board #lavritech #esp32 #контроллер #modbus #rs485 #плк #lorawan #1wire #разработка
Температурный датчик NST1002 от компании Novosense
Датчик заявлен как высокоточный, +/- 0.1 градуса для 0…+85 град. С, в корпусе DFN-2L. Для всего диапазона температур -40 … +150 градусов точность несколько хуже, до +/- 0.5 градуса. У датчика 15-ти битное АЦП, восемь разрядов на градусы и семь на дробную часть, что дает разрешающую способность 1/128 или 0.0078125 градуса. Время преобразования и считывания данных порядка 32-х миллисекунд. Подключается он по шине 1-Wire и имеет два варианта конструктивного исполнения: DFN-2L (1.6 x 0.8 мм) и TO-92S-2L (4.0 x 3.0 mm). Типовая схема подключения показана на Рис.1 и требует 2 ножки микроконтроллера. GPIO1 используется для управления обменом, GPIO2 для считывания данных. Рекомендуемое значение резистора 4.7 кОм @ 3.3 В.
"Boiling" two temperature sensors.
#electronics #GX1831 #1wire #sensor #calibration
It seems Texas Instruments is working on a temperature sensor to replace the DS18B20 💪
Some interesting features:
- 1-Wire interface
- ±0.3°C (maximum) from –20°C to +85°C
- Fast conversion time: 27 ms (maximum)
- 2.5 V to 5.5V (STD mode)
- Active current: 85 μA (typical)
- TO-92 package
https://www.ti.com/product/TMP1820
🧵
So there are always the same number of pulses per frame, but the time duration of the frame varies based on the contents of the data bits, as 1s take longer to transmit than 0s.
I looked up obvious candidates like #1wire, but that appears to be proprietary, and uses an addressing scheme anyways. It's not plain #UART-style, as it's not using high/low signal levels to indicate the bits. It's not SPI or I2C or a bunch of others.
[...]
Another alternative to the #DS18B20 temperature sensor, the really sexy TMP1826 that TI launched last year.
It uses the same OneWire protocol, has better accuracy, and costs about half of the DS18B20 😋
- Operating voltage: 1.7 V to 5.5 V
- High-accuracy
±0.3°C (maximum) from –20°C to +85°C
±0.5°C (maximum) from –55°C to +150°C
- 16-bit temperature resolution: 7.8125 m°C (1 LSB)
I found an interesting alternative to #DS18B20, the MAX31820.
It seems to be a 3.3V version of the DS18B20, which should work fine with the #ESP32 I'm using.
It is also cheaper and in stock at DigiKey. I'm going to give it a try 👍
https://www.analog.com/en/products/MAX31820.html
https://www.digikey.com/en/products/detail/analog-devices-inc-maxim-integrated/MAX31820MCR/4271348
More #1wire thermistor progress. Turns out I had wired the second thermistor wrong because I read the pin diagram top down instead of bottom up (despite clear instructions), and had shorted 5v to ground. Fixed and now I have outdoor temperature plus boiler water temperature! Going to add monitoring for various other zones later in the week. #homeautomation
Made some progress on the #1wire thermistor setup. The dallas thermistor datasheet clearly show a resistor is needed, though I still don't quite understand why that limits current. But turns out wiring just one thermistor (without a resistor) works! With the help of @andatche we realised the DS2482-100 i2c/1wire chip that my controller uses has its own internal active pullup resistor, so current theory is my raspbery pi power supply is overworked. So that's next. #electronics #homeautomation
UART to 1Wire converter. Useful when no 1Wire port available