@KurtE
I found the issue that you were having with having to skip 4 pixels. Turns out that the actual image size for QQVGA is 324x244 and not 320x240. The extra 4 pixels seem to be just border...
Type: Posts; User: mjs513
@KurtE
I found the issue that you were having with having to skip 4 pixels. Turns out that the actual image size for QQVGA is 324x244 and not 320x240. The extra 4 pixels seem to be just border...
@KurtE - @Paul - @defragster - @all
More discoveries, realizations and decisions.
Doing some digging it appears that the framerate is dependent on 3 settings:
1. clock - osc_div which is done...
Just to satisfy my curiosity I put back into the loop Paul's vsych timing code and sure enough, whatever combination of settings Sparkfun is using seems off:
Using the 6Mhz clock and only changing...
Did a little bit more testing and one thing I noticed is that the framerate when set to 60 seems alot slower using the Sparkfun config rather than the default config. With the default config the...
Found it.
3, 0xb1, 0x00, 0x10, // FrameRate Control 119Hz its in both the ILI8341_t3 and _t3n libraries.
Hi all
@KurtE beat me to it - was going to mention that @KurtE did a lot of work with FlexIO and he a library set up for it - not sure where the whole discussion is on the forum anymore
I'll...
@KurtE
Can't seem to push the SPI Clock over 30Mhz for the ILI9341 - just shows a white screen if I do. Just an FYI
I'll go ahead and push the changes I have so we will in synch again. then you can change the handshake. You know never thought about about how fast the screen can update. Don't remember what SPI...
Thanks for the info and update
@KurtE
Changed 2 settings in the default config and DMA seems to be working without using the Sparkfun:
{FS_60HZ_L, 0x85},
{FS_50HZ_L, 0xa0}, Give it a try and...
Just merged your PR but looks like DMA mode got worse when not using Sparkfun registers.
Was actually thinking about something like that last night but seems you beat me to it:)
Anyway's just did a quick experiment and think the MCLK clock has something to do with it. For the...
@Frank B
Ok - I know I can't answer this but curious since I have no idea what it means. Think you are saying that what lib is included its using software to calculate integer divisions when T4...
Nice comparison @KurtE. From the lib I know what some of those settings are and some get changed with the function calls:
INTEGRATION_H(202) 2(2) 1(1)
INTEGRATION_L(203) 133(85) 2(2)...
Was wondering why you set it up to have its own namespace. Is there anyway to do that with in the core. Reason asking it would be simpler than have to add the files to every library or sketch? ...
Morning @KurtE
Actually thought about it but forgot. Remember what they say about assume.
UPDATE: It works:
Acc [mg]: 21.0 x, -37.0 y, 1055.0 z, 27.5C
Acc [mg]: 21.0 x, -34.0 y, 1059.0 z,...
Good luck with FlexIO for the camera - assuming you mean the 4bit FlexIO? Are you trying it with the library or started it with your initial test sketch - going to assume your initial sketch? If...
Was testing a couple more things:
15s Restore: Works - tested both on the ATP and ML boards.
Quad Encoder Library: Finally got a chance to test change I made to the T4 Quad Encoder library...
On a different note from the HB01B0 camera. Was looking at what @luni did and looking at the pins_arduino.h file and was wondering if it would worth it to add @luni's pinouts to the pins_arduino.h...
@defragster - getting ready for zzzz's but it has to be something on the PC side. I have it hooked up to my powered hub and its working no problem. I did notice that there is a noticable delay...
@KurtE - @defragster - @PaulStoffregen - @All
Decided to take a short break from the camera stuff and see if I could get the the ILI9341_t3n library working with the Sparkfun Display/Input board. ...
Try using the sparkfun config by uncommenting the use_sparkfun at the begging of the sketch. Think I am using 4 in wires with no problem.
Ps. Sent about 30 images to the processing sketch from...
Very cool Paul that you got it wired up and its working :) I did incorporate the PR and Thanks for fixing that packed warning message - wasn't sure how to fix that one :)
Incorporated your PR...
That was the only thing I could think off the top of my head. Will have to test it out again soon. Think for the most part I done with changes now time to have fun with Kurt’s smart stuff and the...
@defragster
You could try changing the baud rate in the processing sketch to something much larger than 9600
@defragster
That comment is from the auto calibration function that I extracted from the Sparkfun library. Just tweaked the sketch a bit more after playing with some of the functions and I am not...
@KurtE
You are going to kill me just pushed up some minor changes:
1. fixed pfmt,
2. #define for monochrome sensor
and
3. Some tweaks to the sketch
Can't wait to see what you did to it :)
You may want to check this video out (Why I put a Teensy in Every Project):
https://www.youtube.com/watch?v=75IvTqRwNsE
Almost sure its on the processing side. Had similar problems before with processing. Thought most of it would be resolved if we used USB1.
Actually what I was thinking was to add a define:
#define SensorMonochrome 1
to the .h and then wrap the test in a define. Probably will do that on the next update.
@Paul - agree with Kurt - pretty cool to see.
Not sure whats going on - on my machine it seems to be working no problem. After I finish play with the lib and sketch maybe will play with the processing code.
Right now I am playing with the...
@KurtE
Was just playing with the fix and something hit me with readframe. The readFram function was designed to support the color version of the HB01B0 camera so once you fix the error with...
Darn it. Fixed it for framesize but forgot to change it for pixformat. Going to fix it now.
About 5minutes after I post the question I remembered that those flags are no longer in use with the SD library. Sometimes hard to remember all the changes :) See the update to the post. Thanks...
Morning again
Running into a little problem. I the past (Buddabrot) I have used this code snippet to increment the file name if the file already existed on the SD card using the SD library:
//...
Good morning all
Been at it again this morning with the camera library. Made some minor updates to the sketch and pushed them up to the repository.
1. New menu selections:
...
@defragster
Something weird. I just responded to this but maybe forgot to hit post. I just retested with stock ili9431 library and am sending frames to the Processing sketch without an issue. Not...
I can confirm its not working with the t3n library. On the t3n it sends several frames to the display and then after that screen updates but its all white. On the t3 version it seems to work with...
Ok - video don't work very well with the Processing sketch which you are using. Only can send snapshot to the processing code. Also looks like you never change the image size in the processing...
Ok that sounds like something with the ILI9341. Not having any of those problems with the ST7789
That was the reason for using SerialUSB1. I make sure the sketch is running and the image window appears and then send the data from Arduino sketch with p command in main serial window. Did it a...
That was the reason for using SerialUSB1. I make sure the sketch is running and the image window appears and then send the data from Arduino sketch with p command in main serial window. Did it a...
thats strange. Assume you are using the _t3n library? In middle of cleaning some stuff up with the code then will hook up a ILI9341 and see whats going on.
Maybe this will help you with my...
That's strange. I have seen that before during my development but once I fixed the bugs it was working. Assume you define Spartfun 1? Are you using the ILI9341? Have tested with that one yet :)
@KurtE - @defragster
Just created the Github repository: TMM-HB01B0 - https://github.com/mjs513/TMM-HB01B0-Camera. Have fun.
Don't mind at all. My C++ isn't all that great. Going Boom...
Never having used Processing - is that what the EXTRAS INO is for? That is balking as well - does it need pointer to Teensy on Serial?
The extras folder contains CameraVisualizerRayBytes.pde...
Ok will set up now that I am awake. :)
@defragster
On my phone so... anyways they look equivalent. Both spi and 3.3v.
To run the processing sketch you need Processing app. You can get it at the Processing.org website. The processing...
@KurtE - @defragster
Ok need a break. Using the processing sketch in your OV7670 lib and dual USB on the TMM this is what I get for a snapshot on the PC:
24386
Still have a little to do but...