Hello Indrek, I am a starter in Robotics and stuff. I have modified your Java program "ArduImageCapture" and some of the code from your UART Example so that it can communicate over Bluetooth connection. I have a Micro-SD Card Adapter that I want to use. Is there a way that I can implement - storing the captured image in a SD Card in BMP Format.
@richmondbautista3334
5 жыл бұрын
That's awesome sir! I hope for the success of your channel ☺️
@IndrekL
5 жыл бұрын
Thanks!
@abhiramvankayala5665
3 жыл бұрын
hello bro,,i had a doubt can we do the same with nodemcu and get images through web?
@urieljose2382
4 жыл бұрын
hello sir. i am trying to use this for a school project, and I was wondering if it is possible to trigger with a button or PIR sensor, and save into a micro SD OR normal SD card. any help is VERY appreciated! thank you
@IndrekL
4 жыл бұрын
The problem with SD card is that it is not fast enough to save the image directly from the camera to the SD card. You probably should look for the OV7670 with FIFO. The Fifo chip on the camera board will buffer the image and then you have enough time to write it onto the SD card.
@urieljose2382
4 жыл бұрын
@@IndrekL ok. thank you very much. i shall research a little about it(i am starting arduino just a little whille ago) thank you so much and keep going with your channel! it is really fun and informative! thank you!
@mishayakubchuk4192
5 жыл бұрын
I have an arduino, a camera and a button. I want to save image from camera to a computer by pressing a button. Can this be done without running the Java application, like sketch?
@IndrekL
5 жыл бұрын
Arduino just sends a stream of bytes to computer over serial communication. There has to be something on the computer that receives those bytes and saves them as an image file. Arduino doesn't have direct access to the computer.
@mishayakubchuk4192
5 жыл бұрын
@@IndrekL So, can I add in Java, event of click button that connected to arduino and take one photo?Sorry for my English, I hope I clearly wrote.
@IndrekL
5 жыл бұрын
@@mishayakubchuk4192 Yes. The Arduino program can be modified so that it only sends out an image frame if button is pressed. Then the Java application saves if it receives an image.
@mishayakubchuk4192
5 жыл бұрын
@@IndrekL Thank you very much!)
@deenuhd7562
3 жыл бұрын
@@mishayakubchuk4192 Hi ,did it worked. I am also trying to do similar to yours. Pls help me.
@sifattanvir5651
5 жыл бұрын
Can this be done using msp430?
@IndrekL
5 жыл бұрын
You can't use my code directly since it is Arduino (Atmel) hardware specific. But it should be possible to port it over to any processor that is fast enough.
@ВячеславР-р8у
5 жыл бұрын
com port is not for video strim.
@IndrekL
5 жыл бұрын
Yes, it is really bad for that but it is the easiest way to get it working with Arduino since it doesn't require any additional hardware... Basically you only need Arduino, OV7670, four resistors and a bunch of wires.
@КвасИСышка
5 жыл бұрын
Can it save video?
@IndrekL
5 жыл бұрын
It saves all the frames into separate png files. It should be possible to use some other program to merge those image files into a video file.
@КвасИСышка
5 жыл бұрын
@@IndrekL So why you draw ever frame? Can arduino simple send information from ov to pc? We dont have pre-olaying, but have speed video
@IndrekL
5 жыл бұрын
@@КвасИСышка The serial communication from Arduino isn't fast enough to send video with high frame rate.
@КвасИСышка
5 жыл бұрын
@@IndrekL but it can 20 fps?
@IndrekL
5 жыл бұрын
@@КвасИСышка It is directly to the screen over SPI connection. Serial communication to PC is much slower. Normal Arduino Nano that runs at 16Mhz has 8Mhz SPI. But maximum reliable communication the PC is only at 1Mhz baudrate.
@terlumunjoseph6779
5 жыл бұрын
please make one that saves photo to sd card
@AThatZhAng
5 жыл бұрын
please, can you make a language program vb.net or C#
@IndrekL
5 жыл бұрын
I don't have enough experience with .net.
@AThatZhAng
5 жыл бұрын
@@IndrekL if you make a language program with python? I don't have enough experience with java :(
@IndrekL
5 жыл бұрын
@@AThatZhAng If you know C# or Phyton it shouldn't be very hard to write the application yourself. You just have to know the data format that Arduino is sending. Basically each image frame starts with bytes: 00, 01, XX, XX, YY, YY, PP Where: XX, XX is two byte integer for image width YY, YY is two byte integer for image height PP is pixel format (1=RGB565, 2=Grayscale) Then there will be pixel bytes for one line of image. Two bytes per pixel if format is RGB565 or one byte per pixel if grayscale. And then end of line indicator: 00 02 Pixel bytes will never be with value 00. It will always be slightly over zero. After reading the image data you can construct an image from it and save it to disk or display in a window.
@AThatZhAng
5 жыл бұрын
I do not understand what data is sent by Arduino, which I tried to capture from baud 1000000 he sent the number -75 25 135 100 67 -86 atc ... I do not understand how to change it into a string to get the RGB number generated, can u help me translate u code java to working logic?? I try make to use vb net
@IndrekL
5 жыл бұрын
@@AThatZhAng Try to do it one step at the time. First. Try to detect the beginning of a new image frame. Can you do console log in VB? Read incoming bytes and when you see 00 01 log out "NEW FRAME". If it works correctly you should see message "NEW FRAME" after every couple of seconds. If you get that working then the next step is to try to read width and height of the image. If you get that working then we can continue with actual pixel data.
Пікірлер: 36