|
|
|
|
South Africa
Joined Dec 2007
207 Posts
|
Will definately report back, i have a scope but a bit of a n00b when it comes to actually using it, :-), although i managed to find the PPM trace on a old 35mhz Rx and solder the wires to get it working as a wireless sim box.
Looking to try build up one of these: http://electronics-diy.com/avr_programmer.php |
|
|
|
|
|
|
|
|
United Kingdom
Joined Aug 2008
1,273 Posts
|
http://www.rcgroups.com/forums/showthread.php?t=1177548
read that ok starts bad but ends well. you only need 25dsub and cable rest not needed at all. and after that build an usbtiny. cheap and you can use it in avrstudio. |
|
|
|
|
||||
|
|
Quote:
Well i think i was already kind of rusty when it comes to "pure AVR" programming and burning and AT90S2313 is so old and simples there even isn´t a lot of options and fuses. After a while i finally found a fuse to enable the external XTAL and now at least i get a coherent waveform. ( yes i´m kind of ashamed of myself too.. :S) Here´s a video:
It doesn´t look good does it? How can i get nice clean square pulses out of it? Also, it is inverted.. is there an easy way to invert them back again? Ithink it might be easier then trying to find the right place to alter the MultiWii code ( specially because the way Alex deals with the ints is still a little over my head. |
|||
|
||||
|
|
||
|
|
Quote:
What i meant about the ugly signal is that maybe if it wasn´t clear for me, it could not be clear to the microcontroller.. so to speak.. Anyways it looks better now, and your third hex is the one that has come closer to what i expect. But i still cannot make MultiWii detect it , aparently. I´m using the ground station program to check it and it just does not detect the sum signal. |
|
|
||
|
|
||
|
United Kingdom
Joined Aug 2008
1,273 Posts
|
Quote:
sorry just re read post. but don't remember which edit was on v3. better get out soldering iron later see if i can change mine ![]() thanks for input. |
|
|
||
|
|
|
|
UK
Joined Sep 2008
40 Posts
|
Signal clarity
Hi,
I'm not sure if this helps or not but it seems to me that the problem may well be due to the fact that the signal shown on your scope is simply not "clean" enough for the edge trigger to be seen by the software. The signal I get on my unit is a good square wave and the software I am using (shrediquette) sees it wether the signal is inverted or not, even though the software engineer says in needs to see a negative pulse. Why do you need to use the external xtal? I thought this chip had an inbuilt oscillator circuit. As I mentioned in a previous post, mine works perfectly without xtal and with fuses set for 8mhz (no clkdiv8). If you need a photo of my setup (just the chip on a veroboard with link wires, no other components) or if I can help in any way let me know. David |
|
|
|
|
||
|
|
Quote:
That's why i asked if anyone knows of any analog filters to make the signal nice and clear. What program are you using to burn the AVR ? I'm using PROGISP and i havent found anywhere to set the fuses, it's only "half-working" now because i found a new version of PROGISP that has a "sort of fuse setting" that says "Enabled XTAL". I'll try a little further to make it work without the xtal and see if that outputs a better signal. |
|
|
||
|
|
|
|
UK
Joined Sep 2008
40 Posts
|
Signal clarity
Hi,
If the signal on the inputs is clean then the output signal should also be clean as the circuit is so basic I don't see where distortion can be generated (assuming you are testing the unit on its own and not connected to any other electronic gear). I used PonyProg (free software) and a very, very simple parallel port program unit based on a few resistors and a 25 way D type connector. Works like a charm on a wide range of stuff and costs almost nothing to make. I think Sadsack showed a similar unit in an earlier post. In addition the PonyProg software allows you to read the fuses/security bits and program them. I initially thought I had mis-read the order of the RX channels I wanted to use but in the end I noticed I had set the ckldiv8 bit and this was causing my problems. If the signal you are seeing on the output pin is a correct assimilation of the sum signal (all the channels are there and they all change when you waggle the relevant stick) then I think your problem is most likely the fuse settings. David |
|
|
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Discussion how to convert PWM servo signal to DC voltage | sahilkit | DIY Electronics | 15 | Oct 05, 2008 09:23 PM |
| Mini-HowTo Motor PWM to PPM impulse converter | quax | DIY Electronics | 27 | Jun 16, 2008 11:38 PM |
| PWM to servo signal conversion? | mcross | DIY Electronics | 13 | Jul 05, 2005 08:48 PM |
| Futaba PCM receiver servo pulse other than PPM? | risto | Power Systems | 14 | Feb 14, 2002 12:18 PM |