robthomson / ExBus2CRSF

A a Jeti EXBUS to TBS Crossfire Transcoder
4 stars 1 forks source link

Help Teensy 3.2 #1

Open DNAcz opened 2 years ago

DNAcz commented 2 years ago

Since Teensy 3.2 is unavailable for a long time it would be possible to use it Teensy 4.0 or another board?This is a very nice project but currently without usable hw.

robthomson commented 2 years ago

Hey.. technically it should work on teensy 4.0 with no issues. Pretty sure another chap built one to work with it.

DNAcz commented 2 years ago

Rob thanks for the quick reply. I have Teensy 3.1 on the way but if it works with Teensy 4.0 that's very good news. Have you tried it? Dan

robthomson commented 2 years ago

Not personally.. but apparently it worked by just re-targetting the code in arduino.

DNAcz commented 2 years ago

Ok. Then I'll try it Teensy 4.0.Thank you again.

radio-mistress commented 2 months ago

I gave this a shot with a teensy 4.0, it still builds and works. i think i had to comment something about a esp32 but it was pretty easy error.

radio-mistress commented 2 months ago

c172f3f7-743e-45f3-a29f-8d8467e9ea2d.jpg

Telemetry and all

robthomson commented 2 months ago

Nice. That with elrs or crossfire?

radio-mistress commented 2 months ago

62fc45c8-5621-47a2-9596-9f05ffa64436.jpg

Expresslrs

robthomson commented 2 months ago

Superb. I could never get elrs to work in past. Prob find the teensy 3.2 was the issue

radio-mistress commented 2 months ago

I was able to increase the band rate to 912k as well, I suspect the 4.0 can support the full megabaud rates but the jeti is only going to send 100hz anyways wasnt to important to try that speed.

robthomson commented 2 months ago

Even better.

If you do manage to work out what you changed - send a pull request so we can update the info on the repo!

radio-mistress commented 2 months ago

https://github.com/robthomson/ExBus2CRSF/blob/4fa2bb4951cc7511d1523bd0b6c408d60a7caa3b/REQUIRED%20LIBRARIES/JetiExBus-master.zip in this library lines 40-42 JetiExProtocolBuf.h `#ifndef ESP32

include

endif `. Is what I had to remove, Im not sure why it was even looking for ESP32 stuff but its simple enough to comment out as its not required.

radio-mistress commented 2 months ago

I can repackage it and do a PR with the increased baud rate and include my tested hex file with a wire diagram for someone who doesn't wanna rebuild the project.

robthomson commented 2 months ago

That would be great. I no longer use jeti so hard for me to even test!

robthomson commented 2 months ago

On the plus side.. This code base is usefull for anybody who wants to do a crsf convertor.

I may at some point do an frsky to crsf transcoder.

Handy for guys who want to relay ther radio to a ground station etc...

radio-mistress commented 2 months ago

I was making that exact comment elsewhere! most of the CRSF implementations are pretty confusingly done and not documented in any reasonable way, much better starting point using this small sketch where the structure cleanly setup. I was thinking it would be possible to open more xfire ports as the teensy 4 has like 5 uarts so it could juggle a few radios and pick the best LQ/rssi. Thats all better off in a separate project, I just got a pair of 2.4 only ds-16 radios for free and figured I could get some airplanes setup, the handset part is so nicely built but these old 2.4 radios are no fun, it drops signal around the workshop can't fathom trying to fly something I want to come back.