ci-v_mqtt_stepper
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ci-v_mqtt_stepper [2020/11/13 15:14] – [Hardware] ok1hra | ci-v_mqtt_stepper [2025/08/20 16:57] (current) – [Firmware (CI-V variant)] ok1hra | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| - | == Known issue == | + | === Known issue === |
| - Q1 - bad footprint pinout | - Q1 - bad footprint pinout | ||
| ====== Connect ====== | ====== Connect ====== | ||
| Line 69: | Line 69: | ||
| * after first boot login to serial console with default login **pi** and password **raspberry** | * after first boot login to serial console with default login **pi** and password **raspberry** | ||
| * run command and **enable [[https:// | * run command and **enable [[https:// | ||
| - | * run command and write down the shown ''' | + | * run command and write down the shown **IP address** < |
| * you can disconnect HDMI monitor and USB keyboard | * you can disconnect HDMI monitor and USB keyboard | ||
| * connect to Raspberry PI from any other PC | * connect to Raspberry PI from any other PC | ||
| - | * [windows|https:// | + | * [[https:// |
| - | * [Linux|https:// | + | * [[https:// |
| - | * [iOS|https:// | + | * [[https:// |
| - | * update system with run command{{sudo apt-get update && sudo apt-get upgrade}} | + | * update system with run command |
| - | * install screen fith command | + | * install screen fith command |
| - | * run ''' | + | * run **screen** < |
| - | * now after pres ? key show status information and you can ''' | + | * now after pres **?** key show status information and you can **configure via CLI** \\{{https:// |
| - | * close screen with ''' | + | * close screen with **CTRL+A K** and confirm |
| - | * disconnect from Raspberry PI use command | + | * disconnect from Raspberry PI use command |
| - | !Firmware | + | ==== Firmware |
| - | For upload firmware you have two possibilities | + | For upload firmware you have two possibilities |
| - | # Download | + | |
| - | ## Install [EEPROM library|https:// | + | |
| - | # Download | + | < |
| - | ## for example [avrdude|http:// | + | |
| + | - upload via **ICSP programmer** | ||
| - | !! Firmware source | + | === Firmware source |
| - | contains some settings which does not available from CLI | + | contains some settings which does not available from CLI \\ |
| - | * You can enter ''' | + | * You can enter **frequency and uStep directly in to firmware** without CLI wizard. How to |
| - | **Disable preset coment line{{//#define RestoreMemoryFromEeprom}} | + | * Disable preset coment line < |
| - | **Write frequency and uSteps i to array{{unsigned long StorageFreqToStep[112][2] = { | + | * Write frequency and uSteps i to array< |
| - | {7000000, 0}, | + | {7000000, 0}, |
| - | {7010000, 500}, | + | {7010000, 500}, |
| - | {7020000, 1000}, | + | {7020000, 1000}, |
| - | {7030000, 1500}, | + | {7030000, 1500}, |
| - | {7040000, 2000}, | + | {7040000, 2000}, |
| - | ..}} | + | ..}}</ |
| - | ** Upload firmware | + | * Upload firmware |
| - | ** Select BCD input to bank-0 (must be, because only bank-0 saved also frequency, higest bank saved uStep only) | + | * Select BCD input to bank-0 (must be, because only bank-0 saved also frequency, higest bank saved uStep only) |
| - | ** Save frequency/ | + | * Save frequency/ |
| - | ** Replay edit table, upload and save for any higher bank | + | * Replay edit table, upload and save for any higher bank |
| - | ** After fill EEPROM to your liking, enable command in source file {{#define RestoreMemoryFromEeprom}} | + | * After fill EEPROM to your liking, enable command in source file < |
| - | ** After upload frequency/ | + | * After upload frequency/ |
| - | * Time (second number in ms) after which reduce stepper current and save last position to eeprom, if disable endstop{{long CurrentRunTimeout[2] = {0,1000};}} | + | * Time (second number in ms) after which reduce stepper current and save last position to eeprom, if disable endstop |
| - | * Enable serial debug if uncoment this line{{#define SERIAL_debug}} | + | * Enable serial debug if uncoment this line < |
| - | * CLI baudrate, default is 115200{{const int BAUDRATE0 = 115200;}} | + | * CLI baudrate, default is 115200 |
| - | + | ==== Firmware (MQTT variant) ==== | |
| - | !MQTT variant | + | * need install wiznet ethernet module |
| - | * need install wiznet ethernet module | + | * use another firmware [[https:// |
| - | * use another firmware [GitHub|https:// | + | * for setup and control see source code header |
| - | * for setup and control see source code header | + | |
ci-v_mqtt_stepper.1605280487.txt.gz · Last modified: by ok1hra
