On the Picaxe-40x2, there are two pins for +V and 0V. Am I supposed to conect both of them? What are they for?
Yes
yes --connect them both to the 5v and grounds and don’t ask questions you don’t want answers too --you could be opening doors here that may never close again. We’re talking about black holes and the space time…
I’ve said too much already.
You know I never noticed
You know I never noticed that the Picaxe-40 had two separate ground and power pins, and the Picaxe-28 has one power pin and two grounds. I’ve always used them in project boards where the power connections to the chip itself are handled for me.
The Picaxe manual doesn’t bother to explain why this is, but they do show the minium circuit for the Picaxe-28 with both grounds connected. For the Picaxe-40 they just say refer to the digram for the -28, only use the appropriate pins. I guess they got lazy writing the document.
Anyway, Chris is right. Simply connect both +V pins to 5v and both 0V pins to ground.
Yes you need to connect (and
Yes you need to connect (and decouple) both of them.
as for why, well they are internally connected, but the internal connections on the die (the smart bit inside the plastic bug) are very fine so to maintain a level voltage over the entire chip it needs power in several places.
Larger chips can have dozens of VCC and GND connections.