mirror of https://github.com/speeduino/wiki.js.git
docs: add all untracked content
This commit is contained in:
parent
2adac5c1aa
commit
2aec84fad9
|
@ -0,0 +1,56 @@
|
||||||
|
# Continuous Integration (CI) is the practice, in software
|
||||||
|
# engineering, of merging all developer working copies with a shared mainline
|
||||||
|
# several times a day < http://docs.platformio.org/page/ci/index.html >
|
||||||
|
#
|
||||||
|
# Documentation:
|
||||||
|
#
|
||||||
|
# * Travis CI Embedded Builds with PlatformIO
|
||||||
|
# < https://docs.travis-ci.com/user/integration/platformio/ >
|
||||||
|
#
|
||||||
|
# * PlatformIO integration with Travis CI
|
||||||
|
# < http://docs.platformio.org/page/ci/travis.html >
|
||||||
|
#
|
||||||
|
# * User Guide for `platformio ci` command
|
||||||
|
# < http://docs.platformio.org/page/userguide/cmd_ci.html >
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Please choice one of the following templates (proposed below) and uncomment
|
||||||
|
# it (remove "# " before each line) or use own configuration according to the
|
||||||
|
# Travis CI documentation (see above).
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
#
|
||||||
|
# Template #1: General project. Test it using existing `platformio.ini`.
|
||||||
|
#
|
||||||
|
|
||||||
|
language: python
|
||||||
|
python:
|
||||||
|
- "2.7"
|
||||||
|
|
||||||
|
dist: bionic
|
||||||
|
sudo: required
|
||||||
|
|
||||||
|
|
||||||
|
#addons:
|
||||||
|
# apt:
|
||||||
|
# sources:
|
||||||
|
# - sourceline: 'deb http://ports.ubuntu.com/ubuntu-ports trusty-backports main restricted universe multiverse'
|
||||||
|
# packages:
|
||||||
|
# - cppcheck/trusty-backports
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- sudo apt-get update -qq
|
||||||
|
# - sudo apt-get install -t trusty-backports cppcheck
|
||||||
|
# Requirements for doxygen
|
||||||
|
- sudo apt-get install texlive-fonts-recommended lmodern texlive-xetex texlive-fonts-extra pandoc
|
||||||
|
|
||||||
|
script:
|
||||||
|
- wget https://github.com/jgm/pandoc/releases/download/2.9.1.1/pandoc-2.9.1.1-1-amd64.deb
|
||||||
|
- sudo dpkg -i pandoc-2.9.1.1-1-amd64.deb
|
||||||
|
- cd /home/travis/build/speeduino/wiki.js
|
||||||
|
- sudo ln -s /home/travis/build/speeduino/wiki.js/img /img
|
||||||
|
- sudo ./make_pdf.sh
|
||||||
|
- curl -v https://speeduino.com:2078 || true
|
||||||
|
- curl -v --tlsv1.2 --ipv4 --user "speeduino_manual@speeduino.com:$WEB_PWD" --basic -T "./offline/Speeduino_manual.pdf" "https://speeduino.com:2078/Speeduino_manual.pdf"
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
title: CanBus Support
|
title: CanBus Support
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2021-08-10T13:29:25.945Z
|
date: 2022-12-30T07:24:55.946Z
|
||||||
tags:
|
tags:
|
||||||
editor: undefined
|
editor: undefined
|
||||||
dateCreated: 2020-12-15T21:58:51.731Z
|
dateCreated: 2020-12-15T21:58:51.731Z
|
||||||
|
@ -26,8 +26,15 @@ The can0 Canbus Interface offers ,
|
||||||
|
|
||||||
1. OBD2 formatted data of current realtime data .
|
1. OBD2 formatted data of current realtime data .
|
||||||
2. Broadcast selected current realtime data and function status .(coming soon)
|
2. Broadcast selected current realtime data and function status .(coming soon)
|
||||||
3. Read in Analog and Digital data values from other devices on the BUS including those from OEM devices/ECU.(coming soon)
|
3. Read in Analog and Digital data values from other devices on the BUS including those from OEM devices/ECU.(coming soon).
|
||||||
|
4. Connect to Tunerstudio for programming/data logging.(under development)
|
||||||
|
|
||||||
|
draft note: under development
|
||||||
|
The can1 Canbus Interface offers ,
|
||||||
|
1. Broadcast current realtime data and function status
|
||||||
|
2. Read in Analog and Digital data values from other devices on the BUS including those from OEM devices/ECU.
|
||||||
|
3. Connect to Tunerstudio for programming/data logging.
|
||||||
|
|
||||||
# Settings
|
# Settings
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,58 @@
|
||||||
|
---
|
||||||
|
title: Connecting Tunerstudio via Canbus
|
||||||
|
description: Connecting to Tunerstudio via Canbus to tune and monitor Speeduino and other can connected devices
|
||||||
|
published: true
|
||||||
|
date: 2022-12-30T10:30:47.417Z
|
||||||
|
tags:
|
||||||
|
editor: undefined
|
||||||
|
dateCreated: 2022-12-30T08:19:57.703Z
|
||||||
|
---
|
||||||
|
|
||||||
|
# Connecting to Tunerstudio via Canbus
|
||||||
|
# NOTE: THIS IS A DRAFT Proposal subject to change!
|
||||||
|
Last update (30 December 2022)
|
||||||
|
## Outline
|
||||||
|
|
||||||
|
The usual way in which we connect the PC/tuning device running Tunerstudio to the Speeduino ecu is via USB .
|
||||||
|
This page explains the format by which the usb/serial data from the tuning device should be converted into a canbus message to enable connection instead using one of the canbus ports on the ECU .
|
||||||
|
Teensy and STM32 mcu based Speeduino have native canbus ports (the number of ports depends on the specific version of those MCU)
|
||||||
|
A mega2560 based Speeduino needs a coprocessor module that connects via serial3 to the mega board to add a canbus port .At the time of writing(30/12/2022) no coprocessor interface supports the tuning option.
|
||||||
|
|
||||||
|
The data is transferred at 500k using 11bit addressing via ISO tp.
|
||||||
|
|
||||||
|
## TS configuration
|
||||||
|
You must first enable cancommands from the project properties menu.This will enable the TS canid selection page within project properties.
|
||||||
|
You must ensure that the Speeduino ECU is configured as TS can device 0.
|
||||||
|
Other ECU TS is able to communicate with that support tuning over can should be assigned another of the 15 tscanids (as defined by the device firmware).
|
||||||
|
The selection of tscanid is very important as it allows the usb to canbus dongle to retrieve the actual canbus address of the ECU (s) to enable further communication with Tunerstudio.
|
||||||
|
|
||||||
|
## The serial to canbus format and protocol.
|
||||||
|
Below explains how the serial commands normally sent to and from TS are repackaged and sent over the canbus by the usb to canbus dongle (here onwards referred to as "the dongle") and how the receiving ECU reacts to those messages.
|
||||||
|
|
||||||
|
### Step 1
|
||||||
|
upon initial connection TS sends out a "Q" request.
|
||||||
|
The dongle sends out a can message with address 0x7df.
|
||||||
|
The 8 bytes of the message are filled as follows(example showing for a speeduino ecu).
|
||||||
|
|
||||||
|
byte 0 - 0x03
|
||||||
|
byte 1 - 0x22 ( send mode 22)
|
||||||
|
byte 2 - 0x80 ( PID 0x80 )
|
||||||
|
byte 3 - 0x00 (the tscanid of the ecu)
|
||||||
|
byte 4
|
||||||
|
byte 5
|
||||||
|
byte 6
|
||||||
|
byte 7
|
||||||
|
|
||||||
|
bytes 4-7 are unused in this message.
|
||||||
|
byte 3 should reflect the tscanid of the ecu . Tunerstudio sends the tscanid value of the device it is attempting to contact with the "Q" request . The dongle must insert this id into byte3.
|
||||||
|
|
||||||
|
The receiving ECU must reply with a 26 byte message on address 0x7e8 using the ISO tp format.
|
||||||
|
The message comprises
|
||||||
|
0x62 ( confirming a mode 22 , 0x22+0x40)
|
||||||
|
0x80 ( confirming it was a pid 80 )
|
||||||
|
0x00 ( the tscanid of the ecu)
|
||||||
|
The ECU firmware revision in the first 20bytes.
|
||||||
|
A ascii space (0x )
|
||||||
|
The ECU 11bit canbus tuning address in the last two bytes (little endian).
|
||||||
|
|
||||||
|
The dongle must strip the can address from the reply and save it for future data transfers to that tscanid.
|
|
@ -2,9 +2,9 @@
|
||||||
title: Overview
|
title: Overview
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2022-10-15T13:42:25.354Z
|
date: 2022-10-15T13:42:31.360Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: undefined
|
||||||
dateCreated: 2020-01-06T01:37:18.780Z
|
dateCreated: 2020-01-06T01:37:18.780Z
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
title: SD Card logging
|
title: SD Card logging
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2022-09-05T12:45:20.939Z
|
date: 2022-09-05T12:45:26.939Z
|
||||||
tags: sd, logging, dropbear
|
tags:
|
||||||
editor: markdown
|
editor: undefined
|
||||||
dateCreated: 2021-10-12T05:18:25.120Z
|
dateCreated: 2021-10-12T05:18:25.120Z
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
title: Secondary Serial IO interface
|
title: Secondary Serial IO interface
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2023-02-22T16:44:02.166Z
|
date: 2023-02-22T16:44:14.084Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: undefined
|
||||||
dateCreated: 2020-01-06T01:37:19.933Z
|
dateCreated: 2020-01-06T01:37:19.933Z
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
|
@ -2,9 +2,9 @@
|
||||||
title: NO2C_for_Speeduino
|
title: NO2C_for_Speeduino
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2023-03-14T15:52:00.581Z
|
date: 2023-03-14T15:52:12.828Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: undefined
|
||||||
dateCreated: 2020-01-06T01:53:35.241Z
|
dateCreated: 2020-01-06T01:53:35.241Z
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
title: V04 Board
|
title: V04 Board
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2023-04-12T07:21:04.468Z
|
date: 2023-04-12T07:21:14.306Z
|
||||||
tags: boards, hardware, v0.4
|
tags:
|
||||||
editor: markdown
|
editor: undefined
|
||||||
dateCreated: 2020-01-06T01:53:44.099Z
|
dateCreated: 2020-01-06T01:53:44.099Z
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
title: Idle
|
title: Idle
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2022-09-05T11:36:08.801Z
|
date: 2022-09-05T11:36:20.206Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: undefined
|
||||||
dateCreated: 2020-01-06T01:53:59.753Z
|
dateCreated: 2020-01-06T01:53:59.753Z
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
title: Programmable Outputs
|
title: Programmable Outputs
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2022-10-15T13:48:53.054Z
|
date: 2022-10-15T13:48:59.072Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: undefined
|
||||||
dateCreated: 2022-04-04T08:51:25.574Z
|
dateCreated: 2022-04-04T08:51:25.574Z
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
title: Staged Injection
|
title: Staged Injection
|
||||||
description: Configuring multi-stage fuel injection
|
description: Configuring multi-stage fuel injection
|
||||||
published: true
|
published: true
|
||||||
date: 2023-03-06T05:46:17.596Z
|
date: 2023-03-06T05:46:28.934Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: undefined
|
||||||
dateCreated: 2020-01-06T01:54:09.173Z
|
dateCreated: 2020-01-06T01:54:09.173Z
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
title: Thermo fan
|
title: Thermo fan
|
||||||
description: Control of a cooling fan relay
|
description: Control of a cooling fan relay
|
||||||
published: true
|
published: true
|
||||||
date: 2022-09-05T11:47:38.755Z
|
date: 2022-09-05T11:47:44.803Z
|
||||||
tags: aux outputs, tuning
|
tags:
|
||||||
editor: markdown
|
editor: undefined
|
||||||
dateCreated: 2020-01-14T02:17:03.743Z
|
dateCreated: 2020-01-14T02:17:03.743Z
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
title: Fuel (VE) table / map
|
title: Fuel (VE) table / map
|
||||||
description: Configuration of the main fuel / VE table
|
description: Configuration of the main fuel / VE table
|
||||||
published: true
|
published: true
|
||||||
date: 2021-11-11T07:32:32.241Z
|
date: 2022-12-13T23:59:09.280Z
|
||||||
tags:
|
tags:
|
||||||
editor: undefined
|
editor: undefined
|
||||||
dateCreated: 2020-06-18T00:47:09.502Z
|
dateCreated: 2020-06-18T00:47:09.502Z
|
||||||
|
@ -26,7 +26,7 @@ The values in this table represent a percentage of the `Required Fuel` amount th
|
||||||
|
|
||||||
> **Warning:** Changing this value will require retuning of the fuel map!{.is-warning}
|
> **Warning:** Changing this value will require retuning of the fuel map!{.is-warning}
|
||||||
|
|
||||||
- **Multiply by ration of AFR to Target AFR:** This option is normally set to `No` for most setups. It allows basic close loop feedback by adjust the base fuel amount according to how far away from the target AFR the engine is currently running.
|
- **Multiply by ratio of AFR to Target AFR:** This option is normally set to `No` for most setups. It allows basic closed loop feedback by adjusting the base fuel amount according to how far away from the target AFR the engine is currently running (in %). If the AFR/O2 Sensor type is set to `Disabled` then this setting will have no impact on the fuel calculation.
|
||||||
- **Multiply by ratio of stoich AFR to target AFR ('Incorporate AFR')**: By enabling this setting AFR target is incorporated to pulsewidth calculation. This makes VE table a better representation of actual VE, without AFR targets greatly affecting numbers. After VE table has been tuned, one can adjust an area richer or leaner just from AFR target table, basically without need to touch VE table.
|
- **Multiply by ratio of stoich AFR to target AFR ('Incorporate AFR')**: By enabling this setting AFR target is incorporated to pulsewidth calculation. This makes VE table a better representation of actual VE, without AFR targets greatly affecting numbers. After VE table has been tuned, one can adjust an area richer or leaner just from AFR target table, basically without need to touch VE table.
|
||||||
|
|
||||||
> **Warning:** Changing this value will require retuning of the fuel map!{.is-warning}
|
> **Warning:** Changing this value will require retuning of the fuel map!{.is-warning}
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
title: VSS and Gear Detection
|
title: VSS and Gear Detection
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2022-09-05T12:42:41.309Z
|
date: 2022-09-05T12:42:47.297Z
|
||||||
tags: gear detection, speed, tuning, vss
|
tags:
|
||||||
editor: markdown
|
editor: undefined
|
||||||
dateCreated: 2020-05-12T02:08:21.817Z
|
dateCreated: 2020-05-12T02:08:21.817Z
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
title: Style Guide
|
title: Style Guide
|
||||||
description: Style guidelines used within the Speeduino firmware
|
description: Style guidelines used within the Speeduino firmware
|
||||||
published: true
|
published: true
|
||||||
date: 2022-09-08T05:39:31.642Z
|
date: 2022-09-08T05:39:42.057Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: undefined
|
||||||
dateCreated: 2020-01-06T01:54:27.875Z
|
dateCreated: 2020-01-06T01:54:27.875Z
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
Binary file not shown.
Before Width: | Height: | Size: 57 KiB After Width: | Height: | Size: 72 KiB |
Binary file not shown.
After Width: | Height: | Size: 70 KiB |
|
@ -2,9 +2,9 @@
|
||||||
title: std_manual
|
title: std_manual
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2022-09-05T12:46:35.998Z
|
date: 2022-09-05T12:46:41.775Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: undefined
|
||||||
dateCreated: 2020-01-16T03:50:01.907Z
|
dateCreated: 2020-01-16T03:50:01.907Z
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue