Skip to main content
Topic: Loki: A new PSoC based development board (Read 48347 times) previous topic - next topic

Re: Loki: A new PSoC based development board

Reply #15
Great looking project, I've not used the PSoC for years.

It was the great project name that got my attention: "Loki" Norse God of mischief and also the code name of the Sinclair Research's "SuperSpectrum" which never got built (or even designed)
Tony

Re: Loki: A new PSoC based development board

Reply #16
Updates:
  • Improved component spacing as suggested by hardcore
  • Increased the PTC fuse to 1A trip, as used in the Arduino
  • Added a reverse polarity protection diode for the barrel jack

I'll be working on improving the Eagle library and creating a couple of starter planks next. My thoughts on shield designs so far are:

  • Prototyping plank, breaking out 8(?) IOs
  • LCD top plank, with capsense buttons
  • Servo shield?
  • DC motor driver shield?

Re: Loki: A new PSoC based development board

Reply #17
Updated: Added top plank template to the Eagle library. Implemented a prototyping plank:



(Schematic image)

@TonyD: Loki is also known for shapeshifting, which was part of my reason for choosing the name. :)

Re: Loki: A new PSoC based development board

Reply #18
Update: Added a DC motor driver shield using the TB6612FNG:



(Schematic image)

Re: Loki: A new PSoC based development board

Reply #19
And another plank: the display plank. This has a Nokia 5100 84x48 display, backlights, and a 4-way joystick on it.



(Schematic)

Re: Loki: A new PSoC based development board

Reply #20
I've sent off the board and the first 3 planks for fabrication! If you wanted to submit one in the first batch and get it made for free (and a free Loki!) you've missed your chance, but I'll undoubtedly be doing more later.

Re: Loki: A new PSoC based development board

Reply #21
You might consider 4 mods -

1) Use of a RRIO OpAmp vs a LM358, to increase drive level to MOSFET. Make
sure your choice can handle large C load, eg. stability reasons. Design wise
insure power sequencing in this circuit cannot cause phase reversal of the
OpAmp outputs. Stated another way make sure OpAmp power supply comes
up before any other pin on the OpAmp.

2) For 3.3V Regulator, strap a diode across it to prevent blowing out reg if
its input is shorted to ground, caused by its output cap C18 discharging back
thru regulator. That would be D1 in this example.

[attachment=0]

3) Some place on board edge for a large ground post where scope probe ground
clips can be placed w/o shorting any other part of board. That would be at
least two or more scope ground lead clips/alligators.

4) Use polymer tanatalums in BOM for any bulk caps, they have ~ 10 x better
freq response curves than regular tantalums, lower noise in board. Close to
the polymer a place for a SMT ceramic as well, .1 or .01 uF.

Regards, Dana.

Re: Loki: A new PSoC based development board

Reply #22
[quote author="danadak"]You might consider 4 mods -[/quote]

Erk! These would have been easier a day or so ago!

Quote
1) Use of a RRIO OpAmp vs a LM358, to increase drive level to MOSFET. Make
sure your choice can handle large C load, eg. stability reasons. Design wise
insure power sequencing in this circuit cannot cause phase reversal of the
OpAmp outputs. Stated another way make sure OpAmp power supply comes
up before any other pin on the OpAmp.

I based the design on that used in the Arduino and the Eleven. As long as its output is over the mosfet's threshold, though, it should work fine, no? I presume that it does, since it's widely used elsewhere.

Quote
2) For 3.3V Regulator, strap a diode across it to prevent blowing out reg if
its input is shorted to ground, caused by its output cap C18 discharging back
thru regulator. That would be D1 in this example.

[attachment=0]

Fair point. I'll fix that for the next revision.

Quote
3) Some place on board edge for a large ground post where scope probe ground
clips can be placed w/o shorting any other part of board.

Also a fair point. I think the mounting holes ought to be shorted to ground, but a better place for this wouldn't hurt.

Quote
4) Use polymer tanatalums in BOM for any bulk caps, they have ~ 10 x better
freq response curves than regular tantalums, lower noise in board.

For the switching regulator and the linear regulator, I've used the caps recommended in their datasheets and by the TI designer. For the decoupling caps on the MPU, I've used standard ceramics, but I don't think that's what you had in mind by bulk caps. I don't think that leaves any?

Re: Loki: A new PSoC based development board

Reply #23
Some comments....

[quote author="danadak"]2) For 3.3V Regulator, strap a diode across it to prevent blowing out reg if
its input is shorted to ground, caused by its output cap C18 discharging back
thru regulator. )[/quote]
If the 3.3 reg is an TLV702xx as indicated in the schematic there's no need for a protection diode since it's already included in the device. No extra protection is necessary unless unhealthy amount  (hundreds of uF) of capacitance is connected to it's output.

[quote author="danadak"]Use polymer tanatalums in BOM for any bulk caps, they have ~ 10 x better
freq response curves than regular tantalums, lower noise in board. Close to
the polymer a place for a SMT ceramic as well, .1 or .01 uF.[/quote]
Unless really necessary it might be a good idea to avoid tantalum caps.  They are more expensive than ceramics, prone to spectacularly explode when reversed or even slightly overvoltaged,  and they are using a conflict mineral. And many modern multilayer ceramics actually have a better ESR compared to tantalums - especially in the higher frequency regions.  It seems like most vreg manufacturers recommend ceramics in their datasheets.

Re: Loki: A new PSoC based development board

Reply #24
Update: Added the Soundplank, which may yet make it into the first order. Provides for stereo line out with a mono 1W loudspeaker amplifier, and stereo line in or a second line out.



(Schematic image)

Re: Loki: A new PSoC based development board

Reply #25
I got the PCBs today, and soldered the first Loki board:



I used the skillet reflow method for the first time, with a solder paste stencil, and I'm glad I did. This is definitely the finest and trickiest job I've done by a fair margin. Lining up the stencil took some care, as did positioning the processor, with 0.4mm pitch. My USB microscope was invaluable for verifying placement.

Reflow was quick and painless. The electric skillet I got heats up very quickly. The IR thermometer I bought turned out to be more or less entirely surplus to requirements.

After reflow, the processor had quite a few bridges, which were (eventually!) fixed with a fine tipped soldering iron, lots of flux, and some solder wick. I think a stencil with smaller apertures is required.

The board works perfectly so far - I haven't identified any problems besides my buying the wrong footprint of DC jack, easily remedied. I've also started building up a display plank, but it'll be a while before I get a chance to write code to actually send data to the display.

For what it's worth, the offer of free PCB manufacturing for OSHW plank designs is still open, as is the offer of a Loki to anyone who promises to try it out and provide feedback.

Re: Loki: A new PSoC based development board

Reply #26
Nice! 

I was first thinking - Eh? those are not SMD headers, then I realized that this is the base board so thru-hole is ok here :-)

Did you order from Mitch/Hackvana or did you get the stencil from somewhere else?

Re: Loki: A new PSoC based development board

Reply #27
[quote author="matseng"]Nice! 

I was first thinking - Eh? those are not SMD headers, then I realized that this is the base board so thru-hole is ok here :-)

Did you order from Mitch/Hackvana or did you get the stencil from somewhere else?[/quote]

I ordered both the PCBs - all five! - and the Stencil from Hackvana. I'm delighted with both so far.

The Loki does look a little dull in green, though. Any suggestions for a color for a release version?

Re: Loki: A new PSoC based development board

Reply #28

Re: Loki: A new PSoC based development board

Reply #29
Nice job! Blue was my leading candidate.

My first reaction on seeing that photo was "what the hell? someone's made their own already?"