Merge branch 'master' of https://github.com/noisymime/speeduino into reset-lock
# Conflicts: # reference/speeduino.ini
This commit is contained in:
commit
27641514f4
|
@ -0,0 +1,18 @@
|
|||
# Set the default behavior, in case people don't have core.autocrlf set.
|
||||
* text=auto
|
||||
|
||||
*.ino text eol=lf
|
||||
*.h text eol=lf
|
||||
*.c text eol=lf
|
||||
*.ini test eol=lf
|
||||
*.msq test eol=lf
|
||||
|
||||
# Denote all files that are truly binary and should not be modified.
|
||||
*.png binary
|
||||
*.jpg binary
|
||||
*.dll binary
|
||||
*.fzz binary
|
||||
*.xls binary
|
||||
|
||||
|
||||
*.pdf -text
|
|
@ -18,3 +18,4 @@ reference/hardware/v0.4/gerbers/Archive.zip
|
|||
.project
|
||||
.vscode
|
||||
.build
|
||||
.kicad_pcb-bak
|
||||
|
|
|
@ -5,9 +5,12 @@
|
|||
|
||||
uint16_t map1_adc, map2_adc, map3_adc, map4_adc;
|
||||
uint16_t map5_adc, map6_adc, map7_adc, map8_adc;
|
||||
uint16_t currentMAP, map1, map2, map3, map4; //These values are all stored in kPa x 10 for 1 point of extra precision
|
||||
uint16_t currentMAP, map1, map2, map3, map4; //These values are all stored in kPa x 8 for 1 point of extra precision. They are the instantaneous values
|
||||
uint16_t map1_min, map2_min, map3_min, map4_min; //As above, but represent the minimum reading for each sensor within the current cycle
|
||||
|
||||
uint16_t rev_count = 0;
|
||||
byte currentLowestCylinder;
|
||||
uint16_t cycle_count = 0;
|
||||
unsigned long cycleStartTime;
|
||||
|
||||
bool serialStream = false;
|
||||
|
||||
|
@ -41,6 +44,8 @@ void setup() {
|
|||
//Set the port and mask for the cable select pin
|
||||
cs_pin_port = portOutputRegister(digitalPinToPort(pinChipSelect));
|
||||
cs_pin_mask = digitalPinToBitMask(pinChipSelect);
|
||||
|
||||
cycleStartTime = micros();
|
||||
}
|
||||
|
||||
void loop()
|
||||
|
@ -48,41 +53,53 @@ void loop()
|
|||
loopCount++;
|
||||
|
||||
if(Serial.available() >= SERIAL_BUFFER_THRESHOLD) { command(); }
|
||||
if(serialStream == true) { sendCSV(); } //If serialStream is enabled, the current map values are sent continually as CSV
|
||||
if(serialStream == true && Serial.availableForWrite() ) { sendCSV(); } //If serialStream is enabled and the serial write buffer isn't full, the current map values are sent continually as CSV
|
||||
|
||||
//Read each of the 4 sensors and map them using the calibration values (Results in map1 value in kPa etc)
|
||||
map1_adc = analogRead(pinMAP1);
|
||||
map1_adc = analogRead(pinMAP1);
|
||||
map1 = fastMap10BitX10(map1_adc, MPX2450_min, MPX2450_max);
|
||||
map1 = fastMap10BitX8(map1_adc, MPX2450_min, MPX2450_max);
|
||||
|
||||
map2_adc = analogRead(pinMAP2);
|
||||
map2_adc = analogRead(pinMAP2);
|
||||
map2 = fastMap10BitX10(map2_adc, MPX2450_min, MPX2450_max);
|
||||
map2 = fastMap10BitX8(map2_adc, MPX2450_min, MPX2450_max);
|
||||
|
||||
map3_adc = analogRead(pinMAP3);
|
||||
map3_adc = analogRead(pinMAP3);
|
||||
map3 = fastMap10BitX10(map3_adc, MPX2450_min, MPX2450_max);
|
||||
map3 = fastMap10BitX8(map3_adc, MPX2450_min, MPX2450_max);
|
||||
|
||||
map4_adc = analogRead(pinMAP4);
|
||||
map4_adc = analogRead(pinMAP4);
|
||||
map4 = fastMap10BitX10(map4_adc, MPX2450_min, MPX2450_max);
|
||||
map4 = fastMap10BitX8(map4_adc, MPX2450_min, MPX2450_max);
|
||||
|
||||
//Find the lowest current value
|
||||
byte tempLowestCylinder = 1;
|
||||
currentMAP = map1;
|
||||
if(map2 < currentMAP) { currentMAP = map2; }
|
||||
if(map3 < currentMAP) { currentMAP = map3; }
|
||||
if(map4 < currentMAP) { currentMAP = map4; }
|
||||
if(map2 < currentMAP) { currentMAP = map2; tempLowestCylinder = 2; }
|
||||
if(map3 < currentMAP) { currentMAP = map3; tempLowestCylinder = 3; }
|
||||
if(map4 < currentMAP) { currentMAP = map4; tempLowestCylinder = 4; }
|
||||
|
||||
//Check if we're starting a new cycle yet
|
||||
//This is determined to be when sensor 1 has the lowest reading, but only if the previous lowest reading was on another cylinder
|
||||
//Note that this is only really accurate for determining that a new cycle has started. RPM readings based on it will bounce around by a few 100
|
||||
if( tempLowestCylinder == 1 && currentLowestCylinder != 1)
|
||||
{
|
||||
cycle_count++;
|
||||
currentLowestCylinder = tempLowestCylinder;
|
||||
cycleStartTime = micros();
|
||||
}
|
||||
|
||||
|
||||
//Set the DAC output value from the above
|
||||
setDAC();
|
||||
}
|
||||
|
||||
void setDAC()
|
||||
static inline void setDAC()
|
||||
{
|
||||
uint16_t outputValue;
|
||||
|
||||
byte outputValueByte0, outputValueByte1;
|
||||
|
||||
outputValue = map(currentMAP, 0, 2550, 0, 4095);
|
||||
outputValue = map(currentMAP, 0, 2048, 0, 4095); //The MAP readings have been multiplied by 8 for better resolution. The 2048 brings them back into an 8 bit (256) range equivalent
|
||||
outputValueByte0 = byte(outputValue);
|
||||
outputValue = outputValue >> 8;
|
||||
outputValueByte1 = byte(outputValue | 0b00110000); //Combines the remaining part of the
|
||||
|
|
|
@ -23,13 +23,13 @@ void command()
|
|||
|
||||
void sendCSV()
|
||||
{
|
||||
Serial.write(map1/10);
|
||||
Serial.print(map1/8);
|
||||
Serial.print(",");
|
||||
Serial.write(map2/10);
|
||||
Serial.print(map2/8);
|
||||
Serial.print(",");
|
||||
Serial.write(map3/10);
|
||||
Serial.print(map3/8);
|
||||
Serial.print(",");
|
||||
Serial.write(map4/10);
|
||||
Serial.print(map4/8);
|
||||
Serial.println("");
|
||||
}
|
||||
|
||||
|
@ -37,7 +37,8 @@ void sendStats()
|
|||
{
|
||||
Serial.println("Version: 0.1");
|
||||
Serial.print("Loops/s: ");
|
||||
Serial.write(loopsPerSecond);
|
||||
Serial.println("");
|
||||
Serial.println(loopsPerSecond);
|
||||
Serial.print("Output: ");
|
||||
Serial.println(outputValue);
|
||||
}
|
||||
|
||||
|
|
|
@ -26,11 +26,14 @@ volatile byte loop66ms;
|
|||
volatile byte loop100ms;
|
||||
volatile byte loop250ms;
|
||||
volatile int loopSec;
|
||||
uint16_t outputValue;
|
||||
|
||||
#define CS_PIN_LOW() *cs_pin_port &= ~(cs_pin_mask)
|
||||
#define CS_PIN_HIGH() *cs_pin_port |= (cs_pin_mask)
|
||||
|
||||
#define fastMap10BitX10(x, out_min, out_max) ( ( ((unsigned long)x * 10 * (out_max-out_min)) >> 10 ) + (out_min * 10))
|
||||
#define fastMap10BitX8(x, out_min, out_max) ( ( ((unsigned long)x * 8 * (out_max-out_min)) >> 10 ) + (out_min * 8))
|
||||
#define map1(x, in_min, in_max, out_min, out_max) ( (unsigned long)x * out_max / in_max )
|
||||
void setDAC();
|
||||
|
||||
//Interrupt for timer. Fires every 1ms
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
(general
|
||||
(links 60)
|
||||
(no_connects 60)
|
||||
(area 228.524999 81.204999 245.185001 138.505001)
|
||||
(area 39.924999 39.924999 140.075001 140.075001)
|
||||
(thickness 1.6)
|
||||
(drawings 13)
|
||||
(tracks 1)
|
||||
(drawings 8)
|
||||
(tracks 0)
|
||||
(zones 0)
|
||||
(modules 27)
|
||||
(nets 35)
|
||||
|
@ -170,7 +170,7 @@
|
|||
)
|
||||
|
||||
(module Capacitors_SMD:C_0805_HandSoldering (layer F.Cu) (tedit 5A52D5C8) (tstamp 5A5A353F)
|
||||
(at 193.04 96.52)
|
||||
(at 108.04 80.52)
|
||||
(descr "Capacitor SMD 0805, hand soldering")
|
||||
(tags "capacitor 0805")
|
||||
(path /5A52C37B/5A52CB3C)
|
||||
|
@ -203,7 +203,7 @@
|
|||
)
|
||||
|
||||
(module Capacitors_SMD:C_0805_HandSoldering (layer F.Cu) (tedit 5A52D5EE) (tstamp 5A5A354F)
|
||||
(at 193.04 121.92)
|
||||
(at 108.04 110.92)
|
||||
(descr "Capacitor SMD 0805, hand soldering")
|
||||
(tags "capacitor 0805")
|
||||
(path /5A52C37B/5A52CB35)
|
||||
|
@ -236,7 +236,7 @@
|
|||
)
|
||||
|
||||
(module Capacitors_SMD:C_0805_HandSoldering (layer F.Cu) (tedit 5A52D664) (tstamp 5A5A355F)
|
||||
(at 170.18 127)
|
||||
(at 69.18 116)
|
||||
(descr "Capacitor SMD 0805, hand soldering")
|
||||
(tags "capacitor 0805")
|
||||
(path /5A52C37B/5A52CB43)
|
||||
|
@ -269,7 +269,7 @@
|
|||
)
|
||||
|
||||
(module Capacitors_SMD:C_0805_HandSoldering (layer F.Cu) (tedit 5A52D6B3) (tstamp 5A5A356F)
|
||||
(at 170.18 97.79)
|
||||
(at 69.18 80.79)
|
||||
(descr "Capacitor SMD 0805, hand soldering")
|
||||
(tags "capacitor 0805")
|
||||
(path /5A52C37B/5A52CB4A)
|
||||
|
@ -302,7 +302,7 @@
|
|||
)
|
||||
|
||||
(module Capacitors_SMD:C_0805_HandSoldering (layer F.Cu) (tedit 5A52D5BF) (tstamp 5A5A357F)
|
||||
(at 193.04 92.71)
|
||||
(at 108.04 76.71)
|
||||
(descr "Capacitor SMD 0805, hand soldering")
|
||||
(tags "capacitor 0805")
|
||||
(path /5A52C37B/5A52CB3D)
|
||||
|
@ -335,7 +335,7 @@
|
|||
)
|
||||
|
||||
(module Capacitors_SMD:C_0805_HandSoldering (layer F.Cu) (tedit 5A52D601) (tstamp 5A5A358F)
|
||||
(at 193.04 125.73)
|
||||
(at 108.04 114.73)
|
||||
(descr "Capacitor SMD 0805, hand soldering")
|
||||
(tags "capacitor 0805")
|
||||
(path /5A52C37B/5A52CB36)
|
||||
|
@ -368,7 +368,7 @@
|
|||
)
|
||||
|
||||
(module Capacitors_SMD:C_0805_HandSoldering (layer F.Cu) (tedit 5A52D675) (tstamp 5A5A359F)
|
||||
(at 170.18 123.19)
|
||||
(at 69.18 112.19)
|
||||
(descr "Capacitor SMD 0805, hand soldering")
|
||||
(tags "capacitor 0805")
|
||||
(path /5A52C37B/5A52CB44)
|
||||
|
@ -401,7 +401,7 @@
|
|||
)
|
||||
|
||||
(module Capacitors_SMD:C_0805_HandSoldering (layer F.Cu) (tedit 5A52D6BE) (tstamp 5A5A35AF)
|
||||
(at 170.18 93.98)
|
||||
(at 69.18 76.98)
|
||||
(descr "Capacitor SMD 0805, hand soldering")
|
||||
(tags "capacitor 0805")
|
||||
(path /5A52C37B/5A52CB4B)
|
||||
|
@ -434,7 +434,7 @@
|
|||
)
|
||||
|
||||
(module Capacitors_SMD:C_0805_HandSoldering (layer F.Cu) (tedit 5A52D5CF) (tstamp 5A5A35BF)
|
||||
(at 193.04 100.33)
|
||||
(at 108 84)
|
||||
(descr "Capacitor SMD 0805, hand soldering")
|
||||
(tags "capacitor 0805")
|
||||
(path /5A52C37B/5A52CB3A)
|
||||
|
@ -467,7 +467,7 @@
|
|||
)
|
||||
|
||||
(module Capacitors_SMD:C_0805_HandSoldering (layer F.Cu) (tedit 5A52D608) (tstamp 5A5A35CF)
|
||||
(at 193.04 129.54)
|
||||
(at 108.04 118.54)
|
||||
(descr "Capacitor SMD 0805, hand soldering")
|
||||
(tags "capacitor 0805")
|
||||
(path /5A52C37B/5A52CB33)
|
||||
|
@ -500,7 +500,7 @@
|
|||
)
|
||||
|
||||
(module Capacitors_SMD:C_0805_HandSoldering (layer F.Cu) (tedit 5A52D657) (tstamp 5A5A35DF)
|
||||
(at 170.18 119.38)
|
||||
(at 69.18 108.38)
|
||||
(descr "Capacitor SMD 0805, hand soldering")
|
||||
(tags "capacitor 0805")
|
||||
(path /5A52C37B/5A52CB41)
|
||||
|
@ -533,7 +533,7 @@
|
|||
)
|
||||
|
||||
(module Capacitors_SMD:C_0805_HandSoldering (layer F.Cu) (tedit 5A52D6C4) (tstamp 5A5A35EF)
|
||||
(at 170.18 90.17)
|
||||
(at 69.18 73.17)
|
||||
(descr "Capacitor SMD 0805, hand soldering")
|
||||
(tags "capacitor 0805")
|
||||
(path /5A52C37B/5A52CB48)
|
||||
|
@ -566,7 +566,7 @@
|
|||
)
|
||||
|
||||
(module Housings_QFP:TQFP-32_7x7mm_Pitch0.8mm (layer F.Cu) (tedit 54130A77) (tstamp 5A5A3626)
|
||||
(at 184.15 109.22)
|
||||
(at 95.15 93.22)
|
||||
(descr "32-Lead Plastic Thin Quad Flatpack (PT) - 7x7x1.0 mm Body, 2.00 mm [TQFP] (see Microchip Packaging Specification 00000049BS.pdf)")
|
||||
(tags "QFP 0.8")
|
||||
(path /5A51EF33)
|
||||
|
@ -670,7 +670,7 @@
|
|||
)
|
||||
|
||||
(module Resistors_SMD:R_0805_HandSoldering (layer F.Cu) (tedit 5A52D5BC) (tstamp 5A5A3636)
|
||||
(at 193.04 88.9)
|
||||
(at 108.04 72.9)
|
||||
(descr "Resistor SMD 0805, hand soldering")
|
||||
(tags "resistor 0805")
|
||||
(path /5A52C37B/5A52CB38)
|
||||
|
@ -703,7 +703,7 @@
|
|||
)
|
||||
|
||||
(module Resistors_SMD:R_0805_HandSoldering (layer F.Cu) (tedit 5A52D5F0) (tstamp 5A5A3646)
|
||||
(at 193.04 118.11)
|
||||
(at 108.04 107.11)
|
||||
(descr "Resistor SMD 0805, hand soldering")
|
||||
(tags "resistor 0805")
|
||||
(path /5A52C37B/5A52CB31)
|
||||
|
@ -736,7 +736,7 @@
|
|||
)
|
||||
|
||||
(module Resistors_SMD:R_0805_HandSoldering (layer F.Cu) (tedit 5A52D65B) (tstamp 5A5A3656)
|
||||
(at 170.18 130.81)
|
||||
(at 69.18 119.81)
|
||||
(descr "Resistor SMD 0805, hand soldering")
|
||||
(tags "resistor 0805")
|
||||
(path /5A52C37B/5A52CB3F)
|
||||
|
@ -769,7 +769,7 @@
|
|||
)
|
||||
|
||||
(module Resistors_SMD:R_0805_HandSoldering (layer F.Cu) (tedit 5A52D6B1) (tstamp 5A5A3666)
|
||||
(at 170.18 101.6)
|
||||
(at 69.18 84.6)
|
||||
(descr "Resistor SMD 0805, hand soldering")
|
||||
(tags "resistor 0805")
|
||||
(path /5A52C37B/5A52CB46)
|
||||
|
@ -802,7 +802,7 @@
|
|||
)
|
||||
|
||||
(module MPX4250:MPX4250 (layer F.Cu) (tedit 55AD8302) (tstamp 5A5A3673)
|
||||
(at 201.93 88.9 270)
|
||||
(at 117 71.84 270)
|
||||
(path /5A52C37B/5A52CB37)
|
||||
(fp_text reference U1 (at 2.54 2.54 270) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
|
@ -825,7 +825,7 @@
|
|||
)
|
||||
|
||||
(module MPX4250:MPX4250 (layer F.Cu) (tedit 55AD8302) (tstamp 5A5A3680)
|
||||
(at 201.93 118.11 270)
|
||||
(at 116.93 107.11 270)
|
||||
(path /5A52C37B/5A52CB30)
|
||||
(fp_text reference U2 (at 2.54 2.54 270) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
|
@ -848,7 +848,7 @@
|
|||
)
|
||||
|
||||
(module MPX4250:MPX4250 (layer F.Cu) (tedit 55AD8302) (tstamp 5A5A368D)
|
||||
(at 163.83 130.81 90)
|
||||
(at 62.83 119.81 90)
|
||||
(path /5A52C37B/5A52CB3E)
|
||||
(fp_text reference U3 (at 2.54 2.54 90) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
|
@ -871,7 +871,7 @@
|
|||
)
|
||||
|
||||
(module MPX4250:MPX4250 (layer F.Cu) (tedit 55AD8302) (tstamp 5A5A369A)
|
||||
(at 163.83 101.6 90)
|
||||
(at 62.83 84.6 90)
|
||||
(path /5A52C37B/5A52CB45)
|
||||
(fp_text reference U4 (at 2.54 2.54 90) (layer F.SilkS)
|
||||
(effects (font (size 1 1) (thickness 0.15)))
|
||||
|
@ -927,7 +927,7 @@
|
|||
)
|
||||
|
||||
(module Capacitors_SMD:C_0805_HandSoldering (layer F.Cu) (tedit 541A9B8D) (tstamp 5A52D459)
|
||||
(at 240 134)
|
||||
(at 182 128)
|
||||
(descr "Capacitor SMD 0805, hand soldering")
|
||||
(tags "capacitor 0805")
|
||||
(path /5A52D16E)
|
||||
|
@ -993,7 +993,7 @@
|
|||
)
|
||||
|
||||
(module Buttons_Switches_ThroughHole:SW_TH_Tactile_Omron_B3F-10xx (layer F.Cu) (tedit 563F14D4) (tstamp 5A52D467)
|
||||
(at 200.66 107.95)
|
||||
(at 115.66 96.95)
|
||||
(descr SW_TH_Tactile_Omron_B3F-10xx)
|
||||
(tags "Omron B3F-10xx")
|
||||
(path /5A52D320)
|
||||
|
@ -1059,7 +1059,7 @@
|
|||
)
|
||||
|
||||
(module Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm (layer F.Cu) (tedit 54130A77) (tstamp 5A52ED23)
|
||||
(at 167 110)
|
||||
(at 78 94)
|
||||
(descr "8-Lead Plastic Small Outline (SN) - Narrow, 3.90 mm Body [SOIC] (see Microchip Packaging Specification 00000049BS.pdf)")
|
||||
(tags "SOIC 1.27")
|
||||
(path /5A52E25F)
|
||||
|
@ -1109,77 +1109,40 @@
|
|||
)
|
||||
)
|
||||
|
||||
(gr_text "Flat side up" (at 151.13 124.46) (layer F.SilkS)
|
||||
(gr_line (start 40 140) (end 40 40) (layer Edge.Cuts) (width 0.15))
|
||||
(gr_line (start 140 140) (end 40 140) (layer Edge.Cuts) (width 0.15))
|
||||
(gr_line (start 140 40) (end 140 140) (layer Edge.Cuts) (width 0.15))
|
||||
(gr_line (start 40 40) (end 140 40) (layer Edge.Cuts) (width 0.15))
|
||||
(gr_text "Flat side up" (at 50.13 113.46) (layer F.SilkS)
|
||||
(effects (font (size 1.5 1.5) (thickness 0.3)))
|
||||
)
|
||||
(gr_text "Flat side up" (at 151.13 95.25) (layer F.SilkS)
|
||||
(gr_text "Flat side up" (at 50.13 78.25) (layer F.SilkS)
|
||||
(effects (font (size 1.5 1.5) (thickness 0.3)))
|
||||
)
|
||||
(gr_text "Flat side up" (at 214.63 95.25) (layer F.SilkS)
|
||||
(gr_text "Flat side up" (at 129.63 79.25) (layer F.SilkS)
|
||||
(effects (font (size 1.5 1.5) (thickness 0.3)))
|
||||
)
|
||||
(gr_text "Flat side up" (at 214.63 124.46) (layer F.SilkS)
|
||||
(gr_text "Flat side up" (at 129.63 113.46) (layer F.SilkS)
|
||||
(effects (font (size 1.5 1.5) (thickness 0.3)))
|
||||
)
|
||||
(gr_line (start 231.14 138.43) (end 242.57 138.43) (angle 90) (layer Edge.Cuts) (width 0.15))
|
||||
(gr_line (start 231.14 81.28) (end 242.57 81.28) (angle 90) (layer Edge.Cuts) (width 0.15))
|
||||
(gr_line (start 228.6 83.82) (end 228.6 135.89) (angle 90) (layer Edge.Cuts) (width 0.15))
|
||||
(gr_arc (start 231.14 83.82) (end 228.6 83.82) (angle 90) (layer Edge.Cuts) (width 0.15))
|
||||
(gr_arc (start 231.14 135.89) (end 231.14 138.43) (angle 90) (layer Edge.Cuts) (width 0.15))
|
||||
(gr_line (start 245.11 83.82) (end 245.11 135.89) (angle 90) (layer Edge.Cuts) (width 0.15))
|
||||
(gr_arc (start 242.57 135.89) (end 245.11 135.89) (angle 90) (layer Edge.Cuts) (width 0.15))
|
||||
(gr_circle (center 241.3 86.36) (end 240.03 86.36) (layer Edge.Cuts) (width 0.15))
|
||||
(gr_arc (start 242.57 83.82) (end 242.57 81.28) (angle 90) (layer Edge.Cuts) (width 0.15))
|
||||
|
||||
(via (at 236 130) (size 0.6) (drill 0.4) (layers F.Cu B.Cu) (net 2))
|
||||
|
||||
(zone (net 2) (net_name GND) (layer F.Cu) (tstamp 5A530E5A) (hatch edge 0.508)
|
||||
(priority 1)
|
||||
(zone (net 2) (net_name GND) (layer F.Cu) (tstamp 0) (hatch edge 0.508)
|
||||
(connect_pads (clearance 0.508))
|
||||
(min_thickness 0.254)
|
||||
(fill yes (arc_segments 16) (thermal_gap 0.508) (thermal_bridge_width 0.508))
|
||||
(fill (arc_segments 16) (thermal_gap 0.508) (thermal_bridge_width 0.508))
|
||||
(polygon
|
||||
(pts
|
||||
(xy 244 137) (xy 230 137) (xy 230 83) (xy 244 83)
|
||||
)
|
||||
)
|
||||
(filled_polygon
|
||||
(pts
|
||||
(xy 243.873 136.873) (xy 230.127 136.873) (xy 230.127 134.28575) (xy 237.365 134.28575) (xy 237.365 134.75131)
|
||||
(xy 237.461673 134.984699) (xy 237.640302 135.163327) (xy 237.873691 135.26) (xy 238.46425 135.26) (xy 238.623 135.10125)
|
||||
(xy 238.623 134.127) (xy 237.52375 134.127) (xy 237.365 134.28575) (xy 230.127 134.28575) (xy 230.127 133.24869)
|
||||
(xy 237.365 133.24869) (xy 237.365 133.71425) (xy 237.52375 133.873) (xy 238.623 133.873) (xy 238.623 132.89875)
|
||||
(xy 238.877 132.89875) (xy 238.877 133.873) (xy 238.897 133.873) (xy 238.897 134.127) (xy 238.877 134.127)
|
||||
(xy 238.877 135.10125) (xy 239.03575 135.26) (xy 239.626309 135.26) (xy 239.859698 135.163327) (xy 240.000936 135.02209)
|
||||
(xy 240.03591 135.076441) (xy 240.24811 135.221431) (xy 240.5 135.27244) (xy 242 135.27244) (xy 242.235317 135.228162)
|
||||
(xy 242.451441 135.08909) (xy 242.596431 134.87689) (xy 242.64744 134.625) (xy 242.64744 133.375) (xy 242.603162 133.139683)
|
||||
(xy 242.46409 132.923559) (xy 242.25189 132.778569) (xy 242 132.72756) (xy 240.5 132.72756) (xy 240.264683 132.771838)
|
||||
(xy 240.048559 132.91091) (xy 240.002031 132.979006) (xy 239.859698 132.836673) (xy 239.626309 132.74) (xy 239.03575 132.74)
|
||||
(xy 238.877 132.89875) (xy 238.623 132.89875) (xy 238.46425 132.74) (xy 237.873691 132.74) (xy 237.640302 132.836673)
|
||||
(xy 237.461673 133.015301) (xy 237.365 133.24869) (xy 230.127 133.24869) (xy 230.127 86.36) (xy 239.32 86.36)
|
||||
(xy 239.470719 87.117713) (xy 239.899929 87.760071) (xy 240.542287 88.189281) (xy 241.3 88.34) (xy 242.057713 88.189281)
|
||||
(xy 242.700071 87.760071) (xy 243.129281 87.117713) (xy 243.28 86.36) (xy 243.129281 85.602287) (xy 242.700071 84.959929)
|
||||
(xy 242.057713 84.530719) (xy 241.3 84.38) (xy 240.542287 84.530719) (xy 239.899929 84.959929) (xy 239.470719 85.602287)
|
||||
(xy 239.32 86.36) (xy 230.127 86.36) (xy 230.127 83.127) (xy 243.873 83.127)
|
||||
(xy 139 137) (xy 41 137) (xy 41 43) (xy 139 43)
|
||||
)
|
||||
)
|
||||
)
|
||||
(zone (net 2) (net_name GND) (layer B.Cu) (tstamp 5A530E5A) (hatch edge 0.508)
|
||||
(zone (net 2) (net_name GND) (layer B.Cu) (tstamp 0) (hatch edge 0.508)
|
||||
(connect_pads (clearance 0.508))
|
||||
(min_thickness 0.254)
|
||||
(fill yes (arc_segments 16) (thermal_gap 0.508) (thermal_bridge_width 0.508))
|
||||
(fill (arc_segments 16) (thermal_gap 0.508) (thermal_bridge_width 0.508))
|
||||
(polygon
|
||||
(pts
|
||||
(xy 244 137) (xy 230 137) (xy 230 83) (xy 244 83)
|
||||
)
|
||||
)
|
||||
(filled_polygon
|
||||
(pts
|
||||
(xy 243.873 136.873) (xy 230.127 136.873) (xy 230.127 86.36) (xy 239.32 86.36) (xy 239.470719 87.117713)
|
||||
(xy 239.899929 87.760071) (xy 240.542287 88.189281) (xy 241.3 88.34) (xy 242.057713 88.189281) (xy 242.700071 87.760071)
|
||||
(xy 243.129281 87.117713) (xy 243.28 86.36) (xy 243.129281 85.602287) (xy 242.700071 84.959929) (xy 242.057713 84.530719)
|
||||
(xy 241.3 84.38) (xy 240.542287 84.530719) (xy 239.899929 84.959929) (xy 239.470719 85.602287) (xy 239.32 86.36)
|
||||
(xy 230.127 86.36) (xy 230.127 83.127) (xy 243.873 83.127)
|
||||
(xy 41 137) (xy 41 43) (xy 139 43) (xy 139 137)
|
||||
)
|
||||
)
|
||||
)
|
||||
|
|
Binary file not shown.
|
@ -1,15 +1,15 @@
|
|||
Part/Designator,Manufacture Part Number
|
||||
R3,RC0805FR-071KL
|
||||
R5,RC0805FR-071KL
|
||||
R4,RC0805JR-0710KL
|
||||
R6,RC0805JR-0710KL
|
||||
R7,RC0805JR-0710KL
|
||||
R9,RC0805JR-0710KL
|
||||
R11,RC0805JR-0710KL
|
||||
R13,RC0805JR-0710KL
|
||||
MAX9926,MAX9926UAEE+T
|
||||
C2,CC0805KRX7R9BB103
|
||||
C3,CC0805KKX7R7BB105
|
||||
C4,CC0805KRX7R9BB102
|
||||
C5,CC0805KRX7R9BB102
|
||||
Part/Designator,Manufacture Part Number
|
||||
R3,RC0805FR-071KL
|
||||
R5,RC0805FR-071KL
|
||||
R4,RC0805JR-0710KL
|
||||
R6,RC0805JR-0710KL
|
||||
R7,RC0805JR-0710KL
|
||||
R9,RC0805JR-0710KL
|
||||
R11,RC0805JR-0710KL
|
||||
R13,RC0805JR-0710KL
|
||||
MAX9926,MAX9926UAEE+T
|
||||
C2,CC0805KRX7R9BB103
|
||||
C3,CC0805KKX7R7BB105
|
||||
C4,CC0805KRX7R9BB102
|
||||
C5,CC0805KRX7R9BB102
|
||||
C1,CC0805ZRY5V9BB104
|
|
|
@ -1,8 +1,8 @@
|
|||
Part/Designator,Manufacture Part Number,Quantity
|
||||
"R4,R6",RC0805FR-071KL,2
|
||||
"R7,R9,R11,R13",RC0805JR-0710KL,4
|
||||
MAX9926,MAX9926UAEE+T,1
|
||||
C2,CC0805KRX7R9BB103,1
|
||||
C3,CC0805KKX7R7BB105,1
|
||||
"C4,C5",CC0805KRX7R9BB102,2
|
||||
Part/Designator,Manufacture Part Number,Quantity
|
||||
"R4,R6",RC0805FR-071KL,2
|
||||
"R7,R9,R11,R13",RC0805JR-0710KL,4
|
||||
MAX9926,MAX9926UAEE+T,1
|
||||
C2,CC0805KRX7R9BB103,1
|
||||
C3,CC0805KKX7R7BB105,1
|
||||
"C4,C5",CC0805KRX7R9BB102,2
|
||||
C1,CC0805ZRY5V9BB104,1
|
|
|
@ -1,8 +1,8 @@
|
|||
Part/Designator,Manufacture Part Number,Quantity
|
||||
"R3,R5",RC0805FR-071KL,2
|
||||
"R4,R6,R7,R9,R11,R13",RC0805JR-0710KL,6
|
||||
MAX9926,MAX9926UAEE+T,1
|
||||
C2,CC0805KRX7R9BB103,1
|
||||
C3,CC0805KKX7R7BB105,1
|
||||
"C4,C5",CC0805KRX7R9BB102,2
|
||||
Part/Designator,Manufacture Part Number,Quantity
|
||||
"R3,R5",RC0805FR-071KL,2
|
||||
"R4,R6,R7,R9,R11,R13",RC0805JR-0710KL,6
|
||||
MAX9926,MAX9926UAEE+T,1
|
||||
C2,CC0805KRX7R9BB103,1
|
||||
C3,CC0805KKX7R7BB105,1
|
||||
"C4,C5",CC0805KRX7R9BB102,2
|
||||
C1,CC0805ZRY5V9BB104,1
|
|
|
@ -1,10 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg version="1.2" baseProfile="tiny" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
x="0px" y="0px" width="120" height="120" viewBox="0 0 120 120" xml:space="preserve">
|
||||
<g id="board">
|
||||
<rect fill="#338040" x="10" y="10" width="100" height="100" rx="15" ry="15"/>
|
||||
</g>
|
||||
<g id="silkscreen">
|
||||
<rect fill="none" stroke="#FFFFFF" stroke-width="0.576" x="10" y="10" width="100" height="100" rx="15" ry="15"/>
|
||||
</g>
|
||||
</svg>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<svg version="1.2" baseProfile="tiny" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
x="0px" y="0px" width="120" height="120" viewBox="0 0 120 120" xml:space="preserve">
|
||||
<g id="board">
|
||||
<rect fill="#338040" x="10" y="10" width="100" height="100" rx="15" ry="15"/>
|
||||
</g>
|
||||
<g id="silkscreen">
|
||||
<rect fill="none" stroke="#FFFFFF" stroke-width="0.576" x="10" y="10" width="100" height="100" rx="15" ry="15"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 516 B After Width: | Height: | Size: 506 B |
Binary file not shown.
Binary file not shown.
|
@ -856,6 +856,7 @@ menuDialog = main
|
|||
subMenu = airdensity_curve, "IAT Density"
|
||||
subMenu = reset_control, "Reset Control"
|
||||
|
||||
|
||||
menu = "&Tuning"
|
||||
subMenu = std_realtime, "Realtime Display"
|
||||
subMenu = accelEnrichments, "Acceleration Enrichment"
|
||||
|
|
Before Width: | Height: | Size: 234 KiB After Width: | Height: | Size: 234 KiB |
Binary file not shown.
After Width: | Height: | Size: 76 KiB |
|
@ -30,4 +30,4 @@ void canCommand();//This is the heart of the Command Line Interpeter. All that
|
|||
void sendcanValues(uint16_t offset, uint16_t packetLength, byte cmd, byte portNum);
|
||||
void sendCancommand(uint8_t cmdtype , uint16_t canadddress, uint8_t candata1, uint8_t candata2, uint16_t sourcecanAddress);
|
||||
|
||||
#endif // CANCOMMS_H
|
||||
#endif // CANCOMMS_H
|
||||
|
|
|
@ -222,4 +222,4 @@ void oneMSInterval() //Most ARM chips can simply call a function
|
|||
TCNT2 = 131; //Preload timer2 with 100 cycles, leaving 156 till overflow.
|
||||
TIFR2 = 0x00; //Timer2 INT Flag Reg: Clear Timer Overflow Flag
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue