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 JKFF can be design with a DFF, 2x1 mux and additonal INVERTER. You need an inverter, too.
(But I assume it is already inverted.) I will look to second part but it is a little bit longer if I can solve will reply again.
I don't know much about this sensor and IR communication but I think you can arrange their (led & receiver's ) position such that if the receiver receives signal from the led no motion case else it means positon of led is changed or something cut the signal which is motion case. After that you...
nice topic and a short question : )
i think it will be better to explain with an example
let say we may have an analog value changes between 0 and 5 Vs
and we are using 4 bit adc. then our full range (5 V) will refer to 1111. It means
when analog input become 5 V digital output of adc will be...
Hi guys,
My problem is about 16f877a. I am sending data from computer to the pic via RS232. I checked RS232 output max232 output and the data enter RC7 (receiver pin) they are all correct. But the pic can't receive data correctly.
I am using
data=getc();
function to get a byte data but how...
Yes code is working. I'm using RS232 and sending data from PC via tx to PIC16f877a. The problem is rx can't take the data correctly. Maybe I have to use some filters twin t notch.
The controller frequency is already 4 Mhz.
By the way I solved the case I asked for 16f84.
Probably I will use 16f84 for RF and send the data from 16f84a to 16f877a.Whole circuit consists of 4 sensors, 4 dc motors and 1 RF and these make 16f877a circuit more complicate.
Actually max baud rate for receiver I am already using is 2400.And I am not using any clocks except oscillator one.
---------- Post added at 10:33 ---------- Previous post was at 10:29 ----------
I want to try it with 16f84a too. But even I can't simulate it. Can you help for code...
https://obrazki.elektroda.pl/54_1301997336.png
As I said I can't simulate RF on proteus am using VTERM called device to test the code. It sends char and pic gets it. Program works well. But not in real world :).
#include "D:\PIC_FOLDER\rf.h"
#use fast_io(c)
#use fast_io(d)
#define led pin_d3...
I am using CCS C.
It docs it said send preamble code (5 byte 55 or AA) then for synchronization 5 byte (or you may change according yor program) 00 and 5 byte FF. Then send data.
I will check the polarity today. But I'm sure about baud rate and I am sending with a low baud rate (baud rate=300).
I am sending 5 byte AA then 5 byte 00 and finally 5 byte FF. No parity bit.
I used the program on proteus using VMETER. But I can't test RF with proteus.
And I want to ask...
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.