What about that button on the side of the D-link? (I believe it has circling arrows) Is it getting pressed when the robot hits a bump in the carpet? Could that be resetting the D-link in some way?
Last year we had a similar problem with communications. We lost it every time we went over a bump! It is still a mystery for the most part, but I am sure that it was the terminals to the battery. The few times we didn’t lose communications were matches where we cleanly redid the leads to the battery beforehand. I’m sure the battery box was also to blame. It was solid and kept a strong hold on the battery, but the whole thing swung around as the robot moved, which probably loosened the leads.
Last year we velcroed our black bridge on, kept the battery in place with surgical tubing, screwed in a bolt for the battery connector end attached to the Power Distribution Board. I don’t think we had any problems last year during a match related to communication.
Danny,
There are two things that concern me. The first is that the DAP works on 12 volts when you bypass the convertor. This should not happen, it should blow up the DAP at 12 volts. The second is that you are measuring 12 volts into the convertor but only getting 7.3 volts out.
I have to ask (even though I know the answer) is the convertor wired exactly according to the drawing. The +12 volt radio connector on the PD wired to the convertor input leads and the DAP connected to the output leads?
That’s what I thought, too, and nearly had a heart attack when I was reviewing the schematic and saw the need for the converter. Eric VanWyk looked over the components inside the DAP, and he says all of the power components should be capable of handling 12v but the manufacturer of course will not sign off on that (for good reason). After plugging in the DAP into 12v, I was concerned I may have fried something, but when we plug the DAP into the wall using the supplied transformer/cable it works flawlessly (at least as flawlessly as we can tell). I think we’re going to get a new DAP and have it stand-by just in case something turns up, but we cannot find anything wrong with the one we have.
That’s a fair question, but I wonder why you said, “only getting 7.3 volts out” - when I saw 7.3v when we first started playing with it I thought that was pretty suspect since I figured we should be seeing something around 5v since the converter is a 12v/5v converter. We absolutely have the converter’s 12v input line connected correctly to the PDB’s 12v output just to the left of the 24v line for the cRIO (and we’re correctly measuring 12.3 volts from that line), and then the supposed 5v output (from which we’re measuring 7.3 volts) from the converter is wired correctly to a connector that plugs into the DAP’s power plug (EDIT: Yes, and we have a fully-charged battery).
It’s just that when we try to power the DAP through the converter, nothing happens - no lights, no nothing, and while plugged in the multimeter says 2mA when I cut one of the wires and put the multimeter in series between the cut. But, when we unplug from the converter and use the supplied walwart (plugged into the wall, of course) everything works great on the DAP.
-Danny
Just curious, are you able to measure the current draw and the voltage at the same time? it seems odd that you’d be pulling so little current at 7.3V. Like I said before, I’d expect the voltage to dive if the converter was damaged, other than that I would agree it sounds like a faulty converter.
Worst case, you could design an elaborate mechanism to trail an extension cord to your robot 
While one multimeter was reading the 2mA with the plug trying to power the DAP, we used another multimeter to verify the voltage going INTO the converter, and saw we were still getting 12v INTO the converter - I remember saying out loud, “now we need to measure the voltage coming OUT of the converter,” but because the “other” solder joint was still heat-shrinked for the output side I think it was quickly forgotten. Thanks for the reminder, I’ll do that today.
-Danny
If the voltage is low as I suspect you may have a bad converter, or when you attached your ends and did the heatshrink you got a short, and the converter is shutting down to prevent damage. (Do we know if it has this feature?)
If it doesn’t have such a feature it might be that you have a bad converter because of a short damaging it. I’d definitely double-check all your connections in this case and make sure there are no shorts and see if that resolves your problem.
If you measure a high voltage (like 7.3V or so) at that current… I’m flabbergasted?
I wouldn’t personally be too concerned about the 7.3V, some SMPS and even linear regulators float high without load, just because it didn’t occur when I checked it doesn’t mean it won’t.
Do report back please, I’m curious how this works out,
Matt
Tis a puzzlement.
I would have guessed that the failure mode on this device would a zero volts or 12 volts. Since it is not zero, 7.3 seemed to be low. I have not found any real data on this device on the manufacturer’s website so there is no way to point at a particular type of convertor. So I am going to say it is defective but this is what I think might be the failure. If it is a switching type of regulator, the frequency might be so far from design that the output is not able to generate any current. Have you looked at the output with a scope? I am guessing there is a fair amount of AC voltage on the output and your meter is measuring that and interpreting it as 7.3 volts DC.
Of the teams that have reported that they hooked up their DAP to 12 volts and killed it, some may have reversed the voltage prior to the connection. Maybe you are just super lucky. With that kind of luck, I hope we don’t play against you this year.
Hmm, interesting theory, I hadn’t thought of that. I’m quite curious now, I wonder if they have a scope.
Matt
I started this two days ago. Yesterday, we had a short round of testing where the original DLink (DLink-1) was used and though the power cord was tethered such that the barrel plug would not move - we still had our issue of it resetting. We also did a good job of using a glue gun on the barrel plug (power cord) and still the issue persisted.
Tonight, we tested this again but instead of the original DLink-1, we used a 2nd one (DLink-2). Worked just fine till the our battery casing and battery fell off! We have a piece of carpet rolled out in the hall and we placed chunks of 2x4 underneath the carpet. The robot hopped around all over the place. The ‘reset issue’ didn’t occur. Once we fixed the battery, we proceeded to test.
DLink-2 seemed to work fine. Though, we might have had some lag issues.
Replaced the DLink-2 with the DLink-1 and though the reset issues didn’t occur again, the robot exhibited some lag where the driver tried driving but the robot would not respond for a up to five seconds at a time. Not sure if we have a different problem or the same one.
Tomorrow, we plan to do the same bumpy-carpet testing with both DLinks mentioned as well as a 3rd one (DLink-3). Hope to report back some findings.
Suggestions for any type of specific tests to run? I figure we had the symptoms with lumpy carpet. I’m not sure what to do about the ‘lag issues’ since we don’t have a camera mounted and I’m not sure if it’s interference with the battery and electronics. I saw another thread that suggested placing the DLink about two feet above the electronics.
If I haven’t said this yet (and I don’t think I have), sorry Ted, I didn’t mean to hijack your thread. 
We did the test today, and with the DAP power plugged in we again read 2mA being sourced, but when we’re sourcing current from the 5v output the voltage on the converter drops from 7.3V to 4.0V. We’re satisfied with calling it “blown”, and we’ve ordered a replacement (2 actually). What’s really cool is that the 5v output on the PDB works wonderfully to power the DAP, and its maximum current draw is only .5A higher than the camera - we’re not even using the camera this year (programmers decided they had enough to chew on given the control challenge they were given for the rest of the bot), so we’ll just keep using that until the new converter comes in (too bad that’s not competition legal).
The only thing that interests us is that before we realized the converter was required for powering the DAP, we were using the converter as a benchtop 5v power supply for testing 5v sensors using competition batteries as power sources, and the tests all seemed successful (and the sensors draw about 60mA) - the tests are no longer successful, we cannot power squat. Perhaps the 12v input got its polarity swapped incorrectly once or twice, causing the converter to blow? That would be a crappy converter for sure without polarity protection. Anyone know if the device has polarity protection, I couldn’t find any real specs on it to determine this. I do know that in its current configuration if you reverse its input polarity the 5v output drops from 7.3V to 0.2V until you swap the polarity back again (we just HAD to test it).
-Danny
The DAP seems to have a switching voltage regulator inside it immediately following the power input, so I’m not surprised it worked.
~David
Ted,
It is best to mount the DAP-1522 away from motors and large metallic objects but two feet from electronics is kind of extreme. There should be very little lag in controls with this device. Are you getting any indications of loss of signal, dropped communication, etc.? Does the robot run correctly if you tether through the DAP? (That is an extra added feature this year. You do not have to disconnect the wireless to tether.)
Oh goody, we’re back in the land of sensible result! 
You had me really wondering for a while, sorry your converter is toast, but it sounds like everything’s gonna work out for you. Maybe when testing sensors your converter got shorted by accident? Since it’s a vital part of the robot and we’re down to under a week, I’m sure not going to try shorting ours out now to see what happens!
As for indicators of lose of signal - we did have that two days ago when I first created this thread - where the various LEDs would go dark as if in a reboot sequence and about a minute later, the Driver Station on the laptop would report that communications were back up. During this time, the cRIO had power and looked fine. The second DLink is more of a momentary lapse. During the time where students are reporting they are pushing controls and the robot is not moving - I viewed the DLink LED’s and they were flashing away. The LAN LED that the cRIO was plugged into was flickering the most. To me, that indicates communications are there - just that the robot is not responding.
Not sure what you mean by ‘tether’. Using the “How to configure your radio” doc from FIRST, we have set up our DLink to be in AP mode. Therefore, wifi comms wise, we have just the DLink in AP mode (10.11.11.1) and the cRIO (10.11.11.2) communicating with the laptop (10.11.11.9). There is no separate WAP (wireless access point) or Router such as we have had in the past two years.
The two feet comment came from this thread (see ‘billbo911’):
Honestly, it’s currently attached to the same board as the ‘big battery’, the PDB (Pwr Dist Brd) and the various Jaguars. So, not sure how to rule out ‘noise’ and interference of the wifi signal except to go up and away from the rest of the electronics. 6 inches, 1 foot, 2 feet - I’m game to try them. I figure at two feet, I’ve completely reduced that ‘wonderment’ as to why we see a lag every once in a while.
Thoughts?
Ted,
A minute of lost communications is what you will get when the DAP reboots. It takes around 55 sec. Just to be sure, you are using the power convertor connected to the +12 volt radio output of the PD. This is a protected and regulated power supply that is independent of the battery voltage swings.
Tether is a method of controlling the robot without the radio using a cable between the driver’s station and the robot.
Right! Tethered. No tethering here - in all these interactions, we are not tethered. All intereactions are over wifi. We are using the converters. Others on this thread have mentioned power issues with their converters but we are not seeing thier symptoms.
Not to possibly make this seem like more problems, but are your sure that the problem is still with the router?
Momentary lapses sound like it could be Jaguar faults, did you happen to see what the lights on your Jags were doing when these lapses occurred?
Matt
We had a problem with momentary lapse of not being able to drive. I was able to actually hear the click of the auto reset fuses when I was troubleshooting. Found out my students were powering the cims from the 20A auto reset breakers instead of the 40A ones. We reconnected to the 40A circuits and haven’t had a problem since.