Can someone take a quick look over the schematic for this and let me
know if it's anywhere near sane? I've not quite finished the board
layout yet! The schematic (and eagle files are here
http://solderpad.com/mattdaubney/mqtt-s-test-board/ )
Is the buffer chip between the processor and the LCD really neccesary? Most 77480 compatible
LCD controllers have TTL input thresholds which should work fine with 3.3V inputs.
The Vo pot will need a series resistor in the positive leg, Vo needs to be fairly close to 0V
in most cases and with some displays I have used in the past has had to be slightly negative.
If you want the pot to only use the bottom 10% of its range then leave it as it is.
Your power input is expecting the centre pin to be positive, but it is rather more common
for it to be the other way round. It may be worth including a diode to save the regulators
from being blown up in the event of the wrong wall wart being used.
Everything else that looks wrong is probably the 'not quite finished yet' that you mentioned.
> FIt may be worth including a diode to save the regulatorsfrom being blown up in the event of the wrong wall wart being usedrom: nig...@googlemail.com
> To: reading-hackspace@googlegroups.com
> Subject: Re: [RDG-Hack] Request for a small bit of help
> Date: Sat, 20 Oct 2012 01:21:57 +0100
> Is the buffer chip between the processor and the LCD really neccesary? Most 77480 compatible
> LCD controllers have TTL input thresholds which should work fine with 3.3V inputs.
> The Vo pot will need a series resistor in the positive leg, Vo needs to be fairly close to 0V
> in most cases and with some displays I have used in the past has had to be slightly negative.
> If you want the pot to only use the bottom 10% of its range then leave it as it is.
> Your power input is expecting the centre pin to be positive, but it is rather more common
> for it to be the other way round. It may be worth including a diode to save the regulators
> from being blown up in the event of the wrong wall wart being used.
> Everything else that looks wrong is probably the 'not quite finished yet' that you mentioned.
> Is the buffer chip between the processor and the LCD really neccesary? > Most 77480 compatible
> LCD controllers have TTL input thresholds which should work fine with > 3.3V inputs.
Agreed...also watch out for another couple of "gotchas"...most Hitachi/Densitron compatible character LCDs have quite low value (1K or less) pull-downs on their inputs...this can spoil your day if you use...for example..the ICSP pins to talk to yr LCD (yes...I've done it!!) or multiplex them in some other way... leaving you in the position where you can either have ICSP...or your LCD...making the board a pig to debug. Clearly you can't sort that problem by fitting resistor buffers...'cos everything then gets too low impedance for the ICSP to operate...and UR screwed.
> The Vo pot will need a series resistor in the positive leg, Vo needs > to be fairly close to 0V
> in most cases and with some displays I have used in the past has had > to be slightly negative.
> If you want the pot to only use the bottom 10% of its range then leave > it as it is.
Absolutely...a lot of designs use a 10K pot 'cos they begrudge the extra cost of an ickle resistor....V false economy if you ask me. Second gotcha....may need to fit 100nF between pot wiper and ground...some LCDs suffer from noise feeding through the contrast pin and ending up as a ghostly "snow" on the display.
PS if it helps I normally use a 2K2 pot with a 10K res to Vcc. works for 96.8534% of LCDs.
> Your power input is expecting the centre pin to be positive, but it is > rather more common
> for it to be the other way round. It may be worth including a diode to > save the regulators
> from being blown up in the event of the wrong wall wart being used.
Too right...PS the sleeve-positive power supplies are a pain in the arse because if you build a complex system all you have to do is drop the DC connector onto a grounded bit of metal...instant short!
Other way to sort the problem is to bring back germanium transistors (Vcc negative) LOL
> Can someone take a quick look over the schematic for this and let me
> know if it's anywhere near sane? I've not quite finished the board
> layout yet! The schematic (and eagle files are here
> http://solderpad.com/mattdaubney/mqtt-s-test-board/ )
Some reverse polarity protection and maybe even a polyfuse never a bad
thing! Also, there's plenty of dcdc converters at the space, make room for
one and stick in a full bridge and it'll run on any wall wart that'll fit
in the connector ;-)
On Oct 20, 2012 7:56 AM, "Jim Pugh" <scottca...@hotmail.com> wrote:
> >It may be worth including a diode to save the regulators
> from being blown up in the event of the wrong wall wart being used<
> Theres something to be tatooed on your arm...
> > FIt may be worth including a diode to save the regulators
> from being blown up in the event of the wrong wall wart being usedrom:
> nig...@googlemail.com
> > To: reading-hackspace@googlegroups.com
> > Subject: Re: [RDG-Hack] Request for a small bit of help
> > Date: Sat, 20 Oct 2012 01:21:57 +0100
> > Is the buffer chip between the processor and the LCD really neccesary?
> Most 77480 compatible
> > LCD controllers have TTL input thresholds which should work fine with
> 3.3V inputs.
> > The Vo pot will need a series resistor in the positive leg, Vo needs to
> be fairly close to 0V
> > in most cases and with some displays I have used in the past has had to
> be slightly negative.
> > If you want the pot to only use the bottom 10% of its range then leave
> it as it is.
> > Your power input is expecting the centre pin to be positive, but it is
> rather more common
> > for it to be the other way round. It may be worth including a diode to
> save the regulators
> > from being blown up in the event of the wrong wall wart being used.
> > Everything else that looks wrong is probably the 'not quite finished
> yet' that you mentioned.
I would add a 100nf ceramic cap. as close as possible to the power pins of the processor. Add pull up resistors to I2C bus. Shorten track between ground of capacitor on crystal and processor ground.
Suggest you make other suggested changes and fully route, so we can take a proper look.
On Friday, October 19, 2012 10:51:51 PM UTC+1, Matthew Daubney wrote: > Can someone take a quick look over the schematic for this and let me > know if it's anywhere near sane? I've not quite finished the board > layout yet! The schematic (and eagle files are here > http://solderpad.com/mattdaubney/mqtt-s-test-board/ )
On 20 October 2012 01:21, Nigel Worsley <nig...@googlemail.com> wrote:
> Is the buffer chip between the processor and the LCD really neccesary? Most
> 77480 compatible
> LCD controllers have TTL input thresholds which should work fine with 3.3V
> inputs.
I tried it on an arduino and it kinda works... but the datasheet
suggested it shouldn't :) Felt it better safe than sorry.
> The Vo pot will need a series resistor in the positive leg, Vo needs to be
> fairly close to 0V
> in most cases and with some displays I have used in the past has had to be
> slightly negative.
I see the logic in this. Will have a look at it
> If you want the pot to only use the bottom 10% of its range then leave it as
> it is.
> Your power input is expecting the centre pin to be positive, but it is
> rather more common
> for it to be the other way round. It may be worth including a diode to save
> the regulators
> from being blown up in the event of the wrong wall wart being used.
I thought the solid line on the symbol for the power jack was the
center pin? This is the -ve connection on the diagram. Have I just got
confused on the symbol? Should the diode go on the negative side or
the positive side? (I'd assume +ve as most stuff seems to go that
side?)
> Everything else that looks wrong is probably the 'not quite finished yet'
> that you mentioned.
I'll keep updating it and putting it back here :) Thanks for having a look.
>> Is the buffer chip between the processor and the LCD really neccesary?
>> Most 77480 compatible
>> LCD controllers have TTL input thresholds which should work fine with 3.3V
>> inputs.
> Agreed...also watch out for another couple of "gotchas"...most
> Hitachi/Densitron compatible character LCDs have quite low value (1K or
> less) pull-downs on their inputs...this can spoil your day if you use...for
> example..the ICSP pins to talk to yr LCD (yes...I've done it!!) or
> multiplex them in some other way... leaving you in the position where you
> can either have ICSP...or your LCD...making the board a pig to debug.
> Clearly you can't sort that problem by fitting resistor buffers...'cos
> everything then gets too low impedance for the ICSP to operate...and UR
> screwed.
I'd read about that somewhere, hence avoiding the ICSP pins with the LCD :)
<snip>
> Absolutely...a lot of designs use a 10K pot 'cos they begrudge the extra
> cost of an ickle resistor....V false economy if you ask me. Second
> gotcha....may need to fit 100nF between pot wiper and ground...some LCDs
> suffer from noise feeding through the contrast pin and ending up as a
> ghostly "snow" on the display.
The pot is a 10k pot (it came with another LCD at some point), but I
can see the logic in using a smaller pot and a resistor. Will add the
cap.
>> Can someone take a quick look over the schematic for this and let me
>> know if it's anywhere near sane? I've not quite finished the board
>> layout yet! The schematic (and eagle files are here
>> http://solderpad.com/mattdaubney/mqtt-s-test-board/ )
> Some reverse polarity protection and maybe even a polyfuse never a bad
> thing! Also, there's plenty of dcdc converters at the space, make room for
> one and stick in a full bridge and it'll run on any wall wart that'll fit in
> the connector ;-)
> On Oct 20, 2012 7:56 AM, "Jim Pugh" <scottca...@hotmail.com> wrote:
>> >It may be worth including a diode to save the regulators
>> from being blown up in the event of the wrong wall wart being used<
>> Theres something to be tatooed on your arm...
>> > FIt may be worth including a diode to save the regulators
>> from being blown up in the event of the wrong wall wart being usedrom:
>> nig...@googlemail.com
>> > To: reading-hackspace@googlegroups.com
>> > Subject: Re: [RDG-Hack] Request for a small bit of help
>> > Date: Sat, 20 Oct 2012 01:21:57 +0100
>> > Is the buffer chip between the processor and the LCD really neccesary?
>> > Most 77480 compatible
>> > LCD controllers have TTL input thresholds which should work fine with
>> > 3.3V inputs.
>> > The Vo pot will need a series resistor in the positive leg, Vo needs to
>> > be fairly close to 0V
>> > in most cases and with some displays I have used in the past has had to
>> > be slightly negative.
>> > If you want the pot to only use the bottom 10% of its range then leave
>> > it as it is.
>> > Your power input is expecting the centre pin to be positive, but it is
>> > rather more common
>> > for it to be the other way round. It may be worth including a diode to
>> > save the regulators
>> > from being blown up in the event of the wrong wall wart being used.
>> > Everything else that looks wrong is probably the 'not quite finished
>> > yet' that you mentioned.
> On 20 October 2012 12:01, Richard Ibbotson
> <richard.ibbot...@btinternet.com> wrote:
> > I would add a 100nf ceramic cap. as close as possible to the power pins
> of
> > the processor.
> Thank you, meant to do that but obviously forgot!
> > Add pull up resistors to I2C bus.
> To both sda and scl?
> > Shorten track between ground of capacitor on crystal and processor
> ground.
> Check.
> > Suggest you make other suggested changes and fully route, so we can take
> a
> > proper look.
I wrote:
>> Your power input is expecting the centre pin to be positive
But I meant to say negative, I should stick to my policy of not posting
anything to the internet after a night of heavy drinking!
> I thought the solid line on the symbol for the power jack was the center pin?
It is, sorry for the confusion!
> Should the diode go on the negative side or the positive side?
Positive is traditional, putting it there avoids problems with using a lab PSU with
earthed negative and then probing the circuit with an oscilloscope (which almost
always has a connection to mains earth as well).
I agree with others...no point to the TTL octal buffer chip. also agree re reverse polarity protection etc around the input voltage regs. Whether or not you fit a series diode (1n4001 would do) I would up the value of C3...it's way too low...make it same as C4,C6 (10uF) to ensure a suitably low source impedance for the regs (else you might get a very nice c. 2 megs oscillator!!).
Also makes the BOM simpler.
Contrast pot=2k2 with a 10K series resistor to Vcc, and a 100nF between wiper and 0V.
I agree..definitely need a local decoupler for the processor 10nF or 100nF close to power pins
Also I agree about keeping the crystal loop as small as poss....and keep signal lines away from it (I haven't seen the PCB...but you will get jitter if signals cross-couple to the clock.).
No idea what the XBEE thingy is...but does it need decoupling?? Are you dead sure none of those other pins need to be either allocated or tied hi or lo?? (just check)
I guess yr LCD pins 15,16 are the backlight....provide for a resistor in series with the pin 15...some LCDs do not have an onboard current limit resistor (pop !!)...remember that LEDs are like zener diodes...without Ilim they will (worst case) try to clamp yr 5V line to 4.2V (ouch) and you will have SUCH fun trying to find the problem.
I don't know where yr program comes from...but set the unused io pins as outputs and drive them low.
I don't know what value you have for C1...but it needs to be somewhere between 10K and 100K.
I assume marking C5 as 100pF is a typo...should be 100nFOn 20/10/2012
15:03, Matthew Daubney wrote:
> Which bit is throwing the "not found"? The whole url or the schematic diagram?
It wasn't the URL
>> On 19/10/2012 22:51, Matthew Daubney wrote:
>>> Can someone take a quick look over the schematic for this and let me
>>> know if it's anywhere near sane? I've not quite finished the board
>>> layout yet! The schematic (and eagle files are here
>>> http://solderpad.com/mattdaubney/mqtt-s-test-board/ )
> Are those switch mode DC-DC converters? Wikipedia isn't very enlightening.....
> On 20 October 2012 10:36, Ryan . <ry.wh...@gmail.com> wrote:
>> Some reverse polarity protection and maybe even a polyfuse never a bad
>> thing! Also, there's plenty of dcdc converters at the space, make room for
>> one and stick in a full bridge and it'll run on any wall wart that'll fit in
>> the connector ;-)
>> On Oct 20, 2012 7:56 AM, "Jim Pugh" <scottca...@hotmail.com> wrote:
>>>> It may be worth including a diode to save the regulators
>>> from being blown up in the event of the wrong wall wart being used<
>>> Theres something to be tatooed on your arm...
>>>> FIt may be worth including a diode to save the regulators
>>> from being blown up in the event of the wrong wall wart being usedrom:
>>> nig...@googlemail.com
>>>> To: reading-hackspace@googlegroups.com
>>>> Subject: Re: [RDG-Hack] Request for a small bit of help
>>>> Date: Sat, 20 Oct 2012 01:21:57 +0100
>>>> Is the buffer chip between the processor and the LCD really neccesary?
>>>> Most 77480 compatible
>>>> LCD controllers have TTL input thresholds which should work fine with
>>>> 3.3V inputs.
>>>> The Vo pot will need a series resistor in the positive leg, Vo needs to
>>>> be fairly close to 0V
>>>> in most cases and with some displays I have used in the past has had to
>>>> be slightly negative.
>>>> If you want the pot to only use the bottom 10% of its range then leave
>>>> it as it is.
>>>> Your power input is expecting the centre pin to be positive, but it is
>>>> rather more common
>>>> for it to be the other way round. It may be worth including a diode to
>>>> save the regulators
>>>> from being blown up in the event of the wrong wall wart being used.
>>>> Everything else that looks wrong is probably the 'not quite finished
>>>> yet' that you mentioned.
> On 20 October 2012 12:01, Richard Ibbotson
> <richard.ibbot...@btinternet.com> wrote:
>> I would add a 100nf ceramic cap. as close as possible to the power pins of
>> the processor.
> Thank you, meant to do that but obviously forgot!
>> Add pull up resistors to I2C bus.
> To both sda and scl?
On 20 October 2012 18:03, graham <g...@coastelect.com> wrote:
> Matt
> Connect LCD pins 7,8,9,10 to 0V.
check
> I agree with others...no point to the TTL octal buffer chip. also agree re
> reverse polarity protection etc around the input voltage regs.
Will double check the datasheet..... pretty sure it said it shouldn't
work with 3.3v signals. Then again it worked with the arduino with
3.3v signals.
> Whether or
> not you fit a series diode (1n4001 would do) I would up the value of
> C3...it's way too low...make it same as C4,C6 (10uF) to ensure a suitably
> low source impedance for the regs (else you might get a very nice c. 2 megs
> oscillator!!).
> Also makes the BOM simpler.
check
> Contrast pot=2k2 with a 10K series resistor to Vcc, and a 100nF between
> wiper and 0V.
> I agree..definitely need a local decoupler for the processor 10nF or 100nF
> close to power pins
> Also I agree about keeping the crystal loop as small as poss....and keep
> signal lines away from it (I haven't seen the PCB...but you will get jitter
> if signals cross-couple to the clock.).
I'm interested in why for this... can I just run it back to the GND on
the micro or will that cause similar issues? Is this just to reduce
noise?
> No idea what the XBEE thingy is...but does it need decoupling?? Are you dead
> sure none of those other pins need to be either allocated or tied hi or lo??
> (just check)
All of the other pins are optional. It's a micro in it's own right
really. Just doing zigbee things :) It might be worth decoupling it
anyway though I suppose.
> I guess yr LCD pins 15,16 are the backlight....provide for a resistor in
> series with the pin 15...some LCDs do not have an onboard current limit
> resistor (pop !!)...remember that LEDs are like zener diodes...without Ilim
> they will (worst case) try to clamp yr 5V line to 4.2V (ouch) and you will
> have SUCH fun trying to find the problem.
Check
> I don't know where yr program comes from...but set the unused io pins as
> outputs and drive them low.
I'm writing it, so will do.
> I don't know what value you have for C1...but it needs to be somewhere
> between 10K and 100K.
I had it as 22pF same as C2 (it's what the datasheet said, assuming
we're talking about the caps near the crystal?)
> I assume marking C5 as 100pF is a typo...should be 100nF
> Also...check out this month's Elektor magazine...7805 and 7905 drop-in
> switchers!!
> GC
> On 20/10/2012 15:05, Matthew Daubney wrote:
>> Are those switch mode DC-DC converters? Wikipedia isn't very
>> enlightening.....
>> On 20 October 2012 10:36, Ryan . <ry.wh...@gmail.com> wrote:
>>> Some reverse polarity protection and maybe even a polyfuse never a bad
>>> thing! Also, there's plenty of dcdc converters at the space, make room
>>> for
>>> one and stick in a full bridge and it'll run on any wall wart that'll fit
>>> in
>>> the connector ;-)
>>> On Oct 20, 2012 7:56 AM, "Jim Pugh" <scottca...@hotmail.com> wrote:
>>>>> It may be worth including a diode to save the regulators
>>>> from being blown up in the event of the wrong wall wart being used<
>>>> Theres something to be tatooed on your arm...
>>>>> FIt may be worth including a diode to save the regulators
>>>> from being blown up in the event of the wrong wall wart being usedrom:
>>>> nig...@googlemail.com
>>>>> To: reading-hackspace@googlegroups.com
>>>>> Subject: Re: [RDG-Hack] Request for a small bit of help
>>>>> Date: Sat, 20 Oct 2012 01:21:57 +0100
>>>>> Is the buffer chip between the processor and the LCD really neccesary?
>>>>> Most 77480 compatible
>>>>> LCD controllers have TTL input thresholds which should work fine with
>>>>> 3.3V inputs.
>>>>> The Vo pot will need a series resistor in the positive leg, Vo needs to
>>>>> be fairly close to 0V
>>>>> in most cases and with some displays I have used in the past has had to
>>>>> be slightly negative.
>>>>> If you want the pot to only use the bottom 10% of its range then leave
>>>>> it as it is.
>>>>> Your power input is expecting the centre pin to be positive, but it is
>>>>> rather more common
>>>>> for it to be the other way round. It may be worth including a diode to
>>>>> save the regulators
>>>>> from being blown up in the event of the wrong wall wart being used.
>>>>> Everything else that looks wrong is probably the 'not quite finished
>>>>> yet' that you mentioned.
> On 20 October 2012 18:03, graham <g...@coastelect.com> wrote:
>> Matt
>> Connect LCD pins 7,8,9,10 to 0V.
> check
>> I agree with others...no point to the TTL octal buffer chip. also agree re
>> reverse polarity protection etc around the input voltage regs.
> Will double check the datasheet..... pretty sure it said it shouldn't
> work with 3.3v signals. Then again it worked with the arduino with
> 3.3v signals.
>> Whether or
>> not you fit a series diode (1n4001 would do) I would up the value of
>> C3...it's way too low...make it same as C4,C6 (10uF) to ensure a suitably
>> low source impedance for the regs (else you might get a very nice c. 2 megs
>> oscillator!!).
>> Also makes the BOM simpler.
> check
>> Contrast pot=2k2 with a 10K series resistor to Vcc, and a 100nF between
>> wiper and 0V.
>> I agree..definitely need a local decoupler for the processor 10nF or 100nF
>> close to power pins
>> Also I agree about keeping the crystal loop as small as poss....and keep
>> signal lines away from it (I haven't seen the PCB...but you will get jitter
>> if signals cross-couple to the clock.).
> I'm interested in why for this... can I just run it back to the GND on
> the micro or will that cause similar issues? Is this just to reduce
> noise?
>> No idea what the XBEE thingy is...but does it need decoupling?? Are you dead
>> sure none of those other pins need to be either allocated or tied hi or lo??
>> (just check)
> All of the other pins are optional. It's a micro in it's own right
> really. Just doing zigbee things :) It might be worth decoupling it
> anyway though I suppose.
>> I guess yr LCD pins 15,16 are the backlight....provide for a resistor in
>> series with the pin 15...some LCDs do not have an onboard current limit
>> resistor (pop !!)...remember that LEDs are like zener diodes...without Ilim
>> they will (worst case) try to clamp yr 5V line to 4.2V (ouch) and you will
>> have SUCH fun trying to find the problem.
> Check
>> I don't know where yr program comes from...but set the unused io pins as
>> outputs and drive them low.
> I'm writing it, so will do.
>> I don't know what value you have for C1...but it needs to be somewhere
>> between 10K and 100K.
> I had it as 22pF same as C2 (it's what the datasheet said, assuming
> we're talking about the caps near the crystal?)
I've sorted all (I think) of the suggested changes and finished the
routing. I know there are some Via's to come out on the right hand
side (after removing the transceiver).
> I've sorted all (I think) of the suggested changes and finished the
> routing. I know there are some Via's to come out on the right hand
> side (after removing the transceiver).
Nono i mean a monolithic quarter brick package not a discrete thing fuck
laying those out! So much leaky rf
On Oct 21, 2012 10:12 PM, "Matthew Daubney" <m...@daubers.co.uk> wrote:
> (Bad form replying to ones self, but thought I should add this)
> I've not gone with DC-DC yet, as I'm still understanding the parts :)
> Got some datasheets for some maxims ones I'm just flicking through.
> -Matt Daubney
> On 21 October 2012 22:10, Matthew Daubney <m...@daubers.co.uk> wrote:
> > I've sorted all (I think) of the suggested changes and finished the
> > routing. I know there are some Via's to come out on the right hand
> > side (after removing the transceiver).
> Nono i mean a monolithic quarter brick package not a discrete thing fuck
> laying those out! So much leaky rf
> On Oct 21, 2012 10:12 PM, "Matthew Daubney" <m...@daubers.co.uk> wrote:
>> (Bad form replying to ones self, but thought I should add this)
>> I've not gone with DC-DC yet, as I'm still understanding the parts :)
>> Got some datasheets for some maxims ones I'm just flicking through.
>> -Matt Daubney
>> On 21 October 2012 22:10, Matthew Daubney <m...@daubers.co.uk> wrote:
>> > I've sorted all (I think) of the suggested changes and finished the
>> > routing. I know there are some Via's to come out on the right hand
>> > side (after removing the transceiver).