NEW - PropControlle...
 
Notifications
Clear all

NEW - PropController Project

259 Posts
22 Users
0 Reactions
136.9 K Views
Posts: 2629
Topic starter
(@dynamoben)
Famed Member
Joined: 19 years ago
ags0000 wrote:That's better. I was trying to figure out what the bitrate would be. Did you end up with the 680 byte data packet size by taking 512 channels @1 byte each + UDP frame overhead (source/destination addr/port & misc?

That's the entire ACN packet with overhead that is going down the wire.

Are you using TCP or UDP, and if UDP have you had an opportunity to see how close you'll be to dropping packets under worst-case (= fastest case) transmission scenarios?

I'm using UDP, while there may be a bit of data loss it doesn't really matter since I'm receiving a packet 40 times per second. When data is occurring at this frequency UDP is the best fit.


Reply
Posts: 2629
Topic starter
(@dynamoben)
Famed Member
Joined: 19 years ago
griffixdc wrote:so if someone was to stream say netflix ...if it is to interfere with the light show they have to be using your internet connect right? ....aren't you able to block certain users from using your internet without locking the router/modem?

Nope not correct, WIFI is based on RF frequencies if your neighbor decides to use the same one it will clobber you signal and data. (+1 for wired ethernet)


Reply
griffixdc
Posts: 2508
(@griffixdc)
Famed Member
Joined: 16 years ago
DynamoBen wrote:Nope not correct, WIFI is based on RF frequencies if your neighbor decides to use the same one it will clobber you signal and data. (+1 for wired ethernet)

lol good thing i can kick my neighbor's butt 🙂 just tell them to kiss my 2.4 ghz frequency and tell them they want a higher and better one 🙂


Reply
budude
Posts: 10393
(@budude)
Illustrious Member
Joined: 18 years ago

It may not be as bad as that really - as long as the co-channel interference is low your devices will work just fine. Since the access points will be more than 50' apart (if not a lot more) then you probably won't even notice. If you have a decent AP it will switch channels for you anyway if it detects too much noise/interference.


Reply
griffixdc
Posts: 2508
(@griffixdc)
Famed Member
Joined: 16 years ago
budude wrote:It may not be as bad as that really - as long as the co-channel interference is low your devices will work just fine. Since the access points will be more than 50' apart (if not a lot more) then you probably won't even notice. If you have a decent AP it will switch channels for you anyway if it detects too much noise/interference.

real good to know....my transmission to my first board would be about 50'


Reply
Posts: 2629
Topic starter
(@dynamoben)
Famed Member
Joined: 19 years ago

The rule of thumb typically is if you can run a wire do it. If you can't then go WIFI but remember that bad things can happen when you are over the air.


Reply
Posts: 597
(@entropy)
Honorable Member
Joined: 19 years ago
ags0000 wrote:That's better. I was trying to figure out what the bitrate would be. Did you end up with the 680 byte data packet size by taking 512 channels @1 byte each + UDP frame overhead (source/destination addr/port & misc?

I just put togther a simple UDP communcation tool to test the WizNet module I picked up this morning, and it occurs to me that even at the relatively slow GE strand bit rate, if I want to drive 32 in parallel I'll need to push some bits, and I may need to got to TCP to avoid data loss - the alternative being throttling the data rate from the driving application (like Vixen or something like it). Are you using TCP or UDP, and if UDP have you had an opportunity to see how close you'll be to dropping packets under worst-case (= fastest case) transmission scenarios?

Al

TCP is unsuitable to realtime applications such as lighting. The retransmission timer is such that if you hit a course timeout, your data backs up by (typically) 1 or 1.5 seconds. (Maybe less with modern TCP implementations, I'm very used to the 500 ms tick timer within VxWorks' TCP stack.)

In the case of lighting - if one packet gets dropped, the next one will overwrite the data anyway. It is FAR better to have a brief gap in the data (missed update) than to have data "back up" (show is desynced from music).


Reply
Posts: 844
(@ags0000)
Noble Member
Joined: 16 years ago

DynamoBen:

I've been pouring over the schematics & code you've posted on Google for this project. Fairly straightforward - but I do have a question:

The board implementation has Prop I/O Pin 25 driving the WizModule RESET line. I see there are methods in the driver to support both hardware and software resets. I've searched all the code and don't find any instances where either hard or soft reset are called. I do see that when the cog that talks to the WizModule is initialized, it forces a hard reset before doing anything else.

Q: have you played with this to see if it might be eliminated (or conversely, to determine that it is a necessity)? I was wondering if it couldn't effectively be tied to the Prop reset line directly. I'm a miser with the Prop IO pins, and on top of that 24 is such a much nicer number than 23 (IO pins available). It might not ever matter for me, and your design isn't impacted by this at all - clearly it works, and works well. I was just wondering if this is something that you determined through knowledge/understanding/trial-and-error or is left on the TODO list.

Did I mention that this is really nice work? Already your design is getting a lot of attention, and the fact that it is so configurable and handles so many setups will likely make it a new standard for DIY. I'm not even attempting that with what I'm playing with. If there's something I learn that is useful to the general community, I'd be pleased to share, though.

Thanks,

Al


Reply
Posts: 2629
Topic starter
(@dynamoben)
Famed Member
Joined: 19 years ago
ags0000 wrote:
The board implementation has Prop I/O Pin 25 driving the WizModule RESET line. I see there are methods in the driver to support both hardware and software resets. I've searched all the code and don't find any instances where either hard or soft reset are called. I do see that when the cog that talks to the WizModule is initialized, it forces a hard reset before doing anything else.

Q: have you played with this to see if it might be eliminated (or conversely, to determine that it is a necessity)? I was wondering if it couldn't effectively be tied to the Prop reset line directly. I'm a mizer with the Prop IO pins, and on top of that 24 is such a much nicer number than 23 (IO pins available). It might not ever matter for me, and your design isn't impacted by this at all - clearly it works, and works well. I was just wondering if this is something that you determined through knowledge/understanding/trial-and-error or is left on the TODO list.

If memory serves you need the reset line to properly initialize the module. Electrically I don't see a problem with doing it the way you are describing, for me I wasn't willing to chance it. If I have an issue in the future the pin is there and I can toggle it if need be with just a code change.

Did I mention that this is really nice work? Already your design is getting a lot of attention, and the fact that it is so configurable and handles so many setups will likely make it a new standard for DIY. I'm not even attempting that with what I'm playing with. If there's something I learn that is useful to the general community, I'd be pleased to share, thougtht.

I appreciate that, I really wanted to give back to this community and give beginners (or advanced folks) the opportunity to learn how write code and create a project that meets there needs. The evil side effect to configurablity is its not just plug and play.

In the end I'm having fun with it and hopefully others will too.


Reply
Posts: 844
(@ags0000)
Noble Member
Joined: 16 years ago
DynamoBen wrote:The evil side effect to configurablity is its not just plug and play.

Yup, I mentioned my background with this in a PM to you earlier. That's why the world needs, and will always have (at least) two vendors (despite the highly-polarized factions that exclaim otherwise): the Apples that control the entire experience (making all decisions for you and giving you seamless integration and an overall wonderful experience); and the Google/Androids (that provide a powerful substrate and Swiss Army knife that you can use to do whatever you can imagine - but the sharp edges are dangerous!)

In the end I'm having fun with it and hopefully others will too.

Speaking for myself, I assure you I am having a BLAST!


Reply
Page 13 / 26
Share: