<div dir="ltr">Ok, I found another command:<div><br></div><div>watch -n 0.2 gpio readall which results in (maybe a bit hard to read):<br></div><div><br></div><div><div> +-----+-----+---------+------+---+--B Plus--+---+------+---------+-----+-----+</div><div> | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |</div><div> +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+</div><div> | | | 3.3v | | | 1 || 2 | | | 5v | | |</div><div> | 2 | 8 | SDA.1 | ALT0 | 1 | 3 || 4 | | | 5V | | |</div><div> | 3 | 9 | SCL.1 | ALT0 | 1 | 5 || 6 | | | 0v | | |</div><div> | 4 | 7 | GPIO. 7 | IN | 1 | 7 || 8 | 1 | ALT0 | TxD | 15 | 14 |</div><div> | | | 0v | | | 9 || 10 | 1 | ALT0 | RxD | 16 | 15 |</div><div> | 17 | 0 | GPIO. 0 | IN | 0 | 11 || 12 | 0 | IN | GPIO. 1 | 1 | 18 |</div><div> | 27 | 2 | GPIO. 2 | IN | 0 | 13 || 14 | | | 0v | | |</div><div> | 22 | 3 | GPIO. 3 | IN | 0 | 15 || 16 | 0 | IN | GPIO. 4 | 4 | 23 |</div><div> | | | 3.3v | | | 17 || 18 | 1 | IN | GPIO. 5 | 5 | 24 |</div><div> | 10 | 12 | MOSI | IN | 0 | 19 || 20 | | | 0v | | |</div><div> | 9 | 13 | MISO | IN | 0 | 21 || 22 | 1 | IN | GPIO. 6 | 6 | 25 |</div><div> | 11 | 14 | SCLK | IN | 0 | 23 || 24 | 1 | IN | CE0 | 10 | 8 |</div><div> | | | 0v | | | 25 || 26 | 1 | IN | CE1 | 11 | 7 |</div><div> | 0 | 30 | SDA.0 | IN | 1 | 27 || 28 | 1 | IN | SCL.0 | 31 | 1 |</div><div> | 5 | 21 | GPIO.21 | IN | 1 | 29 || 30 | | | 0v | | |</div><div> | 6 | 22 | GPIO.22 | IN | 1 | 31 || 32 | 0 | IN | GPIO.26 | 26 | 12 |</div><div> | 13 | 23 | GPIO.23 | IN | 0 | 33 || 34 | | | 0v | | |</div><div> | 19 | 24 | GPIO.24 | IN | 0 | 35 || 36 | 1 | OUT | GPIO.27 | 27 | 16 |</div><div> | 26 | 25 | GPIO.25 | IN | 0 | 37 || 38 | 0 | IN | GPIO.28 | 28 | 20 |</div><div> | | | 0v | | | 39 || 40 | 0 | IN | GPIO.29 | 29 | 21 |</div><div> +-----+-----+---------+------+---+----++----+---+------+---------+-----+-----+</div><div> | BCM | wPi | Name | Mode | V | Physical | V | Mode | Name | wPi | BCM |</div><div> +-----+-----+---------+------+---+--B Plus--+---+------+---------+-----+-----+</div></div><div><br></div><div>There I saw some GPIO's with value 0 and some with value 1.</div><div>I tried again the GPIO's with value 1 with command - gpio wfi 22 falling - with succes!</div><div>This turned out to be GPIO 6 (instead of GPIO 22 as the previous command stated.</div><div><br></div><div>So now GPIO 6 works!</div><div><br></div><div>Problem is solved but I still don't understand why some GPIO's (like 12, 13, 16, 17, 18, 19, 20, 21, 22, 23, 26 and 27) can't be used since their value is default 0.<br></div><div><br></div><div>Many thanks!</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-21 11:40 GMT+02:00 fiets fietsenwiel <span dir="ltr"><<a href="mailto:fietsenwiel@gmail.com" target="_blank">fietsenwiel@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok, things getting more clear....,<div><br></div><div>I tried several gpio's.</div><div>GPIO 4, 24 and 25 works.</div><div>Gpio 17 and GPIO 22 don't.</div><div><br></div><div>Now I stopped vzlogger and disconnected the wires on the GPIO's on the Raspberry.</div><div><br></div><div>I gave the following commands and then I put, with a wire, the corresponding GPIO pin to the ground:</div><div><br></div><div>For GPIO 4 - command: gpio wfi 7 falling result was positive, so this works...<br></div><div>For GPIO 17 - command: gpio wfi 0 falling result was negative, the commands kept waiting for a folling edge</div><div>For GPIO 22 - command: gpio wfi 3 falling result was negative, the commands kept waiting for a folling edge</div><div>For GPIO 18 - command: gpio wfi 1 falling result was negative, the commands kept waiting for a folling edge</div><div>and so on for all GPIO's</div><div><br></div><div>I can't find any other GPIO except 4, 24 and 25 where the result is positive.</div><div><br></div><div>So the problem is not Volkszaehler, vzlogger was stopped. But maybe it is the SD-image because the problem occurs on two different Raspberry pi's?</div><div><br></div><div>I'll try with an onther image....</div><div><br></div><div>Has anyone have an idea how to solve this?</div><div><br></div><div>Thanks in advance...</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2016-09-20 19:25 GMT+02:00 Daniel Lauckner <span dir="ltr"><<a href="mailto:vz@jahp.de" target="_blank">vz@jahp.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hallo,<br>
<br>
<br>
am Dienstag, 20. September 2016 um 08:53 hast du geschrieben:<br>
<span>> Still GPIO 17 in the configfile does not work...<br>
<br>
</span>Last time GPIO 22 didn't work.<br>
<br>
>> Energie gebruik "uuid":<br>
>> "dd995220-7a47-11e6-86ce-6bf65<wbr>a52ce09", GPIO 4 Works<br>
>> Energie opbrengst "uuid":<br>
>> "dfc58710-7a47-11e6-9278-45f4e<wbr>725fa39", GPIO 22 Does not work<br>
<br>
<br>
mfg Daniel<br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>