On 25 mrt, 08:52, Joep Suijs <[email protected]> wrote:
> @Seb:>> i guess I missed this one, pull down on MCLR? Where did you read
> >> this?
>
> > See last Joep's reply here:
> >http://groups.google.com/group/jallib/browse_thread/thread/5c6af5feb4...
>
> > I used to... directly tied MCLR to +5V, no resistor ("gasp!", I can hear).
> > Then someone told me "never do this, put a RC filter". So now I put a RC
> > filter. But when I'm in a hurry, I just put a 10K resistor...
>
> Hi Seb, you mentioned this before and I could not recall this either.
> Now I understand the confusion.
>
> My suggestion was to put a pull-down resistor on the LVP pin, not
> MCLR. This will ensure proper operation when the LVP bit in the
> configuration register is set (as it is by default).
port pin b3 (LVP) is now spare input selectable high or low with
jumper.
I don’t know why using pull down resistor else than for safety when
making
b3 output and high, but that would be not smart to do ;-).
But if you want pull down on port b3 (LVP) or have other ideas please
let me
know, we will discuss them, and if necessary change them.
>
> As for MCLR (reset). I always use a 47k resistor and no capacitor. The
> resistor value is according to Wouters' guidline: less then 22k put
> such a load on the high-voltage generation circuit of the wisp that it
> could fail. And there is no need to keep it low - over 1M will do as
> long as you don't touch it or connect long wires.
one diode off € 0.02 (1N4148) will make it compatible to any
programmer
and not sensitive for signals or fingers ;-)
>
> @Richarch:>> > As for the lcd libs: they are okay now in the way that they
> provide
> >> > more functionality for the same interfaces.
>
> > for lcd_dog_m_spi.jal i agree but lcd_dog_m_4.jal and
> > lcd_dog_m_8.jal are not tested so not ready for release.
>
> You are right: I was only thinking about the generic 4 and 8 bit
> interfaces and should have taken your libs into account.
>
> >> > I'd like to add backlight control (both digital and variable) and,
> > you mean digital in on/off and variable as in PWM ?
>
> Yes.
>
>
>
>
>
> >> > when this is done, also add this to the lcd_app and library. But
> >> > assuming I don't have more time, it will take me another week or two
> >> > (without the documentation...). The reason I tell you this, is that I
> >> > am a bit reluctant to release the lcd_app (+ lib + schematics) without
> >> > the backlight control, since this would force users to update their
> >> > controller later on. And they might omit the backlight hardware since
> >> > the support is missing.
>
> > Hardware for backlight is added and control on/off is easy, not?
> > see schematic, b0 is for backlight so
> > var bit backlight is pin_b0
> > pin_b0_direction = output
> > backlight = on
> > backlight = off
> > PWM takes more time
> > or do you have different ideas about backlight control, joep ?
>
> You could take a look at backlight.jal ;)
ok
>
> You are right that digital is that simple and with the PWM libs,
> variable is not that much harder. That is, for direct connected LCD's
> where '1' is on for the backlight.
> What I want is to provide an API that handles normal and inverted
> signals to the backlight and backlight on/off also work when you have
> variable backlight. And... it also works the same when you connect
> your backlight via the 1-pin interface.
for 1-pin interface you need a code to set your backlight like /B100
is backlight 100% is therfore on and /B0 is backlight 0% is therfore
off
and off course /B50 is backlight PWM 50%.
Or is this not what you mean?
Greetz
Richard
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---