I have made a couple of sensor boards and I used the 3V3* pin to supply power. I realized that the Photon wont have that pin, so I switched to using the 3V3 in my latest board.
It looks like my sensor readings are a bit spiky now though.
How can I reproduce the filter from the 3V3* on the 3V3 pin ?
On the Spark Core schematic on github it is shown as taking the 3.3V supply through a ferrite (it says bead but it could be some other type of inductor) and then adding two capacitors from the other side of the ferrite to ground, one 100nF and one 10uF electrolytic to form the filtered 3.3V* (called VDDA in the schematic).
Anything close to that kind of filter will work. You want some kind of choke followed by high and low frequency filter caps to ground.
That is indeed the schematic of the Spark Core. In this case the 3.3V pin on the upper right of the diagram is the power input to LC filter. You connect that the 3.3V pin of the Spark Core/Photon.
The pin labelled VDDA and has the red arrow pointing to it is the power output, equivalent to the 3.3V* pin on a Spark Core.
As @peekay123 says above, you might want to change the value of the 100nF capacitor but I am sure it will work fine.
I don’t see the inductor or the other capacitor in your fritzing diagram. I am not where I can draw something up for you unfortunately, but you have to start with one inductor and two caps at least.
I can’t make the Fritzing breadboard look good so I am enclosing a schematic.
You need two capacitors and a different inductor–ferrite core, not air core. Fritzing does not seem to have a ferrite core inductor in the the library that is not huge.
C1 is 100nF (also known as 0.1uF)
C2 is 10uF electrolytic which means it has a positive and a negative terminal–pay attention here.
You are really close but you have the capacitors on the wrong side of the inductor–just move their positive leg to supply rail at the bottom of the breadboard (the other end of the inductor) and you are there!
Hi @bko
I finally got down to the local electronics store. I didn’t realize inductors came in so many sizes. The assistant didn’t know what size I would need, but he seemed to think that ferrite cores are used when you need 1 henry or more, but he said those are quite big.
The one used in the Spark core is very small and is a ferrite bead in a surface mount package. They don’t give an inductance on the data sheet, but give a total impedance instead:
@bko, just to add to what you said, the impedance of 220 ohms seems to be measured at 100MHz (stated as Test Frequency). Based on that, the inductance can be calculated to be 0.35uH