Joy IT SEN-BUMP01 Bump Sensor User Guide

September 26, 2024
JOY-It

SEN-BUMP01 Bump Sensor

“`html

Specifications

  • Product Name: BUMP-SENSOR
  • Model Number: SEN-BUMP01
  • Manufacturer: Joy-IT powered by SIMAC Electronics GmbH
  • Address: Pascalstr. 8, 47506 Neukirchen-Vluyn
  • Website: www.joy-it.net

Product Usage Instructions

1. General Information

Thank you for choosing our product. Below are instructions for
starting up and utilizing the BUMP-SENSOR. Contact us if you
encounter any issues.

2. Device Overview

When the switch is not activated, a HIGH level is present at the
signal pin. When activated, a LOW level is present at the signal
pin, and the LED lights up red.

3. Use with Arduino

Wiring

Connect the sensor to your Arduino following the diagram and
table provided.

Example Code

In this code, the sensor status is read every second and
displayed in the serial monitor.

4. Use with Raspberry Pi

Wiring

Connect the sensor to your Raspberry Pi as indicated in the
diagram and table.

Example Code

In this code, the sensor status is read every second and
displayed in the console.

5. Additional Information

Information and obligations according to the Electrical and
Electronic Equipment Act (ElektroG) are provided. Proper disposal
of old appliances is necessary.

Frequently Asked Questions (FAQ)

Q: What should I do if the LED does not light up on the
board?

A: Check the wiring connections and ensure proper power supply  

to the sensor.

Q: How can I troubleshoot if the sensor readings are
inconsistent?

A: Verify the code implementation, connections, and sensor  

functionality for any issues.

Q: Can I use this sensor with other microcontrollers apart from
Arduino and Raspberry Pi?

A: The sensor can potentially be used with other  

microcontrollers with appropriate interface connections and code
adaptations.

“`

BUMP-SENSOR
SEN-BUMP01
Joy-IT powered by SIMAC Electronics GmbH – Pascalstr. 8 – 47506 Neukirchen- Vluyn – www.joy-it.net

BUMP-SENSOR
SEN-BUMP01
1. GENERAL INFORMATION Dear customer, thank you very much for choosing our product. In the following, we will introduce you to what to observe while starting up and using this product. Should you encounter any unexpected problems during use, please do not hesitate to contact us.

2. DEVICE OVERVIEW

PowerSupply –

Signal

PowerSupply +

When the switch is not activated, a HIGH level is present at the signal pin. When the switch is activated, a LOW level is present at the signal pin and the LED on the board lights up red.

3. USE WITH ARDUINO
Wiring
Connect the sensor to your Arduino as shown in the diagram and table below.

BUMP-Sensor GND VCC OUT

Arduino GND 5 V 2

Example Code
In this code example, the status of the sensor is read out every second and displayed in the serial monitor.
const int SWITCH_PIN = 2; bool switchState = HIGH; //Variable the switch status
void setup() { // Initialize the switch pin as an input pinMode(SWITCH_PIN, INPUT);
// Initialize serial communication at 9600 bps: Serial.begin(9600); }
void loop() { // Read the state of the switch value: switchState = digitalRead(SWITCH_PIN);
// Read the state of the switch if (switchState == LOW) {
Serial.println(“Switch is pressed!”); } else {
Serial.println(“Switch is not pressed!”); }
// Wait for a short period before reading again delay(1000); }

4. USE WITH RASPBERRY PI

i

This guide was written under Raspberry Pi OS Bookworm for the

Raspberry Pi 4 and 5. It has not been checked with newer opera-

ting systems or hardware.

Wiring
Connect the sensor to your Raspberry Pi as shown in the diagram and table below.

BUMP-Sensor GND VCC OUT

Raspberry Pi GND (Pin 6) 3V3 (Pin 1) GPIO17 (Pin 11)

Example Code
In this code example, the status of the sensor is read out every second and displayed in the console.
from gpiozero import Button from time import sleep

Define the GPIO pin number # GPIO 17 with pull-up resistor enabled switch =

Button(17, pull_up=True) try:
while True: # Read the state of the switch if switch.is_pressed: print(“Switch is pressed!”) else: print(“Switch is not pressed!”)

Wait for a short period before reading again sleep(1)

except KeyboardInterrupt: pass

5. ADDITIONAL INFORMATION
Our information and take-back obligations according to the Electrical and Electronic Equipment Act (ElektroG)

Symbol on electrical and electronic equipment:

This crossed-out dustbin means that electrical and electronic appliances

do not belong in the household waste. You must return the old appliances

to

a

collection point.

Before handing over waste batteries and accumulators that are not enclosed by waste equipment must be separated from it.

Return options:

As an end user, you can return your old device (which essentially fulfills the same function as the new device purchased from us) free of charge for disposal when you purchase a new device.

Small appliances with no external dimensions greater than 25 cm can be disposed of in normal household quantities independently of the purchase of a new appliance.

Possibility of return at our company location during opening hours:

SIMAC Electronics GmbH, Pascalstr. 8, D-47506 Neukirchen-Vluyn, Germany

Possibility of return in your area:
We will send you a parcel stamp with which you can return the device to us free of charge. Please contact us by email at Service@joy-it.net or by telephone.

Information on packaging:
If you do not have suitable packaging material or do not wish to use your own, please contact us and we will send you suitable packaging.

6. SUPPORT

If there are still any issues pending or problems arising after your purchase, we will support you by e-mail, telephone and with our ticket support system. Email: service@joy-it.net Ticket system: https://support.joy-it.net Telephone: +49 (0)2845 9360-50 (Mon – Thur: 09:00 – 17:00 oclock CET, Fri: 09:00 – 14:30 oclock CET) For further information please visit our website: www.joy-it.net

Published: 2024.05.07

www.joy-it.net SIMAC Electronics GmbH Pascalstr. 8, 47506 Neukirchen-Vluyn

References

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals