Hello,
I prototyped my project (using SPI.h with a UNO which worked fine (link here to code):
I used these pins on the UNO:
10 SS
12 MISO
13 SCK
And the same pins on the Pro Mini. However, the Mini seems to pull pin 13 down to 2V and the serial bus that I'm trying to read doesn't start.
Am I missing something code or hardware related between the two that I should be aware of? I do see that the Mini has an LED on that pin - could / should that be disabled?
How, exactly, are you measuring the voltage on pin 13? If you remove all the SPI connections, do you still have that problem?
If you have the genuine Sparkfun Pro Mini, then there should be no problem with the LED. More likely, you have a wiring error, a solder bridge or some other mistake.
Please post a photo of a hand drawn wiring diagram and a close up, focused photo of your board and wiring.
Yeah I know. The first one didn't work, so I assumed I screwed something up, desoldered it, and ordered another.
The way it's oriented I can press the arduino down on the headers and see the V drop on the affected pin. Not ideal, but ideally I don't want to solder the thing down again until I have this figured out.
I haven't soldered the new one down, it's pristine. I do fancy myself a good solderer, if not a bit impatient.
The problem is repeatable with both Minis. I'll dig in further if there's no inherent hardware / software configuration issues between the Uno and Mini.
I double checked all my wiring - there's no solder bridges or anything. I'll post pics soon.
I removed the LED from one Mini, it now works, the one with the LED Pulls pin 13 down to 2.2V.
No clue why, it could just be the particulars of the hardware I'm pulling the serial data from. Or coincidence / my luck.
With the SCK pin on the Pro Mini as an input then it wont draw any current.
If SCK on the connected device is connected to 5V via a weak pullup or similar you would expect the LED on the Pro Mini to conduct, it might even glow dimmly.
So with a relativly low series LED resistor on the Pro Mini 2V on the Pro Mini pin 13 sounds feasible.