Go to advanced search

by impluse
Wed Dec 21, 2016 9:41 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Modbus RTU (RS-485) sample code?
Replies: 2
Views: 10838

Modbus RTU (RS-485) sample code?

Hi everyone I want to control multiple arduino uno (arduino is slave) by one master(raspberry pi) , http://forum.arduino.cc/index.php?action=dlattach;topic=291648.0;attach=109277 Raspberry is master and use USB to RS-485 converter , Arduino is slave and use TTL to RS-485 converter Do you have any ex...
by impluse
Mon Dec 01, 2014 9:12 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: One wire w1-gpio and w1-gpio-custom
Replies: 70
Views: 87116

Re: One wire w1-gpio and w1-gpio-custom

Why do you need more than one pin? It's a 1-wire bus. So the wire runs from RPi to device1 from device1 to device2 and onwards (until you reach the limit of signalling from a single pin). I think there is a limit to the number of devices the driver supports. Something like 10? Anyway, I'm using thr...
by impluse
Sat Nov 29, 2014 6:32 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: One wire w1-gpio and w1-gpio-custom
Replies: 70
Views: 87116

Re: One wire w1-gpio and w1-gpio-custom

Thanks @fishfinger! :D I've used your code stub to compile a patched 3.12.21 kernel implementing four 1-w busmasters. For those interested, I've uploaded the patch file here http://holyhead.de/RaspberryPi/bcm2708-multiple_w-1.patch-3.12.21.txt . hi... Can you explain step by step how can i have mor...
by impluse
Thu Nov 27, 2014 5:25 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: One wire w1-gpio and w1-gpio-custom
Replies: 70
Views: 87116

Re: One wire w1-gpio and w1-gpio-custom

Dear John.... I am running 4 different 1wire buses on a single pi via different GPIO pins with no extra hardware. The big secret is a custom kernel, a few small changes in one of the linux kernel source files to add the extra 1wire bus resources and it just works. My version of the file linux/arch/...

Go to advanced search