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.
If you connect the 2 pots in parallel then the resistance will drop.
Check this in order to understand the basics:
https://www.electronics-tutorials.ws/resistor/res_4.html
Is it possible to remove the pot from the pad and measyre it, then solder your own made pot to the same place?
// Define LCD
sbit LCD_RS at RB4_bit;
sbit LCD_EN at RB5_bit;
sbit LCD_D4 at RB3_bit;
sbit LCD_D5 at RB2_bit;
sbit LCD_D6 at RB1_bit;
sbit LCD_D7 at RB0_bit;
sbit LCD_RS_Direction at TRISB4_bit;
sbit LCD_EN_Direction at TRISB5_bit;
sbit LCD_D4_Direction at TRISB3_bit;
sbit LCD_D5_Direction at...
So you need help designing the power supply circuit limiting the 48v/2A to 48v/0.5A?
Maybe it helps:
http://www.dz863.com/circuits-26-8312920863-LT3748_17.-48V-0.5A-Supply-from-24V-to-96V-Input-Application-Schematic/
sbit LCD_D4 at RB0_bit;
Try using another output instead of RB0 or see here how to disable interupts.
https://microcontrollerprojects00.blogspot.gr/2012/08/using-rb0-external-interrupt-of-pic.html
You need to get a pulse for every detection from the module.
Also you have to make the MCU determine if there is a real alarm and not trying to delay the module detection.
So the module detects every motion, transfers every motion to the MCU, then the MCU makes the calculations and gives the...
As an alarm system installer 8-) i would suggest built a pulse/time system like almost all alarm systems have.
Assign how many pulses (motion detections) must occur and in what time window.
e.g. if u assign pulses=3 and time=30 seconds, then the PIR must detect 3 motions in 30 seconds, in...
Try to see how many steps the motor take to one direction before go to the other direction (make delays bigger in your code). Is it lets say 3 steps CW, 1 CCW. Maybe 1 of the windings is not connected correctly (you are using a unipolar motor, right?).
See these too...
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.