Hello guys
I ask for your opinion.
I have to realize number 300 receivers each with a led powered by battery (eg CR2032-CR2450 or 27A 12V)
each receiver must have its own assignment code so that the single LED associated with it can be switched on with the transmitter.
To be clearer imagine a beehive where in every single alveolus there is a LED, each LED must be able to ignite individually.
The transmitter will obviously be driven by a PC via ehthernet.
All this must be without a cable so I have to use the Wireless transmission between the transmitter and the n.300 receivers.
What do you ask of electronics genius ...according to you which micro would you use and which type of transmission (Wi-FI, RF, bluetooth, etc.).What is very important are the consumption and the type of power supply, we know that there are some picmicro that can work in Extreme Low Power.
Distance between Emitter and receiver 10/15 meters.
Thanks to all those who will indicate a valid idea.
Ferla
Control many wireless receivers
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Control many wireless receivers
Hi Ferla,
For something like this it might be worth using Zigbee, it's a low power mesh network so each receiver can also forward packets onto other receivers that may be further away from the main network coordinator. There is also a SendToAll addressing mode if you need to broadcast a message to all nodes.
The main downside to Zigbee is the data throughput is fairly low. The upsides are that it is designed to be battery powered and you can easily add encryption if you need high security.
Flowcode supports the XBEE range of Zigbee modules in AT command mode.
This course document should be useful, starting from page 69.
http://www.matrixtsl.com/resources/getr ... hp?id=1000
For something like this it might be worth using Zigbee, it's a low power mesh network so each receiver can also forward packets onto other receivers that may be further away from the main network coordinator. There is also a SendToAll addressing mode if you need to broadcast a message to all nodes.
The main downside to Zigbee is the data throughput is fairly low. The upsides are that it is designed to be battery powered and you can easily add encryption if you need high security.
Flowcode supports the XBEE range of Zigbee modules in AT command mode.
This course document should be useful, starting from page 69.
http://www.matrixtsl.com/resources/getr ... hp?id=1000
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Flowcode v5 User
- Posts: 126
- Joined: Sun Jan 06, 2013 8:58 pm
- Location: Italy
- Been thanked: 19 times
- Contact:
Re: Control many wireless receivers
WOW ..... Benj spectacular..
I did not know the sleep mode on the Zigbee, if I would like to replace the pic16f1937 with someone else who consumes less what would you recommend?
I did not know the sleep mode on the Zigbee, if I would like to replace the pic16f1937 with someone else who consumes less what would you recommend?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Control many wireless receivers
One of the PIC16F153xx devices might be useful. Generally the newer the chip the better optimised for power usage. Also the number of ports and number of peripherals onboard will likely have an effect so if you can get away with it it might be worth using something like the 16F15313. It's worth checking the datasheet as I haven't checked this is any lower than the 16F1937. The speed you run the device will also have an effect on the power usage. If you're sleeping the Zigbee module then you can always sleep the PIC too. Though you would have to wake both up often enough so that packets are not missed, or re-broadcast packets until they are received by all nodes.I would like to replace the pic16f1937 with someone else who consumes less what would you recommend?
Edit: Thought it was worth a look
16F1937 @ 3V @ 32MHz INTOSC = 5.3mA Typical
16F15313 @ 3V @ 32MHz INTOSC = 2.4mA Typical
Sleep current usage looks similar between devices.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Flowcode v5 User
- Posts: 126
- Joined: Sun Jan 06, 2013 8:58 pm
- Location: Italy
- Been thanked: 19 times
- Contact:
Re: Control many wireless receivers
OK Thanks...
since you are very present, I can open it by asking you a question I asked you for another post.
very simple project led flashing in loop, when I initialize EB023 using ECIO40P16 this stops working. Why?
since you are very present, I can open it by asking you a question I asked you for another post.
very simple project led flashing in loop, when I initialize EB023 using ECIO40P16 this stops working. Why?
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Control many wireless receivers
I'm guessing the initialise routine has a blocking call in it that waits for a reply from the module. Without looking at the component code I can't be too sure.very simple project led flashing in loop, when I initialize EB023 using ECIO40P16 this stops working. Why?
Which version of the EB023 component are you using and is it the TCP/IP component or the Webserver component. Also which version of Flowcode
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Flowcode v5 User
- Posts: 126
- Joined: Sun Jan 06, 2013 8:58 pm
- Location: Italy
- Been thanked: 19 times
- Contact:
Re: Control many wireless receivers
Hi Benj
Use FC 7.3.0 with module EB023-00-3.
The simple project is attached.
Thanks Ferla
Use FC 7.3.0 with module EB023-00-3.
The simple project is attached.
Thanks Ferla
- Attachments
-
- 40P16_EB023_00_3_UDP.fcfx
- (12.98 KiB) Downloaded 274 times
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Control many wireless receivers
Hi Ferla,
The TxEnd macro has a while loop to wait for the transmission to end.
The TxEnd macro has a while loop to wait for the transmission to end.
Do you have the EB023 module wired up to the target micro?while (FCL_TEMP)
{
FCL_TEMP = FCD_01351_TCP_IP_EB023_00_2__MAC_ReadByte(FCL_CR);
}
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel