Guys,
i am sort of thinking of a side project for some led dimmers.
what i am wondering is if i wanted a small channel count, say 24 channels per comm port, what would be the minimum comms speed i could get away with?
would i be able to run 9600 or even 2400 and still get ok fades etc?
just opening this up for ideas atm.
Peter
I have been playing with the Ren code at lower speeds.
Currently I am running 32 channels at 9600.
I have not tried any more channels or any slower speeds as this suits my needs fine.
I can not see any difference between the fades at this slower speed and at 115200.
hhhmmm, maybe my slow wireless modules will have a use yet.
just out of interest tabor, what refresh rate are you using?
Scorp
Just ignoring protocol overheads for a second...
say you wanted a 25ms resolution
so you need 24 bytes (channels) transmitted every 25 ms
so one byte transmitted every .025/24 seconds = 1.042 mS
so you'd need 1/.001042 = 960 bytes a second
9600 baud = 960 characters/second... (8n1) + start bit
so 24 channels is right exactly on the boundary for 9600baud @ 25ms refresh... ignoring the protocol overhead
In reality because you need some sort of overhead to denote the start of packet its probably too marginal at 25ms... but you're in the ballpark!!
you probably need to relax one of the parameters (speed, refresh rate or # channels) to give yourself some room to move... but not much.
Tim
for what im looking at 100ms is probably heaps, but having 50ms or so is allways an option
So 9600 baud is fine for 24 chans @ 50ms refresh- whats the speed of the wireless modules? By these calcs it looks like you're not quite going to get 24 chans @ 100ms at 2400baud (but comfortably at 4800baud).
I am using a refresh rate of 50ms.
I spoke to phil about these speeds a little while back, hoping to get the com speed to a slow enough point that I can use wireless modules at 9600.
Phil commented that at 9600 the max number of channels would be around 60. I do not know how he worked this out and maybe I misunderstood.
But what I can tell you now is that I am currently running 32 channels on a ren64 at 9600 and it "seems" to be fine.
Just on a side note.
Scorpia do you remember the rf modules we were discussing from Hope.
well I finally got around to having a play.
At the moment I have two modules working over a wireless link running at 9600 to my ren64 board.
The modules are very easy to hook up and setup.
I have not tested and distances as of yet as I am waiting on the proper rubber ducky antennas
yes i was thinking of those RF modules as well as the cheaper transceivers from hope. also there are the 433Mhz modules from various sources that do 2400,4800 baud in a transmitter and receiver pair. the idea being 1 transmitter and multiple receivers.
thinking about making some garden lights.
Peter
