Closed guptihabib closed 7 years ago
the wiringpi pin numbers correspond to the zones in sprinklerpi: http://projects.drogon.net/raspberry-pi/wiringpi/pins/
On Mon, Jun 6, 2016 at 1:02 PM, guptihabib notifications@github.com wrote:
Have attempted to setup the application on my PI B+ with an external relay. Loaded wiringPI, get how they map to GPIO pins. Need some help with mapping my Zones to pins?
My wiringPI output looks like this;
[image: raspberry-pi-wiringpi-ports] https://cloud.githubusercontent.com/assets/16138952/15830519/aca0f5c2-2bcd-11e6-81c6-1ac4aa8e4b7b.png
I've only got 8 zones using GPIO 21 - 25 & 27 - 29.
Cheers, Mike
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rszimm/sprinklers_pi/issues/63, or mute the thread https://github.com/notifications/unsubscribe/AAKE3AH5l-4U02lWA6U_jx4A_OrRy33Fks5qJFK2gaJpZM4IvGyv .
Nick,
I got that, what I'm struggling with is how to correlate a zone to a particular pin?
Cheers, Mike
That is what I was saying. Zone 1 is wiringPi pin 1 for example. On Jun 6, 2016 2:32 PM, "guptihabib" notifications@github.com wrote:
Nick,
I got that, what I'm struggling with is how to correlate a zone to a particular pin?
Cheers, Mike
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rszimm/sprinklers_pi/issues/63#issuecomment-224046993, or mute the thread https://github.com/notifications/unsubscribe/AAKE3Di_ytdF-TQ00ZWQZGWfMxeHspZtks5qJGfDgaJpZM4IvGyv .
Ah, ok. So can I simply change the max_zones variable to increase the number of zones?
Mike
Yes, to a limit though due to the AVR code memory size. I know for sure it works with up to 15 zones.
On Mon, Jun 6, 2016 at 3:56 PM, guptihabib notifications@github.com wrote:
Ah, ok. So can I simply change the max_zones variable to increase the number of zones?
Mike
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rszimm/sprinklers_pi/issues/63#issuecomment-224069575, or mute the thread https://github.com/notifications/unsubscribe/AAKE3PIxFK7Z-YfahNOjXKRAg5IMgu_bks5qJHtygaJpZM4IvGyv .
So, in the case of a new raspberrypi B+, how do I map the high end pins to a zone? The number of usable CPIO pins exceed 15? That's where I don't get it.
Mike
On Mon, Jun 6, 2016 at 1:28 PM, Nick Horvath notifications@github.com wrote:
Yes, to a limit though due to the AVR code memory size. I know for sure it works with up to 15 zones.
On Mon, Jun 6, 2016 at 3:56 PM, guptihabib notifications@github.com wrote:
Ah, ok. So can I simply change the max_zones variable to increase the number of zones?
Mike
— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/rszimm/sprinklers_pi/issues/63#issuecomment-224069575>, or mute the thread < https://github.com/notifications/unsubscribe/AAKE3PIxFK7Z-YfahNOjXKRAg5IMgu_bks5qJHtygaJpZM4IvGyv
.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rszimm/sprinklers_pi/issues/63#issuecomment-224077852, or mute the thread https://github.com/notifications/unsubscribe/APZCyH8YNDCF5Cwirm3zCV2arGp-jEl7ks5qJILpgaJpZM4IvGyv .
There is no pin mapping. Wiring Pi Pin 1 is Zone 1, pin 2 is zone 2 and so on. Unless you go in the code and change it. To my knowledge the program hasn't been tested with over 15 zones.
On Mon, Jun 6, 2016 at 4:31 PM, guptihabib notifications@github.com wrote:
So, in the case of a new raspberrypi B+, how do I map the high end pins to a zone? The number of usable CPIO pins exceed 15? That's where I don't get it.
Mike
On Mon, Jun 6, 2016 at 1:28 PM, Nick Horvath notifications@github.com wrote:
Yes, to a limit though due to the AVR code memory size. I know for sure it works with up to 15 zones.
On Mon, Jun 6, 2016 at 3:56 PM, guptihabib notifications@github.com wrote:
Ah, ok. So can I simply change the max_zones variable to increase the number of zones?
Mike
— You are receiving this because you commented. Reply to this email directly, view it on GitHub < https://github.com/rszimm/sprinklers_pi/issues/63#issuecomment-224069575 , or mute the thread <
https://github.com/notifications/unsubscribe/AAKE3PIxFK7Z-YfahNOjXKRAg5IMgu_bks5qJHtygaJpZM4IvGyv
.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/rszimm/sprinklers_pi/issues/63#issuecomment-224077852>, or mute the thread < https://github.com/notifications/unsubscribe/APZCyH8YNDCF5Cwirm3zCV2arGp-jEl7ks5qJILpgaJpZM4IvGyv
.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/rszimm/sprinklers_pi/issues/63#issuecomment-224078732, or mute the thread https://github.com/notifications/unsubscribe/AAKE3GVD9N9F176evPPBz4AwfAh1IneJks5qJIOjgaJpZM4IvGyv .
Have attempted to setup the application on my PI B+ with an external relay. Loaded wiringPI, get how they map to GPIO pins. Need some help with mapping my Zones to pins?
My wiringPI output looks like this;
I've only got 8 zones using GPIO 21 - 25 & 27 - 29.
Cheers, Mike