CuVoodoo

the sorcery of copper

User Tools

Site Tools


clapperboard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
clapperboard [2017/05/21 15:33] – created, wrote introduction kingkevinclapperboard [2024/01/07 17:49] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +{{ :clapperboard:clapperboard_front.jpg?300|clapperboard}}
 +
 The digital clapperboard is just a wooden clapperboard using digitally controlled displays instead of having to write the take information the board. The digital clapperboard is just a wooden clapperboard using digitally controlled displays instead of having to write the take information the board.
  
Line 22: Line 24:
 This allows me to know which audio file corresponds to the current video file, without having to cross reference the take numbers in all video and audio recordings. This allows me to know which audio file corresponds to the current video file, without having to cross reference the take numbers in all video and audio recordings.
 And instead of having to announce the take number so to be present in the audio recording, a buzzer with take care of this task instead of myself. And instead of having to announce the take number so to be present in the audio recording, a buzzer with take care of this task instead of myself.
 +
 +One problem remains though: you have to ensure the recordings are synchronous so to prevent drift over time. For short period recording this drift might be negligible, but for long period you can either have a final clap to synchronize after-hand (e.g. in movie production), or use a common time source such as the mains frequency (e.g. in broadcast television).
 +====== hardware ======
 +
 +{{ :clapperboard:clapperboard_numbered.jpg?300|}}
 +{{ :clapperboard:clapperboard_back.jpg?300|}}
 +
 +As base an [[https://www.aliexpress.com/wholesale?maxPrice=5&isFreeShip=y&SearchText=clapperboard&CatId=0|inexpensive wooden clapperboard]] is used.
 +
 +To display the numbers 7-segment displays are used because they are simple and bright:
 +  * 7x 4-digit displays using [[http://www.titanmecc.com/pd.jsp?id=13|TM1637]] ({{:clapperboard:ic_7-segments_titan_tm1637.pdf|archive}}) divers (with I2C similar protocol) (//periph. 9//):
 +    * 3x 0.36" red (higher contrast) for episode, scene, and take
 +    * 4x 0.56" yellow and green (for easier reading) for two video and two audio tracks
 +  * 2x 8-digit displays using [[https://datasheets.maximintegrated.com/en/ds/MAX7219-MAX7221.pdf|MAX7219]] ({{:clapperboard:ic_7-segments_maxim_max7219.pdf|archive}}) drivers (SPI compatible) (//periph. 10//):
 +    * 1x for date (YYYY.MM.DD)
 +    * 1x for time and frame (with configurable frame rate)
 +
 +The two MAX7219-based displays are chained, while the seven TM1637-based displays are multiplexed (just the clock signal, the data signal can be shared) using a [[http://www.ti.com/lit/ds/symlink/cd74hc4067.pdf|CD74HC4067]] ({{:clapperboard:ic_mux_ti_cd74hc4067.pdf|archive}}) 16-channel analog multiplexer (//periph. 8//).
 +
 +The date and time are retrieved from a tiny RTC module based on a [[https://datasheets.maximintegrated.com/en/ds/DS1307.pdf|DS1307]] ({{ :clapperboard:ic_rtc_maxim_ds1307.pdf |archive}}), with battery to keep the RTC running (//periph. 2//).
 +This module also provides an I2C EEPROM (AT24C32) which is used to save the numbers.
 +
 +The numbers (and seconds) can be adjusted (and disabled) using up and down buttons in the front (multiplexed in a 4x4 matrix).
 +A button at the clap also detects when the clapped is action (//periph. 3//), cause the buzzer in the front to Morse the scene and take numbers.
 +
 +The clapperboard is powered by a Li-Ion battery (//periph. 4//), connector to a battery charger and protection (//periph. 5//), and 5V step-up converter (//periph. 6//).
 +A custom power control board allows to switch all the clapperboard off (after 30 seconds) so to prevent it from draining battery (//periph. 7//).
 +A spring-based shake switch will power the clapperboard back on (and keep it running) when the clapperboard is moved around.
 +
 +Everything is controlled by a [[stm32f1xx|STM32F103]] micro-controller-based [[stm32f1xx#core_board|core board]] (//periph. 1//).
 +The source code is available in the [[https://git.cuvoodoo.info/clapperboard/about/|git]].
 +This {{ :clapperboard:clapperboard_firmware-v1.tar.bz2|firmware release}} also include binaries and documentation.
 +
 +====== future ======
 +
 +The prototype used off-the-shelve modules (displays, micro-controller board, RTC, ...) linked with wires.
 +The next version would used a proper dedicated board replacing the board (just reusing the clap), removing the need of wires.
 +
 +Other small improvements:
 +  * use the STM2F103 internal RTC instead if the DS1307
 +  * use the internal backups registers instead of the EEPROM
 +  * use only MAX7219 7-segment drivers and remove all TM1637 drivers (they are far inferior and need an additional multiplexer)
 +  * use only red and larger 7-segment displays since the contrast is better
 +  * use proper SMD components for the power controller (I used lying around through-hole components)
clapperboard.1495380837.txt.gz · Last modified: 2024/01/07 17:49 (external edit)