Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Standalone Tool with OLED #14

Open
waritsriyadi opened this issue Dec 24, 2023 · 6 comments
Open

Make Standalone Tool with OLED #14

waritsriyadi opened this issue Dec 24, 2023 · 6 comments

Comments

@waritsriyadi
Copy link

Hi, Kl0ibi!
I've been trying your project and It's insane, such a great project!

I'm still new for hacking with ESP32 and I want to make a standalone tool but for display I want to use OLED 128x64. I read that you mentioned this project can be used with OLED. But I don't know where to find "menuconfig" so I can change the pin from TTGO to OLED. Can you help me with that? Thanks in advance.

@skyrimXI
Copy link

skyrimXI commented Dec 28, 2023

M really not good at programming with esp-idf so am using Arduino - ide to get every single feature like this project but m using a tft-ST7735 and also any kind of tft just need to use tft-espi library but but m doing from scratch ground-up, and being honest at this moment m just complete
menus but i want some advances feature on my UI but m stuck with 3 things

  • verticle menu scrolling
  • horizontal scrolling if my menu item or any text or string is larger than my selected highlighting box
  • while Scanning for nearby WI-FI i want to show a status that its Scanning
  • and a scroll bar on far right of display
    On this 4 thing m stuck if anyone instested pls pls help me or we can colabrate

And as of now i have just one wifi related thing implemented that is as follows Scan-scan for ap - a list of ap's - show information about that ap like SSID, CHANNEL, RSSI, MAC , ENCRYPTION TYPE

@waritsriyadi
Copy link
Author

M really not good at programming with esp-idf so am using Arduino - ide to get every single feature like this project but m using a tft-ST7735 and also any kind of tft just need to use tft-espi library but but m doing from scratch ground-up, and being honest at this moment m just complete menus but i want some advances feature on my UI but m stuck with 3 things

  • verticle menu scrolling
  • horizontal scrolling if my menu item or any text or string is larger than my selected highlighting box
  • while Scanning for nearby WI-FI i want to show a status that its Scanning
  • and a scroll bar on far right of display
    On this 4 thing m stuck if anyone instested pls pls help me or we can colabrate

And as of now i have just one wifi related thing implemented that is as follows Scan-scan for ap - a list of ap's - show information about that ap like SSID, CHANNEL, RSSI, MAC , ENCRYPTION TYPE

Can you send me your Arduino IDE sketch? because I also not really good at using esp-idf and struggling to change the functions from Kl0ibi version. That'd be so helpful

@Kl0ibi
Copy link
Owner

Kl0ibi commented Dec 28, 2023

Hey, waritsriyadi,
thank you really appreciate it.

It appears that you've already installed the ESP-IDF framework. If that's the case, you're likely familiar with commands like idf.py build and idf.py flash. There is also a command which is idf.py menuconfig. In the menuconfig, there's a graphical user interface that allows you to modify the sdkconfig. This includes various ESP32 attributes and coding elements such as pin definitions.

In the menu "Component config" -> Hardware Agnostic Graphics Library HAL you can change the pin definitions (SPI) and also the screen resolution.

Personally, I'm not a huge fan of using the Arduino framework for coding. While it's more high-level, which isn't inherently bad, I prefer having greater freedom. Coding from scratch teaches you a lot more. In embedded coding, the features of high-level languages like classes are often not necessary.

I understand it's challenging to learn, but I assure you that mastering this will significantly benefit your other projects.
I suggest starting with the examples provided and referring to the documentation at: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/index.html

I hope this information has been helpful and inspires you to experiment with the ESP-IDF!

@waritsriyadi
Copy link
Author

Hey, waritsriyadi, thank you really appreciate it.

It appears that you've already installed the ESP-IDF framework. If that's the case, you're likely familiar with commands like idf.py build and idf.py flash. There is also a command which is idf.py menuconfig. In the menuconfig, there's a graphical user interface that allows you to modify the sdkconfig. This includes various ESP32 attributes and coding elements such as pin definitions.

In the menu "Component config" -> Hardware Agnostic Graphics Library HAL you can change the pin definitions (SPI) and also the screen resolution.

Personally, I'm not a huge fan of using the Arduino framework for coding. While it's more high-level, which isn't inherently bad, I prefer having greater freedom. Coding from scratch teaches you a lot more. In embedded coding, the features of high-level languages like classes are often not necessary.

I understand it's challenging to learn, but I assure you that mastering this will significantly benefit your other projects. I suggest starting with the examples provided and referring to the documentation at: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/index.html

I hope this information has been helpful and inspires you to experiment with the ESP-IDF!

Hi Kl0ibi,
Thanks for responding my beginner problem xd
And yeah, I will try it soon. You're so much help!

I agree that use ESP-IDF will teaches more than use Arduino framework, I really interested to learn it because of your project!

@skyrimXI
Copy link

M really not good at programming with esp-idf so am using Arduino - ide to get every single feature like this project but m using a tft-ST7735 and also any kind of tft just need to use tft-espi library but but m doing from scratch ground-up, and being honest at this moment m just complete menus but i want some advances feature on my UI but m stuck with 3 things

  • verticle menu scrolling
  • horizontal scrolling if my menu item or any text or string is larger than my selected highlighting box
  • while Scanning for nearby WI-FI i want to show a status that its Scanning
  • and a scroll bar on far right of display
    On this 4 thing m stuck if anyone instested pls pls help me or we can colabrate

And as of now i have just one wifi related thing implemented that is as follows Scan-scan for ap - a list of ap's - show information about that ap like SSID, CHANNEL, RSSI, MAC , ENCRYPTION TYPE

Can you send me your Arduino IDE sketch? because I also not really good at using esp-idf and struggling to change the functions from Kl0ibi version. That'd be so helpful

Its on my github

@skyrimXI
Copy link

Hey, waritsriyadi,
thank you really appreciate it.

It appears that you've already installed the ESP-IDF framework. If that's the case, you're likely familiar with commands like idf.py build and idf.py flash. There is also a command which is idf.py menuconfig. In the menuconfig, there's a graphical user interface that allows you to modify the sdkconfig. This includes various ESP32 attributes and coding elements such as pin definitions.

In the menu "Component config" -> Hardware Agnostic Graphics Library HAL you can change the pin definitions (SPI) and also the screen resolution.

Personally, I'm not a huge fan of using the Arduino framework for coding. While it's more high-level, which isn't inherently bad, I prefer having greater freedom. Coding from scratch teaches you a lot more. In embedded coding, the features of high-level languages like classes are often not necessary.

I understand it's challenging to learn, but I assure you that mastering this will significantly benefit your other projects.
I suggest starting with the examples provided and referring to the documentation at: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/index.html

I hope this information has been helpful and inspires you to experiment with the ESP-IDF!

I was tried to learn esp-idf but its kind a time-consuming so i did ditch that idea but i guess i should as i guess it would be better as its gets too complicated using arduino ide

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants