Search found 259 matches

by Christian_Bylund
04 Jan 2021 01:56
Forum: Lambda Shield for Arduino
Topic: Analog output with GUI code.
Replies: 10
Views: 13689

Re: GUI code problem no PWM support

Hello Ryni, I hope this code can be used in your project. It is not yet an official release but if it works good I might upload it to GitHub. Good luck and let us know about your progress. /* Example code compatible with the Lambda Shield for Arduino and GUI frontend. Copyright (C) 2018 - 2021 Bylun...
by Christian_Bylund
27 Dec 2020 23:35
Forum: Lambda Shield for Arduino
Topic: Analog output with GUI code.
Replies: 10
Views: 13689

Re: GUI code problem no PWM support

Maybe I asked the question wrong. Reading the information on the "Bylund" website I understood that the code for schield supports the interface for Windows and pin3 PWM, and it is not. That's why I ask how it can be combined. It's too hard for me, I don't know C / C ++ very well and I am ...
by Christian_Bylund
22 Dec 2020 12:36
Forum: Lambda Shield for Arduino
Topic: Customizing display output
Replies: 38
Views: 36804

Re: Customizing display output

After some testing I managed to improve the performance slightly by increasing the clock speed of the I2C interface using the u8g2.setBusClock() function. But nothing that will improve the overall experience. Instead I have ordered the same kind of display you are hopefully using: https://www.ebay.c...
by Christian_Bylund
21 Dec 2020 22:13
Forum: Lambda Shield for Arduino
Topic: Customizing display output
Replies: 38
Views: 36804

Re: Customizing display output

I believe it is probably possible to improve the speed of the display. Now it is made for the minimum ram usage to work on all types of Arduino boards. There is a full frame buffer mode that is much faster according to the U8g2-library. Let me see if I can get it to work on my display first, then yo...
by Christian_Bylund
21 Dec 2020 21:55
Forum: Lambda Shield for Arduino
Topic: Analog output with GUI code.
Replies: 10
Views: 13689

Re: GUI code problem no PWM support

I need to combine "Lambda Shield App" support and PWM support (pin3) in one code. Now when uploading "Lambda Shield example code", PWM (pin3) works, but "app for Windows" doesn't work. When I load the GUI code "app for Windows" it worked, but it doesn't work ...
by Christian_Bylund
21 Dec 2020 19:05
Forum: Lambda Shield for Arduino
Topic: Analog output with GUI code.
Replies: 10
Views: 13689

Re: GUI code problem no PWM support

Hello Ryni, My project (experiment) assumes the use of a lambda probe to measure the composition of the smoke from the furnace. You have chosen the correct product for this. The problem is that the GUI code supports the "Lambda Shield app for Windows" applications but does not support the ...
by Christian_Bylund
20 Dec 2020 17:08
Forum: Lambda Shield for Arduino
Topic: Customizing display output
Replies: 38
Views: 36804

Re: Customizing display output

Is this my serial output ? 0,1,-1,307,447,79,833 yes there is an i2c for the display but there is no lib. the olikraus does not work... Yes, so this confirms that the SPI is not working when the display libraries are loaded. According to U8g2 they support your SSD1327 128x128 display by I2C. Your b...
by Christian_Bylund
20 Dec 2020 11:40
Forum: Lambda Shield for Arduino
Topic: Customizing display output
Replies: 38
Views: 36804

Re: Customizing display output

OK didnt thought about that. I'm now using 13,12,11,9,8. But still just loading screen. Am i using more used pins ? Those pins are OK to use, it is only pin 10 that is used by the Lambda Shield. Could you please share the serial output, then I am sure we can figure out what is going on. I suspect t...
by Christian_Bylund
20 Dec 2020 00:18
Forum: Lambda Shield for Arduino
Topic: Customizing display output
Replies: 38
Views: 36804

Re: Customizing display output

But my problem is the code does not start. it is just showing me the logo but nothing else. the less are not flashing. if i change to :U8G2_SH1106_128X64_NONAME_1_HW_I2C u8g2(U8G2_R0, U8X8_PIN_NONE); everything works. am i missing something ? Glad to see you are making progress! I think I see the p...
by Christian_Bylund
18 Dec 2020 22:33
Forum: Lambda Shield for Arduino
Topic: Customizing display output
Replies: 38
Views: 36804

Re: SupplyVoltage instead AFR

Ok it worked fine. i am struggling adding a V for volt behind number and maybe the greek lambda sign behind ads value. u8g2.print((SupplyVoltage),"V"); this does not work. u8g2.print(Lookup_Lambda(adcValue_UA), 2 ); what does the 2 stand for ? The "2" sets how many decimals you ...