Can you pls make a picture of your Nano?
My experience with Arduino is, that the Nano creates a ttyUSBx device and the Pro Micro a ttyAMCx.
The Pro Micro has a integrated USB2Serial converter which produced some failures on my system.
-
Arduino vs. attiny
pimatic rocks!!!
-
i connect my arduino uno to the raspberry pi over serial.
now i connected my transmitter on d4 and flash the arduino. this worked.then a add this to my config:
{ "plugin": "homeduino", "driver": "serialport", "driverOptions": { "serialDevice": "/dev/ttyACM0", "baudrate": 115200 }, "receiverPin": 0, "transmitterPin": 4 }
and start pimatic.
sometimes it would start. sometimes not.
when it startsi get a ping in debug. but after maybe 5 minutes i lost connection.
now i lost connection,
i get this:root@pimatic:~# ps aux | grep pimatic
root 3029 0.0 0.1 3596 852 pts/2 S+ 13:44 0:00 grep pimatic -
can you pls post the output of this
dmesg | grep tty
pimatic rocks!!!
-
root@pimatic:~# dmesg | grep tty
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=592 b cm2708_fb.fbheight=448 bcm2708.boardrev=0x100000e bcm2708.serial=0xcdaf0f29 smsc 95xx.macaddr=B8:27:EB:AF:0F:29 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.me m_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAM A0,115200 console=tty1 root=/dev/mmcblk0p6 rootfstype=ext4 elevator=deadline roo twait
[ 0.000000] console [tty1] enabled
[ 0.522804] dev:f1: ttyAMA0 at MMIO 0x20201000 (irq = 83, base_baud = 0) is a PL011 rev3
[ 0.881967] console [ttyAMA0] enabled
[ 339.406084] cdc_acm 1-1.3:1.0: ttyACM0: USB ACM device -
I’m having some problems with receiving with the attiny (i have to press and hold to receive signals from sensors).
I have an arduino uno lying around and i want to test it with the arduino. I want to install homeduino on the arduino but i can’t get it to work.
I download all the homeduino files and opened homeduino.ino in the arduino programmer (mac). But when i try to check the code i get an error:
This report would have more information with "Show verbose output during compilation" enabled in File > Preferences. Arduino: 1.0.6 (Mac OS X), Board: "Arduino Uno" homeduino:5: error: 'SerialCommand' does not name a type In file included from homeduino.ino:7: rfcontrol.h: In function 'void rfcontrol_loop()': rfcontrol.h:7: error: 'RFControl' has not been declared rfcontrol.h:10: error: 'RFControl' has not been declared rfcontrol.h:12: error: 'RFControl' has not been declared rfcontrol.h:22: error: 'RFControl' has not been declared rfcontrol.h: In function 'void rfcontrol_command()': rfcontrol.h:27: error: 'sCmd' was not declared in this scope rfcontrol.h: In function 'void rfcontrol_command_receive()': rfcontrol.h:42: error: 'sCmd' was not declared in this scope rfcontrol.h:48: error: 'RFControl' has not been declared rfcontrol.h: In function 'void rfcontrol_command_send()': rfcontrol.h:54: error: 'sCmd' was not declared in this scope rfcontrol.h:90: error: 'RFControl' has not been declared In file included from homeduino.ino:11: ping.h: In function 'void ping_command()': ping.h:5: error: 'sCmd' was not declared in this scope In file included from homeduino.ino:12: dht.h: At global scope: dht.h:4: error: 'dht' does not name a type dht.h: In function 'void dht_command()': dht.h:7: error: 'sCmd' was not declared in this scope dht.h:23: error: 'DHT' was not declared in this scope dht.h:25: error: 'DHT' was not declared in this scope dht.h:29: error: 'DHTLIB_OK' was not declared in this scope dht.h:31: error: 'DHT' was not declared in this scope dht.h:36: error: 'DHTLIB_ERROR_CHECKSUM' was not declared in this scope dht.h:39: error: 'DHTLIB_ERROR_TIMEOUT' was not declared in this scope homeduino.ino: In function 'void setup()': homeduino:26: error: 'sCmd' was not declared in this scope homeduino.ino: In function 'void loop()': homeduino:44: error: 'sCmd' was not declared in this scope homeduino.ino: In function 'void digital_read_command()': homeduino:54: error: 'sCmd' was not declared in this scope homeduino.ino: In function 'void analog_read_command()': homeduino:67: error: 'sCmd' was not declared in this scope homeduino.ino: In function 'void digital_write_command()': homeduino:80: error: 'sCmd' was not declared in this scope homeduino.ino: In function 'void analog_write_command()': homeduino:97: error: 'sCmd' was not declared in this scope homeduino.ino: In function 'void pin_mode_command()': homeduino:114: error: 'sCmd' was not declared in this scope homeduino.ino: In function 'void reset_command()': homeduino:133: error: 'RFControl' has not been declared
-
I added it but no difference.
-
I already asked for assistence with programming arduino with the project in IDE under Windows7.
Err-Output when compiling is nearly the same.
I did it from RaspberyyPi like the instructions in GitHub explained,but still miss to use under Windows and Arduino IDE becaue I would like to make some changes.Is it a problem with case sensitive filenames not usable under windows / on MAC I don’t know?
-
I have some problems with not instant receiving sensors with my attiny filter. I thought maybe its the filter, but with pilight I receive sensors always instant. but not with pimatic.
-
Got my arduino uno working. And it works much better than my attiny filter. Much easier to program and make
-
Meanwhile, I rather recommend an esp8266, esp32 or esp8285 with mqtt.
-
@olivarrosy this is a 4 year old question - maybe it was no issue anymore…
-
@Harrdy @quotschmacher you guys do know this is a spambot, right?
Re-read his post…https://ovo.fyi/xvideos/ https://ovo.fyi/youporn/ https://ovo.fyi/xhamster/
-
i see that in the other threads and deleted my posts there, yes
-
@gleno0h now that you mention it… i didn’t realize it