NEW - PropControlle...
 
Notifications
Clear all

NEW - PropController Project

259 Posts
22 Users
0 Reactions
136.9 K Views
Posts: 844
(@ags0000)
Noble Member
Joined: 16 years ago

So I have my "virtual PropController" now happily blinking away, connected to my LAN. Someone owes me about 30 hours of life back...

After going through every line of code (the good news is that I now understand exactly how it works) and trying all the oh-so-smart things my brain could concoct, in a last-ditch effort I just connected the controller directly to my router instead of through an old switch I have. Now it works fine. And it works, not just communicating on my LAN based on brute-force static IP assignment, but also with the very convenient DHCP address assignment.

Has anyone had bad experiences with the Linksys EZXS55W 5-Port Workgroup Switch? The worst part of it is that the switch functioned perfectly, connecting my development machine to the LAN, and other devices, while at the same time not connecting the "virtual PropController" - not even a link light. It wasn't a single bad port (I tried them all) and it wasn't a bad patch cable (I tried them all). It's just something about the WizNet ethernet module that the Linksys switch doesn't like.

Well, at least I can get on with more fun stuff now.

Al


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

Not all switches/devices perform auto-negotiation well to determine speed/duplex parms - you may have to hard-code the switch to certain parameters to get them to start talking.


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

Nice job, glad its working now.

Point of order, we may need to start breaking discussions about the PropController into new threads just to keep things orderly. For example if there ends up being more discussion on the "virtual propcontroller" I can break that out so people can keep discussing. I like the discussion but want to be sensitive to people who come to this thread fresh. Make sense?

BTW I'm going to try some WIFI testing tonight if I get time.


Reply
Posts: 844
(@ags0000)
Noble Member
Joined: 16 years ago
DynamoBen wrote:Point of order, we may need to start breaking discussions about the PropController into new threads just to keep things orderly. For example if there ends up being more discussion on the "virtual propcontroller" I can break that out so people can keep discussing. I like the discussion but want to be sensitive to people who come to this thread fresh. Make sense?

Yes, I've been wondering about that too. I think maybe the best thing would be for me to "share" a bit less. My efforts spent duplicating almost exactly what you've already done won't appeal to most anyone else - but I've been using this thread to access the smart folks that have made the real PropController work. It's my bad I guess.

BTW I'm going to try some WIFI testing tonight if I get time.

I was thinking the same thing. It *should* work - but so should my crappy Linsys switch....

BTW (this is about the real PropController) how did you go about controlling the intensity of the GE lights with your board & DMX? Does each channel (R/G/B) include the high-nibble of the intensity setting, or do you consume a 4th DMX channel per node for intensity, or some other scheme? Just curious.

Al


Reply
Posts: 2629
Topic starter
(@dynamoben)
Famed Member
Joined: 19 years ago
ags0000 wrote:Yes, I've been wondering about that too. I think maybe the best thing would be for me to "share" a bit less. My efforts spent duplicating almost exactly what you've already done won't appeal to most anyone else - but I've been using this thread to access the smart folks that have made the real PropController work. It's my bad I guess.

Any discussion is good discussion. Sharing is great just trying to make sure your discussion, gets a fair shake. 🙂 Besides I like clones, if I didn't I wouldn't have open sourced this stuff.

BTW (this is about the real PropController) how did you go about controlling the intensity of the GE lights with your board & DMX? Does each channel (R/G/B) include the high-nibble of the intensity setting, or do you consume a 4th DMX channel per node for intensity, or some other scheme? Just curious.

I haven't integrated the GE driver yet, so I'm open to suggestions.


Reply
Posts: 597
(@entropy)
Honorable Member
Joined: 19 years ago
budude wrote:Not all switches/devices perform auto-negotiation well to determine speed/duplex parms - you may have to hard-code the switch to certain parameters to get them to start talking.

Also, not all switches do auto-crossover.

We have a ton of those EZXS55Ws at work w/o problems, although if I recall correctly, they're older ones that don't do autocrossover. Maybe the PHY on the Wiznet doesn't either?


Reply
Posts: 844
(@ags0000)
Noble Member
Joined: 16 years ago
Entropy wrote:Also, not all switches do auto-crossover.

We have a ton of those EZXS55Ws at work w/o problems, although if I recall correctly, they're older ones that don't do autocrossover. Maybe the PHY on the Wiznet doesn't either?

Yes, I think you are correct. It's the type with "two 5th ports"; one MDI, the other MDIX. It's up to the user to pick the correct one. I believe the other 4 ports are MDI. It is too stupid to select correctly on its own on any port. I do realize that most "modern" interfaces now automatically chose MDI/X on their own (including my development machine's NIC), so just to be sure, I tried - again. I tried first using a crossover cable, and then a straight cable between my WizNet and the naughty switch. I had my development machine also connected to that same switch, to be sure I was using the correct uplink port to my router (if the dev machine works, at least the uplink cable to my router must be correct - even if my router is auto-selecting MDI/X on its port). Still, no link with the WizNet. This switch is going in the trash. Actually, it has aggravated me so, I think I'll first smash it to pieces, brutalize it, then set it on fire...

budude wrote:Not all switches/devices perform auto-negotiation well to determine speed/duplex parms - you may have to hard-code the switch to certain parameters to get them to start talking.

The switch doesn't have a MAC address, an IP address, or a USB port. It is not addressable. There are no switches on it - not even a reset - just 5 ports. I don't think there is any configuration possible.

While I'm still curious as to exactly what the problem is, I'm so frustrated with this thing that I'm just going to move on with my life... or at least try.

DynamoBen wrote:Any discussion is good discussion...

I think you're giving me the benefit of the doubt here (which I appreciate). Otherwise, let me introduce you to some people that I've had the distinct misfortune of having to sit near while they attempted some primitive form of vocalization to form a cohesive sentence representing what was masquerading for an idea... :rolleyes:


Reply
Posts: 844
(@ags0000)
Noble Member
Joined: 16 years ago
DynamoBen wrote:BTW I'm going to try some WIFI testing tonight if I get time.

While I was out getting a new switch last night, I also picked up a NETGEAR WNCE2001 Universal Wireless Internet Adapter (Gaming Adapter). With all the $50. It may be available cheaper online or at other retailers. However, the good news is that I just plugged it into the WizNet module and confirmed that it does work, as suspected/hoped!

I'm not able to comment on the bitrate/latency/stability/reliability at this time. It may or may not be a good choice for driving the PropController, depending on environmental conditions and bitrate requirements. Still, it appears to be a possibility to consider.

Al


Reply
Posts: 2629
Topic starter
(@dynamoben)
Famed Member
Joined: 19 years ago
ags0000 wrote:While I was out getting a new switch last night, I also picked up a NETGEAR WNCE2001 Universal Wireless Internet Adapter (Gaming Adapter). With all the $50. It may be available cheaper online or at other retailers. However, the good news is that I just plugged it into the WizNet module and confirmed that it does work, as suspected/hoped!

I'm not able to comment on the bitrate/latency/stability/reliability at this time. It may or may not be a good choice for driving the PropController, depending on environmental conditions and bitrate requirements. Still, it appears to be a possibility to consider.

Al

Good to hear since the one I had was fairly old and refused to connect to my WiFi network.


Reply
Posts: 1249
(@jstjohnz)
Noble Member
Joined: 17 years ago
DynamoBen wrote:Any discussion is good discussion. Sharing is great just trying to make sure your discussion, gets a fair shake. 🙂 Besides I like clones, if I didn't I wouldn't have open sourced this stuff.

I haven't integrated the GE driver yet, so I'm open to suggestions.

I haven't come up with a good way to do the GE pixels. On my first go-round I tried to use the 8-bit master intensity field to allow smaller brightness steps, but there apparently is a glitch in those GE chips that can cause random flashes when the master intensity is changed by more than 1 bit at a time. So I just went back to leaving master intensity high all the time, and using the MS 4 bits of the dms data for the 4-bit intensity field of each color. Works, but doesn't allow smooth fading because of only 16 brightness levels.

In general, I like the construction of the GE strings, but those pixels would not be my first choice for DMX control.


Reply
Page 14 / 26
Share: