Thread Tools
Oct 06, 2017, 11:03 AM
Team OpenAVRc
Bracame's Avatar
Thread OP
Discussion

OpenAVRc Solution (M2560) (OPENTX) (NEXTSTPRCV2.18 )


Hello word!

We are talking about a fork (with al lot of modifications) of OPENTX here.

Only used on AVR (MEGA 2560 at this time).

The goal was optimisation -> Done.
Was improvements -> Done (s)
Was translation -> Done (https://github.com/Ingwie/OpenAVRc_D...V1.15_FRAM.exe)

Was - PCB designed for "NEXT" : https://github.com/Ingwie/OpenAVRc_D...Doc_Shield.pdf

This offer A complete radio system, voice, sounds, haptic (if needed) heli, savevar, ....

All with a "POOR" processor !! (We love it because we can flight a lot of hour (days) : It just need little power & great calculation )

My first work in the DIY radio is : -> https://github.com/Ingwie/bracame-rc-radio

Little collaboration (with Franck .A) Where I've removed almost no AVR code, create screen drivers (and/or optimise), add F-ram , .....
-> https://github.com/Ingwie/NextStepRc-2.18

Now (since on year with all the NSRC TEAM (minus F.A)) : We continue the job with in a nice appelation : OpenAVRc ;-)
->https://github.com/Ingwie/OpenAVRc_Dev

If you've builded a DIY M2560 transmitter : try OpenAVRc (If you don't love it, tell us why please)
->https://github.com/Ingwie/OpenAVRc_Dev

The "V3 pcb documentation (in French) : https://github.com/Ingwie/OpenAVRc_D...penAVRc_V3.pdf

.. in construction ...
Last edited by Bracame; Sep 20, 2018 at 10:13 AM. Reason: Update link
Sign up now
to remove ads between posts
Oct 06, 2017, 11:34 AM
Team OpenAVRc
Bracame's Avatar
Thread OP
.. Is build in Next :

PPM (all)
DSM (Realy New Serial)
MULTIMODULE
SPIMODULE (Like DeviationTx)
Oct 07, 2017, 04:49 AM
Registered User
I've been testing it for a couple of days. Everything works great.

Unfortunately there is a very big shortcoming for me.
=> The buzzer does not work.

I have changed the battery range from 3v up to 16V. The reason for this is the use of 1S LiPo. Has also worked perfectly.

The project is great, I will pursue it further.
Oct 07, 2017, 11:41 AM
Registered User
pierrotm777's Avatar
Quote:
Originally Posted by Ivaylo
I've been testing it for a couple of days. Everything works great.

Unfortunately there is a very big shortcoming for me.
=> The buzzer does not work.

I have changed the battery range from 3v up to 16V. The reason for this is the use of 1S LiPo. Has also worked perfectly.

The project is great, I will pursue it further.
Do you use the JQ6500 option ?
If yes , what are your compiler options ?
Can you send a screen shot of the compiler tab please ?
Oct 07, 2017, 12:05 PM
Registered User
I apologize.
I have used "OpenTX 2.1.10" so far. And I found the error. The pin for the buzzer is now 6 and not 10 as with "OpenTX 2.1.10"

Thank you, a really very good project.
Oct 07, 2017, 12:39 PM
Registered User
pierrotm777's Avatar
Happy you like it !
Welcome on this project !

The version 3.0 will be fantastic with a lot of other new features !
Oct 08, 2017, 01:44 PM
Team OpenAVRc
Bracame's Avatar
Thread OP
A (windows) bug appear at Pierrotm777's home :

Compilation fail due to a "Cygwin bug ....." shown in the command line window.

This bug is fixed now, setup is patched : https://github.com/Ingwie/OpenAVRc_D...M.exe?raw=true

Note : Just Frsky work in the telemetry option (We will debug or remove buggy choice in next release)

Thank Pierrotm777 !
Oct 09, 2017, 01:32 PM
Team OpenAVRc
Bracame's Avatar
Thread OP
Supiiik add "multimodule" support in the firmware : (thanks a lot)

FlySky FS-i6 with OpenAVRc / OpenTX, voice, haptic and 4in1 multimodule inside (2 min 22 sec)


I just hope I"ll be able to keep his code working in the next release

We will also do a direct command to the 4 xmitters used (like deviation tx) in this next ........
Oct 10, 2017, 11:47 AM
Registered User
I have similar problem with buzzer, I can hear beep when turning on transmitter (switch and throttle warnings) but alarms do not work!
Oct 10, 2017, 01:13 PM
Team OpenAVRc
Bracame's Avatar
Thread OP
Quote:
Originally Posted by AlessandroAU
I have similar problem with buzzer, I can hear beep when turning on transmitter (switch and throttle warnings) but alarms do not work!
Hi,

What is your sound setting ?

What alarms does not works ?
Oct 10, 2017, 04:37 PM
Registered User
@AlessandroAU
Try these options when compiling. For me the choice of "NOANDSECONDS" was the problem.

Just like the screenshots are, running for me perfectly.
Oct 12, 2017, 02:08 PM
Team OpenAVRc
Bracame's Avatar
Thread OP
Quote:
Originally Posted by Ivaylo
@AlessandroAU
Try these options when compiling. For me the choice of "NOANDSECONDS" was the problem.

Just like the screenshots are, running for me perfectly.
Thanks for this bug report :

I've tryed to find why : "NOANDSECONDS" affect only French and Spanish VOICE driver. Makefile appear to be OK .......

Well I don't understand

Could you give another try ? (This option work with VOICE but ...)

Let me propose a another try : Activate AUDIO. On the same pin (H3) connect a loudspeaker with a serial resistor & a capacitor (mini : 470 ohms & 100nF) : You will hear nice sounds when moving trims and/or configuring other sounds.
Oct 22, 2017, 08:47 AM
Team OpenAVRc
Bracame's Avatar
Thread OP

SH1106 Oled driver added


Hi,

SH1106 optimised driver is just added to the 1.15 setup.



Send me feedback if you try please.
Oct 22, 2017, 10:17 AM
Registered User
Hello,

super work with the HS1106. I've already tried it on a MEGA2560 mini Pro and it works great. I just put it together quickly.

To alarm problem. It also does not work with your proposal. I've soldered everything again, erased EEPROM and reloaded firmware. Unfortunately still No Acoustic Alarms for "Inaktiviti" and "Battery Low". Settings and inside in the pictures.

Best regards, Ivaylo.
Oct 22, 2017, 11:35 AM
Team OpenAVRc
Bracame's Avatar
Thread OP
Thank you for the SH1106 test ;-)

You use AUDIO now (with a loudspeaker + serial resistor on H3 pin ?).

I'll test here and try to find a solution (I use VOICE since more than one year and did not seen this bug).


Quick Reply
Message:

Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Data OwnTX / OpenTX - Displays, MCU boards etc. that work with OpenTX and similar firmware xnalpf Radios 6 Oct 26, 2018 07:55 AM
Discussion Migrate models from Taranis (OpenTx 1.?) to Taranis Plus (OpenTx 2.2.0) Mr Rowl FrSky 1 Aug 23, 2017 08:33 AM
Discussion Hillary's "solution" to mortgage crisis no solution at all... craab Life, The Universe, and Politics 17 Jan 20, 2008 12:53 PM