Search found 15 matches

by TRMrNo
Sat Aug 06, 2022 11:44 am
Forum: ESP32 boards
Topic: esp32-cam driver
Replies: 2
Views: 4733

Re: esp32-cam driver

Hello, I was able to compile my own without a problem. You can checkout my github link. In addition I have added ST7789 LCD Driver. https://github.com/e135193/MicroPython-ESP32-CAM I am trying to get the esp32-cam driver to work on mp. There is a github repository which explains how to do this: http...
by TRMrNo
Thu Jul 21, 2022 9:14 pm
Forum: ESP32 boards
Topic: Hardware SPI Problem
Replies: 6
Views: 3085

Re: Hardware SPI Problem

I think that sharing the same pins with the SD card should not be problem. There should be another problem.
by TRMrNo
Wed Jul 20, 2022 5:15 pm
Forum: Programs, Libraries and Tools
Topic: Writing new C API into micropython firmware
Replies: 20
Views: 6001

Re: Writing new C API into micropython firmware

Hello Could you specify how you resolve. I am having a trouble in driver writing.
by TRMrNo
Wed Jul 20, 2022 4:33 pm
Forum: ESP32 boards
Topic: in Driver Writing getting char pointer
Replies: 1
Views: 1246

in Driver Writing getting char pointer

hello,

I am trying to write my own driver at C level.

I want to pass a char pointer but I could not find a suitable micropython function.

for float mp_obj_get_float()
for int mp_obj_get_int()
for char* ???

Best Regards
by TRMrNo
Wed Jul 20, 2022 11:43 am
Forum: ESP32 boards
Topic: Hardware SPI Problem
Replies: 6
Views: 3085

Re: Hardware SPI Problem

Hello @jimmo

Actually my problem is Hardware SPI. It is not working in fast or slow mode that I even tried in 100KHz. Besides, SoftSPI works as expected.

I can stream camera data to LCD display but due to harware SPI problem it is too slow.
by TRMrNo
Mon Jul 18, 2022 6:15 pm
Forum: ESP32 boards
Topic: Hardware SPI Problem
Replies: 6
Views: 3085

Re: Hardware SPI Problem

hello @jimmo I forgot to write the board. I am using ESP32-CAM module. SoftSPI is not resolving my problem. I need to run the Hardware SPI mode. I tried lower baudrates in Hardware mode but it did not worked.
by TRMrNo
Sun Jul 17, 2022 12:50 pm
Forum: ESP32 boards
Topic: Hardware SPI Problem
Replies: 6
Views: 3085

Hardware SPI Problem

Hello, I am trying to use st7789 LCD Display. I am using 14, 13 and 12 pins as hardware SPI interface but it is not working. When I use the same pins as SoftSPI it works properly. What Could be the problem ? working spi = SPI(-1,baudrate=30000000, polarity=1, phase=0, sck=Pin(14), mosi=Pin(13), miso...
by TRMrNo
Thu Jul 07, 2022 7:00 pm
Forum: ESP32 boards
Topic: ESP32-CAM MJPEG
Replies: 2
Views: 1762

Re: ESP32-CAM MJPEG

Hi, They do not answer about micropython. Their only concern is openmv project.
by TRMrNo
Thu Jul 07, 2022 6:58 pm
Forum: ESP32 boards
Topic: ESP32-CAM-MB + Development Board CH340G
Replies: 28
Views: 46711

Re: ESP32-CAM-MB + Development Board CH340G

Does anyone tried to use RGB565 format for esp32-cam ?

I am trying but it fails. Does anyone tried it in RGB565 ?

Code: Select all

state = camera.init(0, format=camera.RGB565, fb_location=camera.PSRAM)
print("Camera State: ",state)
True
camera.framesize(camera.FRAME_96X96)
buf = camera.capture()
buf
False
by TRMrNo
Sat Jul 02, 2022 10:13 am
Forum: ESP32 boards
Topic: ESP32-CAM with ILI9341
Replies: 1
Views: 1727

ESP32-CAM with ILI9341

Hello, I am trying to display live video on ILI9341 SPI display. JPEG function of the camera is working properly. However I could not get any image when I configure the camera in RGB565 format. Does anyone make such an implemantation ? Or do you know a library which can display jpeg image on LCD dis...