Update: Using grayscale image to get faster framerate

  Рет қаралды 2,353

Indrek

Indrek

Күн бұрын

Пікірлер: 16
@dansdroids4067
@dansdroids4067 3 жыл бұрын
have you tried this on an stm32-f103 such as the blue-pill? you may find much better frame rate without sacrificing the colour?
@IndrekL
@IndrekL 3 жыл бұрын
Hey! Yes, I have tried with the Blue Pill module. I got it working at 15fps. With Arduino, I could cheat a little. The camera and the Arduino are in perfect sync. This means that I don't have to check the pixel clock at all. I can just blindly read incoming pixels. But with the Blue Pill module, I couldn't get it to sync up. So I needed to check the pixel clock for every pixel read which slowed it down a lot. So theoretically 30 fps should be possible with the Blue Pill module and the small screen, but I couldn't do it.
@diankusuma5348
@diankusuma5348 4 жыл бұрын
excuse me sir... if I want to make the trensfer data using NRF24L01, is it possible with the 2.4 Ghz radio transchiever? thanks a lot
@IndrekL
@IndrekL 4 жыл бұрын
Hey. It should be possible, but I haven't tried it myself.
@diankusuma5348
@diankusuma5348 4 жыл бұрын
@@IndrekL okay sir thanks a lot👍👍👍
@AVI-xo1kb
@AVI-xo1kb 9 ай бұрын
hello, bro I also had the same question I have a non-fifo version of ov7670 i wanted to use it for my DIY drone. I didn't want to buy another expensive unit for this so i was searching for a way to transfer it via nrf24l01 which i used as a receiver and transmitter for my drone. Do you have any luck with this?
@AVI-xo1kb
@AVI-xo1kb 9 ай бұрын
@@IndrekL Can you give me some pointers on where to start off this sir? My goal is to be able to transmit image data( if possible live) from one nrf24l01 (on drone) to the base station (nrf24l01). and reconstruct the image display it on tft display. or are there any other better ways to do it ?.
@AVI-xo1kb
@AVI-xo1kb 9 ай бұрын
And I am using esp32 wroom for this.
@pesanchegra
@pesanchegra 4 жыл бұрын
This will also increase the framerate on the TFT screen?
@IndrekL
@IndrekL 4 жыл бұрын
No, since 10fps is the maximum I could get with 8Mhz input clock that the Arduino was able to provide. You can get 20fps if you use the WAVGAT nano. It is mostly Atmel compatible, but it can run at 32Mhz.
@pesanchegra
@pesanchegra 4 жыл бұрын
Okey, thank you very much! I will buy two or three WAVGAT nanos and do this project.
@mouayedg1
@mouayedg1 5 жыл бұрын
Awesome videos! Keep up the good work. I have a question, is there a way to use this library to send info to an Android phone via Bluetooth? I tried getting at least one monochrome picture and getting the pixel brightness values from the serial monitor. However, the values showed random pictures and non made sense. Can you please help? I am stuck and don't know how to implement it. Thank you :)
@IndrekL
@IndrekL 5 жыл бұрын
In this example I am sending picture over serial. It should be possible since most Bluetooth and Wifi modules also use serial. I am currently trying to get it to work with a wifi module. What exactly did you try to do? Did you connect it with USB to Android and tried to write your own program to read the serial data?
@mouayedg1
@mouayedg1 5 жыл бұрын
@@IndrekL No I tried sending it to normal serial on Arduino IDE and then used a Java program I made that arranges pixels in a way to make a picture. I did modify your code a bit. I changed the line that sends a char from a byte and make it send a value instead, I don't think that can be the issue possibly?
@IndrekL
@IndrekL 5 жыл бұрын
@@mouayedg1 Sending characters is much slower because it takes a lot more bytes. You have to lower frame rate to compensate. For example grey scale value for white pixel is 255. My example sends one byte with value 255. If you want to send it as characters (that can be displayed by Arduino Terminal) then it is three bytes '2', '5', '5' + end of line symbol. So four bytes in total instead of one.
@mouayedg1
@mouayedg1 5 жыл бұрын
@@IndrekL Okay this makes sense. I will try modifiying my code again Thanks :)
Use Your Arduino Memory More Efficiently (C++ Tutorial)
4:19
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Something is wrong with ISPs in India 🇮🇳
13:17
Mehul - Codedamn
Рет қаралды 56 М.
How Japan Made Their Outlets Safe
12:32
Andrew Lam
Рет қаралды 342 М.
OV7670 Camera module to PC with Arduino (SIMPLIFIED!)
8:54
I Scraped the Entire Steam Catalog, Here’s the Data
11:29
Newbie Indie Game Dev
Рет қаралды 558 М.
ESP32 DevKit + Ov7670 + Internet output
3:21
FBELLSAN - Informatica
Рет қаралды 947