Go Back  RCU Forums > Glow Engines, Gas Engines, Fuel & Mfg Support Forums > Engine Conversions
Reload this Page >

Electronic solutions to modifying glow engines of all sizes to gasoline

Community
Search
Notices
Engine Conversions Discuss all aspects of engine conversions in this forum

Electronic solutions to modifying glow engines of all sizes to gasoline

Thread Tools
 
Search this Thread
 
Old 10-04-2024, 02:18 PM
  #2226  
Jim.Thompson
 
Jim.Thompson's Avatar
 
Join Date: Sep 2015
Location: Bellingen NSW Australia
Posts: 369
Likes: 0
Received 2 Likes on 2 Posts
Default Problem compiling arduino sketch.

Raleighcopter,
I am attempting to verify the sketch for the controller, meanwhile encountering some minor problems.
I hope you don't mind me asking for some assistance as I know very little about coding. I know how to uncomment a line, and that is just about all!
This error report shows when I try to verify:

/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:55:1: error: 'SPortHub' does not name a type; did you mean 'SPort'?
55 | SPortHub hub(0x12, 0); //Hardware ID 0x12, Software serial pin 0
| ^~~~~~~~
| SPort
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:56:1: error: 'CustomSPortSensor' does not name a type
56 | CustomSPortSensor intake_temperature(getSensorData); //Sensor with a callback function to get the data
| ^~~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:57:1: error: 'CustomSPortSensor' does not name a type
57 | CustomSPortSensor intake_pressure(getSensorData1); //Sensor with a callback function to get the data
| ^~~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:58:1: error: 'CustomSPortSensor' does not name a type
58 | CustomSPortSensor compensation_ratio(getSensorData2); //Sensor with a callback function to get the data
| ^~~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:59:1: error: 'CustomSPortSensor' does not name a type
59 | CustomSPortSensor solenoid_command(getSensorData3); //Sensor with a callback function to get the data
| ^~~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino: In function 'void setup()':
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:63:3: error: 'hub' was not declared in this scope
63 | hub.registerSensor(intake_temperature); //Add sensor to the hub
| ^~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:63:22: error: 'intake_temperature' was not declared in this scope
63 | hub.registerSensor(intake_temperature); //Add sensor to the hub
| ^~~~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:64:22: error: 'intake_pressure' was not declared in this scope
64 | hub.registerSensor(intake_pressure); //Add sensor to the hub
| ^~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:65:22: error: 'compensation_ratio' was not declared in this scope
65 | hub.registerSensor(compensation_ratio); //Add sensor to the hub
| ^~~~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:66:22: error: 'solenoid_command' was not declared in this scope
66 | hub.registerSensor(solenoid_command); //Add sensor to the hub
| ^~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:101:3: error: 'REG_GCLK_GENDIV' was not declared in this scope
101 | REG_GCLK_GENDIV = GCLK_GENDIV_DIV(1000) | // Divide the main clock down by some factor to get generic clock
| ^~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:101:21: error: 'GCLK_GENDIV_DIV' was not declared in this scope
101 | REG_GCLK_GENDIV = GCLK_GENDIV_DIV(1000) | // Divide the main clock down by some factor to get generic clock
| ^~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:102:21: error: 'GCLK_GENDIV_ID' was not declared in this scope
102 | GCLK_GENDIV_ID(4); // Select Generic Clock (GCLK) 4
| ^~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:103:10: error: 'GCLK' was not declared in this scope
103 | while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization
| ^~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:105:3: error: 'REG_GCLK_GENCTRL' was not declared in this scope
105 | REG_GCLK_GENCTRL = GCLK_GENCTRL_IDC |
| ^~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:105:22: error: 'GCLK_GENCTRL_IDC' was not declared in this scope
105 | REG_GCLK_GENCTRL = GCLK_GENCTRL_IDC |
| ^~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:106:22: error: 'GCLK_GENCTRL_GENEN' was not declared in this scope
106 | GCLK_GENCTRL_GENEN | // Enable GCLK4
| ^~~~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:107:22: error: 'GCLK_GENCTRL_SRC_DFLL48M' was not declared in this scope
107 | GCLK_GENCTRL_SRC_DFLL48M | // Set the 48MHz clock source
| ^~~~~~~~~~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:108:22: error: 'GCLK_GENCTRL_ID' was not declared in this scope
108 | GCLK_GENCTRL_ID(4); // Select GCLK4
| ^~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:109:10: error: 'GCLK' was not declared in this scope
109 | while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization
| ^~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:112:3: error: 'PORT' was not declared in this scope
112 | PORT->Group[g_APinDescription[3].ulPort].PINCFG[g_APinDescription[3].ulPin].bit.PMUXEN = 1;
| ^~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:112:15: error: 'g_APinDescription' was not declared in this scope
112 | PORT->Group[g_APinDescription[3].ulPort].PINCFG[g_APinDescription[3].ulPin].bit.PMUXEN = 1;
| ^~~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:115:88: error: 'PORT_PMUX_PMUXO_E' was not declared in this scope
115 | PORT->Group[g_APinDescription[2].ulPort].PMUX[g_APinDescription[2].ulPin >> 1].reg = PORT_PMUX_PMUXO_E; // | PORT_PMUX_PMUXE_F;
| ^~~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:118:3: error: 'REG_GCLK_CLKCTRL' was not declared in this scope
118 | REG_GCLK_CLKCTRL = GCLK_CLKCTRL_CLKEN | // Enable GCLK4 to TCC0 and TCC1
| ^~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:118:22: error: 'GCLK_CLKCTRL_CLKEN' was not declared in this scope
118 | REG_GCLK_CLKCTRL = GCLK_CLKCTRL_CLKEN | // Enable GCLK4 to TCC0 and TCC1
| ^~~~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:119:22: error: 'GCLK_CLKCTRL_GEN_GCLK4' was not declared in this scope
119 | GCLK_CLKCTRL_GEN_GCLK4 | // Select GCLK4
| ^~~~~~~~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:120:22: error: 'GCLK_CLKCTRL_ID_TCC0_TCC1' was not declared in this scope
120 | GCLK_CLKCTRL_ID_TCC0_TCC1; // Feed GCLK4 to TCC0 and TCC1
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:121:10: error: 'GCLK' was not declared in this scope
121 | while (GCLK->STATUS.bit.SYNCBUSY); // Wait for synchronization
| ^~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:124:3: error: 'REG_TCC1_WAVE' was not declared in this scope
124 | REG_TCC1_WAVE |= TCC_WAVE_WAVEGEN_NPWM; // Reverse the output polarity on all TCC0 outputs
| ^~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:124:20: error: 'TCC_WAVE_WAVEGEN_NPWM' was not declared in this scope
124 | REG_TCC1_WAVE |= TCC_WAVE_WAVEGEN_NPWM; // Reverse the output polarity on all TCC0 outputs
| ^~~~~~~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:125:10: error: 'TCC1' was not declared in this scope
125 | while (TCC1->SYNCBUSY.bit.WAVE); // Wait for synchronization
| ^~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:127:3: error: 'REG_TCC1_PER' was not declared in this scope
127 | REG_TCC1_PER = 6144; // This sets the rate or frequency of PWM signal
| ^~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:128:10: error: 'TCC1' was not declared in this scope
128 | while (TCC1->SYNCBUSY.bit.PER); // Wait for synchronization
| ^~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:131:3: error: 'REG_TCC1_CC1' was not declared in this scope
131 | REG_TCC1_CC1 = 3072; // this sets the pwm duty cycle. values from 0 6145 are valid.
| ^~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:132:10: error: 'TCC1' was not declared in this scope
132 | while (TCC1->SYNCBUSY.bit.CC1); // Wait for synchronization
| ^~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:135:3: error: 'REG_TCC1_CTRLA' was not declared in this scope
135 | REG_TCC1_CTRLA |= TCC_CTRLA_PRESCALER_DIV1 | // Divide GCLK4 by 1
| ^~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:135:21: error: 'TCC_CTRLA_PRESCALER_DIV1' was not declared in this scope
135 | REG_TCC1_CTRLA |= TCC_CTRLA_PRESCALER_DIV1 | // Divide GCLK4 by 1
| ^~~~~~~~~~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:136:21: error: 'TCC_CTRLA_ENABLE' was not declared in this scope
136 | TCC_CTRLA_ENABLE; // Enable the TCC0 output
| ^~~~~~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:137:10: error: 'TCC1' was not declared in this scope
137 | while (TCC1->SYNCBUSY.bit.ENABLE); // Wait for synchronization
| ^~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino: In function 'void loop()':
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:152:3: error: 'REG_TCC1_CC1' was not declared in this scope
152 | REG_TCC1_CC1 = 3072;
| ^~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:158:3: error: 'hub' was not declared in this scope
158 | hub.handle(); //Handle new s.port data
| ^~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:174:5: error: 'REG_TCC1_CC1' was not declared in this scope
174 | REG_TCC1_CC1 = (solenoid_pulse);
| ^~~~~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:175:12: error: 'TCC1' was not declared in this scope
175 | while (TCC1->SYNCBUSY.bit.CC1);
| ^~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino: At global scope:
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:284:3: error: 'sportData' does not name a type
284 | sportData data;
| ^~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:285:3: error: 'data' does not name a type
285 | data.applicationId = 0x5900; //Set the sensor id for the current data poll. Set to 0 to discard the data, skip to the next sensor
| ^~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:286:3: error: 'data' does not name a type
286 | data.value = int(bmp.readTemperature()*10); //Set the sensor value
| ^~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:287:3: error: expected unqualified-id before 'return'
287 | return data;
| ^~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:288:1: error: expected declaration before '}' token
288 | }
| ^
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:290:1: error: 'sportData' does not name a type
290 | sportData getSensorData1(CustomSPortSensor* intake_pressure) {
| ^~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:297:1: error: 'sportData' does not name a type
297 | sportData getSensorData2(CustomSPortSensor* compensation_ratio) {
| ^~~~~~~~~
/media/jim/Lexar/Old Sketchbook/Xiaocontroller.ino/Xiaocontroller.ino.ino:304:1: error: 'sportData' does not name a type
304 | sportData getSensorData3(CustomSPortSensor* solenoid_command) {
| ^~~~~~~~~

exit status 1

Compilation error: 'SPortHub' does not name a type; did you mean 'SPort'?
Or FrSky SPort?
I note that we the users, are not to edit below the line indicated!

Jim.

Last edited by Jim.Thompson; 10-04-2024 at 11:36 PM.
Old 10-05-2024, 05:28 AM
  #2227  
Raleighcopter
Senior Member
 
Raleighcopter's Avatar
 
Join Date: Jan 2022
Posts: 289
Received 8 Likes on 8 Posts
Default

Hey jim,

It looks like you possibly haven't added the required libraries to your Arduino environment, especially the one for s.port data. It's in the library directory at S_Port_sensor_library_for_FrSky-1.0.2.zip . There's also libraries for the LCD screenland temp/pressure sensor that should be installed.

You also need to install the xaio board definitions and make sure you select the proper board if you haven't already.

If you've done this already, let me know and I'll see if I can build the firmware on this end as it's been several years since I did and something else may be borked.

Last edited by Raleighcopter; 10-05-2024 at 01:40 PM.
Old 10-05-2024, 01:22 PM
  #2228  
Jim.Thompson
 
Jim.Thompson's Avatar
 
Join Date: Sep 2015
Location: Bellingen NSW Australia
Posts: 369
Likes: 0
Received 2 Likes on 2 Posts
Talking Confusion around the name of the board.

Hi Dave,
Thanks for your reply, you are a life saver as the saying goes!
I am totally confused about the correct, full name of the board. I found this site: https://wiki.seeedstudio.com/Seeeduino-XIAO/
Is this site about the correct board?
If so, should I go to the full script listed here: https://files.seeedstudio.com/arduin...rds_index.json
And install that into my arduino IDE?

.............There's also libraries for the LCD screenland temp/pressure sensor that should be installed.............

Is this Adafruit_GFX.h ?
If so, I already have that installed.
If not, what is the correct file name please?
Also, is this the correct board shown in the attachment?
It appears to change when I add Seed Studio Xiao SAMD21 via the boards manager to that displayed (in my arduino IDE) below.



I even looked for the "correct" name in the product data sheet.
Much confusion for this old man!
But, I'm confident we can sort it out!................with your help.
Thanks again.

Jim.

Last edited by Jim.Thompson; 10-05-2024 at 05:54 PM.
Old 10-10-2024, 06:18 AM
  #2229  
1967brutus
Senior Member
Thread Starter
 
Join Date: Oct 2021
Posts: 1,320
Received 97 Likes on 89 Posts
Default

Just a quick message inbetween discussions: ASP engines have returned from being gone.
JustEngines from England lists the near full gamma, including the tiny .30 fourstroke, the 1.6 cu in flat twin and the 4 cu in radial, under the brandname "SC", a label that Sanye previously also used next to Magnum and ASP. Albeit the smaller sizes seem to hav gone, a fairly complet gamma of 2strokes also became availlable again, and these engines are genuine ABC.

These engines have all proven to be very suitable for gasoline, and (IMHO) pretty much as durable or better than OS. Mine see pretty heavy duty use and over the course of several years show zero signs of wear or deterioration... On the contrary, if anything they only seem to gain consistency (mainly valve clearances) over the years.
Old 10-13-2024, 09:46 PM
  #2230  
Fxdr
Junior Member
 
Join Date: Oct 2024
Posts: 5
Received 0 Likes on 0 Posts
Default Xiao uploading

Hello, fx from France,
I m just getting in the project, i' ve already tweaked with Arduino for my CNC and 3 d printers in the past but downloading actu l version or ide IS a lutté but confusing
Despite adding boad définition and in.zip and manually all files asked by ide when i try to verify sketch Always return errors
Also After to upload i will have to set the right programmer in ide
The board answers to ide request.
So i need a sketch which vérification goes thru and right programmer set to upload
Need help for sure
Best
Fxdr
Old 10-16-2024, 12:19 PM
  #2231  
Fxdr
Junior Member
 
Join Date: Oct 2024
Posts: 5
Received 0 Likes on 0 Posts
Default

here below one of the error messages



C:\Users\33607\AppData\Local\Temp\arduino\sketches \06C3965BC573AFF49E7FFEC468A008D6\libraries\Adafru it_BMP280_Library\Adafruit_BMP280.cpp.o: In function `Adafruit_BMP280::~Adafruit_BMP280()':
c:\Users\33607\Documents\Arduino\libraries\Adafrui t_BMP280_Library/Adafruit_BMP280.cpp:69: undefined reference to `Adafruit_SPIDevice::~Adafruit_SPIDevice()'
C:\Users\33607\AppData\Local\Temp\arduino\sketches \06C3965BC573AFF49E7FFEC468A008D6\libraries\Adafru it_BMP280_Library\Adafruit_BMP280.cpp.o: In function `Adafruit_BMP280::write8(unsigned char, unsigned char)':
c:\Users\33607\Documents\Arduino\libraries\Adafrui t_BMP280_Library/Adafruit_BMP280.cpp:153: undefined reference to `Adafruit_I2CDevice::write(unsigned char const*, unsigned int, bool, unsigned char const*, unsigned int)'
c:\Users\33607\Documents\Arduino\libraries\Adafrui t_BMP280_Library/Adafruit_BMP280.cpp:156: undefined reference to `Adafruit_SPIDevice::write(unsigned char const*, unsigned int, unsigned char const*, unsigned int)'
C:\Users\33607\AppData\Local\Temp\arduino\sketches \06C3965BC573AFF49E7FFEC468A008D6\libraries\Adafru it_BMP280_Library\Adafruit_BMP280.cpp.o: In function `Adafruit_BMP280::read8(unsigned char)':
c:\Users\33607\Documents\Arduino\libraries\Adafrui t_BMP280_Library/Adafruit_BMP280.cpp:170: undefined reference to `Adafruit_I2CDevice::write_then_read(unsigned char const*, unsigned int, unsigned char*, unsigned int, bool)'
c:\Users\33607\Documents\Arduino\libraries\Adafrui t_BMP280_Library/Adafruit_BMP280.cpp:173: undefined reference to `Adafruit_SPIDevice::write_then_read(unsigned char const*, unsigned int, unsigned char*, unsigned int, unsigned char)'
C:\Users\33607\AppData\Local\Temp\arduino\sketches \06C3965BC573AFF49E7FFEC468A008D6\libraries\Adafru it_BMP280_Library\Adafruit_BMP280.cpp.o: In function `Adafruit_BMP280::read16(unsigned char)':
c:\Users\33607\Documents\Arduino\libraries\Adafrui t_BMP280_Library/Adafruit_BMP280.cpp:186: undefined reference to `Adafruit_I2CDevice::write_then_read(unsigned char const*, unsigned int, unsigned char*, unsigned int, bool)'
c:\Users\33607\Documents\Arduino\libraries\Adafrui t_BMP280_Library/Adafruit_BMP280.cpp:189: undefined reference to `Adafruit_SPIDevice::write_then_read(unsigned char const*, unsigned int, unsigned char*, unsigned int, unsigned char)'
C:\Users\33607\AppData\Local\Temp\arduino\sketches \06C3965BC573AFF49E7FFEC468A008D6\libraries\Adafru it_BMP280_Library\Adafruit_BMP280.cpp.o: In function `Adafruit_BMP280::read24(unsigned char)':
c:\Users\33607\Documents\Arduino\libraries\Adafrui t_BMP280_Library/Adafruit_BMP280.cpp:216: undefined reference to `Adafruit_I2CDevice::write_then_read(unsigned char const*, unsigned int, unsigned char*, unsigned int, bool)'
c:\Users\33607\Documents\Arduino\libraries\Adafrui t_BMP280_Library/Adafruit_BMP280.cpp:219: undefined reference to `Adafruit_SPIDevice::write_then_read(unsigned char const*, unsigned int, unsigned char*, unsigned int, unsigned char)'
C:\Users\33607\AppData\Local\Temp\arduino\sketches \06C3965BC573AFF49E7FFEC468A008D6\libraries\Adafru it_BMP280_Library\Adafruit_BMP280.cpp.o: In function `Adafruit_BMP280::begin(unsigned char, unsigned char)':
c:\Users\33607\Documents\Arduino\libraries\Adafrui t_BMP280_Library/Adafruit_BMP280.cpp:91: undefined reference to `Adafruit_I2CDevice::Adafruit_I2CDevice(unsigned char, TwoWire*)'
c:\Users\33607\Documents\Arduino\libraries\Adafrui t_BMP280_Library/Adafruit_BMP280.cpp:92: undefined reference to `Adafruit_I2CDevice::begin(bool)'
c:\Users\33607\Documents\Arduino\libraries\Adafrui t_BMP280_Library/Adafruit_BMP280.cpp:96: undefined reference to `Adafruit_SPIDevice::begin()'
collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1
Old 10-16-2024, 03:23 PM
  #2232  
Jim.Thompson
 
Jim.Thompson's Avatar
 
Join Date: Sep 2015
Location: Bellingen NSW Australia
Posts: 369
Likes: 0
Received 2 Likes on 2 Posts
Default

Fxdr,
I can help in a very limited way, as you will see by my post above, I also need assistance with verifying the sketch.
Firstly, install Adafruit_BMP280 from Github here: https://github.com/adafruit/Adafruit_BMP280_Library
Click on the green field marked "Code" and then download the .zip file.
Next install it into your Arduino IDE.
If you don't know how to do this, the do a search and/or ask back here.

Jim.

Last edited by Jim.Thompson; 10-16-2024 at 03:33 PM.
Old 10-16-2024, 03:32 PM
  #2233  
Jim.Thompson
 
Jim.Thompson's Avatar
 
Join Date: Sep 2015
Location: Bellingen NSW Australia
Posts: 369
Likes: 0
Received 2 Likes on 2 Posts
Default

I received my Zama electronic carburettor in the mail yesterday and I've started to try and figure out how it works.

https://fr.aliexpress.com/item/10050...yAdapt=glo2fra

A few notable obvious points include:
1. No mixture needles!
2. The choke spindle has a secondary electronic control or regulator.
3. There are two electronic connections ; one to the solenoid and another to the choke.

This promises to be a challenge!
Anyone reading got any immediate ideas?

Jim.

Last edited by Jim.Thompson; 10-16-2024 at 07:22 PM.
Old Yesterday, 12:49 AM
  #2234  
Fxdr
Junior Member
 
Join Date: Oct 2024
Posts: 5
Received 0 Likes on 0 Posts
Default

Thanks jim
it appears that adafruit BMP280 library included in raleighcopter 's github is not uptodate with actual arduino IDE or some files are missing
i crashed the old file and replaced by the one one your link to BMP280 library 's github and restarted IDE , rechecked and it finally compiled correctly
i retried and time to time i fails but most of time it works thanks for help
and maybe it should help the new comers
i think it has something to deal with version of ide 1.9 . something to actual ver. 2.3.3
fxdr
Old Yesterday, 12:56 AM
  #2235  
Fxdr
Junior Member
 
Join Date: Oct 2024
Posts: 5
Received 0 Likes on 0 Posts
Default

the machining on the seals gaskets will need a little adjustment to avoid leaks to engine
you will advise if there is something to do with this carb
i think you can find two versions one with a smaller throat for relatively small engines to high CC
Old Yesterday, 02:36 AM
  #2236  
Jim.Thompson
 
Jim.Thompson's Avatar
 
Join Date: Sep 2015
Location: Bellingen NSW Australia
Posts: 369
Likes: 0
Received 2 Likes on 2 Posts
Default

Originally Posted by Fxdr
...................
i think it has something to deal with version of ide 1.9 . something to actual ver. 2.3.3
fxdr
Can you explain this please? Which version did you get to operate properly?
Old Yesterday, 02:58 AM
  #2237  
Fxdr
Junior Member
 
Join Date: Oct 2024
Posts: 5
Received 0 Likes on 0 Posts
Default

Originally Posted by Jim.Thompson
Can you explain this please? Which version did you get to operate properly?
IDe 2.3.3
I've added the 5 files définitions in.zip , uploaded the automatic upgrades of the librairies
Restarted, etc and finally manually uploaded .zip for bmp280 as you suggested , it didn't pass check si restarted and file was compiled successfully
Old Yesterday, 12:23 PM
  #2238  
Jim.Thompson
 
Jim.Thompson's Avatar
 
Join Date: Sep 2015
Location: Bellingen NSW Australia
Posts: 369
Likes: 0
Received 2 Likes on 2 Posts
Default

Originally Posted by Fxdr
IDe 2.3.3
............................ file was compiled successfully[.................
Very good!
You have inspired me to have another try to get my file to compile. I will tackle it again later today.
If I spend some time on the forums and in a search engine etc. I can possibly sort it out.

Edit:
Please look at my post #2228 above and confirm (or not) that I have the correct board name entered in my Arduino IDE.

Jim.

Last edited by Jim.Thompson; Yesterday at 08:16 PM.
Old Yesterday, 07:16 PM
  #2239  
Cat 1
My Feedback: (1)
 
Cat 1's Avatar
 
Join Date: Nov 2002
Location: Prince Albert, SK, CANADA
Posts: 321
Received 10 Likes on 7 Posts
Default

Originally Posted by Jim.Thompson
I received my Zama electronic carburettor in the mail yesterday and I've started to try and figure out how it works.

https://fr.aliexpress.com/item/10050...yAdapt=glo2fra

A few notable obvious points include:
1. No mixture needles!
2. The choke spindle has a secondary electronic control or regulator.
3. There are two electronic connections ; one to the solenoid and another to the choke.

This promises to be a challenge!
Anyone reading got any immediate ideas?
Jim.
Jim,

Although the choke will not be need in all likelihood in your application, I would leave it intact and open - I did try removing it on my conversion and ended up with a fuel draw issue on a 32cc as the throat had too much area and lacked fuel draw. if you look back at the other forum where I was playing with this I experimented with 3d printed inserts but just leaving the choke intact worked the best.

Needles are not needed - all mixture is set with the solenoid... basically the solenoid will control from shutoff to full flow required for at least a 32cc engine. (40 or 45CC stock chainsaw I think) - there are orfices inside the fuel paths that set the max flow for both the idle and full speed circuits.

The choke switch is not needed - it was used on the saw electronics to identify the choke was on.

I choke the engine with a switch that increases the fuel flow (radio mix) for cold starts.. work better than any choke -
Old Yesterday, 07:51 PM
  #2240  
Cat 1
My Feedback: (1)
 
Cat 1's Avatar
 
Join Date: Nov 2002
Location: Prince Albert, SK, CANADA
Posts: 321
Received 10 Likes on 7 Posts
Default

https://www.rcgroups.com/forums/show...to-gas/page337

There is some ZAMA carb talk stating on this page and continuing on for a bit until I flew it on my 32 cc conversion many pages later - Discuss the choke and the Venturi issue if choke was removed
Old Yesterday, 08:22 PM
  #2241  
Jim.Thompson
 
Jim.Thompson's Avatar
 
Join Date: Sep 2015
Location: Bellingen NSW Australia
Posts: 369
Likes: 0
Received 2 Likes on 2 Posts
Default

Originally Posted by Cat 1
Jim,
..............................................

Needles are not needed - all mixture is set with the solenoid... basically the solenoid will control from shutoff to full flow required for at least a 32cc engine. (40 or 45CC stock chainsaw I think) - there are orfices inside the fuel paths that set the max flow for both the idle and full speed circuits.....................
Ok, that confirms my assumptions. I was becoming confused with the many mixed up subjects of this thread. I will start a new thread soon. Many thanks for replying.

The choke switch is not needed - it was used on the saw electronics to identify the choke was on........
Got it!

Originally Posted by Cat 1
https://www.rcgroups.com/forums/show...to-gas/page337

There is some ZAMA carb talk stating on this page and continuing on for a bit until I flew it on my 32 cc conversion many pages later - Discuss the choke and the Venturi issue if choke was removed...........
I will read it, thanks again.

Jim.
Old Yesterday, 09:04 PM
  #2242  
Jim.Thompson
 
Jim.Thompson's Avatar
 
Join Date: Sep 2015
Location: Bellingen NSW Australia
Posts: 369
Likes: 0
Received 2 Likes on 2 Posts
Default

Originally Posted by Cat 1
https://www.rcgroups.com/forums/show...to-gas/page337

There is some ZAMA carb talk stating on this page and continuing on for a bit until I flew it on my 32 cc conversion many pages later - Discuss the choke and the Venturi issue if choke was removed..................
Excellent, many thanks again.
I read the posts until they began to start discussing "needle settings" again, thereby confusing this old man. This extensive thread covers two distinct subjects, and they overlap with some considerable potential for confusion and time wasting.
As I may have already said, I will start a new thread or blog, dedicated to this carburettor (Zama/Stihl/Electronic diaphragm type), Ralieghcopters electronic controller, and to specifically differentiate it from small spray bar type carburettor two stroke engine conversions/applications etc.
No offence meant or implied to small glow plug engine conversion users and no disparagement meant towards the engines!
More when I get Raleightcopters arduino sketch to compile so I can build the controller.

Jim.

Last edited by Jim.Thompson; Yesterday at 09:13 PM.
Old Yesterday, 10:48 PM
  #2243  
1967brutus
Senior Member
Thread Starter
 
Join Date: Oct 2021
Posts: 1,320
Received 97 Likes on 89 Posts
Default

Originally Posted by Jim.Thompson
Excellent, many thanks again.
I read the posts until they began to start discussing "needle settings" again, thereby confusing this old man. This extensive thread covers two distinct subjects, and they overlap with some considerable potential for confusion and time wasting.
As I may have already said, I will start a new thread or blog, dedicated to this carburettor (Zama/Stihl/Electronic diaphragm type), Ralieghcopters electronic controller, and to specifically differentiate it from small spray bar type carburettor two stroke engine conversions/applications etc.
No offence meant or implied to small glow plug engine conversion users and no disparagement meant towards the engines!
More when I get Raleightcopters arduino sketch to compile so I can build the controller.

Jim.
You are completely correct with your assertion of the thread being pretty much mixed up.

Things got out of hand allready on RCGroups, and it never got back to being a bit streamlined and filtered.

There is no excuse for it, but reality is that my life has hit several rough patches in the last 5 years, unrelated to the hobby, and I simply lack the time and above all focus to start sorting out all this info. I hope one day to get around to it, but I'm not optimistic about the chances of finding time and focus... I'm a marine engineer, not an engineer in the sense that Dave is.
I work with my hands and think up solutions "on the spot" but am not very good at documenting them...
Old Yesterday, 11:49 PM
  #2244  
Jim.Thompson
 
Jim.Thompson's Avatar
 
Join Date: Sep 2015
Location: Bellingen NSW Australia
Posts: 369
Likes: 0
Received 2 Likes on 2 Posts
Default

Originally Posted by 1967brutus
.........................
Things got out of hand allready on RCGroups, and it never got back to being a bit streamlined and filtered.............
Yes, that was most unfortunate. I noted the palpable rising frustration experienced by you, Raleighcopter and several other key initiators as the thread dialogue progessed.
From this readers point of view, one of the problems was the lack of quoting when answering questions on the thread by some participants.
Not one individual's fault, just a kind of culture that seemed to creep into the thread dialogue along the say, (I guess) in pursuit of a casual, informal nature to the various exchanges.
Not "tight" enough to maintain coherence to third party, (or new) participants in my removed, non partisan experience.
I work with my hands and think up solutions "on the spot" but am not very good at documenting them...
Those solutions and your empirical way of communicating them have been very valuable to me, as I know they have to many.
I certainly hope that they continue to be so.
Your contribution to the hobby is immense, nothing less!
Sincerely,

Jim.

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Contact Us - Manage Preferences Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.