Can someone help/guide me to set this up on raspberry pi3, i have purchased the relay switch and have connected it to the appropriate gpio pins as shown in the diagram.
The raspberry pi3 running raspbian
Look at the config.json file. In this file is where you setup the IP address and the GPIO pin that it's connected to. Find a pin-out of your pi3, select some GPIO pins and match them up in your JSON file.
I have setup the following -
GPIOI 39 - GND – Red
GPIO 16 (pin36) – IN1- Yellow >>>>>>> MiningRig01
GPIO 12 (pin32) – IN2 – Green >>>>>>> MiningRig02
GPIO 36 – IN3 – Orange >>>>>> Free
GPIO 29 – IN4 – Blue >>>>>>>>> Free
GPIO 4 - VCC – Black
What pins do I need to connect between motherboard and the switch
I have configured the config.json as follows (what other changes do i need to make to this) –
{
"WaitSeconds": 1800,
"StartupCheck" : true,
"Log" : true,
"RemoteNotify" : false,
"TgBotActivate" : false,
"TgAPIKey" : "API-KEY",
"TgAdminUserName" : "USERNAME",
"Pushover": false,
"PushoverToken": "ACCESS-TOKEN",
"PushoverUser": "USER-TOKEN",
"Miners": [
{ "Name": "machine 0", "Pin": "36", "Ip": "192.168.0.16", "Info": "MiningRig01" },
{ "Name": "machine 1", "Pin": "32", "Ip": "192.168.0.38", "Info": "MiningRig02" },
]
}
How do i configure the raspberry pi with this config? i have seen mention of "Go" ?