PLEASE NOTE: This article is obsolete or related to a discontinued product.

DAISY-5 push-buttons add-on module

DAISY-5 is an 8 push-button module intended for educational and experimental purposes

Each button is wired directly on a single GPIO line. In normal conditions the GPIO line is pulled down (logic 0) through a 10 KOhm resistor. Pressing down the button the GPIO line is closed to +3.3V (logic 1) by a 1.5 KOhm resistor.

Python code examples

These examples show how to read the Daisy-5 buttons state with the module plugged in the Terra board D11 daisy connector.

The same examples can work using the following Daisy connectors with simple changes at the source:

Terra FOXG20
D11 D2
D12 D5

  • Read the pushbutton state using the polling way:
  • Catch the pushbutton state using the interrupt mode:

 Note:   The edge conditions falling and rising are managed just on the Aria G25/Terra. On the FOX Board G25 only the both edge works.