Forgot your password?
No account? Register one!
September 28, 2012
Product COM-09479 |
about 8 months ago
Often the terminal voltage of a so-called “12 V battery” will get dragged down to 6 V (or lower!) when it’s connected to a motor trying to move a heavy load. Test: If you wire both motors directly to your “24 V” power supply (replacing the L298 with some wires), do you see the same 12 V? If so, the L298 is working as designed; that is normal. (Although you may want to consider getting a higher-current power supply).
Product DEV-11113 |
about 10 months ago
I had a similar problem with something that worked fine when powered from my benchtop power supply, but sounded weird when powered from a wall wart. Apparently my wall wart was too wimpy to keep up with sudden changes in current. I fixed it by adding a big capacitor – 1000 uF – across V_RAW and GND.
Product BOB-10859 |
Thank you, Joe P. – I was also getting weird values for ABS_POS. After I fixed dSPIN_Param() by sprinkling “unsigned long” casts as you recommended, ABS_POS now works great – thank you!
The schematic shows a 200KOhm variable resistor “R4” connected to “ADC” (pin 5). I looked all over the board I have in my hands, and I can’t find R4 anywhere. Am I going blind?
Driving the steppers of a 3 axis CNC machine with L6470 chips sounds great. Would you mind writing up an outline of a basic tutorial somewhere with everything you wish you had known at the start – perhaps using “???” question marks to fill in details you still don’t know but wish you did? Would the RepRap wiki be a good place to post this basic L6470 tutorial ?
Reading a little between the lines, I eventually found this translation for that esoteric language:
Connect the L6470 “SW pin” on the board to the Arduino pin 8.
Optionally, connect the L6470 “SW pin” on the board to some sort of “limit switch” that grounds the pin when it hits the limit, and lets the pin float high when operating normally.
The L6470 “SW pin” is an input pin.
If the Arduino or the “limit switch” or any other OUTPUT drives the L6470 “SW pin” low, by default the L6470 responds by immediately stopping the motor.
effgee and sgm2o2, I feel your pain.
I went around in circles for far too long before I figured out:
KEY STEP: rename the folder to “dSPIN.example” (without the quotes).
(On my system, it doesn’t even compile unless I get the capitalization exactly right)
double-click on the “dSPIN_example.ino” file (resist the temptation to click on the “dSPIN_main.ino” file)
I suspect that might be all you need to do if you have an Arduino Uno.
But if you have an Arduino Mega2560 like I do,
Is there some way to fix that library so it automagically uses one set of pins for the Arduino Uno and a different, but still correct, set of pins for the Arduino Mega2560?
Product DEV-11364 |
What is he difference (if any) between this LilyTwinkle and the LilyTiny ?
Product DEV-10899 |
about 2 years ago
Is this different in any way from the LilyTwinkle?
No public wish lists :(