![]() | ![]() | ![]() |
| | |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| How I limit the current in the op-amp, I have no idea, Using a resistor as if it was a transistor, between Voltage source and collector. Sorry, I do not have in mind how the preset has to be. If it is a negative DC voltage a capacitor can stop it? What does a series resistor do between the output and the input to the PIC. Thanks a lot for the comment! | |
| |
| | (permalink) | |||
| Quote:
Quote:
Quote:
| ||||
| |
| | (permalink) |
| The pot should be like this: Yes, the om amp does not have offset what op-amp you recommend me to connect. Ux es some of the U1, U2, U3 or U4 (figure above) and to what input + or - ? | |
| |
| | (permalink) |
| Ok, I think the DC level I got was due to I didn't connect + terminal to ground in the Full Wave Rectifier stage. :!: | |
| |
| | (permalink) |
| Does anyone know how to avoid bounces? I have a switch I check if it is open or close by RB0, it activates an interrupt, but I think between the transition I have more than one event, so I would like to know a way to avoid bounces. I have a resistor of 10k one leg is to 5v, and the other to RB0, the switch is connected to RB0 and the other leg of the switch to gnd. so when closed RB0 sees gnd, (interrupt high to low) :?: is there a way to stop the overflow of the T0IE when TMR0 is configured to internal clock, while a delay is occurring and then to make it run again conserving the actual value of TMR0. I don't want a interrupt event from T0IF while a delay is occurring. | |
| |
| | (permalink) |
| switch debouncing is a very common techniques used to introduce a little delay in reading a switch. there are different techniques for different types of switches. for an SPST switch a RC network can be used or a delay in the software can be used. and for an SPDT switch you can use a latch. you should look at Nigel's tutorials where he uses a debouncing technique. http://www.winpicprog.co.uk/pic_tutorial9.htm | |
| |
| | (permalink) |
| | |
| |
| | (permalink) |
| i personally like the SR debouncer.. but it requires a different type of switch.. | |
| |
| | (permalink) |
| Thanks a lot for the comment!!! | |
| |
| | (permalink) |
| Does anyone knows how the stack registers can be used. how they work? I know that the 870 has 8 stack registers but I do not know how they work thanks | |
| |
| | (permalink) | |
| Quote:
You shouldn't generally mess about with them yourself, particularly on a PIC where you only have a very small stack. | ||
| |
| | (permalink) |
| I havent seen that my 5v ergulator gets warm, I do not know if it is possible, there are just 3 components the regulator feeds: the microcontroler 16F870, which two pins from port C turn on two leds, permanently; the series of 10k to the 100 ohm to avoid the reset. and another array of resistor 10k + a forward diode + 1 Mohm to ground the device is the L7805CV Thanks in advanced | |
| |
| | (permalink) |
| Do you have the two required capacitors as close as possible to the 7805?. | |
| |
| | (permalink) |
| yes, the two capacitors, this the diagram http://www.electro-tech-online.com/v...highlight=half C2 is changed by 470uF at 10V I am using a transformer 127 to 24Vac with central tap in order to get +12v/-12v/+5v probably this is a short electrolitic capacitor isn't it? because at the input I have more that 10 V | |
| |
| | (permalink) |
| sdfs | |
| |