Timeline for How to interconnect multiple Arduinos with a Rpi to control home-lights/switches
Current License: CC BY-SA 3.0
16 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2020 at 8:21 | history | edited | CommunityBot |
Commonmark migration
|
|
Jan 2, 2018 at 6:38 | comment | added | Nick Gammon♦ |
Ebay: ebay.com/itm/400846299509 . Search for 10x 2p Spring Connector wire no welding no screw .
|
|
Jan 2, 2018 at 3:07 | comment | added | jsotola | could you please tell me where you got the white wire clip that is in the picture with the red background (the clip is attached to the wire bundle) | |
Sep 7, 2015 at 22:43 | comment | added | Nick Gammon♦ |
is a 10-polls per second, on a 9600 baud rate, a reasonable choice? - in my current test (see screenshots) I am testing 4 devices repeatedly in 75 ms at 19200 baud, so that is 13 status reports a second. Basically that means one device should react to a status change (eg. a switch closure) from another device in 1/10th of a second. Your initial question mentioned 4 devices, so you should be able to get similar results.
|
|
Sep 7, 2015 at 22:39 | history | edited | Nick Gammon♦ | CC BY-SA 3.0 |
Added notes about testing a long cable run.
|
Sep 7, 2015 at 10:37 | history | edited | Nick Gammon♦ | CC BY-SA 3.0 |
Added scope shots.
|
Sep 7, 2015 at 9:16 | history | edited | Nick Gammon♦ | CC BY-SA 3.0 |
Added new schematic which shows /RE and DE connected.
|
Sep 7, 2015 at 7:49 | comment | added | Nick Gammon♦ | See amended answer which demonstrates a moving master concept. | |
Sep 7, 2015 at 7:48 | history | edited | Nick Gammon♦ | CC BY-SA 3.0 |
Added demonstration code for moving master concept.
|
Sep 6, 2015 at 8:04 | vote | accept | Damiano Verzulli | ||
Sep 6, 2015 at 1:26 | history | edited | Nick Gammon♦ | CC BY-SA 3.0 |
Added suggestion for timeslots and rolling masters.
|
Sep 5, 2015 at 21:08 | comment | added | Nick Gammon♦ | See updated answer. | |
Sep 5, 2015 at 21:08 | history | edited | Nick Gammon♦ | CC BY-SA 3.0 |
Responded to comments.
|
Sep 5, 2015 at 8:18 | comment | added | Damiano Verzulli | 1st) Thanks VERY MUCH for your answer and RS-485 tutorial. I'll surely use it ; 2nd) as for MEGA and RPIs involvement, I've updated the OP. Please, refer to it for details; 3rd) as for "I can't see any particular reason why you could not interrogate the slaves quite frequently", is a 10-polls per second, on a 9600 baud rate, a reasonable choice? And finally: if I understood correctly, I will not need any poll at all, as with your approach I can implement a "single-master/multiple-slave" context... but with a "moving" master. Is this right? | |
Sep 5, 2015 at 6:30 | history | edited | Nick Gammon♦ | CC BY-SA 3.0 |
Added photo of demo.
|
Sep 5, 2015 at 1:00 | history | answered | Nick Gammon♦ | CC BY-SA 3.0 |