Go to advanced search

by tleopold
Mon Sep 21, 2020 12:18 pm
Forum: Troubleshooting
Topic: Pi Zero random pin triggers
Replies: 5
Views: 187

Re: Pi Zero random pin triggers

neilgl wrote:
Mon Sep 21, 2020 12:05 pm
Maybe add a bounce time to the gpio e.g.

Code: Select all

 GPIO.add_event_detect(channel, GPIO.RISING, callback=my_callback, bouncetime=200)
Bouncetime has been added and set to 4000, but the next trigger happens (sometimes) immediately when the time expires.
by tleopold
Mon Sep 21, 2020 10:55 am
Forum: Troubleshooting
Topic: Pi Zero random pin triggers
Replies: 5
Views: 187

Pi Zero random pin triggers

Hi all, I've created a small python script where I wait for a button press and upon it I trigger a callback and print a message that is has been triggered. On top of my RPI Zero WH is sitting a waveshare GSM HAT, which is not using all of the pins ( https://www.waveshare.com/wiki/GSM/GPRS/GNSS_HAT )...
by tleopold
Wed Jul 29, 2020 8:26 pm
Forum: HATs and other add-ons
Topic: Waveshare GSM/Bluetooth Hat not responding to MINICOM
Replies: 5
Views: 397

Re: Waveshare GSM/Bluetooth Hat not responding to MINICOM

Baudrate is set to 115200 (is default according to Waveshare wiki), and that is set in Minicom. I would definitly test 9600 anyway.. I tested 9600 and it also did not work, same behavior... Ive got that same device on my pi4 and it is working fine for me on ttyS0 Did you change settings in raspi-co...
by tleopold
Wed Jul 29, 2020 11:31 am
Forum: HATs and other add-ons
Topic: Waveshare HAT / gpsd
Replies: 3
Views: 335

Re: Waveshare HAT / gpsd

Did you follow a specific tutorial for the HAT connection? I am experiencing issues with the HAT, which is not giving back responses to my AT commands and I'd like to know how you managed to get it working :)
by tleopold
Wed Jul 29, 2020 11:29 am
Forum: HATs and other add-ons
Topic: Waveshare GSM/Bluetooth Hat not responding to MINICOM
Replies: 5
Views: 397

Re: Waveshare GSM/Bluetooth Hat not responding to MINICOM

Can you link to the actual product ? Do you know the default baudrate used by the device and have you set that in minicom ? Is there a "TX light" too ? Do you have a "/dev/ttyAMA0" device ? This is the actual product: https://www.amazon.de/gp/product/B07PNBB368/ref=ppx_yo_dt_b_asin_title_o04_s02?ie...
by tleopold
Tue Jul 28, 2020 9:18 am
Forum: HATs and other add-ons
Topic: Waveshare GSM/Bluetooth Hat not responding to MINICOM
Replies: 5
Views: 397

Waveshare GSM/Bluetooth Hat not responding to MINICOM

Hi there! I'm trying to use the Waveshare GSM HAT and I'm experiencing some issues. I've followed the tutorial they provided ( https://www.waveshare.com/wiki/Template:GSM/GPRS/GPS_HAT_User_Manual ) to no avail - serial port is active and login on it is disabled. When i use minicom with the ttyS0 por...
by tleopold
Wed Jul 08, 2020 12:14 pm
Forum: Automation, sensing and robotics
Topic: RPI Acting as an Auto Dialer for alarm systems
Replies: 4
Views: 287

Re: RPI Acting as an Auto Dialer for alarm systems

Looking at the schematic for that HAT, it only uses the two UART pins, TxD and RxD on the Pi (plus 0V/GND, of course). All the other GPIOs appear to be unused, so you could use a GPIO splitter to connect other things to the Pi. (It doesn't even appear to have an EEPROM connected to the ID pins on t...
by tleopold
Wed Jul 08, 2020 9:51 am
Forum: Automation, sensing and robotics
Topic: RPI Acting as an Auto Dialer for alarm systems
Replies: 4
Views: 287

RPI Acting as an Auto Dialer for alarm systems

Hi! I'm planning to use a Raspberry Pi Zero with the GSM HAT ( https://www.waveshare.com/wiki/GSM/GPRS/GNSS_HAT ) to automatically send an SMS or dial a number when the alarm goes off. The alarm system itself has output relays that send a signal when the alarm is activated. My question now is, is it...
by tleopold
Wed May 08, 2019 7:03 am
Forum: Automation, sensing and robotics
Topic: Controlling IoT devices
Replies: 1
Views: 503

Controlling IoT devices

Hi! I've got a project lined up that will also serve as my Bachelors final work and I'm looking for some help. So in general, I plan to use temperature sensors to read the living room "status" and turn on/off devices connected via IoT in regard to the readings. I've already got the IoT devices, but ...

Go to advanced search