What is the electronic function of the tcd1304?

The tcd1304 datasheet specifies an electronic shutter function and driving it with this function is way harer than wihtout. What is this function exactly and is it really needed?

datasheet: https://toshiba.semicon-storage.com/info/TCD1304DG_Web_Datasheet_en_20190108.pdf?did=13709&prodName=TCD1304DG

Yes, the shutter function is required to control exposure. During shutter operation, the cells are erased and then read out after a specific time, periodically.

Code for the TCD1304 has been written for the Teensy 3.x, and works well.

do you know a code that works with an esp32?
I just cant get my hed around how to generate the timings and what their values are.

Timers are needed to generate the signals. The Teensy 3.x code gives examples of the intervals.

Aorry if im asking too mich, but can you give me some instructions on the timing values? I fidnt really understand the teensy project as ive never worked with one before.

Sorry, it has been several years since I worked on the project. The (terrible) data sheet and the Teensy 3.2 code were all I had to go on, but with quite a bit of effort, I finally did manage to understand it.

The device worked fine at the time. Perhaps others have been more successful since then, so search the web for more recent examples. These should be helpful:

I tried to understand the code but I dont get the language used. Can you please provide a step by step plan if you're not busy? Thank you!

It is C/C++. If you don't know how to write code in that language, Arduino won't be of much use for this project.

The code for the project in the second link in post #6 is simpler, so take a look at that.

Sorry, I don't have the time or interest to write a tutorial for you.

I connected my TCD1304 board to an Arduino Uno as described here, loaded the code linked in the article, and it worked as expected, without any modifications.

I tried to convert the code on the site to something that can be used by the ESP32, but I didn't get anywhere. Can you help me?
Thank you.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.