|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: THE HORROR! THE HORROR!
Quote:
|
|
#2
|
|||||
|
|||||
|
Re: THE HORROR! THE HORROR!
Black Jags are serial controllable and have current control modes plus built voltage and current feedback. So all you would need for a battery tester is a serial port (or USB-Serial adapter), a serial to Jaguar adapter, a Black Jaguar that most every FRC team has 1 of, and a power resistor you can get at Mouser or your local electronics surplus store. Battery on the input side, power resistor on the output side, tell the Jag to dump X amps into the resistor, then record and plot your feedback. Primary difficulty is making the program to control the Jaguar. Either I'd need to figure out how to generate the FRC heartbeat, or you'd have to flash the Jag with custom firmware.
|
|
#3
|
|||||
|
|||||
|
Re: THE HORROR! THE HORROR!
I remember one work session where a robot decided to "spin out" as soon as it was enabled. It did not respond to any control inputs. The cause turned out to be a disconnected gamepad. Pressing F1 on the Driver Station brought things back to normal.
|
|
#4
|
||||
|
||||
|
Re: THE HORROR! THE HORROR!
Is that documented somewhere, or would you have to put a sniffer on the line to analyze the traffic?
|
|
#5
|
|||||
|
|||||
|
Re: THE HORROR! THE HORROR!
I have no idea. I've put zero effort into the project at the moment. I've run serial sniffers before for various work projects, so I have a reasonable idea how to go about it. I'm hoping it's actually just documented somewhere, though.
|
|
#6
|
|||
|
|||
|
Re: THE HORROR! THE HORROR!
Quote:
You can also find the source code for a slightly older version of both the factory firmware and bdc-comm in TI's RDK-BDC24 package. I have no idea whether VEX plans on making a similar release with the newest code. |
|
#7
|
||||
|
||||
|
Re: THE HORROR! THE HORROR!
Quote:
|
|
#8
|
||||
|
||||
|
Re: THE HORROR! THE HORROR!
Quote:
|
|
#9
|
||||
|
||||
|
Re: THE HORROR! THE HORROR!
Quote:
|
|
#10
|
||||
|
||||
|
Re: THE HORROR! THE HORROR!
In the two regionals I've attended so far, I have only ever seen one robot lose comms. I didn't watch every match, but it's been one of the best years for this sort of thing since 2009 in my experience.
|
|
#11
|
|||||
|
|||||
|
Re: THE HORROR! THE HORROR!
624 was having comms problems at Lone Star, but they definitively tied it to a radio reboot under heavy current draw. Unfortunately, they've swapped out everything, sometimes twice, in their attempts to fix it. I know they were fine in their last quals match, but I don't know if that stayed that way during the elims.
|
|
#12
|
||||
|
||||
|
Re: THE HORROR! THE HORROR!
Quote:
If your local library does not have it, use inter-library loan to get it. Or buy it. The demo code and code examples downloadable here show how to read and write some of the RS232 control pins, and how to read the Pentium's RDTSC 64-bit nanosecond timer. |
|
#13
|
||||
|
||||
|
Re: THE HORROR! THE HORROR!
Quote:
The trickiest part (but hardly difficult though) is to make a small passive circuit with caps and resistors to divide down the signal voltage and block the mic DC power coming out of the laptop mic port. It will work with just about any reasonable signal voltage, given the appropriate voltage divider. The limitation is the 96KHz sampling frequency. The upside is that it will store hours and hours of data (limited only by available disc space). |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|