It’s entirely possible to drive the TCD1304 directly from the GPIO’s of the Nucleo F401RE, but a PCB adds a lot of convenience and lower noise levels if done right (I’m not an electrical engineer, so I can’t guarantee that anything here is low-noise).

The datasheet suggests the following drive circuit for the TCD1304:


Typical drive circuit for the TCD1304.

And the PCBs presented here follow that. The typical supply voltage is 4V, but connecting V+ to the 5V or 3.3V pin on the Nucleo F401RE works fine.


TCD1304DG housed on the through-the-hole PCB


Front and back of the SMD TCD1304 PCB. The board is fitted with a TCD1304AP. The electrolytical cap C1 may be substituted for a smaller cheaper SMD tantalum cap.

The most recent PCB is also the smallest. It features an option for on-board supply-voltage regulation with a low-noise LDO (LT1761). It may be bypassed.

The supply-voltage is given by the resistors in the voltage divider connected to the ADJ-pin of the LT1761 (unpopulated in the photo above):

V = 1.22V(1+R₂/R₁) = 1.22V(1+2k7/1k2) = 3.965V

The drop-out voltage is 300mV, so this and the desired output voltage for the CCD must be taken into accound when choosing values for R₂ and R₁.

This PCB also features a cut-out for a thermoelectrically cooled heatsink.

The pin-out is as follows:


Pin-out of the through-the-hole PCB (NB: Parts numbering differ on the two boards).


Pin-out of the SMD-version of the TCD1304 PCB.


Pin-out  of the LDO-version of the TCD1304 PCB.

Eagle files:

Eagle-files for TCD1304 PCB (through-the-hole)

Eagle-files for TCD1304 PCB (SMD)

You can also buy the SMD-board directly from dirtyPCBs:

SMD-version at dirtyPCBs

LDO-version at dirtyPCBs

I have a few spare SMD boards, that I’m selling for 2€. Use the contact form. The SMD version for sale is slightly different from the one depicted here.