Kl0ibi / esp32_hackingtool

MIT License
209 stars 27 forks source link

Make Standalone Tool with OLED #14

Open waritsriyadi opened 9 months ago

waritsriyadi commented 9 months ago

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 commented 9 months ago

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

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 commented 9 months ago

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 commented 9 months ago

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 commented 9 months ago

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 commented 9 months ago

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 commented 9 months ago

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