Wednesday, July 24, 2013

PPM Output (Draft - Looking for testers)

If we have code capable of generating servo signals its very simple to adapt this to generate a PPM output instead.

In a previous post we looked at reading an incoming PPM signal and we saw how the PPM Signal describes the individual servo pulses -
http://rcarduino.blogspot.ae/2012/11/how-to-read-rc-receiver-ppm-stream.html

To generate the PPM Stream from a set of servo commands all we need to do is change our code to toggle a single pin instead of individual pins for each servo.


If we look at the point where the channel 1 pulse ends and the channel 2 pulse starts in the diagram above. The code needs to find which pin is associated with the current chanel, then set the pin low to end the pulse. It then finds the next channel, sets its pin high and then sets the timer compare register so that a interrupt routine will be called again when its time to end the new channels pulse and start the next channels pulse.

To output PPM its actually a lot simpler. We are always dealing with the same pin so all we need to do is set the pin high, set the compare register so that the interrupt is called again to when we need start the next channel pulse and then we immediately set the PPM pin low again and exit. Systems which expect a PPM Input are only interested in the rising edge of the PPM Pulse so once we have set it high (giving the external system the rising pulse edge it is looking for) we can immediately set it low again and get out.

Timers, Compare Registers, Service Routines

The following posts provide an indepth background to how the standard Arduino Servo library uses timers, compare registers and interrupt service routines to control upto 12 Servos. The RCArduinoFastLib uses the same approach with a number of optimizations including support for more servos, faster refresh rates, dual refresh rates and reading incoming PPM signals. The remainder of this post presents a small modification of the RCArduinoFastLib which will provide a PPM output instead of individual servo channels.

Background posts
Standard Arduino servo library overview
http://rcarduino.blogspot.ae/2012/01/can-i-control-more-than-x-servos-with.html

RCArduinoFastLib
http://rcarduino.blogspot.ae/2012/11/how-to-read-rc-channels-rcarduinofastlib.html
http://rcarduino.blogspot.ae/2012/11/how-to-read-rc-receiver-ppm-stream.html

The Modified RCArduinoFastLib with PPM Output
Looking for testers, PM me Duane B on the Arduino forum for a zip folder to build the library and test sketch.





48 comments:

  1. Very interested in the library. Tried to reach you via Arduino forum with no luck. Could you check your account or contact me at laborenz-at-gmail.com
    THX a lot, Kai

    ReplyDelete
    Replies
    1. LEGIT FULLZ & TOOLS STORE

      Hello to All !

      We are offering all types of tools & Fullz on discounted price.
      If you are in search of anything regarding fullz, tools, tutorials, Hack Pack, etc
      Feel Free to contact

      ***CONTACT 24/7***
      **Telegram > @leadsupplier
      **ICQ > 752822040
      **Skype > Peeterhacks
      **Wicker me > peeterhacks

      "SSN LEADS/FULLZ AVAILABLE"
      "TOOLS & TUTORIALS AVAILABLE FOR HACKING, SPAMMING,
      CARDING, CASHOUT, CLONING, SCRIPTING ETC"

      **************************************
      "Fresh Spammed SSN Fullz info included"
      >>SSN FULLZ with complete info
      >>CC With CVV Fullz USA
      >>FULLZ FOR SBA, PUA & TAX RETURN FILLING
      >>USA I.D Photos Front & Back
      >>High Credit Score fullz (700+ Scores)
      >>DL number, Employee Details, Bank Details Included
      >>Complete Premium Info with Relative Info

      ***************************************
      COMPLETE GUIDE FOR TUTORIALS & TOOLS

      "SPAMMING" "HACKING" "CARDING" "CASH OUT"
      "KALI LINUX" "BLOCKCHAIN BLUE PRINTS" "SCRIPTING"
      "FRAUD BIBLE"

      "TOOLS & TUTORIALS LIST"
      =>Ethical Hacking Ebooks, Tools & Tutorials
      =>Bitcoin Hacking
      =>Kali Linux
      =>Fraud Bible
      =>RAT
      =>Keylogger & Keystroke Logger
      =>Whatsapp Hacking & Hacked Version of Whatsapp
      =>Facebook & Google Hacking
      =>Bitcoin Flasher
      =>SQL Injector
      =>Premium Logs (PayPal/Amazon/Coinbase/Netflix/FedEx/Banks)
      =>Bitcoin Cracker
      =>SMTP Linux Root
      =>Shell Scripting
      =>DUMPS with pins track 1 and 2 with & without pin
      =>SMTP's, Safe Socks, Rdp's brute
      =>PHP mailer
      =>SMS Sender & Email Blaster
      =>Cpanel
      =>Server I.P's & Proxies
      =>Viruses & VPN's
      =>HQ Email Combo (Gmail, Yahoo, Hotmail, MSN, AOL, etc.)

      *Serious buyers will always welcome
      *Price will be reduce in bulk order
      *Discount offers will gives to serious buyers
      *Hope we do a great business together

      ===>Contact 24/7<===
      ==>Telegram > @leadsupplier
      ==>ICQ > 752822040
      ==>Skype > Peeterhacks
      ==>Wicker me > peeterhacks

      Delete
  2. Sent, let me know that you have received it.

    Duane.

    ReplyDelete
  3. Got it! Thanks. Will test it asap...

    ReplyDelete
  4. Duane,

    sent pm at arduino forum, but posting here just in case... also interested in trying out your library. contact info: timsenecal(at)comcast.net

    thanks

    Tim Senecal

    ReplyDelete
  5. Duane,

    I also forwarded you request via PM on the Arduino forums to test your new modified library.

    Does the PPM output modification change the entire functionality of the library or is it additional functionality to the original posted RCArduinoFastLib library?

    Thank You

    ReplyDelete
    Replies
    1. You should be able to download a zip here - https://drive.google.com/file/d/0B8WjAvuO3LnIQm5XQ1NwM3o5bTA/view?usp=sharing

      Duane.

      Delete
    2. Its basically the same library but instead of toggling lots of different pins to drive individual servo channels, it toggles a single pin to generate PWM. Apart from the pin toggling, its the same code.

      Duane

      Delete
  6. Hi Duane - very impressed by your Arduino RC work here. I've used a Duinotech compatible UNO and been able to interface my JRPROPO 6-channel XP662 TX and R700 RX such that I can read all 6 channels from the PPM stream. However I am most interested in getting the UNO to produce its own PPM output stream but after trying many things I've been unable to generate any PPM stream output. I see that some time has passed since you last posted on this.Are you still interested in PPM stream output? I'm available to help as required. Thanks!

    ReplyDelete
  7. Solved! Hi Duane, based on your Fast Servo library, I now have a Uno and a Mega 2560 which can generate a 6 channel Buddy Box signal - also known as Trainer or Direct Servo Control (DSC) signal. Check out my explanation / tutorial at: https://www.youtube.com/watch?v=ZyXZ_XSHgVo

    ReplyDelete
    Replies
    1. Can you post your code on github or Google drive?

      Delete
  8. Hello Duane .
    I keep looking and do not find anything as I wish . Your projects are the closest to what I seek . Any idea, can be as exiting the Arduino to have PWM signal and no servo or ESC ? I like the RC transmitter to control DC motors .

    Thank you.

    ReplyDelete
  9. Thanks Great Post. We are professional, delivering a world-class moving, relocation, removal, and storage solutions at highly competitive market prices in Dubai-UAE.
    movers in dubai
    best movers in dubai
    best movers and packers in dubai
    Cheap in dubai
    office movers in dubai

    ReplyDelete
  10. I was watching this video on youtube, a door unlocker using knocks, the arduino reas your knocks and compares, if its a match , it opens the door!

    ReplyDelete
  11. Gulf movers and packers provide Gulf Movers in Dubai and on time Relocation Services in Dubai services with professional 6 years moving Experience. We are best Best Packers and Movers with Local moving services Throughout UAE. Gulf Movers are among the Best Best Moving Companies in Dubai with quick and fast service. We also offer the reliable Movers and Packers in Dubai. For More details you can check our website http://www.gulfexpress.ae/


    Gulf Movers and Packers are the best Cheap Movers in Dubai and which gives on time Local Moving Companies services with professional 6 years moving Experience. We are the best Dubai Movers and Packers with Local moving services Throughout UAE. Gulf Movers are among the Best Moving Companies which provides Best International Movers in Dubai services with quick and fast response. We also offer the reliable Storage Companies in Dubai. We are the best Office Relocation Dubai with Local moving services Throughout UAE. For More details you can check our website http://www.gulfexpress.ae/

    ReplyDelete
  12. If you're looking to burn fat then you certainly have to jump on this brand new personalized keto meal plan.

    To create this keto diet service, licensed nutritionists, fitness trainers, and professional cooks have joined together to produce keto meal plans that are effective, painless, economically-efficient, and delicious.

    From their grand opening in early 2019, 1000's of individuals have already remodeled their figure and health with the benefits a certified keto meal plan can offer.

    Speaking of benefits: clicking this link, you'll discover eight scientifically-certified ones given by the keto meal plan.

    ReplyDelete
  13. It’s a fact that your blog posts are so unique and interesting and I enjoy a lot while reading your posts because you explained your post very deeply in a very easy and clear language.

    ReplyDelete
  14. I have tried to work on Arduino forum but got failed any leads pal?? embroidery digitizing usa

    ReplyDelete
  15. If you need assignment related help then contact to GoAssignmentHelp.com. Our online experts can help in your online assignment writing on various subjects like mathematics, law, marketing, accounts, project management, chemistry, economics, statistics, nursing assignment help and many more, as they achieve high expertise on these subjects. We do everything we can to ensure our customers get their assignments written on time and done in the appropriate way. The great number of returning customers proves the fact that our writing company is worth your attention as well. It is best to only rely on verified services like ours. You can once try our amazing college assignment help service, as it open for all. Whether you are a Ph.D. scholar or college students, our experienced writing service has skilled team members providing help quickly to ensure deadlines are met. We do what your professor wants. So, make your first order today and, you are welcome to GoAssignmentHelp.com and more information about capstone project help please visit our website.

    ReplyDelete
  16. Thank you for sharing the useful post. A reader got a lot of information from this post and utilized it in their research. I also provide independent support for the outlook email. So if you are facing issues with the outlook account then contact me for outlook email support.
    Also Read: Outlook not connecting to server | Outlook send receive error | Why my Outlook email is not working?

    ReplyDelete
  17. The packaging industry requires recovered paper as a raw material. The increasing demand for environmentally friendly projects is expanding the market for recovered paper. As the government has also laid down rules regarding the use of papers in terms of environmental security; thus, many businesses have started using recovered paper. The recovered paper market is used by different industries that use environment-friendly products such as the food and beverage industry, electrical and electronics industry, automobile industry, and pharmaceutical industries. The recovered paper is defined as the collection of papers used for recycling or used paper collected for recycling is termed ‘recovered paper.’ The waste paper or the recycled paper obtained from the end-use industries and by the consumers is utilizing as raw material for the generation of recovered paper.

    ReplyDelete
  18. Planning a trip to Costa Rica is easy. You can either plan it by yourself or hire a travel agency to do that.
    costa rica vacation villas
    costa rica beach house rentals

    ReplyDelete
  19. In comparison to hospitals and nursing homes, which provide a more controlled, orderly, and regulated environment, home care allows patients the greatest amount of freedom and individualised setting. Home care can also be tailored to a patient's specific needs. They have complete freedom to come and go as they wish, as well as set their own eating hours.
    Home care services for elderly, Bethesda Maryland
    Livescan Fingerprinting Frederick, Maryland

    ReplyDelete
  20. A good essay is 10% inspiration, 15% sweat and 75% frustration. An analytical essay is a realistic and detailed explanation of a piece of writing on any study. Its purpose is to put forward logic, theory and informational material in a broad sense. Develop a dimension. Read more…
    social science assignment help

    ReplyDelete
  21. Consult Trillium Health Solutions about planning your diet. They will advise you to add high nutrition, anti-inflammatory, and fiber-rich foods to your daily diet. These foods significantly contribute to combating the symptoms of Lyme disease.

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

    ReplyDelete
  23. ConnectWise began as a single software solution aimed to help MSPs take control of their help desk and invoicing, but has now evolved into a full platform of software geared to help TSPs run their entire as-a-service business.

    ReplyDelete
  24. I feel great with this uploaded post and avail online to read out all information in this. Hey admin! I urge you to carry on this information as much as possible. Many teams I do not get the sufficient time to read out as I am surrounded with the accountability to do assignment instructed by the Qatar university expert. In the most suitable condition, you can rely on Qatar Assignment Help team for better performance. But, you have to continue for information sharing.



    ReplyDelete
  25. Hello everyone, Alex Poter here, a technical assistant. 'QuickBooks Update Error 12007' is a common question I get from Quicken customers. On the desktop, QuickBooks is failing to establish a connection. Flawed SSL settings or a firewall or Internet security setup that prohibits the programme from contacting the server may also trigger QuickBooks Error Code 12007.

    ReplyDelete
  26. I lost my job few months back and there was no way to get income for my family, things was so tough and I couldn't get anything for my children, not until a met a recommendation on a page writing how Mr Bernie Wilfred helped a lady in getting a huge amount of profit every 6 working days on trading with his management on the cryptocurrency Market, to be honest I never believe it but I took the risk to take a loan of $1000. and I contacted him unbelievable and I was so happy I earn $12,500 in 6 working days, the most joy is that I can now take care of my family I don't know how to appreciate your good work Mr. Bernie Doran God will continue to bless you for being a life saver I have no way to appreciate you than to tell people about your good services.
    For a perfect investment and good strategies contact Mr Bernie Doran via WhatsApp :+1(424)285-0682 or Telegram : @Bernie_doran_fx or Email : Bernie.doranfx01@gmail.com

    ReplyDelete
  27. Basketball legends unblocked - Unblock Game is an example of a game that allows users to kill time while doing anything else. These games are available on Google and can also be accessed through sites.google.com

    ReplyDelete
  28. The great assignment help is the ultimate destination for students who wants the best Paper Writing Service. We have professionals who will write your paper with unique and attractive content just contact us and take us the best services which are offered by us for the online writing assignments.

    ReplyDelete
  29. I must say Wow! because I have never ever seen any post like this. Really you choose amazing words in your content and that make your content effective and easy to read. I am also trying to engage students on my assignment help website, so I am here on your article. Please take a look at my Assignment help website and let me know, how can I improve my website from user’s point of view. Kindly give me your suggestions on my contact us page. We’ll surely take a look and apply your changes to my Assignment help website if they will be good.
    Thank You.

    ReplyDelete
  30. I really appreciate the kind of topics you post here. Thanks for sharing great information that is actually helpful. Nice Sharing

    ReplyDelete
  31. Alt codes are codes used to insert a character or symbol when the keyboard layout used does not have required character/symbol. This method is very useful when required characters/symbols are not present in keyboard layouts. This is a quick and easy way to get special symbols/characters. Use altcod to create text symbols and special characters from your keyboard, or laptop.

    ReplyDelete
  32. Hello, my dear friends, if you are looking for something to make your text messages funnier and attractive, you are at the perfect place, as here in this post we are going to one of the best websites, kaomojicombos. This website deals with an interesting some interesting Japanese emoticons that are also known as Kaomoji.

    ReplyDelete
  33. piliapp symbol offers a comprehensive library of creative and fun aesthetic text symbols that represent everything from emotional moods to objects, events to destinations, experiences to professions. You can browse various categories of fancy text symbols including smileys, currency, music, chess, math, hearts, Roman numerals, arrows, and stars to find the perfect symbol to personalize any message.

    ReplyDelete
  34. Copy-paste, or learn to type star symbols emoji directly from your keyboard. You can put them in Facebook, Youtube or Instagram. Star symbol list with lots of star shapes to choose from. copy paste star symbols, star character and star emoji.

    ReplyDelete
  35. our coolsymbol com that provides all kinds of text symbols for your input text. Just click on a desired symbol and paste anywhere.

    ReplyDelete
  36. here is collection of cute symbols copy and paste like borders, text dividers, hanging stars, headers, heart, decorations (ೄྀ࿐ ˊˎ-) for Tumblr, Twitter, Facebook bio & usernames.

    ReplyDelete
  37. A collection of cool symbols that provides access to many special symbols, characters... It also comes with a coolsymbolshub tool. Collection of cool text symbols and signs that you can use on Facebook and other places. All symbols in one place.

    ReplyDelete
  38. Copy paste star symbol, star character & star emoji. In this article I will also show you practical applications of designs that contain stars. Select the star symbol that you like and then star copy and paste in Instagram, Facebook, blog posts, text messages, etc.

    ReplyDelete
  39. I got a lot of intersting points in this article. Look you spend a lot of time or effort in this article. Love to share this one with my good friends. Now it's time to avail vacuum storage bags for more information.

    ReplyDelete
  40. Nice post thanks for sharing with us. Get expert assistance with your nursing assignments! Our dedicated team of experienced professionals is here to provide comprehensive support for your nursing studies. From essays to case studies, we offer tailored solutions to ensure your academic success. Trust us for top-notch Nursing Assignment Help that meets the highest standards. Achieve excellence in your nursing education with our reliable and personalized academic assistance. Explore our services today!

    ReplyDelete
  41. "I've bookmarked this blog, and it's become a go-to for me whenever I need a dose of insightful content. The author's commitment to excellence is apparent, and I genuinely appreciate the effort put into maintaining such a high standard."
    tiff treats coupon code

    ReplyDelete
  42. "Your words always resonate with me. Thank you for sharing your wisdom." For more information visit us on Clinical Research Courses in pune

    ReplyDelete