Comments by Jan

  • Understanding battery capacity: Ah is not A

    Understanding battery capacity: Ah is not A

    - 13 December 2013

    Faisal,

    The question was about capacity in Ah, not about voltage. Higher voltage will cause higher current to flow; M. Milani specifically asked for the same voltage.

    By the way, talking about a battery "storing charge" is probably not helpful since it's not a capacitor. Also, be careful about mixing various characteristics like voltage and maximum current with attributes like size: physically larger batteries are not necessarily going to have higher voltages than smaller ones.

    - Jan

  • Understanding battery capacity: Ah is not A

    Understanding battery capacity: Ah is not A

    - 10 December 2013

    Kire,

    12 V x 6 Ah = 24 V x 3 Ah = 72 Wh, so the energy in the two is about the same. However, you're probably not going to get much performance with just the 12 V battery when the motor expects 24 V, so you would need to connect two of your motorcycle batteries in series. You should also make sure the batteries are sealed if you will be using your contraption in all kinds of angles.

    - Jan

  • Advanced hobby servo control using only a timer and interrupts

    Advanced hobby servo control using only a timer and interrupts

    - 6 December 2013

    Katlv,

    Looks like you still do not quite understand the interrupt scheduling. There is no "interrupt loop" or anything special about the beginning of the pulse generation or the first 0.5 ms or the first 2.5 ms. Once the events are scheduled, each pulse starting or ending triggers a separate entry into the interrupt routine, which just does a single bit setting or clearing before setting up the next interrupt end getting back out of the interrupt routine.

    - Jan

  • Advanced hobby servo control using only a timer and interrupts

    Advanced hobby servo control using only a timer and interrupts

    - 5 December 2013

    Hello, Katlv.

    I'm not sure what your point is or that you understand the extent to which the interrupts are used. All pulse activity, both starting and ending, is done in the interrupt routine, so all the other time is already available for other things.

    - Jan

  • Understanding battery capacity: Ah is not A

    Understanding battery capacity: Ah is not A

    - 25 November 2013

    Kiran,

    I'd like to keep the discussion here focused on batteries and their capacity. I suspect the answer to your question has more to do with the rest of your system than with the batteries, so please ask your question in a more appropriate place such as our forum. You could try NiMH batteries instead of alkalines to get a quick idea of whether it's a battery current limitation.

    - Jan

  • Understanding battery capacity: Ah is not A

    Understanding battery capacity: Ah is not A

    - 22 November 2013

    Jack,

    You're basically right, but you should keep track of which direction all of your rounding is going: you're drawing *more* than 0.5 A, your efficiency will be *worse* than 100%, and your capacity at that discharge rate will be *less* than the rated 1 Ah. So, I would expect more like one hour of run time.

    By the way, it should be pretty easy to find 12 V batteries, so you can put two of them in series to get to 24 V. "Very heavy" is relative; I expect that at 12 V lead acid battery weighs about a pound per Ah, so you should be able to get a solution that weighs about two pounds. 1 Ah might be a little hard to find, but a quick Digi-Key search yieleded this 1.2 Ah unit that weighs 1.3 pounds:

    http://www.digikey.com/product-detail/en/BP1.2-12-T1/522-1007-ND/

    That would weigh 2.6 pounds for 24 V and they claim 1 hour discharge will give you 0.787 A, so you should be able to count on more than an hour but less than two of operation with that.

    - Jan

  • Understanding battery capacity: Ah is not A

    Understanding battery capacity: Ah is not A

    - 15 November 2013

    Hello.

    In general, you should go off of the watt-hours specification, not amp-hours, because the voltages might be different. In your case, the batteries are about the same voltage, but going by the Wh specs of 49.9Wh for the power bank and 5.45Wh for the phone still gives you a slightly different ratio of 9.16.

    You definitely are not going to get perfect energy transfer. I don't know how efficient the power bank is at boosting its 3.7V battery to the 5V for the USB port output or how efficient the phone is at charging, but if we guess 85% efficiency for each of those, we get a net efficiency of 0.85*0.85=72%. Multiply that back by that 9.16 ideal case and you might expect 6 or 7 full charges.

    - Jan

  • Electrical characteristics of servos and introduction to the servo control interface

    Electrical characteristics of servos and introduction to the servo control interface

    - 26 October 2013

    Hi, Tom.

    As I wrote in the next article, I am not a fan of calling the servo control signals PWM. The stuff I've presented is all about the signals going to the servos, which is all you should have to care about if you are controlling them from a microcontroller.

    I think what you are asking about is PPM (pulse position modulation) vs. PCM (I think the C is for "code", not "controlled"), and that has to do with how the radio and receiver communicate. With PPM, the servo positions are sent as varying pulse widths in a more analog way in the sense that if you have a 1.5 ms target pulse, the radio will do something with its signal (e.g. change amplitude or frequency) for that 1.5 ms. With PCM, the positions are sent digitally, so there will be a set resolution, like 10 bits (1024 possible positions), and the 1.5 ms target pulse would get communicated as the digital number 512 getting sent through some more complicated encoding than in the PPM case. Either way, though, the receiver will deal with all that and send the same 1.5 ms pulse described in these articles to the servo.

    - Jan

  • Continuous-rotation servos and multi-turn servos

    Continuous-rotation servos and multi-turn servos

    - 17 October 2013

    Hello, Dave.

    These hobby servos I'm talking about here are in the ballpark of 100 ounce inches of torque, so your 800 foot pounds is like a thousand times past the scope of this discussion. Even if you were talking about less torque, this would still probably not be the place to discuss your project; you might try our forum instead. If you do, make sure you set up your problem better because a post like the one you made here makes it seem like you have no idea what you want or are putting very little effort into communicating what you want.

    - Jan

  • Simple hardware approach to controlling a servo

    Simple hardware approach to controlling a servo

    - 15 October 2013

    Nevio,

    It could be all kinds of things, and I don't think it's worthwhile to troubleshoot here. I think you should go with something like our micro maestro servo controller:

    http://www.pololu.com/catalog/product/1350

    It will let you do things like make a script that will use two buttons to do the up/down feature you wanted.

    - Jan