Pull Up (Troyka Module)

  • AMP-B128
€2,95
In Cart:

It is not so hard to connect a button, reed switch, water level sensor, or DS18B20 thermometer to a microcontroller, right?. It's easy - just take the layout, add resistors, connectors or terminals, and connect it all with a bunch of wires. Or, you can just connect it all via the Troyka Pull Up.

The module has two terminals for connecting external sensors and 5 kΩ pull-up resistors.

Principle of Operation

When connecting sensors which act as open drain such as tactile buttons or reed switches, problems arise. When the contacts are open, the whole circuit turns into one large antenna and can catch signals from the air. To eliminate interference in the wiring, you have to add resistors.

This module accepts one or two digital signals at the input from external sensors and pulls the received signals through the built-in resistors to the power supply. As a result, at the output, the same signals are pulled to the power votage.

Connectivity

There are two groups of Troyka contacts on the module:

First Group

  • S1 - a digital signal for the first channel with a pull-up to power. Connect to a digital pin on the microcontroller.
  • V - connect to the power on the microcontroller.
  • G - connect to the ground on the microcontroller.

Second Group

  • S2 - a digital signal for the second channel with a pull-up to power. Connect to a digital pin on the microcontroller.

To connect the sensors on the module, there are two channels:

First Channel

  • S1 - contact connecting the digital signal of the sensor. Connect to one of the contacts of the button or reed switch. When using a temperature sensor 18B20, connect to the sensor's signal pin.
  • V - sensor power. For buttons and reed switches is not used. When using a temperature sensor 18B20 connect to the power supply of the sensor.
  • G - sensor ground. Connect to the second pin of the button or reed switch. When using the 18B20 sensor, connect to the sensor ground.

Second Channel

  • S2 - contact connecting the digital signal of the sensor. Connect to one of the contacts of the button or reed switch. When using a temperature sensor 18B20, connect to the sensor's signal pin.
  • V - sensor power. For buttons and reed switches is not used. When using a temperature sensor 18B20 connect to the power supply of the sensor.
  • G - sensor ground. Connect to the second pin of the button or reed switch. When using the 18B20 sensor, connect to the sensor ground.

There are several different ways to wire this module:

Troyka Shield. The most straightforward method. Connect the module to a pin group on Troyka Shield with the 3-pin jumper cable and you’re ready to interface with it from your Arduino.

Troyka Slot Shield. The best choice for quick prototyping. Using slots on the shield, you can get rid of cables. The module will be held securely in place using both pin headers.

Breadboard. For advanced use. Troyka pin headers have 0.1” spacing which is compatible with any breadboard. Simply wire the module like you would do with any IC.

Package Contents

Specifications

  • Power Supply: 3.3–5 V
  • Input Interface: digital signal from the sensor (screw contacts)
  • Output Interface: digital signal with power-up (Troyka contacts)
  • Number of Channels: 2
  • Resistors Value: 5.1 kΩ
  • Dimensions: 25.4 × 25.4 mm (1" x 1")