![]() To readĬapacitance on those pins, simply use touchRead(pin). Teensy LC, 3.0, 3.1, 3.2 & 3.6 have superior hardware-based capacitive touch But when using a laptop on battery power or running withoutĪ computer, you may need to make a dedicated connection to earth ground. Normally the USB cable connects to a PC, which connects to earth ground by Teensy's ground pin should be connected to earth ground for best results. Multiple sensors can share a single send pin, but each must have its own receive pin. Safest construction uses an insulating layer, such as the clear tape in the With a wire, but a 1K or higher resistor will help protect the Teensy's pin ifĪ user directly touches the object and delivers an electro-static shock. With a large-value resistor, between 100K to 50M. ![]() In this example, three pieces of copperĮach sensor connects to 2 pins, send and receive. ![]() CapacitiveSensor, written by Paul Badger, lets you create sensors that can detect touch orĮach "sensor" can be any sizable metal object.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |