VFO-ESP32-Si5351 icon indicating copy to clipboard operation
VFO-ESP32-Si5351 copied to clipboard

Upload p[roblems in Arduino Ide V1.89

Open RSZ-Nld opened this issue 1 year ago • 51 comments

Hello Paul,

Made the version 3 kicad new, but i can not upload the files, got all sorts of problems. Do you have a bin file for me? Think that will be a lot easier.

Greetings

Rolf

RSZ-Nld avatar Jun 25 '23 15:06 RSZ-Nld

Hello,

I don't know exactly what you have built, but to build a bin I need some more information. Did you build the version with the TCA 9548? Because for that one I did not share the software yet. The version in github is older and relies on older versions of libraries (included in the library directory). I have an updated version but not yet shared, because some screens are not yet fully migrated to the latest version of lvgl v8.x

Regards, Paul

Op zo 25 jun 2023 om 17:33 schreef RSZ-Nld @.***>:

Hello Paul,

Made the version 3 kicad new, but i can not upload the files, got all sorts of problems. Do you have a bin file for me? Think that will be a lot easier.

Greetings

Rolf

— Reply to this email directly, view it on GitHub https://github.com/paulh002/VFO-ESP32-Si5351/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIOBYUEWFQ5572OKRYCOIS3XNBK5NANCNFSM6AAAAAAZTG4YMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

paulh002 avatar Jun 25 '23 22:06 paulh002

Yes i build the onme with the TCA 9548. So i can not use that now, i have to wait for the software then. I would like to test the the board, how can i test it ?

RSZ-Nld avatar Jun 26 '23 07:06 RSZ-Nld

I will build a version, and upload it later today Later I will share the code (beta version)

Op ma 26 jun 2023 om 09:52 schreef RSZ-Nld @.***>:

Yes i build the onme with the TCA 9548. So i can not use that now, i have to wait for the software then. I would like to test the the board, how can i test it ?

— Reply to this email directly, view it on GitHub https://github.com/paulh002/VFO-ESP32-Si5351/issues/4#issuecomment-1606906711, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIOBYUEAM7XXEQU3X5QU5ULXNE5U7ANCNFSM6AAAAAAZTG4YMA . You are receiving this because you commented.Message ID: @.***>

paulh002 avatar Jun 26 '23 08:06 paulh002

Thanks for that, i like this project !

RSZ-Nld avatar Jun 26 '23 08:06 RSZ-Nld

You can find the bin files and source code in this repo https://github.com/paulh002/ESP32vfo

paulh002 avatar Jun 26 '23 10:06 paulh002

Yes the bin file is working, but no touch ? Screen is fine on my 3.2 Inch

RSZ-Nld avatar Jun 26 '23 11:06 RSZ-Nld

Can you measure if pin 11 of the TFT connects to IO0? I had an issue in the PCB, but I thought the version on github is corrected. But touch is using IO0 and should be connected to pin 11 of the TFT (T_CS)

paulh002 avatar Jun 26 '23 11:06 paulh002

Yes pin 11 is connected with IO0

RSZ-Nld avatar Jun 26 '23 11:06 RSZ-Nld

I compiled for 2.4 inch, ILI9341 what display are you using?

paulh002 avatar Jun 26 '23 12:06 paulh002

O ok i use 3.2 Inch, see if i have a 2.4 Inch

RSZ-Nld avatar Jun 26 '23 12:06 RSZ-Nld

Does not matter, do you know the driver for the 3.2 inch?

Op ma 26 jun 2023 om 14:57 schreef RSZ-Nld @.***>:

O ok i use 3.2 Inch, see if i have a 2.4 Inch

— Reply to this email directly, view it on GitHub https://github.com/paulh002/VFO-ESP32-Si5351/issues/4#issuecomment-1607414957, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIOBYUCIYQKCPVOXPE7UOVTXNGBMLANCNFSM6AAAAAAZTG4YMA . You are receiving this because you commented.Message ID: @.***>

paulh002 avatar Jun 26 '23 13:06 paulh002

Yes ILI9341

RSZ-Nld avatar Jun 26 '23 13:06 RSZ-Nld

For what I can see it is the same driver. So it has to be a software issue. I now also have a test version running and have the same issue. I have to debug it. If I compare the code with an other project it should work. I will do some tests. You can also compile the project your self, but you need to download the libraries necessary like.

paulh002 avatar Jun 26 '23 13:06 paulh002

Yes i try that but i did not succeed yey

RSZ-Nld avatar Jun 26 '23 13:06 RSZ-Nld

The new code I shared should compile with latest libraries. You can give it a try.

paulh002 avatar Jun 26 '23 13:06 paulh002

Yes i updated the libraries, i try it again

RSZ-Nld avatar Jun 26 '23 13:06 RSZ-Nld

I think I found the issue, will upload it later today or tomorrow

paulh002 avatar Jun 26 '23 13:06 paulh002

Ok nice, i got all kind of problems like: GuiBinarySemaphore' was not declared in this scope and 'class RotaryEncoder' has no member named 'isConnected'

All updated to the latest libraries now, i wait for the bin file then.

RSZ-Nld avatar Jun 26 '23 14:06 RSZ-Nld

I uploaded new version

paulh002 avatar Jun 26 '23 14:06 paulh002

Yes that is working, but the touch screen is upside down, so i have at the top the touch for everything now.

RSZ-Nld avatar Jun 26 '23 14:06 RSZ-Nld

Is everything upside down or only touch?

Op ma 26 jun 2023 om 16:14 schreef RSZ-Nld @.***>:

Yes that is working, but the touch screen is upside down, so i have at the top the touch for everything now.

— Reply to this email directly, view it on GitHub https://github.com/paulh002/VFO-ESP32-Si5351/issues/4#issuecomment-1607584652, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIOBYUCGLJS3XNTFVHW6B6LXNGKK5ANCNFSM6AAAAAAZTG4YMA . You are receiving this because you commented.Message ID: @.***>

paulh002 avatar Jun 26 '23 14:06 paulh002

Only the touch

RSZ-Nld avatar Jun 26 '23 14:06 RSZ-Nld

Ok, seems to be different for 3.2 inch. Are both X and Y swapped? Or only Y?

Op ma 26 jun 2023 om 16:31 schreef RSZ-Nld @.***>:

Only the touch

— Reply to this email directly, view it on GitHub https://github.com/paulh002/VFO-ESP32-Si5351/issues/4#issuecomment-1607614582, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIOBYUDPHCPR2GHMAM4R6GDXNGMLDANCNFSM6AAAAAAZTG4YMA . You are receiving this because you commented.Message ID: @.***>

paulh002 avatar Jun 26 '23 14:06 paulh002

Lsb is left top and Settings is Right top

RSZ-Nld avatar Jun 26 '23 14:06 RSZ-Nld

Ok, changed the Y for the touch. I also compiled with Arduino indeed a lot of errors. I am not using Arduino compiler. I use Visual Studio with Visual Micro extension (you have to buy for 25 Euro) But works very good. Have to check why it does not compile with normal Arduino IDE

paulh002 avatar Jun 26 '23 14:06 paulh002

You should be able to compile when you delete the files smeter.cpp smeter.h wifigui.cpp and wifigui.h These files I did not update yet for lvgl version 8, that's why they give problems. This is still work in progress. Also I switched off the bandpassfilter in the code. It is using a serial chip to communicate. Currently I use I2C for this. But updating the smeter, should not be so difficult I already did it for an other project I did.

Op ma 26 jun 2023 om 16:39 schreef RSZ-Nld @.***>:

Lsb is left top and Settings is Right top

— Reply to this email directly, view it on GitHub https://github.com/paulh002/VFO-ESP32-Si5351/issues/4#issuecomment-1607629546, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIOBYUHVSRMHHDR4QUFVH33XNGNJXANCNFSM6AAAAAAZTG4YMA . You are receiving this because you commented.Message ID: @.***>

paulh002 avatar Jun 26 '23 14:06 paulh002

Yes now touch is perfect, thx ! Now i have to learn how i can give a Wifi in, now it is exit when i touch it. But this is a test file not complete yet?

RSZ-Nld avatar Jun 26 '23 14:06 RSZ-Nld

Yes i try that now, delete that files now and i will try that

RSZ-Nld avatar Jun 26 '23 15:06 RSZ-Nld

If you can compile you can add wifi credentials in the ino file. Also change R.wifi_onoff = false; to true This is still work inprogress due to the major update of lvgl from 7 to 8. They changed a log of calls. I was not so active with this upgrade because of all the work on the sdr transceiver.

Op ma 26 jun 2023 om 17:00 schreef RSZ-Nld @.***>:

Yes i try that now, delete that files now and i will try that

— Reply to this email directly, view it on GitHub https://github.com/paulh002/VFO-ESP32-Si5351/issues/4#issuecomment-1607668653, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIOBYUB6OWTT7JFPAJUB7W3XNGPZ3ANCNFSM6AAAAAAZTG4YMA . You are receiving this because you commented.Message ID: @.***>

paulh002 avatar Jun 26 '23 15:06 paulh002

Yes did that Ide is at work now, takes a while. But no problem it is all a hobby and you are doing a great job ! I like to thank you, when i compile i let you know if it has worked!

RSZ-Nld avatar Jun 26 '23 15:06 RSZ-Nld