Subversion Repositories Tronxy-X3A-Marlin

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 ron 1
# Configuration for Malyan M150 HobbyKing printer
2
 
3
Config without automatic bed level sensor, or in other words, "as stock"
4
 
5
## To install:
6
 
7
1. Install [Arduino](https://www.arduino.cc/en/Main/Software)
8
 
9
1. Install U8glib
10
    * `Sketch` -> `Include Library` -> `Manage Libraries...`
11
    * Search for and install `U8glib` by oliver
12
 
13
1. Install Sanguino
14
    * `File` -> `Preferences`
15
    * Add
16
    `https://raw.githubusercontent.com/Lauszus/Sanguino/master/package_lauszus_sanguino_index.json`
17
    to `Additional Boards Manager URLs`
18
 
19
1. Modify Sanguino `boards.txt`
20
    * Close Arduino
21
    * Locate Arduino15 folder
22
        - `C:\Users\<username>\AppData\Local\Arduino15` for Windows
23
        - `~/.arduino15` for Linux
24
 
25
    * Locate `boards.txt` in `packages/Sanguino/hardware/avr/1.0.2`
26
    (version number may change)
27
    * Add the following to the end of `boards.txt`
28
    (note that it is the same as sanguino.menu.cpu.atmega1284p but with
29
    a different name and upload speed)
30
 
31
            ## Malyan M150 W/ ATmega1284P 16MHz
32
            sanguino.menu.cpu.malyan_m150=Malyan M150
33
            sanguino.menu.cpu.malyan_m150.upload.maximum_size=130048
34
            sanguino.menu.cpu.malyan_m150.upload.maximum_data_size=16384
35
            sanguino.menu.cpu.malyan_m150.upload.speed=57600
36
            sanguino.menu.cpu.malyan_m150.bootloader.file=optiboot/optiboot_atmega1284p.hex
37
            sanguino.menu.cpu.malyan_m150.build.mcu=atmega1284p
38
            sanguino.menu.cpu.malyan_m150.build.f_cpu=16000000L
39
 
40
1. Configure Marlin
41
    * Copy `_Bootscreen.h`, `Configuration.h`, and `Configuration_adv.h`
42
    from `Marlin/example_configurations/Malyan/M150` to `Marlin`
43
    (overwrite files)
44
    * Read `Configuration.h` and make any necessary changes
45
 
46
1. Flash Marlin
47
    * Turn on printer while pressing scroll wheel button
48
    * Plug printer in to computer with USB cable
49
    * Open `Marlin/Marlin.ino` with Arduino
50
    * Configure Arduino
51
        - `Tools` -> `Board` -> `Sanguino`
52
        - `Tools` -> `Processor` -> `Malyan M150`
53
        - `Tools` -> `Port` -> Select your port
54
 
55
    * `Sketch` -> `Upload` or click arrow in top right corner