Skip to the content
2 layers85 × 56 mmOrange juice board, the printed circuit board in 3D

Orange juice board

jeji/orange_juice13

A orange pi zero shield board for 3D printer with klipper features

Size
85 × 56 mm
Copper layers
2
Thickness
1.6 mm
Parts
56
Nets
56
Pads
190
Tracks, vias
372, 28
Pours
4
Routed
Yes
KiCad
KiCad 6 (file 20211014)
Created
28 Dec 2021
Updated
24 Nov 2022

Overview

Orange juice board is an open-source printed circuit board by jeji, from the jeji/orange_juice repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 85 × 56 mm with 56 parts on 56 nets, routed with 372 tracks and 28 vias.

It is built around the TPS5430DDA, USBLC6-2SC6 and AO3400A, with the B340A and SMAJ24A among its other parts. Its parts include 14 resistors, 14 connectors, 6 diodes, 4 capacitors and 3 ICs. It belongs with the robots and motor control boards of this library.

Main components

5

README

README.md

我的频道 My Channel

youtube: https://www.youtube.com/channel/UChTFW-Y9eg54AaTY_yama7A
bilibili:https://b23.tv/pqzW2up

版本信息 Release Note

2022/10/09: v0.8 Reverse the polarity to match the common wire setup
2022/02/06: v0.7 bate release version, passed function and stable test

香橙派Zero2版本
Version for Orange Pi Zero2 \

TODO:

  • Integrate CAN controller/receivier
  • Add motor driver socket as an universal socket for other feature, like:
    • PWM controlled open loop buck convert for better fan noise
    • Voron design MAX31865
    • Other SPI/UART/GPIO device

开始之前 Before You Start

  • 我并不是专业的电子工程师,设计本项目只是为了好玩和方便DIY Voron 3D打印机

  • 你将自行承担由此带来的所有风险

  • 社区有诸多反馈香橙派zero的CPU温度过高,所以在使用中请加强散热

  • 本项目为基于GPL3.0的开源项目,欢迎魔改。如果你有更好的改进也请务必与我分享

  • (!) 请特别注意文章中加粗和带"(!)"部分的内容

  • I'm not prefesstional electronic engineer, I designed this for fun and convenience while DIY my Voron printer

  • You will take it as your own risk for any potential damages

  • Overheat issue is being reported for OrangePi Zero H2+ CPU, hence a proper cooling fan even with cooling fin is strongly recommended

  • This project is based GPL3.0 license, you are free to modify it to yourown version. Please do share the joy with me if you did that

  • (!) Please pay attention for the bold and with "(!)" content

代号:橙汁 BoardName:Orange Juice

受全球芯片短缺情况影响,树莓派价格涨到了离谱的位置。 所以香橙派zero成了一个很好的替代品。120元左右的512MB版本可以满足做为klipper宿主的所有需求,甚至有点性能过剩。

klipper有诸多独特的功能需要使用到gpio针脚,每次都用排母端子去连接非常的不方便。在使用扩展板后不仅方便了许多,且可以得到额外的功能:

  • 一个专为ADXL345 设计的接口将香橙派SPI1总线引出
  • 一个专为Adafruit MAX31865 board 及其克隆版本设计的接口,作为软SPI使用了4个gpio接口
  • 两个从香橙派引出的USB2.0 TypeA接口
  • 一个UART接口
  • 三组gpio控制的PWM输出接口,最大输出电压与输入电压相同
  • 三组gpio接口配合5v电源接口,方便自定义其他功能
  • 两组恒定5v输出接口
  • 一个香橙派专用散热3010风扇安装位
  • 自带降压电路,接受9~24V输入电压降压为5V供香橙派及其接口使用
  • 扩展板大小及安装孔位与树莓派B系列保持一致
  • 使用0805或更大尺寸封装贴片封装以方便手工贴片

Due to current chipset shortage sitatuion, raspberry pi price increase to an unreasonable level. Hence OrangePi Zero become a good alternative. A 25 dollars 512MB ram version meets all the requirments I need as a klipper host for my Voron V0.1, and actually even little bit over kill.

Klipper has some advance features which need connect to gpio pins, it's not that convenience to use a pin header to connect gpio pin every time. Instead of that, with this board, it provides easier connection and more useful features:

  • A dedicate ADXL345 port is extended from OrangePi zero SPI1 bus
  • A dedicate MAX31865 port connect to 4 gpio pins as a SW SPI connection, for Adafruit MAX31865 board or its clone
  • Two USB2.0 Type A ports are extended from orange pi function pin
  • A UART port for UART communication with printer MCU board
  • Three klipper controllable pwm output ports, voltage depends on input DC voltage
  • Three gpio port from orangepi with 5v power, for custom function
  • Two 5v output ports
  • A built-in 3010 chip cooling fan position
  • A built-in step-down buck converter to convert DC 9~24v input to DC 5v to supply pi and 5v output socket
  • Raspberry Pi B Serials board size and mount hole position compatible
  • 0805 or larger size SMD components are being used for hand soldering

如何使用 How to use

硬件 Hardware

PCB打板:gerber文件

  • 你可以在嘉立创或者其他你喜欢的厂商免费打板
  • 保持打板厂商默认设置即可

BOM:电子元件BOM

  • 在立创商城使用BOM单里lcsc part编号搜索即可找到对应原件型号
  • 我使用的元件购买至淘宝,主要来自优信
  • (!) 香橙派针脚接头需要使用加高7.5mm的排母针脚, 参考链接:这里

PCB board:gerber file

  • You can get the PCB board from JLC or other PCB manufactory
  • Usually, keep the defualt setting shall be ok when you place your order

BOM:iBOM

  • Search the component at LCSC via lcsc part number in the BOM
  • I got my component from my trust taobao.com shop due to more reasble price
  • (!) You need the famale pin head with 7.5mm extra feet height for orange pi, reference link: Here

软件 Software

请参考config目录下的orange_juice.cfg文件
orange_juice.cfg under config folder for you reference

(!) 以下配置依赖香橙派已经被正确配置成klipper客户端,并且香橙派配置名为"opi"
具体方法请参考 https://www.klipper3d.org/RPi_microcontroller.html
(!) Following configuration is assuming that your pi has been config as a klipper client already with name "opi"
If not, please refer to https://www.klipper3d.org/RPi_microcontroller.html

ADXL345配置
ADXL345 configuration

text
[adxl345]
cs_pin: opi:gpio13
spi_bus: spidev1.0

[resonance_tester]
accel_chip: adxl345
probe_points: 60,60,20 #测试点,需要更改为你机器热床中心点,依次为x,y,z

MAX31865配置如下,(!) 你还需要在本节或者其他文件里定义挤出机其他配置
MAX31865 config, (!) you have to define other extruder value seperately

text
[extruder]
sensor_type: MAX31865
sensor_pin: opi:gpio1
spi_software_sclk_pin: opi:gpio2
spi_software_mosi_pin: opi:gpio0
spi_software_miso_pin: opi:gpio3
rtd_nominal_r: 100
rtd_reference_r: 430
rtd_num_of_wires: 2
rtd_use_50Hz_filter: True

PWM接口配置
PWM Port configuration

下为PWM控制的输出插座,对应插槽PWM1 ~ PWM3
(!) 请注意,由于香橙派内核原因,PWM2和PWM3从系统加电启动到klipper正式运行前,默认为高电平,即为打开状态。待klipper正式运行后恢复设置状态
PWM control input-voltage output slot
(!) Pay attention, because of the linux kernel complied by Orange Pi, the PMW2 and PWM3 is on HIGH (ON) from the power on till klipper start functioning

text
[fan_generic PWM1_Fan]
pin: opi:gpio10
max_power: 1
shutdown_speed: 0
cycle_time: 0.01
#hardware_pwm:
kick_start_time: 0.5
off_below: 0.1
#enable_pin:
#   See the "fan" section for a description of the above parameters.

[fan_generic PWM2_Fan]
pin: opi:gpio18
max_power: 1
shutdown_speed: 0
cycle_time: 0.01
#hardware_pwm:
kick_start_time: 0.5
off_below: 0.1
#enable_pin:
#   See the "fan" section for a description of the above parameters.

[fan_generic PWM3_Fan]
pin: opi:gpio19

Parts

56
QtyValueFootprintReferences
44k7Resistor_SMD:R_0805_2012MetricR4, R7, R7, R10
4MH_BoardMountingHole:MountingHole_2.5mm, , ,
4MH_FANMountingHole:MountingHole_3.2mm_M3H5, H6, H7, H8
3100Resistor_SMD:R_0805_2012MetricR5, R8, R14
310kResistor_SMD:R_0805_2012MetricR6, R9, R15
3AO3400APackage_TO_SOT_SMD:SOT-23Q2, Q3, Q4
210uFCapacitor_SMD:C_1206_3216MetricC1, C2
2MH_MAX31865MountingHole:MountingHole_3.2mm_M3H9, H10
2PWM2_STATUSLED_SMD:LED_0805_2012MetricD3, D3
2USBLC6-2SC6Package_TO_SOT_SMD:SOT-23-6U1, U3
1100KResistor_SMD:R_0805_2012MetricR2
110KResistor_SMD:R_0805_2012MetricR4
110nFCapacitor_SMD:C_0805_2012MetricC3
1220uFCapacitor_SMD:C_Elec_6.3x5.4C4
122uHInductor_SMD:L_Abracon_ASPI-0630LRL1
125K5Resistor_SMD:R_0805_2012MetricR3
13.24KResistor_SMD:R_0805_2012MetricR5
1B340ADiode_SMD:D_SMAD5
1CONN_ADXL345Connector_JST:JST_XH_B6B-XH-A_1x06_P2.50mm_VerticalJ3
1CONN_UARTConnector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ11
1Conn_01x08Connector_PinSocket_2.54mm:PinSocket_1x08_P2.54mm_VerticalJ12
1DC_INPUTTerminalBlock_Phoenix:TerminalBlock_Phoenix_PT-1,5-2-3.5-H_1x02_P3.50mm_HorizontalJ2
1FAN_5vConnector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ8
1GPIO11_HeadConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ14
1GPIO12_HeadConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ10
1GPIO6_HeadConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ13
1OrangePi Zero Function InterfaceConnector_PinSocket_2.54mm:PinSocket_1x13_P2.54mm_VerticalJ7
1OrangePi Zero GPIO PINsConnector_PinSocket_2.54mm:PinSocket_2x13_P2.54mm_VerticalJ4
1PWM1_STATUSLED_SMD:LED_0805_2012MetricD2
1PWM3_STATUSLED_SMD:LED_0805_2012MetricD4
1PWM_OUT1Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ10
1PWM_OUT2Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ12
1PWM_OUT3Connector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ15
1PWR_5vConnector_JST:JST_XH_B2B-XH-A_1x02_P2.50mm_VerticalJ9
1SMAJ24ADiode_SMD:D_SMAD6
1TPS5430DDAPackage_SO:TI_SO-PowerPAD-8_ThermalViasU2
1USB_A_Port_x2Connector_USB:USB_A_Wuerth_61400826021_Horizontal_StackedUSB1

Similar boards

  • 2 layers99 × 56 mmOrange juice board, the printed circuit board in 3D

    Orange juice board

    jeji/orange_juice_2

    For Orange Pi zero 2 with klipper and more advance feature

    56 parts5
  • 6 layers80 × 92 mmCM4-Edge AI Carrier, the printed circuit board in 3D

    CM4-Edge AI Carrier

    shyver/CM4-Edge-AI-Carrier

    A ruggedized, 6-layer High-Density Interconnect (HDI) carrier board designed to commercialize Raspberry Pi CM4 prototypes into deployable industrial AI products.

    55 parts
  • 4 layers60.2 × 60.5 mmESP32 FlightController, the printed circuit board in 3D

    ESP32 FlightController

    durveshpathak1989/kicad-local-agent

    Free local Ollama agent for generating and validating KiCad project files

    73 partsMIT
  • 2 layers100 × 85 mmESP32 MediaCarrier routed, the printed circuit board in 3D

    ESP32 MediaCarrier routed

    xmyoot/esp32-media-carrier

    ESP32 multimedia carrier board with 7–24 V DC buck regulator, 3.2 W Class-D I2S audio amp, WS2812 LED ring driver, and SPI TFT display header

    97 partsMIT
  • 2 layers160 × 95 mmPlaced, the printed circuit board in 3D

    Placed

    Zepheus/opentherm_heating_controller

    An open-source OpenTherm heating controller PCB

    99 parts
  • 2 layers200 × 200 mmSignalFLowLab, the printed circuit board in 3D

    SignalFLowLab

    Serpant4632/SignalFLowLab

    130 parts
  • 4 layers50 × 60 mmPiCCANTE OBD Dongle, the printed circuit board in 3D

    PiCCANTE OBD Dongle

    Alia5/PiCCANTE

    PiCCANTE is a powerful tool for exploring and reversing CAN busses of vehicles, based on Raspberry Pi Pico (any model)

    35 parts104GPL-3.0
  • 2 layers105.2 × 71.1 mmOnyx PCB, the printed circuit board in 3D

    Onyx PCB

    CuriousMotor/Onyx-Stepper-Motherboard

    The successor of the iconic Arduino-CNC-shield

    96 parts56MIT

Questions

How big is the Orange juice board PCB?

It measures 85 × 56 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Orange juice board use?

56 parts, built around the TPS5430DDA, USBLC6-2SC6, AO3400A and B340A. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Orange juice board KiCad files?

From the jeji/orange_juice repository on GitHub, at the commit this page was made from: the board is kicad/orange_juice_board.kicad_pcb and its schematic kicad/orange_juice_board.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Orange juice board design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).