-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CM4Ext Nano OpenHD Edition? #3
Comments
Hello, I am from bavaria, Munich ( So I can buy and test the board as quickly as possible). I am also a Developer on the OpenHD system.
|
or maybe usb "trough hole" breakout for wifi card connection... |
Hey Harlab In my opinion your design is close to ideal for our use case as is, besides the mentioned things which can be overcome easily with an external dc/dc + usb hub. camera? Pi v2 or HD? do you need stereo camera? power input? 2s-6s was mentioned buttons, LEDs? what WiFi dongles and chipsets are you using or would like to try? anything we need to know I also live close to Bayern (Heidelberg) and like to offer test flights if needed. Best greetings, |
Hi @Consti10, good to hear that developers nearby available. That would make testing easier when hardware involved.
|
Yes, that would be preferable for a variety of reasons. Without using a USB3 controller connected via PCIe (like Pi4b), the USB wifi cards end up being connected to the older OTG port on the Pi, which has always had timing issues that have had significant impact on transmission and reception. Some of the other boards we're going to support have actual PCIe card slots as well. One thing I don't know yet is how the PCIe signaling would affect the transmission. On the Pi4b it should already be a factor but no one has checked with test equipment or compared. We know that USB3 signaling can affect it, though most people solder just the USB2 wires which avoids the problem.
Definitely, I've seen some other boards using the same style connectors that Pixhawk uses, like the DCDZ Jetson Nano carrier board. They're quite nice, and it's great to have something semi-standard to use. |
Hi @CopterGUI, nice to see that local test team can easily get together and your input on technical details is exactly what we need.
We feel that it's much nicer to have a clean assembly of a drone with minimum zip-tied/velcroed/hotglued parts, especially for 250 class, not to mention reliability. So current plan is that test-pilots to have prototypes, for OpenHD PCB production we need I'd say at least 50 orders.
Question was related to one possible implementation option, where you throw away PCB from V2 camera, connecting it directly to CM4 carrier board, making it very compact. Let me know if this is a nice option, or you prefer to have external camera anyway for CoG/layout issues.
Having both CSI available is not a problem, but note that CM4 exposes 2-lanes for CSI0 and 4-lanes for CSI1.
Is telemetry 3.3V UART?
Regarding WiFi please take a look at reply to @Consti10 and what do you think about still having one USB, but miniPCIe for WiFi?
Note taken)
This is great) But ground tests first. If you guys give a go for mini PCIe, then we will need to test WiFi adapters first on CMIO board. |
--Yes you are right, it's much nicer
I think external cameras are preferred because your approach would limit us to a single possible sensor, and the v2 sensor is not that good. Also I like to mention that At the moment we are using external csi-hdmi adapters to connect hdmi cameras. They are based on the Toshiba TC358743 chip. To implement that chip to have direct hdmi input is another idea.
That depends on the specific flight controller, but 99% of them have 3,3v UART yes.
What Stephen said above ^
I was referring to something like the skyworks SE5004L. A high power smd amp for the 5,8 ghz band. It's powered by 5V |
And keep in mind that it isn't going to be much longer before any of a large number of CSI sensors can be used on the pi, rather than just the few they released themselves (the older firmware camera stack is being replaced with an open stack based on libcamera). |
I think this quote is actually one of the most important ones:
But the only reason to use a PCIe card instead of a USB wifi card would be the fact that the CM4 routes out the PCIe connector and no proper USB 3 ports.
|
@steveatinfincia, @Consti10, we need to agree on interface configuration, below are options, including hardware to test (omitting CSI options here for clarity and feel free to add if something is missing):
Options 3 and 4 give possibility to build more integrated and cleaner setup, but requires more testing and evaluation of mPCIe card. I can support these tests providing CMIO, CM4, USB3.0 card and PCIe switch, while you'll need to have PCIe to mPCI adapter and variety of mPCIe cards. Can also support range test in field. What do you think? |
@harlab |
I really meant this one for options 2 and 4 |
As soon as I can get my hands on the CM4Ext_Nano I can test how well the original USB connector works for OpenHD / wifi cards. Maybe it will work just fine. Any info when / where it will be available ? |
I want to give my 2 cents and vote for option 2. Because:
|
my 2 cents:
But all the other guys already gave very good suggestions :) |
@Consti10, @CopterGUI ok, maybe we’re making a ~4 weeks pause here, then we can provide CM4Ext Nano for testing and maybe one or two prototypes of future boards. But if you’d like to make a test with CM4 and CMIO, we still can provide those for a couple of days. @machadofelipe any links to ground units build to see how it looks like? |
That makes sense. However, if you could share prototype designs with us (aka 3D rendered picture) that would be appreciated. I am curious to how these different designs 1-4 could look like. |
Here is a link to some grounstation builds: |
@Consti10 No matter what option to choose, it's likely to stay in the same 55x40 footprint, because with GPIO, audio, HDMI and Grove connectors removed, there is enough space to implement any features. USB2.0 connectors to be replaced with JST 1mm pitch with soldering points near connector for those who like to have everything solid. As for now, we need some more time to prepare hardware for your tests. @CopterGUI Thanks for pictures, really nice. If I get it right, air unit has higher priority for community over ground stations and those are two different projects. Just had an idea if Raspberry pi 3D glasses would be any useful |
I also want to join this discussion. That sounds all very promising! It should be easy to collect enough orders for that board, I need at least 5. @harlab I am also from Munich and would be happy to help with testing. I do daily test flights even in winter. If you have anything working (even actual nano) let's start. I can connect some usb hub in the meanwhile to connect my 2 usb devices and also power them with that. |
Hi @the-nicolas, good to hear more people available locally for testing. |
By the way, I got 5" 720x1280 IPS LCD running on CM4: https://github.com/harlab/CM4_LCD_LT070ME05000/blob/main/Documentation/JD9365Z.jpeg |
For VR with OpenHD I wrote this app: |
@harlab What does that has to do with the carrier board? These tests are rpi relevant and go hand in hand with used wifi card and distance... For the carrier we just need real life stability tests under different em/power environments. In my experience no theoretical test make sense, you need to put that stuff in the air. Having the other rf stuff, motors, esc, FC etc. around brings up the real problems. On the bench normally everything works... |
I kinda agree with nicolas. OpenHD doesn't have any "extraordinary" needs regarding stability except the usb-wifi-card issue. |
@the-nicolas, @Consti10, what I mean by "tests" is not to test OpenHD or particular WiFi card, but to choose one of baseboard hardware configurations from listed above.
Now questions:
|
Sorry for the confusing mention. Watching this thread with interest 😁 |
Alright ;) Definitely option 2:
Idea: It would be good to have the possibility to switch the power of the USB devices. Sometimes devices crash and it would be good to shut down the power during a reboot of the CM, that everything can fully recover... |
One more thing: If you need input which connectors to use, here is a shop that sells a carrier for a chinese version of rpi 3B+ |
@the-nicolas thanks, should be possible to switch USB power individually @Consti10 USB2.0 has one differential pair with bitrate 480Mb/s and looks like it can somehow tolerate moderate spaghetti wiring. USB3.0 has two more differential pairs with bitrate 5Gb/s. To miniaturize USB3.0, USB Type-C connectors can be used. One more thing: what's max total current on all USB connected devices? |
Good Morning everybody, Some more notes from my side:
Total current is arround 1A average for a high power air setup. With quite high spikes. This includes the Pi already. |
If Intel's testing data is correct, having those extra USB lanes running with a 5GHz signal will interfere with the wifi cards, but we should test it ourselves, because they would be useful. If it's a problem at all, it may only affect receiving RC signals on the air side, and traditional spread spectrum RC signals might not be vulnerable. |
They won't be needed anyway, most people were using them to switch settings for different vehicles, and vehicle settings follow the vehicle now. The other reasons people were using profiles no longer require settings at all. |
Ahh good to know. Thanks |
@steveatinfincia You remember the problem that Rpi4 got stuck during reboot and needs full reset? Having a reliable way to remote reset a system is really worth investing a few cent, loosing a model is way more expensive. |
I can confirm OpenHD 2.0.8 Buster works just fine on CM4 + IO board. Boot from eMMC. Air and Groundside. I used a single usb-ac56 on both sides and arducam imx477mini csi camera connected to cam1 port. USB needs to be activated by adding Any more tests required? |
Here is also a link to the pixhawk standard pinout: It would be good to follow this standard for telem (uart) and i2c. For USB I would also use the same pinout as for i2c/can, so at least voltages are on the same pins and you don't smoke something when connecting the wrong cable... |
Ok, thanks for your inputs. It will take a time to implement all these features, especially taking into account that some of those need prototyping, but in general we have plans for all of that anyways. Will share some preliminary layout as soon as we have it Only have to note here that last time I looked at CM4 datasheet, it was missing recommended operational conditions wrt 5V tolerances, but there can be small soldering jumper to switch between 5.0V and 5.1V |
@harlab Thanks a lot. Looking forward for it and hope you make good progress. Regarding the input voltage I also can't find any information. The mentioned 5.1-5.2V relate more to the normal Rpis. I guess they have some diod for protection which costs some voltage, that's why the voltage should a bit higher. Regarding input voltage: it would also be good to have some protection that the gpios accept 5v as input voltage. Or does the cm has that already? |
@the-nicolas, Pi4B input has no protection series diode and voltage goes directly to PMIC, so 5.1-5.2 probably would be fine as well. All Raspberry Pi models are not 5V tolerant. UART should be no problem, but i2c... it'd be better if periphery is missing pullups and SDA/SCL lines tied by CM4 to 3.3V |
Can you give us a date when the original version is going to be available for us to buy / test with ? |
CM4Ext Nano is in production now and expected to be on sale mid-March |
Is it going to ship from Europe or China? |
Ships from Europe Good news here |
Any update yet? Would like to order. |
Hi, @howels |
|
Hi, it's nice to see interest from OpenHD community.
We are looking into designing other versions of CM4Ext Nano board and we might come up with solution that you need.
Please list all specs that you need, like:
Board production and testing requires quite amount of time and money, but since this is experimental community driven project, we need your assistance:
The text was updated successfully, but these errors were encountered: