Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,199,568 members, 7,972,137 topics. Date: Friday, 11 October 2024 at 02:40 AM |
Nairaland Forum / Science/Technology / Electronics Circuit Design From Concept To Implementation (61308 Views)
Printed Circuit Board For Your Electronics Project. / Nepa Alarm: Circuit To Power Small Speaker / Circuit Diagram Of A Pure Sine Wave Inverter Needed (2) (3) (4)
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) ... (13) (Reply) (Go Down)
Re: Electronics Circuit Design From Concept To Implementation by Nobody: 7:49pm On Dec 18, 2014 |
AlPacino3:Thanks. I have downloaded the file but I encountered error while trying to extract it. I don't know what the problem is. |
Re: Electronics Circuit Design From Concept To Implementation by usisky(m): 7:58pm On Dec 18, 2014 |
Hi guys..... for those who still want to play around with these devices, here's a way you can confirm if your hardware and software are working properly. First off, wire the transmitter circuit I posted earlier. Then download a windows(if you used windows OS) serial terminal(search for TERMITE terminal on google). Go to the settings of the terminal and check the box 'hex view' and set also the baud rate to 1200. Modify the transmitter 'main' function as I have below:
Replicate the the receiver circuit as posted earlier, but this time, you only need to connect the output of the transistor to the receiver input of a 'USB to RS232(serial)' converter or if like me you have a 'USB to TTL' converter as shown in the image attached. When all connection are done and circuits powered, on the windows terminal, you will observe the following data token: 0xAA, 0xAA, 0xA1, 0x01, 0xA2. If data token is as I have put down, then you can be sure your device is functioning properly. All that is left is for you to re-write your transmitter and receiver code as desired by your intended application. Of course, what I have put down here is meant for those that are already experienced designers....you can ask questions for clarification. wish you luck... NOTE: I apologize for posting code to a project, just that I didn't have the time to modify and post relevant portions. But clever designers will find it highly invaluable .... You can buy this cheap USB to TTL converter online....
|
Re: Electronics Circuit Design From Concept To Implementation by usisky(m): 8:22pm On Dec 18, 2014 |
Here are Images from the design I did with these devices. Everything was vero boarded. I wired in one circuit a transmitter and receiver pair for a two way communication. I really like to know what's happening at both ends of my units, so I usually employ some sort of handshake mechanism, hence my use of transmitter & receiver pair at both ends. But it was a bit tasking cos I had to resort to using REED RELAYS to switch between the various connection points as my microcontroller had only one serial port and I equally needed to communicate to a PC. A better way would be to employ more advanced tranceiver RF chips such as NFR24L01+ which uses frequency hopping techniques and also has better data transmission rates... 1 Like
|
Re: Electronics Circuit Design From Concept To Implementation by 9free(m): 8:46pm On Dec 18, 2014 |
0rex:Download again and try. |
Re: Electronics Circuit Design From Concept To Implementation by Nobody: 10:01pm On Dec 18, 2014 |
9free:ok |
Re: Electronics Circuit Design From Concept To Implementation by 9free(m): 7:48am On Dec 19, 2014 |
AlPacino3:Oga Alpacino, please re-upload this file. Just as Oga orex had rightly postulated, it may have been not properly uploaded. I have downloaded it three times and still gets error while trying to unzip the file. Thank you. 1 Like |
Re: Electronics Circuit Design From Concept To Implementation by AlPacino3(m): 9:17am On Dec 19, 2014 |
As 9free said, download and try again. I have also downloaded same file as a trial and i was able to uncompress it as see in the screenshot below. Most importantly, make sure you are using the right program to unpack the document. I used winrar to compress the file and you can get it on the internet. @9free, hope you were able to download and extract the files 1 Like
|
Re: Electronics Circuit Design From Concept To Implementation by 9free(m): 12:09pm On Dec 19, 2014 |
Simple PIC MCU Programmer on ebay.... Those interested should follow the link: http://www.ebay.com/itm/390553997939?ssPageName=STRK:MESINDXX:IT&_trksid=p3984.m1436.l2649 1 Like
|
Re: Electronics Circuit Design From Concept To Implementation by Nobody: 2:30pm On Dec 19, 2014 |
9free:I have not been able to retry it. I'm at a program 1 Like |
Re: Electronics Circuit Design From Concept To Implementation by Luckygurl(f): 6:13pm On Dec 20, 2014 |
Urmmm! Didn't go through all the previous comment but I've got to ask, any provision for big time learners like me. I wish to perfect my skills on MikroC atleast to an extent but I'm clueless on how to go about it. Anyone here who can be of help :-( :-( |
Re: Electronics Circuit Design From Concept To Implementation by pricelessmr: 6:21pm On Dec 20, 2014 |
Luckygurl: MikroC is just a C compiler for microcontroller, meaning that you must know some electronics to appreciate the final response of your codes. I use mikroC strictly for my commercial design. It's about d best C compiler for PIC (my opinion). Start learning with the help file in compiler documentation. There are also free ebooks to learn from. I can help you with mikroC learning if u are seriously interested. Ask ur questions here or pm me if u want focused learning. |
Re: Electronics Circuit Design From Concept To Implementation by Luckygurl(f): 7:23pm On Dec 20, 2014 |
pricelessmr: I'm seriously interested. I just sent you a pm. |
Re: Electronics Circuit Design From Concept To Implementation by pricelessmr: 7:49pm On Dec 20, 2014 |
Luckygurl: I saw d evidence but no mail in my box. Ok, send mail to digicompower at gmail dot com |
Re: Electronics Circuit Design From Concept To Implementation by Luckygurl(f): 8:03pm On Dec 20, 2014 |
pricelessmr:Sent! Hope you received it sha. |
Re: Electronics Circuit Design From Concept To Implementation by pricelessmr: 1:51am On Dec 21, 2014 |
Luckygurl:I've replied you. |
Re: Electronics Circuit Design From Concept To Implementation by Luckygurl(f): 8:36am On Dec 21, 2014 |
pricelessmr: Same here too |
Re: Electronics Circuit Design From Concept To Implementation by acorntree(m): 12:14pm On Dec 21, 2014 |
http://www.4shared.com/rar/XY8d467Lba/flowcode_pic__professional_520.html Working version 5 flowcode 1 Like |
Re: Electronics Circuit Design From Concept To Implementation by acorntree(m): 12:59pm On Dec 21, 2014 |
@luckygurl start with this http://www.mikroe.com/products/view/11/book-pic-microcontrollers/ Or I can send pdf version of the ebook |
Re: Electronics Circuit Design From Concept To Implementation by pricelessmr: 3:03pm On Dec 21, 2014 |
acorntree: This is a good material. I think you should request for the ebook if you don't have it already.. |
Re: Electronics Circuit Design From Concept To Implementation by acorntree(m): 6:44pm On Dec 21, 2014 |
princejude: |
Re: Electronics Circuit Design From Concept To Implementation by acorntree(m): 6:51pm On Dec 21, 2014 |
https://www.nairaland.com/1214892/microcontrollers. Go through this link if you want to learn programming aspect of electronics design |
Re: Electronics Circuit Design From Concept To Implementation by Luckygurl(f): 11:45pm On Dec 22, 2014 |
@acontree, I'd love to own a copy of the pdf version of the book. How do we go about it?? A big thanks to all who responded, I won't hesitate calling on y'all whenever I encounter a problem. |
Re: Electronics Circuit Design From Concept To Implementation by acorntree(m): 12:26am On Dec 23, 2014 |
Luckygurl:Your email? |
Re: Electronics Circuit Design From Concept To Implementation by Luckygurl(f): 12:41am On Dec 23, 2014 |
acorntree:I just sent you a PM |
Re: Electronics Circuit Design From Concept To Implementation by Liadi2(m): 5:44am On Dec 23, 2014 |
acorntree:Pls boss I need ur mobile number help me to send it to this email Biodunayodele68@gmail.com |
Re: Electronics Circuit Design From Concept To Implementation by baba11(m): 7:46am On Dec 23, 2014 |
acorntree:Pls, send to me too @ |
Re: Electronics Circuit Design From Concept To Implementation by acorntree(m): 7:08am On Dec 24, 2014 |
Liadi2: BBM 22EDDABF Whatsapp +2348057324968 |
Re: Electronics Circuit Design From Concept To Implementation by acorntree(m): 1:32pm On Dec 26, 2014 |
PROJECT FOR THE MONTH OF DECEMBER 2 Likes 1 Share
|
Re: Electronics Circuit Design From Concept To Implementation by acorntree(m): 1:38pm On Dec 26, 2014 |
PIC16F84 12 or 24 Hour Digital Clock Circuit Diagram And Programming This PIC digital clock is based on a 16F84 microcontroller. it uses four 7-segment displays.The software in the microcontroller allows for very accurate timekeeping . PARTS LIST R1 – R8 100Ω R9 10kΩ R10 R13 10kΩ C1 22pF C2 22pF D1 LED U1 – U4 Common Cathode 7 Segment Display Q1 – Q4 C828 Xtal1 4 MHz Crystal IC1 7805 Regulator IC PIC1 PIC 16F84 OR PIC16F84A PB1 - PB3 Push to ON push button switch PB1 for set minutes. PB2 for set hours. PB3 for Reset. D1 LED indicate seconds. NOTE: this circuit was not designed by me. The program was written using assembly language. I only designed the PCB layout , burn the hex file into the pic mc and build the circuit. You can modify the circuit for display on large seven segment display. 1 Like
|
Re: Electronics Circuit Design From Concept To Implementation by acorntree(m): 4:05pm On Dec 26, 2014 |
SOURCE CODE Assembly language using MPLAB You can modify the code to suite your need like incorporating alarm timing etc PROCESSOR PIC16F84A INCLUDE <P16F84A.INC> RADIX HEX ORG 0000h GOTO MAIN ORG 0004h GOTO ISR ;************************************************************* ; 12 HOUR DIGITAL CLOCK PROGRAM ; www. electronicecircuits.com ;*************************************************************** CBLOCK 0Ch S1 S10 M1 M10 H1 H10 DEL DEL0 DEL01 DEL02 WHAT QSTAT ENDC #DEFINE DP PORTB,0 ; PIN NO 06 DECIMA POINT DELAY01 DECFSZ DEL,1 GOTO $-.1 CLRF PORTB RETURN DELAY02 MOVLW .2 MOVWF DEL01 DECFSZ DEL01,1 GOTO $-.1 RETURN ; SEVEN SEGMENT DISPLAY CONNECTING TABLE TABLE ADDWF PCL,1; hgfedcba segments RETLW B'01111110' ;0 ; RETLW B'00001100' ;1 RETLW B'10110110' ;2 RETLW B'10011110' ;3 RETLW B'11001100' ;4 RETLW B'11011010' ;5 RETLW B'11111010' ;6 RETLW B'00001110' ;7 RETLW B'11111110' ;8 RETLW B'11011110' ;9 SCAN MOVLW B'00000001' ;SEGMENT 01 MOVWF PORTA MOVF M1,0 CALL TABLE MOVWF PORTB CALL DELAY01 MOVLW B'00000010' ;SEGMENT 02 MOVWF PORTA MOVF M10,0 CALL TABLE MOVWF PORTB CALL DELAY01 MOVLW B'00000100' ;SEGMENT 03 MOVWF PORTA MOVF H1,0 CALL TABLE MOVWF PORTB CALL DELAY01 MOVLW B'00001000' ;SEGMENT 04 MOVWF PORTA MOVF H10,0 CALL TABLE MOVWF PORTB CALL DELAY01 RETURN INCR INCF S1,1 MOVF S1,0 BCF STATUS,Z XORLW .10 BTFSS STATUS,Z RETURN CLRF S1 INCF S10,1 MOVF S10,0 BCF STATUS,Z XORLW .6 BTFSS STATUS,Z RETURN CLRF S10 INCR_SM INCF M1,1 MOVF M1,0 BCF STATUS,Z XORLW .10 BTFSS STATUS,Z RETURN CLRF M1 INCF M10,1 MOVF M10,0 BCF STATUS,Z XORLW .6 BTFSS STATUS,Z RETURN CLRF M10 INCR_SH INCF H1 SWAPF H10,0 ADDWF H1,0 BCF STATUS,Z XORLW 13h BTFSS STATUS,Z GOTO $+6 CLRF H1 CLRF H10 MOVLW .1 MOVWF H1 RETURN MOVF H1,0 BCF STATUS,Z XORLW .10 BTFSS STATUS,Z RETURN CLRF H1 INCF H10,1 RETURN ISR BCF INTCON,GIE MOVWF WHAT SWAPF STATUS,0 MOVWF QSTAT BCF INTCON,T0IF MOVLW .5 MOVWF TMR0 INCF DEL0,1 MOVF DEL0,0 ANDLW B'01111111' BCF STATUS,Z XORLW .125 BTFSS STATUS,Z GOTO LABLE BTFSS DEL0,7 GOTO $+.5 CLRF DEL0 CALL INCR GOTO LABLE GOTO LABLE BTFSS DEL0,7 GOTO $+.5 CLRF DEL0 BCF DP ; DECIMAL POINT CALL INCR GOTO LABLE MOVLW .200 ; DECIMAL POINT DELAY SETTING MOVWF DEL0 ;DECIMAL POINT BSF DP LABLE SWAPF QSTAT,0 MOVWF STATUS SWAPF WHAT,1 SWAPF WHAT,0 BSF INTCON,GIE RETFIE KEY BSF OPTION_REG,7 BCF INTCON,GIE BSF STATUS,RP0 MOVLW B'11101111' MOVWF TRISB BCF STATUS,RP0 MOVLW B'00000000' MOVWF PORTB CALL DELAY02 ; ********************************** SM1 BTFSC PORTB,1 ; SET MINITUS GOTO SH1 CALL INCR_SM GOTO KEYX ;*********************************** ;*********************************** SH1 CALL DELAY02 BTFSC PORTB,2 ; SET HOUR GOTO KEYDE CALL INCR_SH ;*********************************** KEYX BSF STATUS,RP0 CLRF TRISB BCF STATUS,RP0 MOVLW .100 MOVWF DEL02 CALL SCAN DECFSZ DEL02,1 GOTO $-.2 BSF INTCON,GIE BCF OPTION_REG,7 RETURN KEYDE BSF STATUS,RP0 CLRF TRISB BCF STATUS,RP0 BSF INTCON,GIE BCF OPTION_REG,7 RETURN MAIN CLRF S1 CLRF S10 CLRF M1 CLRF M10 CLRF H1 CLRF H10 CLRF DEL CLRF DEL0 CLRF DEL01 CLRF DEL02 CLRF WHAT CLRF QSTAT BSF STATUS,RP0 CLRF TRISB CLRF TRISA MOVLW B'00000011' MOVWF OPTION_REG BSF INTCON,T0IE BSF INTCON,GIE BCF STATUS,RP0 CALL SCAN CALL KEY GOTO $-.2 ORG 2007h DATA 3FF1h END 1 Like |
Re: Electronics Circuit Design From Concept To Implementation by baba11(m): 11:34pm On Dec 26, 2014 |
acorntree:I saw the e-book,thanks alot.... |
Re: Electronics Circuit Design From Concept To Implementation by Luckygurl(f): 6:40am On Dec 27, 2014 |
Hope this can work on a PIC16F877 MC. The circuit connection is a bit complex compared to the ones I've done previously. I'd try it out though |
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) ... (13) (Reply)
Leucistic Texas Rat White Snake (Picture) / JSS3 Student In Anambra Manufactures Keke / Huge Whale Killed In Brass, Bayelsa For Food (Photos)
Viewing this topic: 2 guest(s)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 61 |