weird... I haven't touched this code in 5 years or so, so there might have been changes in the Arduino landscape that broke this bit of functionality, but it's more likely that I messed up somewhere... I'll see if I can find a working Arduino in my parts collection and test it somewhere this week...
Hey, I just wanted to thank you for working through all this code and making an awesome library set. I'm having some weird things going on when trying to use the PPMout example code. I've only changed the number of channels to 6 and added the additional analog pins.`/ --------------------------------------------------------------------------- This software is in the public domain, furnished "as is", without technical support, and with no warranty, express or implied, as to its usefulness for any...
Yes I am using a Atmega328 on a arduino Uno.
that's odd. The ppm generator code is pretty robust, or at least it's supposed to be. You are using a Atmega328 based Arduino? (i.e. an Uno or Nano) There's not much I can do about the amplitude, it's a digital output pin so it's either VCC or GND. The input voltage depends on whatever your receiver outputs, that may be 3.3V. If you need a lower output voltage then you could use a voltage divider made out of a few resistors.
Hi, first of all thanks a lot for your work. I'm trying to use PPMin and PPMout to record the data emitted by a remote control while transmitting. Step by step I managed to record the data by transmitting it to a computer. However, when I wanted to compare the input and output signal with an oscilloscope I realized that the output signal did not match the input signal at all. So I decided to just try this code to compare the 2 signal : #include <PPMIn.h> #include <PPMOut.h> #include <Timer1.h> #define...
I don't seem to have that code anymore; looks like I lost it when my previous laptop died :(
Hi, How can I get hold of your code of the Esky transmitter? I want to use the input ppm signal from the transmitter main pcb and send it with the nrf24l01 module to my Esky receiver. M
Sorry, never got around to investigate this further :/
Hi! =) I've been implementing a pwm mixer using ServoIn and ServoOut in the last...
Hi Tony, You're almost correct with your assumptions. Channel::applySpeed also uses...
Hello again Daniel. I have a favor to ask you. I'd like to really simplify my implementation....
Hello again Daniel. I have a favor to ask you. I'd like to really simplify my implementation....
Daniel - Ignore again. It seems that after posting my questions, I have epiphanies...
Hello again Daniel. I hope I am not bothering you to frequently but I have a question...
Daniel, I think I found it. In writeOutputValue, the source should be getInputChannel...
Hi Daniel. I just got around to working with your new pipe. Unfortunately, I have...
Hi daniel. I just got around to working with your new pipe. Unfortunately, I have...
Yikes, that was fast! Thank you. I'm still trying to get my head around the structure...
Hi Tony, Try the attached files (I haven't compiled or tested them), they're a modified...
Here's my development platform!! The board between the Mega on the bottom and the...
Here's my development platform!! The board between the Mega on the bottom and the...
Daniel, thanks for the indepth response. I finally decided to draw a flow chart last...
Hi Tony, The buffers are there to separate functionality from the technical bits....
Hello Daniel. I was wondering if you could guide me a little with the library. Firstly,...
Good luck, Just keep in mind that certain pieces of code are very ATmega328 specific....
Daniel, thanks for the quick response. I'll get these updated to support 24 channels....
Tony, the channel limit is rather arbitrary: it's what the top model of Futaba was...
Daniel, since you offered support for questions, I have one. Jeti Models have introduced...
Hi Tony, I'm no longer actively working on this project for a while now. I never...
Hello Daniel, I have just stumbled apon your project for ArduinoRC and your library...
I grabbed v.04 and it worked with the output inverted using the default timing in...
I'm using the PPMOut example and have added the updateTimings() method as updateTimingsFF()...
I'm using the PPMOut example and have added the updateTimings() method as updateTimingsFF()...
I'm using the PPMOut example and have added the updateTimings() method as updateTimingsFF()...
ADD: WIP rework of Multiplex4Out
BRANCH: Playground for rmueller based on trunk
FIX: Missing typedef after compiler update
FIX: Compilation errors
ADD: Work in progress Single Servo In
CHG: Modified Multiplex4Out example a bit
CHG: Removed pause pulse from Multiplex4Out
FIX: Couple of bugs in PPMOut
FIX: Pesky compiler errors
FIX: renamed example files
ADD: WIP version of multiplex4out
BRANCH: Playground for rmueller
The jitter may be due to multiple interrupts interfering with each other. Should...
The jitter may be due to multiple interrupts interfering with each other. Should...
Yes, it works, but the servo is very noisy and has a lot of jitter. There's definitely...
That's weird, update(true) only needs to be called when you've changed the pins....
AHA!. g_ServoOut.update(); should be : g_ServoOut.update(true); Working ok now, thanks...
Yes, I should have said that Serial debugging showed no output. The cause of that...
The library was written for and tested on both Uno and Nano (Atmega 168/328). I'd...
Thanks for that. I've started with a straight output = input test, but I'm getting...
I think the default length between two pulses (pause length) is 10000 microseconds...
That's great, many thanks for such a quick and comprehensive reply. I assume the...
Hi Git, The first parameter passed to the constructor of ServoIn is an array which...
Hi, This library looks great, thanks. I think I understand ServoIn and ServoOut examples...
Sorry, ArduinoRCLib is AVR only, I don't support anything besides Arduino Uno/Na...
Hi, I'm trying to create a program that has a signal output PPM (pulse-position modulation)...
Hi, I'm trying to create a program that has a signal output PPM (pulse-position modulation)...
The first code you post is quite enough, thanks anyway
I didn't read your question properly the first time. First of all, there's a bug...
Please see this ticket, it may be related: https://sourceforge.net/p/arduinorclib/tickets/57/...
Glad to be of help! FWIW: Arduino 1.0.4 uses avr-gcc 4.3.2 Arduino 1.6.0 uses avr-gcc...
Cool, I didn't of that project yet, or that it uses ArduinoRCLib. Looks like it uses...
Hi, Which board are you compiling for? Only Arduino Uno/Micro (Atmega328/168 types)...
Awesome, good to hear that it's working now and glad to be of help! It's weird that...
I just loaded the PPMOut example to an Arduino Mega (slightly modified to make it...
pulseIn isn't incredibly accurate. It relies on the number of clockcycles between...
You're welcome :)
Hi Haroun, Simply changing the CHANNELS define and the initialization of g_pins should...
I'm missing the pin change interrupt handler in your receiver side code: // Interrupt...
Hi, I suggest you test the two parts on the RX side (PPMIn and ServoOut) individually...
I got similar problems. The servoout.update doesnt work. The values are ok but the...
Your code looks okay at first glance. How did you wire your hardware? What kind of...
Hi George, Try using one servo first, if that works fine then the servos are probably...
Please post an update to support the Atmega 2560. what changes must be done to make...
I'm looking at your library and it looks great! Just small issue with latest trunk...