Solo-DIY-RF-Laptimer icon indicating copy to clipboard operation
Solo-DIY-RF-Laptimer copied to clipboard

channels

Open plastinaf opened this issue 8 years ago • 7 comments

Hello Good work and thank you for sharing I modified the channels.h tab. To activate the channel and frequency F / Airwave because me and many people don't have raceBand

// Channels to send to the SPI registers const uint16_t channelTable[] PROGMEM = { // Channel 1 - 8 // 0x281D, 0x288F, 0x2902, 0x2914, 0x2987, 0x2999, 0x2A0C, 0x2A1E // Raceband // 0x2A05, 0x299B, 0x2991, 0x2987, 0x291D, 0x2913, 0x2909, 0x289F // Band A // 0x2903, 0x290C, 0x2916, 0x291F, 0x2989, 0x2992, 0x299C, 0x2A05 // Band B // 0x2895, 0x288B, 0x2881, 0x2817, 0x2A0F, 0x2A19, 0x2A83, 0x2A8D // Band E 0x2906, 0x2910, 0x291A, 0x2984, 0x298E, 0x2998, 0x2A02, 0x2A0C // Band F / Airwave // 0x2609, 0x261C, 0x268E, 0x2701, 0x2713, 0x2786, 0x2798, 0x280B // Band D / 5.3 }; // Channels' MHz Values const uint16_t channelFreqTable[] PROGMEM = { // Channel 1 - 8 // 5658, 5695, 5732, 5769, 5806, 5843, 5880, 5917 // Raceband // 5865, 5845, 5825, 5805, 5785, 5765, 5745, 5725 // Band A // 5733, 5752, 5771, 5790, 5809, 5828, 5847, 5866 // Band B // 5705, 5685, 5665, 5645, 5885, 5905, 5925, 5945 // Band E 5740, 5760, 5780, 5800, 5820, 5840, 5860, 5880 // Band F / Airwave // 5362, 5399, 5436, 5473, 5510, 5547, 5584, 5621 // Band D / 5.3 };

And upload But this does not work Other modification? Thank you

plastinaf avatar Jan 20 '17 13:01 plastinaf

Can you specify what exactly doesn't work? Does the Android app show Current RSSI value? Does this value change when you change channels in the app? Does it change when you change channels on VTX?

voroshkov avatar Jan 20 '17 15:01 voroshkov

it is not enough to alter the arduino code to have all other bands. it is also needed to prepare the android app so it can be suitable for all other freq. bands. I believe it is what is happening here.

jreis1 avatar Jan 20 '17 17:01 jreis1

@jreis1, not quite so. Android app in this project is just a user interface to the Arduino-driven device. You may close the app anytime during the race, but once you re-launch it and reconnect, it will pick up current state from the device and display as if it was continuously running.

In ordrer to change the band you don't need anything except commenting/uncommenting the corresponding line in the channelTable (even the channelFreqTable should not be changed, because it isn't used in code at all).

voroshkov avatar Jan 20 '17 19:01 voroshkov

Hi Andrey OK I explain Does the Android app show Current RSSI value? = yes but value not change or very little i have 880-885 when VTX is off. and when VTX is on, No change 880-885 in all channel. solo-diy-rf-laptimer

I added a 4.7k resistor in the rssi line and Ground Now the value is around 250 - 330 when VTX is Off. And 600 - 800 when VTX is on but not change if i select other channel 1 - 8 in the APP It work on Band F in solo but if other guy emit in 5.8 Ghz the counter increase because detect other VTX Voila ! sorry for my bad anglish i translate with Google

plastinaf avatar Jan 21 '17 15:01 plastinaf

The RSSI values you mention are too high. Normally RX5808 produces RSSI voltage from 0.5 to 1.5V, which corresponds to digital values in range from 100 to 300 on 5V Arduino. RSSI reading of 880 corresponds to ~4.3V, which is definitely too high.

I think you should either verify your schematic or replace the RX module and make sure to apply the SPI patch to it.

voroshkov avatar Jan 21 '17 15:01 voroshkov

sheaivey/rx5808-pro-diversity uses a 100k resistor between RSSI and ground and 1k resistor on each SPI, why aren't we using it here?

TechVic-1 avatar Jan 21 '17 16:01 TechVic-1

SPI communication is not extensive in this project. SPI is only used upon changing channel, so I found it not necessary to add resistors on SPI lines, though mentioned that it might make sense.

As for 100k to ground on RSSI line - I'm not sure what it would be needed for (but I'm not so experienced in electronics and open to improvements)

voroshkov avatar Jan 21 '17 20:01 voroshkov