Git Product home page Git Product logo

fysetc / fysetc-aio_ii Goto Github PK

View Code? Open in Web Editor NEW
12.0 5.0 5.0 86.94 MB

FYSETC Board - AIO II is an All In One (So we call it AIO) solution with 32-bit MCU and 256-microsteps stepper motor drive for 3DP/CNC or similar machine.It has everything you need to assemble a 3DP, including a display and an SD card holder.

Home Page: https://www.aliexpress.com/item/32888370577.html

C++ 65.46% C 32.01% Makefile 0.27% Python 0.70% Shell 0.69% GDB 0.01% OpenSCAD 0.05% JavaScript 0.39% G-code 0.02% HTML 0.29% CSS 0.04% Assembly 0.04% NASL 0.01% CMake 0.04% Dockerfile 0.01%

fysetc-aio_ii's Introduction

Sorry, this page is being writed, and there is still some content waiting to be conpleted. Please be patient!

Product Introduction

Cheetah_top

This is an All In One (So we call it AIO) solution with 32-bit MCU and 256-microsteps stepper motor drive for 3DP/CNC or similar machine.It has everything you need to assemble a 3DP, including a display and an SD card holder.

Features

  • Compact size: 105mm x 50mm
  • fully integrated all in one solution:
    • STM32F103 MCU (Run Marlin 2.0 )
    • CH340 for high speed USB serial connection and firmware upload
    • 4X ST820 stepper drivers, 256 Microsteps
  • UNIVERSAL POWER:
    • can be used with 7V-35V for motors / heated bed
    • integrated high precision power regulators (DC/DC): 5V 1A Max and 3.3V 600mA Max LDO
  • **Onboard SD card socket **
  • Onboard RGB mini12864 LCD
  • Onboard RGB control
  • Support firmware upload via USB or SD
  • PCB:
    • High quality, High temperature FR4-TG130 PCB
    • Gold ENIG finishing

Application

  • 3D printer
  • CNC Machines
  • Other similar machines

Hardware Reasources

Board Name AIO II
License GPL V2.0
Latest Version V1.0
Extruders 1
Fixed Fans 1 Max
Controlled Fans 1 Max
Heaters 2 Max
Endstops 3 Max, 3Pin XH header
Temp sens 2 Max
I2C 1
SWD 1
Serial port chip CH340
CPU STM32F103
CPU Speed ( MHz ) 72 Mhz
Stepper driver 4X ST820
Stepper driver Type Modular, replaceable.
Input 7-35 V 15A Max;
Output BED OUT:10A Max ;Heater Out:5A Max

Pin Definition

Connector define :

AIO_3.2_pinout

Microsteps setting :

AIO_3.2_820_steps

Firmware Guide

Pre-buids

There is AIO-TEST-ST820.hex pre-build firmware for you to test the board if you can't drive this board with your own firmware.

Build the firmware

You can follow the following steps to build the firmware your self.

Download Vscode + platformio

To compile the firmware , you need to install Visual Studio Code and the platformio pulg-in.

Download firmware

If you download already downloaded this repo, the firmware is in the firmware folder. If not, you can find it here.

Configure the firmware

We have three seperated stepper driver module for this AIO_II board, you need to change the config according to different module.

  • 4 * ST820
#define X_DRIVER_TYPE  A4988
#define Y_DRIVER_TYPE  A4988
#define Z_DRIVER_TYPE  A4988
#define E0_DRIVER_TYPE A4988
  • 4 * TMC2208
#define X_DRIVER_TYPE  TMC2208
#define Y_DRIVER_TYPE  TMC2208
#define Z_DRIVER_TYPE  TMC2208
#define E0_DRIVER_TYPE TMC2208
  • 4 * TMC2209
#define X_DRIVER_TYPE  TMC2209
#define Y_DRIVER_TYPE  TMC2209
#define Z_DRIVER_TYPE  TMC2209
#define E0_DRIVER_TYPE TMC2209

note: The latest configurations are in separate repository here, you can download and find the config in config/Fysetc/AIO_II folder.

Compile the firmware

Open Vscode and open platformio main page and click the "Open Project" button , and direct to the folder where you put your firmware.

1561099422559

If everything goes fine , at the bottom you can see several buttons

1561099546202

The check mark is for compiling .

Open platformio.ini file and change the option default_envs as below.

default_envs = fysetc_STM32F1

And then replace the default configuration.h and configuration_adv.h with files locate in FIRMWARE_LOCATE\Marlin\Marlin\config\examples\FYSETC according to your board.

Then click check mark to compile.

If you can't generate the hex file, you may need to open vscode using Administrator Account .

For more detail information,you can refer to http://marlinfw.org/docs/basics/install_platformio.html

Upload the firmware(windows,linux,Mac)

We provide several ways to upload the firmware .You can just click the upload button to upload the firmware or refer to the two methods below.

Upload the firmware(windows)

After compiling , you should see the firmware file "firmware.hex" in the folder FIRMWARE_LOCATE\Marlin\Marlin\.pioenvs\fysetc_STM32F1\

Download the flash software in our github https://github.com/FYSETC/STM32Flasher

Connect the board and your pc with USB cable (This step should before you open the software)

Double the click "FlyMcu.exe" software to open it.

1561100540118

  1. Select "Reset@DTR low(<-3v),ISP @RTS High"
  2. Click "Port" to select the port of your USB
  3. Select FIRMWARE_LOCATE\Marlin\Marlin\.pioenvs\fysetc_STM32F1\firmware.hex as the screenshot shows.
  4. At last ,click the "Start ISP(p)" to upload the firmware.

Upload the firmware(linux)

Load usb driver

Delete the old version driver /lib/modules/$(uname -r)/kernel/drivers/usb/serial/ch341.ko

rm /lib/modules/$(uname -r)/kernel/drivers/usb/serial/ch341.ko

Download the CH34x driver(linux version) from our github

https://github.com/FYSETC/CH340-Driver

follow the readme.txt to make and load the driver .

If you want the driver load automatically every time your PC power up. You can copy the ch34x.ko file to

directory /lib/modules/$(uname -r)/kernel/drivers/usb/serial/ , and do

depmod 
Install stm32flash tool

First get the code

git clone https://git.code.sf.net/p/stm32flash/code stm32flash-code

Then follow the INSTALL file to install the software

Upload the firmware

Connect the motherboard with USB cable and your PC. And do

dmesg

And you will get message like

1562654867797

the ttyUSB0 is the port to communicate with the motherboard.

And then go the the firmware.hex file location directory and do the follow command to upload the firmware

 stm32flash -w firmware.hex -v -i rts,-dtr /dev/ttyUSB0

Bootloader

If you want to update the firmware from sdcard, you can try this bootloader. Follow the README there. Or use the pre-build one in bootloader folder besides this README.

Attachments

Where to Buy

Tech Support

For some reason,, we have to access Facebook via VPN...so our engineers can't reply to your question on Facebook in time, if possible, please submit issue in the github or in our forum .

fysetc-aio_ii's People

Contributors

dai757 avatar eliwong avatar gerogefu avatar sl1pkn07 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fysetc-aio_ii's Issues

Add AIO II Klipper config

I adapted and tested cheetah v1.2 config to work with AIO II

# This file contains common pin mappings for the FYSETC AIO II board.
# To use this config, the firmware should be compiled for the
# STM32F103 with "No bootloader" and serial (on USART1 PA10/PA9)
# communication.

# The "make flash" command does not work on the  AIO II. Instead,
# after running "make", run the following command to flash the board:
#  stm32flash -w out/klipper.bin -v -i rts,-dtr,dtr /dev/ttyUSB0

# See docs/Config_Reference.md for a description of parameters.\

[mcu]
serial:/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
restart_method: cheetah

[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100

[stepper_x]
step_pin:PB8
dir_pin: !PB9
enable_pin: !PA8
microsteps: 16
rotation_distance: 40
endstop_pin: ^PA1
position_endstop: 0
position_max: 200
homing_speed: 50

[tmc2208 stepper_x]
uart_pin:PA3
uart_address:0
run_current: 0.8
stealthchop_threshold: 999999

[stepper_y]
step_pin: PB2
dir_pin: !PB3
enable_pin: !PB1
microsteps: 16
rotation_distance: 40
endstop_pin:PA0
position_endstop: 0
position_max: 200
homing_speed: 50

[tmc2209 stepper_y]
uart_pin:PA3
uart_address:1
run_current: 0.800
stealthchop_threshold: 999999

[stepper_z]
step_pin: PC0
dir_pin: PC1
enable_pin: !PC2
microsteps: 16
rotation_distance: 8
endstop_pin: ^PB14
position_endstop: 0
position_max: 200

[tmc2209 stepper_z]
uart_pin:PA3
uart_address:2
run_current: 0.800
stealthchop_threshold: 999999

[extruder]
step_pin: PC15
dir_pin: !PC14
enable_pin: !PC13
microsteps: 16
rotation_distance: 33.500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PC6
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC4
control: pid
pid_kp: 21.527
pid_ki: 1.063
pid_kd: 108.982
min_temp: 0
max_temp: 250

[tmc2209 extruder]
uart_pin:PA3
uart_address:3
run_current: 1.0
stealthchop_threshold: 999999

[heater_bed]
heater_pin: PC7
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC5
control: pid
pid_kp: 54.027
pid_ki: 0.770
pid_kd: 948.182
min_temp: 0
max_temp: 120

[fan]
pin: PC8
    
[display]
#	mini12864 LCD Display
lcd_type: uc1701
cs_pin: PB5
a0_pin: PA15
rst_pin: PB4
#   The pins connected to a uc1701 type lcd.
encoder_pins: ^PC10,^PC11
#   The pins connected to encoder. 2 pins must be provided.
click_pin: ^!PC12
#   The pin connected to 'enter' button or encoder 'click'.
contrast: 63
spi_software_miso_pin: PA6
spi_software_mosi_pin: PA7
spi_software_sclk_pin: PA5

[led fysetc_mini12864]
red_pin:PB0
green_pin:PB6
blue_pin:PB7
#   The pin controlling the given LED color.
cycle_time: 0.010
#   The amount of time (in seconds) per PWM cycle.
#hardware_pwm: False
#   Enable this to use hardware PWM instead of software PWM.
initial_RED: 0.0
initial_GREEN: 1.0
initial_BLUE: 0.0
#   Sets the initial LED color. Each value should be between 0.0 and
#   1.0. The default for each color is 0.

[output_pin BEEPER_Pin]
pin: PC9
pwm: true 
value: 0
shutdown_value: 0
cycle_time: 0.001
scale: 1000

Use AIO II with other projects than 3dprinter (SMuFF Feder). problem with the display and u8g2 lib

Hi. i whant add support for this board in this project

https://github.com/technik-gegg/SMuFF-1.1

the pinout is set, but the display show nothing. the library used for the display is the u8g2 https://github.com/olikraus/u8g2 and set as U8G2_ST7567_JLX12864_1_4W_HW_SPI and also test with U8G2_UC1701_MINI12864_1_4W_HW_SPI

i also test the demo posted in https://github.com/olikraus/u8g2/wiki/u8g2setupcpp#introduction, but not sucess

what display controller use the AIO II?

the display seems (the code engraved in the display flat wire is LX-12864B11-3)

greetings

empty repository

Hi

no schemes, no PCB, no layouts... the repo is empty

greetings

AIO II Fan1 no output

Have confirmed with 2 different AIO II. one with original factory firmware, second with custom. Neither one will power the controllable fan output. I have full voltage out, but no ground signal.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.