Search found 14570 matches

by MikeB
Tue Sep 25, 2018 10:44 pm
Forum: ersky9x
Topic: Script Language
Replies: 234
Views: 17335

Re: Script Language

I'm trying to improve the iNAV script. Can you please tell me how I get the telemetry data from Tmp1, Tmp2 and 0420. The next test version will have something in to handle a few, currently, unimplemented IDs (like 0420). The first 4 unknown IDs that are received will be stored, and an new sub-menu ...
by MikeB
Tue Sep 25, 2018 5:48 pm
Forum: ersky9x
Topic: Script Language
Replies: 234
Views: 17335

Re: Script Language

OK, I'll add a change to gettime(). If called with no parameter it functions as it does now (units of 10mS). Pass in a parameter 0-5: gettime(0) returns the year (e.g. 2018) gettime(1) returns the month (1-12) gettime(2) returns the date (1-31) gettime(3) returns the hour (0-23) gettime(4) returns t...
by MikeB
Tue Sep 25, 2018 1:55 pm
Forum: ersky9x
Topic: Scripts for ersky9x
Replies: 43
Views: 5672

Re: Scripts for ersky9x

I have a possible fix, I need to test it.

Mike
by MikeB
Tue Sep 25, 2018 12:03 pm
Forum: er9x
Topic: er9x development
Replies: 3087
Views: 287286

Re: er9x development

I'll check to see if I see over 100 with a R9M.

Mike

Edit: No, I never see a value over 100.
by MikeB
Tue Sep 25, 2018 11:59 am
Forum: ersky9x
Topic: Script Language
Replies: 234
Views: 17335

Re: Script Language

One of the "Telemetry" values available is "RTC" that returns the (real) time in minutes for the current day.

Mike
by MikeB
Tue Sep 25, 2018 11:52 am
Forum: er9x
Topic: FRSKY R9M compatibility?
Replies: 16
Views: 906

Re: FRSKY R9M compatibility?

For the EU version: Use the XJT(PXX) protocol and the R9M will operate in 25mW, 8 channel mode with telemetry. Use the PPM protocol and set the switches on the R9M to select 200mW or 500mW output. You don't get telemetry with either of those. The only configuration you don't get is 25mW, 16 channel ...
by MikeB
Tue Sep 25, 2018 11:34 am
Forum: openTx
Topic: Jumper T12 Open Source 16ch Radio with JP4-in-1 Multi-protocol RF Module
Replies: 23
Views: 2055

Re: Jumper T12 Open Source 16ch Radio with JP4-in-1 Multi-protocol RF Module

Yes, XJT and SPort is always included for the 'PRO, only the T12 is affected.

Mike
by MikeB
Sun Sep 23, 2018 8:21 pm
Forum: ersky9x
Topic: Scripts for ersky9x
Replies: 43
Views: 5672

Re: Scripts for ersky9x

What radio are you using?
It sounds like a timing "problem" with the SD card not becoming ready soon enough.
Does the model script start if you change models then change back?

Mike
by MikeB
Sat Sep 22, 2018 10:07 pm
Forum: The Pickled Gnu (The Pub)
Topic: Non invert Attiny 85 led driver.
Replies: 10
Views: 231

Re: Non invert Attiny 85 led driver.

Use an emitter follower:
Efollow.png
Efollow.png (1.62 KiB) Viewed 82 times
This provides non-inverting current gain.

According to the datasheet of the TINY85, the 40mA and 200mA are absolute maximum ratings, at 40mA out from a pin, you won't get much voltage. Normal output current is +/- 8mA on a pin.

Mike
by MikeB
Wed Sep 19, 2018 9:52 pm
Forum: ersky9x
Topic: Script Language
Replies: 234
Views: 17335

Re: Script Language

I can't see anything wrong with the encoder in the popup on the X7, I just tried the code you have on my X7 and it worked fine. I assume the encoder is working fine for "normal" navigation? Please explain exactly what you mean by a "config file" for a script. Tmp1 has the name "T1=" and Tmp2 has the...
by MikeB
Wed Sep 19, 2018 4:51 pm
Forum: er9x
Topic: er9x development
Replies: 3087
Views: 287286

Re: er9x development

I've just posted a new test version of er9x with the R9M power selection changed for those 4 values.

Mike
by MikeB
Wed Sep 19, 2018 4:49 pm
Forum: FrSky Taranis radio
Topic: Taranis QX7 bluetooth
Replies: 104
Views: 9258

Re: Taranis QX7 bluetooth

That looks OK.
I've just posted a new test version of ersky9x that sets the TxD signal low if the BT Function is set to off.

Mike
by MikeB
Wed Sep 19, 2018 3:49 pm
Forum: FrSky Taranis radio
Topic: Taranis QX7 bluetooth
Replies: 104
Views: 9258

Re: Taranis QX7 bluetooth

I just updated the resistor and capacitor values on the circuit I posted above. The two transistors are as shown on that circuit, BC817 for Q3 and SI2301 for the MOSFET.

Mike
by MikeB
Wed Sep 19, 2018 11:58 am
Forum: FrSky Taranis radio
Topic: Taranis QX7 bluetooth
Replies: 104
Views: 9258

Re: Taranis QX7 bluetooth

This is my stripboard (without the capacitor), but it is all surface mount. BTpower.JPG I've just tested this on an AR9X board and a HC-06. It all worked fine, setting the BT Function to off, turned the power to the module off, setting the BT Function to something else and it powered on and function...
by MikeB
Tue Sep 18, 2018 11:30 pm
Forum: FrSky Taranis radio
Topic: Taranis QX7 bluetooth
Replies: 104
Views: 9258

Re: Taranis QX7 bluetooth

You are switching the ground rather than the power. With the positive supply still connected, I think it likely that driving the TxD signal low will cause the protection diodes on the TxD input to conduct and try to power the BT module. I think we need to switch the power not the ground. Even though...
by MikeB
Tue Sep 18, 2018 10:22 pm
Forum: er9x
Topic: er9x development
Replies: 3087
Views: 287286

Re: er9x development

I haven't got the information on the values required in the PXX frame for 200mW. The specification I have only shows 2 values, 25mW and 500mW. Looking at the openTx code it seems there are now four values: 0 - 25mW with 8 channels and telemetry 1 - 25mW with 16 channels and telemetry 2 - 200mW no te...
by MikeB
Mon Sep 17, 2018 9:47 pm
Forum: ersky9x
Topic: Ersky9x Bug Reporting
Replies: 195
Views: 24930

Re: Ersky9x Bug Reporting

I've just posted provisional R222(c1) with this fixed.

Mike
by MikeB
Mon Sep 17, 2018 8:18 am
Forum: FrSky Taranis radio
Topic: Taranis QX7 bluetooth
Replies: 104
Views: 9258

Re: Taranis QX7 bluetooth

In addition, the TxD signal, in operation, is driven both high and low so the resistor in the signal path doubles up as pulling the base low.

In the second circuit, I had it already built so the resistor to ground was already present.

Mike
by MikeB
Sun Sep 16, 2018 10:28 pm
Forum: ersky9x
Topic: Ersky9x Bug Reporting
Replies: 195
Views: 24930

Re: Ersky9x Bug Reporting

I can re-produce the problem, it may take a while to pin this down. It is likely it may be caused by the way trims stop moving at 0, something in the de-bouncing may be left set causing the switch to appear on when it is off.

Mike
by MikeB
Sun Sep 16, 2018 9:46 pm
Forum: FrSky Taranis radio
Topic: Taranis QX7 bluetooth
Replies: 104
Views: 9258

Re: Taranis QX7 bluetooth

This is a version using a MOSFET to switch the power: BTpower1.png I had this built (without the capacitor) on a piece of stripboard using surface mount devices so I tried it. The capacitor could be a lower value than 1uF, I think 0.2uF would be OK. As shown, the circuit holds the power on for over ...
by MikeB
Sun Sep 16, 2018 7:33 pm
Forum: ersky9x
Topic: Script Language
Replies: 234
Views: 17335

Re: Script Language

For getValue("Modelname"), you may use: sysstrtoarray( name1, 0 ) where name1 is a byte array that needs to be at least of size 12, e.g.: array byte name1[12] sysstrtoarray( name1, 0 ) will result in the byte array "name1" containing the model name in the first 10 bytes terninated by a null (zero) b...
by MikeB
Sun Sep 16, 2018 10:22 am
Forum: FrSky Taranis radio
Topic: Taranis QX7 bluetooth
Replies: 104
Views: 9258

Re: Taranis QX7 bluetooth

This is basically the circuit I've been testing: BTpower.png As long as TxD is high, Q1 is on so Q2 is on and the BT module receives power. When TxD goes low, Q1 switches off, but Q2 is held on while capacitor C1 discharges. As long as TxD goes high again before C1 discharges (too much), C1 gets cha...
by MikeB
Sat Sep 15, 2018 11:14 pm
Forum: FrSky Taranis radio
Topic: Taranis QX7 bluetooth
Replies: 104
Views: 9258

Re: Taranis QX7 bluetooth

I just tested a circuit that uses 4 resistors, 2 (bipolar) transistors and a capacitor. Seemed to generally work fine. It would probably be better if the power switch transistor is a P-channel MOSFET, but I don't have any I can plug into a breadboard for testing. Powered from 3.3V, the PNP switch dr...
by MikeB
Sat Sep 15, 2018 9:02 pm
Forum: er9x
Topic: FRSKY R9M compatibility?
Replies: 16
Views: 906

Re: FRSKY R9M compatibility?

The most recent test versions of er9x support the R9M, as long as you have a '128 or'2561 processor (which you do).

Mike
by MikeB
Fri Sep 14, 2018 11:09 pm
Forum: FrSky Taranis radio
Topic: Taranis QX7 bluetooth
Replies: 104
Views: 9258

Re: Taranis QX7 bluetooth

I think I'm making this more complicated than it needs to be! The TxD line is a logic level, serial data signal, so idles at a logic '1' (high voltage). When sending data it switches between high and low, but is always high for some of the time. Simply holding the signal low (as I do for the RF modu...
by MikeB
Fri Sep 14, 2018 11:10 am
Forum: openTx
Topic: Jumper T12 Open Source 16ch Radio with JP4-in-1 Multi-protocol RF Module
Replies: 23
Views: 2055

Re: Jumper T12 Open Source 16ch Radio with JP4-in-1 Multi-protocol RF Module

I thought intially the T12 didn't have a haptic vibrator, as I didn't get any vibration. I've just taken my T12 apart and found there is a haptic motor, but one of the connections to it wasn't soldered. I've now soldered that and haptic is working. I did create a version of ersky9x without any refer...
by MikeB
Fri Sep 14, 2018 11:04 am
Forum: FrSky Taranis radio
Topic: Taranis QX7 bluetooth
Replies: 104
Views: 9258

Re: Taranis QX7 bluetooth

Thinking about this, it would be good if we didn't need to use another I/O pin at all. To support the HC-05 (and some other modules) we have TxD, RxD and a control signal. I could either send a "line break", on the TxD signal, of two different lengths that is detected by a circuit to turn the power ...
by MikeB
Fri Sep 14, 2018 10:50 am
Forum: er9x
Topic: er9x development
Replies: 3087
Views: 287286

Re: er9x development

You may need to change a couple of defines in "lcd.h" as well. The serial LCD support was added by "flybabo", here is his original post regarding using the '1306 display: https://www.rcgroups.com/forums/showpost.php?p=26620035&postcount=917 . The '128 version supports both serial and parallel voice,...
by MikeB
Thu Sep 13, 2018 10:46 pm
Forum: FrSky Taranis radio
Topic: Taranis QX7 bluetooth
Replies: 104
Views: 9258

Re: Taranis QX7 bluetooth

jhsa wrote:
Wed Sep 12, 2018 11:47 pm
Would it be possible to add something like this to the other Ersky9x radios?
In theory, but they all have different possible "spare" signals, if they have any at all, so would take time to allow selection and configuration.

Mike
by MikeB
Thu Sep 13, 2018 9:00 pm
Forum: er9x
Topic: er9x development
Replies: 3087
Views: 287286

Re: er9x development

All looks OK. I compile using version 4.8.0 of the compiler because it produces smaller code than 4.9.2, and this matters for the M64 radios, with 4.9.2 the code doesn't fit. The compiler warnings are only generated by 4.9.2, but I will change the source code so they don't happen. The file "prov.txt...

Go to advanced search