Thursday, March 12, 2015

Pocket oscilloscope for measuring rc servo pwm

It's been some time since I looked at the robot. A few things have changed. I'll comment on them later. But first, one of the troubles I had was determining if the servo signals my Pulse Width Modulation (PWM) board was putting out were correct.

I had been looking for servo testers etc in the RC hobby world and couldn't find any. It looked like getting an expensive oscilloscope was going to be the only way to solve this problem. I checked usual places for used equipment. The cost was crazy. This is supposed to be a cheap fun project.

I stumbled upon this little device. It's a pocket Oscilloscope selling on Amazon for around $50.

So far so good. In the picture you can see the signal being sent of approx 1.5ms knowing pwm servo signals vary from 1 to 2ms this looks reasonable for a center position. You can change the timebase of course and get a better signal view. I'm impressed. Solved the problem. At least now I can see if my code is sending out what I expect.


My PWM controller is the Adafruit 16-Channel 12-bit PWM/Servo Driver - I2C interface - PCA9685. I had hoped that I could use the scope for also monitoring the I2C interface. Now that java is supported better on the Raspberry pi (I'll talk about that in another post) I thought I would see how effective it would be to write the code in Java since that's my daily language. That means creating a java PWM library for the Adafruit controller. It would be good to be able to test that out with the pocket scope. However since it can only handle one trace at a time it's not possible to monitor both I2C signals.


General Servo pulse ranges.


25 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. additionally simple to peruse and justifiable by the spectator all the more unmistakably as not every person can read appropriately from the simple oscilloscope it truly needs a ton of mastery.
    best oscilloscope

    ReplyDelete
  3. Give me a chance to give you some purchasing guides to wind up with top quality electronic things at the best discount rates. learn this here now

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. In some cases we go for consumer finance schemes which come up with electronic products or are announced by retailers without calculating the interest, processing fees or monthly installments. 4 tech tips for work productivity

    ReplyDelete
  6. Therefore, it is wise to calculate all the costs involved with an electronics purchase finance scheme and also it is wise to know the hidden costs related to this finance scheme before any deal to buy electronics items via consumer purchase scheme.Robot vacuum

    ReplyDelete
  7. These plans, despite the fact that sounds lucrative however demonstrate expensive in light of the fact that it is being consolidated with high rate of intrigue which comes as included value an incentive for the label estimation of the said gadgets thing.best laptops under 30000 in india 2018

    ReplyDelete
  8. These sellers are very much aware of the demand for electronic items and the profitability potential of anyone who sells them. Bobsweep robotic vacuum

    ReplyDelete
  9. Whatever electronic item specialty you pick is a decent business adventure since these are sought after. Bobsweep pethair plus robotic vacuum reviews

    ReplyDelete
  10. We are selling the hot products in the games like Maplestory M mesos, Maplestory 2 Mesos, best palce to buy MS Mesos, big discount at https://www.mmogdp.com/Maplestory-m/Mesos.html.

    ReplyDelete
  11. PCs and correspondence advancements enable people to speak with each other in routes integral to customary vis-à-vis, telephonic, and composed modes. how to obtain win

    ReplyDelete
  12. Upkeep is practically nill. I will cover the rudiments of these mysterious gadgets in this article. Witty Spy

    ReplyDelete
  13. Gone, were sound/video links, remote transmitters, beneficiaries, VCRs and old tape. The new age of caretaker cams and spy cameras enabled the client to set the gadget and leave; either for the day, or weeks on end.click now

    ReplyDelete
  14. Truth be told without a framework that improves the bass, you can't completely appreciate particular kinds of music, the manner in which they were proposed to be heard. used car dealerships near me

    ReplyDelete
  15. Here's 20 Best RC Cars To Buy For Any Budget In 2019. Model Weight Max Speed ... No indications of the battery level; ... Best Entry-level RC Car

    ReplyDelete


  16. Nice article
    thank you for uploading searching for this type of article
    keep going all the best


    Funny-wifi-names

    mobile phone reviews

    best-laptops-under-30000

    best foldable keyboards

    ReplyDelete
  17. This comment has been removed by the author.

    ReplyDelete
  18. Looking to get admission in top schools / colleges ? Contact Admission Karo, who are the best admission consultants in Bangalore

    ReplyDelete
  19. Like all welding forms, the welder must be wearing defensive dresses, along with a welding veil, gloves, and other wearing adornments.
    weldinginfocenter.com

    ReplyDelete
  20. If you are searching for an easy way to solve the problem that Orbi Purple Light, then you have landed on the right page. We are a team of skilled and dedicated technicians, who offer best orbi service 24*7. To know more visit the website Orbi Helpline.

    ReplyDelete

  21. Want to know how to fix the Brother Printer Won't Connect To WiFi issue? Then you have to get connected with the experts. They are the ones who can guide you in the best way. To know more you can also visit our website printer offline tech. To get instant help, contact us at USA/CA +1-888-966-6097 and UK/London: +44-808-169-7737.

    ReplyDelete
  22. Dealing with Canon Printer Printing Blank Pages issue? Have you tried to fix the error? But didn’t find any good result? Don’t worry, we are here to help you. You can share the issue with our experts and they will check and then provide you with an easy and simple solution. Check out the website Printer Offline Error to know more or call us at USA/Canada: +1-888-272-8868 and UK/London: +44-808-196-7617 .

    ReplyDelete
  23. And, in fact, should you ever want assistance, there are quantity of} methods of contacting customer assist and having your problem 점보카지노 resolved in minutes. All in all, we imagine that the platform will slot in nicely in Ontario, and we totally suggest trying it out if you're on the lookout for a new new} online on line casino. Jackpot City understands this, which is why it features a few of the the} largest and most popular cost methods on the planet. You can deposit cash through Visa, Visa electron, Mastercard, Interac, iDebit, MuchBetter, PaySafe Card, and Apple Pay, all of that are extremely popular, commonly used cost methods in Canada.

    ReplyDelete