Communities
People & Pages
Collections
Post has shared content
Public
CPPM PWM - Arduino Nano
Having RC as a hobby .. mainly Tricopters and Quads in my case .. I decided it would be cool to display CPPM information on my OLED display.
First I found the CPPM library: http://goo.gl/ok9vmy and soon had the included Monitor example decoding the signal from my FrSKY D4RII receiver. Next challenge was to display these numbers and possibly some form of bar graph on the OLED display. Thanks to pburgess, I learned about scaling and creating a simple bar. http://goo.gl/yFrZPA After some reading and a few hours coding I had CPPM displayed as 6 channels.
Sweet, but what about 1 channel .. say from my Servo Tester. The CPPM doesn't detect this. There are lots of examples on decoding PWM from simple to more complicated using interrupts. If you want to learn and understand ... look here: http://goo.gl/42ffBN
Given I wanted to use the same input for CPPM/PWM D8 became my signal input. I took the easy approach just using PulseIn. Within my sketch if a CPPM signal was detected, display CPPM. If a PWM signal was detected display PWM.
Up until this point I'd been using the Adafruit display library, but found displaying the PWM value larger = chunky. Next challenge, how to get nice fonts .. I was soon learning/recoding to use the U8G2 library which worked a treat.
Then .. over to vCarve I went to create a PCB. I'd been thinking about a way to get the OLED display mounted around the back of the Nano to make the project more compact... Some thinking lead to cutting and ... :-)
#Arduino #NanoV3 #OLED #CNC #RC
Having RC as a hobby .. mainly Tricopters and Quads in my case .. I decided it would be cool to display CPPM information on my OLED display.
First I found the CPPM library: http://goo.gl/ok9vmy and soon had the included Monitor example decoding the signal from my FrSKY D4RII receiver. Next challenge was to display these numbers and possibly some form of bar graph on the OLED display. Thanks to pburgess, I learned about scaling and creating a simple bar. http://goo.gl/yFrZPA After some reading and a few hours coding I had CPPM displayed as 6 channels.
Sweet, but what about 1 channel .. say from my Servo Tester. The CPPM doesn't detect this. There are lots of examples on decoding PWM from simple to more complicated using interrupts. If you want to learn and understand ... look here: http://goo.gl/42ffBN
Given I wanted to use the same input for CPPM/PWM D8 became my signal input. I took the easy approach just using PulseIn. Within my sketch if a CPPM signal was detected, display CPPM. If a PWM signal was detected display PWM.
Up until this point I'd been using the Adafruit display library, but found displaying the PWM value larger = chunky. Next challenge, how to get nice fonts .. I was soon learning/recoding to use the U8G2 library which worked a treat.
Then .. over to vCarve I went to create a PCB. I'd been thinking about a way to get the OLED display mounted around the back of the Nano to make the project more compact... Some thinking lead to cutting and ... :-)
#Arduino #NanoV3 #OLED #CNC #RC
‹
›
8/3/17
3 Photos - View album
Add a comment...
Post has attachment
Public
Arduino and the 7 Segment LED Display Tutorial [Arduino Advance Series] Part - 1
Thanks For Watching :D
Please Support me on Patreon :- http://www.patreon.com/outtasyllabus/
Dont forget to follow on facebook :- https://fb.me/outtasyllabus/
#OuttaSyllabus #Arduino #7-Segment_Display #Tutorial
Thanks For Watching :D
Please Support me on Patreon :- http://www.patreon.com/outtasyllabus/
Dont forget to follow on facebook :- https://fb.me/outtasyllabus/
#OuttaSyllabus #Arduino #7-Segment_Display #Tutorial
Add a comment...
Post has attachment
Public
Electronic paper still costs huge but looks beautiful. Also refresh rate is slow & leaves ghosting effect. It is great if you have specific project in mind ... https://thecustomizewindows.com/2018/08/arduino-e-paper-e-ink-buying-guide/ #AbhishekGhosh #Arduino #Electronics #DIY
Post has attachment
Public
This is what happens when you build a 8000 RPM motor to a guitar pick :D #Arduino #guitar #guitarist #Solo #electronics #3Dprinting #creality
Add a comment...
Post has attachment
Public
A Leading #Websitedevelopmentcompany +Let's Nurture recently initiated work on a working sensor that dictates light, humidity, temperature, amount of water and other properties that a #plant needs. So,If the plant faces any deficiency, the device will send signals to the owner for further look up.
#SmartPlant #Technology #Python #Arduino #RaspberryPi
#SmartPlant #Technology #Python #Arduino #RaspberryPi
Add a comment...
Post has attachment
Live from the Lab! Drop in for some fun & live chat with the community! #electronics #arduino #drone #raspberrypi
Add a comment...
Post has attachment
Public
SHOW AND TELL is LIVE NOW #showandtell - https://youtu.be/iUIqMtde77U
#adafruit #arduino #electronics #hardware #opensource #projects #raspberry #computer #raspberrypi #microcontrollers #LEDs #LED #gemma #flora #bluetooth #bluefruit #neopixel #neopixels #wearables #art #askanengineer #showandtell #madewithcode #teamarduinocc #WHChamps #NationOfMakers #micropython #circuitpython
#adafruit #arduino #electronics #hardware #opensource #projects #raspberry #computer #raspberrypi #microcontrollers #LEDs #LED #gemma #flora #bluetooth #bluefruit #neopixel #neopixels #wearables #art #askanengineer #showandtell #madewithcode #teamarduinocc #WHChamps #NationOfMakers #micropython #circuitpython
Add a comment...
Wait while more posts are being loaded





























































































































































































































































































