hi,
i just set up pimatic yesterday, so you could say i am an absolute beginner.
tried setting up homeduino with my arduino (and without it), but no success either way.
FIRST ATTEMPT
(without arduino)
rpi 3.3V -> breadboard +
rpi GND -> breadboard -
433receiver -> breadboard +, breadboard -, rpi #18 (wiringpi 1)
433transmitter -> bb+. bb-, rpi #17 (wiringpi 0)
Installed homeduino plugin, set it up as gpio, transmit and receive, debug on, gpios 1 and 0. no success, meaning when I went to messages -> homeduino -> all (info, debug, error, …) I got no messages at all.
however, i had also pilight on my rpi, so I tested using pilight-send
and pilight-receive
: both worked fine. So I assume my hardware is not broken.
SECOND ATTEMPT
(with arduino clone Funduino MEGA 2560)
went by this tutorial (https://forum.pimatic.org/topic/202/4-homeduino-433-mhz-sending-receiving-and-even-more). I double- and tripple-checked, D2 and D4 on this board are simply called 2 and 4 (just above RX0 and TX0).
According to dmesg
, the board has been named /dev/ttyACM0
, so I changed both values in the Makefile:
# Uses Arduino.mk https://github.com/sudar/Arduino-Makefile
BOARD_TAG = mega2560
ARDUINO_LIBS = SerialCommand RFControl Keypad DHTlib
USER_LIB_PATH := $(realpath ./libraries)
MONITOR_PORT = /dev/ttyACM0
ARDMK_DIR := $(realpath ./arduino-mk)
include $(ARDMK_DIR)/Arduino.mk
sudo make upload
successfully did its thing without errors; I had forgotten to change the monitor port before and got connectivity problems, so I guess this time everything went the way it ways supposed to.
Still, no success.
What am I doing wrong? My hardware is obviously working fine, at least the receiver and transmitter are. My funduino ought to be fine as well (and even if it was not, connecting my 433 modules directly to my pi should have worked in that case).
I did wrongfully connect 5V when first connecting my 433 modules (rather than 3.3V as I should have). However, after I switched to 3.3V I could still send and receive via pilight-send and pilight-receive, so I assume no damage to the hardware has been done. Even if so, this should have only damaged my raspberry pi #17 and #18 pin and would not explain why the arduino clone is not working correctly.
I would greatly appreciate some help. By the way, all I am trying to do for now is to automatically trigger a self-written python script whenever pimatic (or my pi somehow) detects a certain signal (my 433MHz doorbell transmitter; I have already figured out it’s unique uuid, but could not successfully manage to constantly listen on my receiver for that signal).
Thanks in advance for your help and sorry if some stuff sounds wrong, not a native English speaker…