Loki: A new PSoC based development board

A place to document your own projects.

Re: Loki: A new PSoC based development board

Postby TonyD » Thu Nov 29, 2012 5:36 am

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
User avatar
TonyD
Jr. Member
Jr. Member
 
Posts: 90
Joined: Wed May 11, 2011 9:46 am

Re: Loki: A new PSoC based development board

Postby nickjohnson » Thu Nov 29, 2012 2:11 pm

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?
nickjohnson
Sr. Member
Sr. Member
 
Posts: 295
Joined: Mon Nov 26, 2012 4:32 am

Re: Loki: A new PSoC based development board

Postby nickjohnson » Fri Nov 30, 2012 6:35 pm

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

Image

(Schematic image)

@TonyD: Loki is also known for shapeshifting, which was part of my reason for choosing the name. :)
Last edited by nickjohnson on Tue Dec 04, 2012 4:56 am, edited 1 time in total.
nickjohnson
Sr. Member
Sr. Member
 
Posts: 295
Joined: Mon Nov 26, 2012 4:32 am

Re: Loki: A new PSoC based development board

Postby nickjohnson » Sat Dec 01, 2012 12:52 pm

Update: Added a DC motor driver shield using the TB6612FNG:

Image

(Schematic image)
nickjohnson
Sr. Member
Sr. Member
 
Posts: 295
Joined: Mon Nov 26, 2012 4:32 am

Re: Loki: A new PSoC based development board

Postby nickjohnson » Sun Dec 02, 2012 4:12 pm

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

Image

(Schematic)
nickjohnson
Sr. Member
Sr. Member
 
Posts: 295
Joined: Mon Nov 26, 2012 4:32 am

Re: Loki: A new PSoC based development board

Postby nickjohnson » Wed Dec 05, 2012 4:29 am

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.
nickjohnson
Sr. Member
Sr. Member
 
Posts: 295
Joined: Mon Nov 26, 2012 4:32 am

Re: Loki: A new PSoC based development board

Postby danadak » Wed Dec 05, 2012 6:46 am

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.

3 terminal regulator.jpg


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.
danadak
Newbie
Newbie
 
Posts: 1
Joined: Wed Dec 05, 2012 6:35 am

Re: Loki: A new PSoC based development board

Postby nickjohnson » Wed Dec 05, 2012 6:59 am

danadak wrote:You might consider 4 mods -


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

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.

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.

3 terminal regulator.jpg


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

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.

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?
nickjohnson
Sr. Member
Sr. Member
 
Posts: 295
Joined: Mon Nov 26, 2012 4:32 am

Re: Loki: A new PSoC based development board

Postby matseng » Wed Dec 05, 2012 7:17 am

Some comments....

danadak wrote: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. )

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.

danadak wrote: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.

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.
User avatar
matseng
Hero Member
Hero Member
 
Posts: 876
Joined: Sat Oct 15, 2011 12:29 pm
Location: Kuala Lumpur, Malaysia

Re: Loki: A new PSoC based development board

Postby nickjohnson » Thu Dec 06, 2012 5:14 pm

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.

Image

(Schematic image)
nickjohnson
Sr. Member
Sr. Member
 
Posts: 295
Joined: Mon Nov 26, 2012 4:32 am

Re: Loki: A new PSoC based development board

Postby nickjohnson » Sat Dec 22, 2012 7:25 pm

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

Image

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.
nickjohnson
Sr. Member
Sr. Member
 
Posts: 295
Joined: Mon Nov 26, 2012 4:32 am

Re: Loki: A new PSoC based development board

Postby matseng » Sat Dec 22, 2012 9:54 pm

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?
User avatar
matseng
Hero Member
Hero Member
 
Posts: 876
Joined: Sat Oct 15, 2011 12:29 pm
Location: Kuala Lumpur, Malaysia

Re: Loki: A new PSoC based development board

Postby nickjohnson » Sun Dec 23, 2012 12:39 pm

matseng wrote: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?


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?
nickjohnson
Sr. Member
Sr. Member
 
Posts: 295
Joined: Mon Nov 26, 2012 4:32 am

Re: Loki: A new PSoC based development board

Postby katjap » Sun Dec 23, 2012 2:36 pm

Image
katjap
Newbie
Newbie
 
Posts: 22
Joined: Tue Nov 27, 2012 5:53 pm

Re: Loki: A new PSoC based development board

Postby nickjohnson » Sun Dec 23, 2012 6:49 pm

Nice job! Blue was my leading candidate.

My first reaction on seeing that photo was "what the hell? someone's made their own already?"
nickjohnson
Sr. Member
Sr. Member
 
Posts: 295
Joined: Mon Nov 26, 2012 4:32 am

PreviousNext

Return to Project logs

cron