B4R Question How can I use 100 YL-69

Mark Read

Well-Known Member
Licensed User
Longtime User
The simple answer is yes. You do not even need any special libraries. Have a look at the arduino code here and port it to B4R.

Regards
Mark
 
Upvote 0

vali khandangoll

Active Member
The simple answer is yes. You do not even need any special libraries. Have a look at the arduino code here and port it to B4R.

Regards
Mark
Thanks dear friend
I have no problem using this sensor and I have used it many times.
My current problem is that I have to manage 100 of these sensors.
How do I make connections?
How do I get the information?
How do I know which sensor the received information belongs to?
 
Upvote 0

janderkan

Well-Known Member
Licensed User
Longtime User
The simple answer is NO.
You need 100 input pins digital or 100 input pins analog.

OR you need a bus system or a wireless system to transmit the data.
Bus system, where all sensors are conected by wire should be Can-Bus

With wireless you must decide depending on how big area you should cover.
Each sensor connects to an Esp8266 or Uno and then
1. Use WiFi (Short reach)
2. Connect a transmitter. (Longer reach) https://www.b4x.com/android/forum/threads/rf24-nrf24l01-radio-modules.66972/
3. Connect a Lora transmitter. (Longest reach) https://www.b4x.com/android/forum/threads/rradiohead-rf95-dragino-lora-shield.86819/#content
 
Last edited:
Upvote 0

hatzisn

Well-Known Member
Licensed User
Longtime User
For more GPIO Pins @inakigarm (I think) had suggested to me to use MCP23017 with I2C interface or MCP23S17 with SPI communication interface.
 
Upvote 0

thetahsk

Active Member
Licensed User
Longtime User
hi all of you
I must use 100 YL-69 module in a garden.

Can i connect 100 YL-69 to one Arduino UNO ?

1. you need A/D Multiplexing, e.g with CD74HC4067. Here are 5pcs for a few bugs.

2. Create clusters of sensors with your favourite microcontroller.
A cluster consists of e.g. 10 sensors then you need 10 microcontrollers.
Each cluster has its own microcontroller that fetches the sensor values or processes them directly.
Whether wireless or wired depends on the local conditions.
 
Upvote 0
Top