Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hi
this app note might be of interest - though a more advanced control method
https://ww1.microchip.com/downloads/en/AppNotes/00964A.pdf
regards polymath
16f690 programm examples
Hi
Have you any pull-down resistors on your input pins?
The PIC input pins are high impedance and will hold a HI charge for some time.
It is common (and good) practice to have the pins inactive HI and then switch them LO to GND/VSS.
You can then use the weak pull-up...
clean output registers with picc
Hi,
Never believe what you read on the port pins unless they are configured as INPUTS.
Port Pin read-after-writes can cause misery and problems - especially if there is any capacitive or significant load on the output pins.
If you want robust and reliable code...
multiplexed address/data bus
Hi jboud
It looks like you may be reading the port LATCH and not the port PINS
- check your generated assembly code is reading register 0xF83 (PORTD)
I suggest that the TRISD 0xFF is placed BEFORE the Negative Read Strobe (NRD)
You may well have a problem with...
pwm 40 khz
Hi tamer1221
I normally work in assembler - much easier - and not subject to poor compilers!
Check that your compiled C is loading the correct RAM banks.
I used a slightly different value for CCP1CON but that is for 50%M/S ratio.
I have just run the code below on an 16F877A...
Hi aryajur
Yes, your analysis is correct.
I have removed my last posting to avoid confusing others and hide my embarrassment.:|
best regards ... Polymath
lm2907
Hi fever16
Please make some effort yourself!
READ the data sheet on the LM3914. Your answers are in it!
**broken link removed**
The voltage at Pin6 is High end of comparator reference - it sets the Input Level to No.of LEDs lit.
The current out of Pin7 sets LED current - (brightness)...
Hi Prashant_Gupta
The man cannot attain a steady-state mass reading of his weight on the machine.
The total mass suspended is 60+30 kgf = 90kgf
The light pulley will rotate until the rope force is equal on both sides.
The man:
body force = 60kgf down
applied force from arm = rope force =...
lm2907 tachometer
Hi fever16
Your circuit looks ok.
You might consider including the reverse protection diode D44 as in the original.
Placing a suitable Varistor (20~30v) from D44/7805 node to Gnd would kill any spikes that may occur on the supply and damage the 7805.
regards ... Polymath
lm2917 tachometer
Hi fever16
Refer to National data sheet on the LM2907-LM2917
**broken link removed**
Using the LM2917-14 in place of the LM2907-8
2907(8) pin no. 2917(14) pin no.
1 1
2 2
3 3 & 4
4 5
5...
Re: PIC10XXX
Hi jabidof
This app. note may help you - it has example code for bit-bashing RS232.
https://ww1.microchip.com/downloads/en/AppNotes/00510e.pdf
This one implements Auto-Baud function in code
https://ww1.microchip.com/downloads/en/AppNotes/00712a.pdf
regards ... Polymath
Hi Andy_123
My calcs confirm yours - divider network is far from optimum.
with POT at mid-value 10k/2=5k0 ref voltage = 1v25
Output voltage = (100k+2k2+5k0)(1.25/(2k2+5k0))
= 107k2*1.25/7k2 = 134/7k2 = 18.6 volts (mid value)
with POT at max == 8k - (min spec)
Output voltage =...
top rated sla batteries
Hi mickelsen
Some links to manuals for VRLA Batteries.
They may help in the selection of a suitable battery. They have charge and discharge curves.
They show the output voltage and cell capacity is significantly dependant upon discharge current and temperature...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.