arrow-left

All pages
gitbookPowered by GitBook
1 of 3

Loading...

Loading...

Loading...

Ochin CM4 Carrier

⚠️ This documentation is outdated! A current version is available at openhdfpv.orgarrow-up-right

📖 View Updated Version of This Page →arrow-up-right


hashtag
Öchin CM4 Carrier

The ochin_CM4 boardarrow-up-right is a carrier board for the Raspberry Pi CM4 module and is meant to expose the connections to the peripherals made available by the CM4 module.

hashtag
Specifications

• 4x USB 2.0 480Mbps (4x SM04B-GHS-TB(LF)(SN) connectors)

• 1x USB Type-C (for flashing eMMC)

• 2x CSI camera (2x FH12-22S-0.5SH (55) connectors)

• I2C1 (SM04B-GHS-TB(LF)(SN) connector)

• SPI1 / 6 (SM06B-GHS-TB(LF)(SN) connector)

• UART0 / 1 + Video Out (SM06B-GHS-TB(LF)(SN) connector)

• UART3 / UART5 (SM06B-GHS-TB(LF)(SN) connector)

• USART4 (SM06B-GHS-TB(LF)(SN) connector)

hashtag
Wiring

hashtag
Important notices on the Ochin_CM4

  1. The ochin_CM4 has no video output, it is designed to be used on the “air” side only.

  2. The ochin_CM4 does not have a slot for the microSD, it is therefore mandatory to use Raspberry Pi CM4 modules with eMMC (not lite).

  3. The Raspberry Pi CM4 module get pretty hot very quickly, please use an adequate heatsink.

hashtag
Installation and connections:

The ochin_CM4 board is equipped with a 5VDC switching regulator, necessary to power the CM4 module and all the peripherals connected to it.

The regulator is able to accept input voltages from 7.5VDC to 28VDC (LiPo from 2S to 7S) and provide output currents up to 7A.

Thanks to the great power supplied by the regulator, it is possible to use the VBUS of the USB ports also to power the WiFi module, which is not normally recommended due to the large currents required by these modules.

However it should be noted that, to protect the CM4 module from any problems on the VBUS, the board is equipped with a current switch, which cuts the VBUS for currents higher than 3A.

This allows you to keep the CM4 module running even in the event of a short on the VBUS.

For this reason it is good to be sure to never exceed 3A on the VBUS (it is rare for a module to reach this limit, in fact 3A at 5V are 15W of power drawn).

However, it is possible to bypass the current switch in case you need more current on the VBUS, waiving the VBUS safety (see the ochin_CM4 board manual).

hashtag
CM4 module installation

The CM4 connectors are quite delicate and very dense, so you need to be careful.

Before positioning the CM4 module, it is advisable to check that there are no specks of dust or other things that could prevent contact of the pins, if necessary clean with a brush and air.

Place the module gently on the connectors until you feel they are seated in each other (there is a first zero force step where they snap into). When you are sure that the two boards are perfectly aligned and the connectors engaged, press the two long edges of the CM4 module until the connectors are fully inserted.

It is advisable to limit the disassembly of the CM4 module as much as possible to avoid damaging the connector contacts.

To remove the CM4 module from the ochin board is always suggested to use the proper extractor.

You can find the .STL files to print .

hashtag
Flashing the Ochin

The procedure to flash the CM4 eMMC it’s straightforward, what you need to do in synthesis is the following:

  1. Power up the board with boot configuration as “mass storage device”. • To do so you need to power off the board (no Vin connected) • Press the “nRPiboot” button and, keeping it pressed power up the board using the “Vin” Connector. • Connect the board to your PC using the USB Type-C port

  1. Run the “RPiboot” software, downloaded from the Raspberry Pi website. After the software starts, the PC will see the partition of the eMMC like if it would an SD into the SDcard reader.

  2. Flash the eMMC using the OpenHD imageWriter.

OpenHd already includes the dt-blob.bin file, and 'dtoverlay=dwc2,dr_mode=host' has been enabled in 'boot/config.txt'.

hashtag
Connecting the CSI Camera:

The CSI camera can be connected to one of the two FFC connectors.

If you want to use the "Camera0" connector, make sure that the two jumpers of the I2C (used for the camera config) are shorted.

hashtag
Connecting the WiFi dongle:

The WiFi dongle can be connected to one of the 4 USB connectors on the board.

In order to minimize the problems associated with connecting a "fast bus" such as USB, it is advisable to cut a USB extender and solder it to a GHS connector, leaving the wires on the connector side as short as possible.

hashtag
Connecting the Telemetry

To connect the telemetry to the FC it is possible to use one of the available UART ports, the UART used by default is UART0 / 1.

It is important to keep in mind that the GPIOs of the CM4 module are not 5V tolerant, it is therefore important to be sure that the logic levels of the FC UART are 0V-3V3.

hashtag
Where to buy the Ochin?

Ochin CM4 Carrier v2

⚠️ This documentation is outdated! A current version is available at


The ochin_CM4v2 board is a carrier board for the Raspberry Pi CM4 module, designed to expose the connections to the peripherals made available by the CM4 module.

hashtag
Overview

Raspberry

⚠️ This documentation is outdated! A current version is available at


Supported Raspberry's for the AirSBC in descending order from good to worse

SBC
Notes

Raspberry Pi 4B

Raspberry Pi 3B+

Raspberry Pi 3B

Raspberry Pi 3B mini

Raspberry Pi 3A

Raspberry Pi Compute Module CM3+

1

Raspberry Pi 2B v1.2

Raspberry Pi 3A+

Raspberry Pi Zero 2

3

Earlier Raspberrys might work, but can't be officially supported anymore.

  1. Requires a dt-blob.bin file for your carrier board when used as AIR to support dual cameras at the moment, ask for help in Telegram

  2. Different carrier boards need different dt-blob.bin files, needs to be placed on the root of the SD-Card, if it differs from the ochin board-file

  3. The most widely used and cost/effective

Supported Raspberry's for the GroundSBC in descending order from good to worse

SBC
Notes

Raspberry Pi Compute Module CM4

1

Raspberry Pi 4B

Raspberry Pi 3B+

Raspberry Pi 3B

Raspberry Pi Compute Module CM3+

1

Earlier Raspberrys might work, but can't be officially supported anymore.

  1. Keep in mind, that your carrier board needs to support HDMI and needs (multiple) USB Ports to be used as Ground.

Raspberry Pi Compute Module CM4

1,2

openhdfpv.orgarrow-up-right
📖 View Updated Version of This Page →arrow-up-right

The ochin_CM4 cannot be powered via the USB-C connector. The Type-C connector is only used for writing the eMMC.

  • The CSI flat cable is very close to the USBs and it prone to RF noise. It’s suggested to shield the flat cable with copper tape (or at least alu tape);

  • The USB WiFi dongle will drawn some Amps, please use supply cables of adequate size between the ochin_CM4 board and the USB dongle.

  • herearrow-up-right
    Herearrow-up-right
    wiring
    right
    wrong
    extractor
    extractor
    extractor
    boot
    boot
    boot
    boot
    This summary is intended to facilitate the installation and use of the ochin_CM4v2 with OpenHD software.

    For more detailed documents, please follow the official GitHub links:

    • ochin_CM4v2 user manualarrow-up-right

    • ochin_CM4v2 quick start flashing guidearrow-up-right

    • ochin_CM4v2 wiring and suggestionsarrow-up-right

    hashtag
    Specifications

    • 4x USB 2.0 480Mbps (4x SM04B-GHS-TB(LF)(SN) connectors)

    • 1x USB Type-C (for flashing eMMC)

    • 2x CSI camera (2x FH12-22S-0.5SH (55) connectors)

    • I2C1 (SM04B-GHS-TB(LF)(SN) connector)

    • SPI1 / 6 (SM06B-GHS-TB(LF)(SN) connector)

    • UART0 / 1 + Video Out (SM06B-GHS-TB(LF)(SN) connector)

    • UART4 / UART5 (SM06B-GHS-TB(LF)(SN) connector)

    • 1x Ethernet transformerless 100Base-T

    • 1x microHDMI

    • 2x general purpose LEDs

    • RGB LED on external tiny board

    • 1x general purpose button on external tiny board

    hashtag
    Wiring

    wiring
    ext-board
    underside
    button

    hashtag
    Preliminary Considerations

    1. The ochin_CM4v2 now supports the uHDMI video output. It is designed to be used both on the “air” and on the “ground” side.

    2. The ochin_CM4 does not have a slot for the microSD; it is mandatory to use Raspberry Pi CM4 modules with eMMC (not lite).

    3. The Raspberry Pi CM4 module gets pretty hot very quickly, please use an adequate heatsink.

    4. The ochin_CM4 cannot be powered via the USB-C connector. The Type-C connector is only used for writing the eMMC.

    5. The CSI flat cable is very close to the USBs and is prone to RF noise. It’s suggested to shield the flat cable with copper tape (or at least alu tape).

    6. The USB WiFi dongle will draw some Amps, please use supply cables of adequate size between the ochin_CM4 board and the USB dongle.

    hashtag
    Installation and Connections

    hashtag
    Power Supply

    The ochin_CM4v2 board is equipped with a 5VDC switching regulator necessary to power the CM4 module and all the peripherals connected to it. The regulator can accept input voltages from 7.5VDC to 28VDC (LiPo from 2S to 7S) and provide output currents up to 7A. It is possible to use the VBUS of the USB ports also to power the WiFi module. The board is equipped with a current switch that cuts the VBUS for currents higher than 3A to protect the CM4 module. It is possible to bypass the current switch if more current is needed on the VBUS, waiving the VBUS safety (see the ochin_CM4 board manual).

    hashtag
    CM4 Module Installation and Flash

    The CM4 connectors are delicate and dense. Ensure no dust or debris is on the connectors before positioning the CM4 module. Gently place the module on the connectors until they snap into place. Press the two long edges of the CM4 module until the connectors are fully inserted. Limit disassembly to avoid damaging the connector contacts.

    right
    wrong

    To remove the CM4 module from the ochin board, use the proper extractor. The .STL files for printing the extractor can be found in the “3D” section of the GitHub repository.

    tools
    tools2
    tools3

    hashtag
    Flashing the CM4 eMMC

    1. Power up the board with boot configuration as a “mass storage device”.

      • Power off the board (no Vin connected)

      • Press the “nRPiboot” button on the tiny external board and, keeping it pressed, power up the board using the “Vin” Connector.

      • Connect the board to your PC using the USB Type-C port.

    board
    1. Run the “RPiboot” software, downloaded from the Raspberry Pi websitearrow-up-right. The PC will see the eMMC partition as if it were an SD card in the SD card reader.

    2. Flash the eMMC using the OpenHD imageWriter.

    hashtag
    Connecting the CSI Camera

    The CSI camera can be connected to one of the two FFC connectors. The copper contacts of the flat cable must be oriented PCB-side.

    hashtag
    Connecting the WiFi Dongle

    The WiFi dongle can be connected to one of the 4 USB connectors on the board. It is advisable to cut a USB extender and solder it to a GHS connector, keeping the wires on the connector side as short as possible.

    connection1
    connection2

    hashtag
    Connecting the Telemetry

    To connect the telemetry to the FC, use one of the available UART ports. The default UART is UART0 / 1. Ensure that the logic levels of the FC UART are 0V-3V3, as the GPIOs of the CM4 module are not 5V tolerant.

    telemetry

    hashtag
    Where to Buy the Ochin?

    Purchase the Ochin CM4v2 board herearrow-up-right.

    openhdfpv.orgarrow-up-right
    📖 View Updated Version of This Page →arrow-up-right
    ochin_CM4v2 GitHub repositoryarrow-up-right