I'm am mixing some PWM signals and storing them as global variables (about 50 variables) to be used in different modules. I can store them as integers, but...
I know in the basic stamp I could output a number out to 8 outputs and these outputs are connected to LEDs and it would give it out in binary. Can I do this...
I2c is addressed. Or every device is addressed to talk to it and it is one direction at a time http://www.embedded.com/story/OEG20010718S0073 SPI Your need...
Yes. Read up on registers. Port A is pins 13 - 20. Port C is pins 5 - 12 For example register.ddrA = bx0111_0000 will set pin 13 low, and pins 14-16 high. ...
Yes, sure I have used such idea with my students. Just use Putpin (pin number, BXoutputhigh) Make sure you connect a 400ohm resitor in series with the LED ...
I have found some old messages that reference an OEM downloader application that works with the BX-24. Is this still available, and if so, where would one go...
... An obsoleted OEM downloader application was removed two years ago when its functions became available in command-line options of BasicX.exe v2.1, I think. ...
... from integers to singles then back to integers when I do the math... Three issues: speed, space and range/resolution: - obviously, not converting is faster...
Tom, I've uploaded the BX OEM downloader to the files section, under BasicX Tools. It's an improvement over having to install the full IDE, but still not what...
I'm trying to capture some pulses from a model RC receiver. I want to capture the number of transitions with CountTransitions (to figure out the number of...
Tom, Thanks for your quick reply. The 12 in your trial is the variable I want the CountTransitions function to set. This way I could use a 7 channel or a 9...
... Ah. Do you mean you want to assign the Dim length at run time after sampling input data? In the normal sense, you can't do that; the array space is...
Thanks ever so much Tom, That's exactly what I was trying to do. Your suggestion worked. I didn't realize the array size was set at compile time. Joe PS Thanks...
I was incorrect about the Vex standard pulse widths, which I said were 25% short; I had not included the high period of the pulse cycle to determine the...
Hi Guys Im having a problem where the need to read 5 channels of PWM is causing my control loop to run very slowly (for obvious reasons). So I would like to...
I'm building a balancing bot and I just saw this new gyro by Analog Devices that will come out in a few days. There are three choices for sensitivity settings...
... http://www.analog.com/en/prod/0%2C2877%2CADIS16255%2C00.html Very nice features, but US$55! Not inexpensive, but rate gyros aren't cheap yet; still, an...
There's another method available to read PWM signals. A simple RC circuit can convert the PWM to voltage, which you can then read with GetADC. The longer the...
FYI, Harbor Freight sells a 4" "Table Saw" that comes with a 1mm-thick 4" diamond disk. It makes easy straight cuts in ExpressPCB material, which has...
Ben, Check Al Willam's PAKs http://www.awce.com/compare.htm There might be one that could help. Mark ... causing my control loop to ... thinking of perhaps 5...
Ben, I'm by no means an expert on the BasicX-24, but I have tried using I2C on this stamp. My understanding is that it is not a hardware I2C and you have to...
I'm trying to read a pulsewidth using InputCapture in a looping task. I want to speed the frequency of the output pulse, so I am using PulseOut in a different...
... Both InputCapture and PulseOut use Timer1. You could share Timer1 between two tasks with a semaphore, but all that would do is assure exclusive use of the...
Yes, I'm trying to read the PPM signal for 5 channels off a hacked RC receiver. I want to mix the signals and put them out to 12 channels. In my example below,...
... and 8 msec. Not a trivial task. I suspect you will need additional hardware which can probably be steered by the processor at 125-250Hz if you can get the...
Kyle, Thanks for the code. Could you make a recommendation as to what type of gyro would work the best with this code? I have a sparkfun gyro/accelerometer duo...