Skip to content

anarkiwi/chime_red2

Folders and files

NameName
Last commit message
Last commit date
Mar 3, 2024
Dec 31, 2019
Dec 31, 2019
Jun 19, 2022
Feb 2, 2020
Jun 19, 2022
Aug 14, 2024
Aug 14, 2024
Jun 19, 2022
Dec 22, 2019
Aug 8, 2022
Jun 19, 2022
Jan 17, 2019
Aug 21, 2021
Aug 21, 2021
Jan 21, 2020
Jun 19, 2022
Jun 19, 2022
Dec 15, 2019
Dec 15, 2019
Aug 8, 2022
Feb 19, 2020
Aug 8, 2022
Aug 8, 2022
Aug 1, 2022
Mar 4, 2024
Aug 14, 2024
Jun 16, 2022
May 21, 2020
Dec 22, 2019
Aug 14, 2024
Aug 17, 2024
Aug 8, 2022
Dec 24, 2019

Repository files navigation

chime_red2

CHIME RED II

WARNING: Tesla coils can be dangerous. This code is experimental. Don't even try to build this code unless you understand it and the coil you will control with it.

Build and run

  • Select Due board, exit IDE
  • Edit ~/.arduino15/packages/arduino/hardware/sam/*/platform.txt, to change -Os to -O2 (TODO: test pragma override)
  • Re-enter IDE, install libraries ArduinoSTL, DueTimer, FixedPoints, MIDI Library
  • Define CR_UI in chime_red2.ino if running on original CHIME RED I hardware
  • Change pulseWindowUs and breakoutUs in constants.h to suit coil hardare (e.g. set pulseWindowUs to 700 for giant coils; breakoutUs sets absolute minimum gate on time)
  • Upload to CHIME RED I/II