Support for DS2450 1-wire device
-
- Posts: 47
- Joined: Tue Feb 09, 2021 9:48 am
- Location: Monschau, Germany
- Has thanked: 8 times
- Been thanked: 2 times
Support for DS2450 1-wire device
As there is already support for DS18B20 temperature sensor, is it possible to also support the DS2450 4-channel AD-converter/output? This device is perfectly well suited to control light effects in my electric railroad.
The light at the end of the tunnel has been switched off for energy saving reasons.
- cicciocb
- Site Admin
- Posts: 2158
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 461 times
- Been thanked: 1435 times
- Contact:
-
- Posts: 47
- Joined: Tue Feb 09, 2021 9:48 am
- Location: Monschau, Germany
- Has thanked: 8 times
- Been thanked: 2 times
Re: Support for DS2450 1-wire device
Sorry for the noise.
I believed they are a 1 EUR device, but they are f...ing expensive.
So no other way than finding a different solution.
Is it eventually possible to offer some native 1-wire support? in that case I'd reconsider my old idea of making my own 4- or 5-way output expander using a 12F629 PIC. Basically I want a tiny output device with as little cabling as possible (thus 1-wire).
I believed they are a 1 EUR device, but they are f...ing expensive.
So no other way than finding a different solution.
Is it eventually possible to offer some native 1-wire support? in that case I'd reconsider my old idea of making my own 4- or 5-way output expander using a 12F629 PIC. Basically I want a tiny output device with as little cabling as possible (thus 1-wire).
The light at the end of the tunnel has been switched off for energy saving reasons.
-
- Posts: 47
- Joined: Tue Feb 09, 2021 9:48 am
- Location: Monschau, Germany
- Has thanked: 8 times
- Been thanked: 2 times
Re: Support for DS2450 1-wire device
Some googling convinced me to fall back to good old I2C (PCF8574)
The light at the end of the tunnel has been switched off for energy saving reasons.
Re: Support for DS2450 1-wire device
How would a PCF8574 or PCF8575 substitute for a "4-channel AD-converter"?
Regarding digital expansion, what are you expanding from? If an ESP8266, then the ESP32 S2Mini https://www.aliexpress.us/item/3256805971378303.html provides a considerable expansion for $2.05 while being able to be used with D1Mini PCBs.
Regarding digital expansion, what are you expanding from? If an ESP8266, then the ESP32 S2Mini https://www.aliexpress.us/item/3256805971378303.html provides a considerable expansion for $2.05 while being able to be used with D1Mini PCBs.
- cicciocb
- Site Admin
- Posts: 2158
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 461 times
- Been thanked: 1435 times
- Contact:
Re: Support for DS2450 1-wire device
For the I2C there are a lot of possibilities, for both DAC and ADC.
-
- Posts: 47
- Joined: Tue Feb 09, 2021 9:48 am
- Location: Monschau, Germany
- Has thanked: 8 times
- Been thanked: 2 times
Re: Support for DS2450 1-wire device
Hi cicciocb and lyizb,
thanks for your hints. i don't need an A/D converter at all. I wanted to "misuse" them as digital outputs,
Using 1-wire makes cabling a bit easier.
I now ordered a few PCF8574 boards from China, falling back to I2C.
thanks for your hints. i don't need an A/D converter at all. I wanted to "misuse" them as digital outputs,
Using 1-wire makes cabling a bit easier.
I now ordered a few PCF8574 boards from China, falling back to I2C.
The light at the end of the tunnel has been switched off for energy saving reasons.
- cicciocb
- Site Admin
- Posts: 2158
- Joined: Mon Feb 03, 2020 1:15 pm
- Location: Toulouse
- Has thanked: 461 times
- Been thanked: 1435 times
- Contact:
-
- Posts: 47
- Joined: Tue Feb 09, 2021 9:48 am
- Location: Monschau, Germany
- Has thanked: 8 times
- Been thanked: 2 times
Re: Support for DS2450 1-wire device
I don't really understand.
It uses 1 wire for data transmission, which is fine.
It uses a simple protocol supported by Annex, which is fine, too.
BUT how do I get at the output lines? LEDs and controller are integrated, no way to contact something.
Or do you have a solution that I don't see?
It uses 1 wire for data transmission, which is fine.
It uses a simple protocol supported by Annex, which is fine, too.
BUT how do I get at the output lines? LEDs and controller are integrated, no way to contact something.
Or do you have a solution that I don't see?
The light at the end of the tunnel has been switched off for energy saving reasons.
Re: Support for DS2450 1-wire device
Hello Ulli, you get the ws2811 as a single IC
where you can connect the individual diodes yourself.
Waldemar
where you can connect the individual diodes yourself.
Waldemar