Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,151,930 members, 7,814,161 topics. Date: Wednesday, 01 May 2024 at 08:03 AM

Electronics Circuit Design From Concept To Implementation - Science/Technology (5) - Nairaland

Nairaland Forum / Science/Technology / Electronics Circuit Design From Concept To Implementation (59771 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:
Hello guys! As promised, see download link for flowcode on 4shared: http://www.4shared.com/rar/Bdjzq_4Lba/Flowcode_Professional_437_Plus.html
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:


void main(void) //main funciton
{
Init_Sys();
while(1)Sound_Alarm();
}


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:

Thanks. I have downloaded the file but I encountered error while trying to extract it. I don't know what the problem is.
Download again and try.
Re: Electronics Circuit Design From Concept To Implementation by Nobody: 10:01pm On Dec 18, 2014
9free:

Download again and try.
ok
Re: Electronics Circuit Design From Concept To Implementation by 9free(m): 7:48am On Dec 19, 2014
AlPacino3:
Hello guys! As promised, see download link for flowcode on 4shared: http://www.4shared.com/rar/Bdjzq_4Lba/Flowcode_Professional_437_Plus.html
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:

Oga Alpacino, please re-upload this file.
Just as Oga orex had rightly postulated, it may have been not ...
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:
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 :-( :-(

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:


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.

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'm seriously interested.
I just sent you a pm.

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:


I saw d evidence but no mail in my box. Ok, send mail to digicompower at gmail dot com
Sent! Hope you received it sha.
Re: Electronics Circuit Design From Concept To Implementation by pricelessmr: 1:51am On Dec 21, 2014
Luckygurl:

Sent! Hope you received it sha.
I've replied you.
Re: Electronics Circuit Design From Concept To Implementation by Luckygurl(f): 8:36am On Dec 21, 2014
pricelessmr:

I've replied you.
cheesy cheesy
Same here too
Re: Electronics Circuit Design From Concept To Implementation by acorntree(m): 12:14pm On Dec 21, 2014

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:
@luckygurl start with this http://www.mikroe.com/products/view/11/book-pic-microcontrollers/
Or I can send pdf version of the ebook

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:



Introduction To Microcontrollers

Welcome to the wonderful world of microcontrollers. You are reading this thread, because you are interested in the fascinating world of electronics. This document assumes that you have basic ideas about electronics, and are able to build simple electronic projects. Although microcontrollers are hi-tech devices, yet they are extremely easy to use. Once you have mastered the ideology behind and know the procedure to control various devices, a whole range of applications is open to you. Devices which required a large number of components and skillful logic design can now be built with almost no or minimal components. One of the greatest advantages of microcontrollers is that they can reduce the hardware requirements dramatically. The logic which was going to be implemented using a number of devices and components can be replaced by software in microcontrollers. Truly speaking microcontrollers are small, one-chip computers. As opposed to microprocessors, which require a number of peripheral devices, like, memory, I/O etc. Microcontrollers have all the necessary peripheral devices built into it. However the scale is small, memory is limited, so are other features.



Remember Microcontrollers were designed to control small peripheral devices, and as such these applications do not require megabytes of memory or the entire power of your PC. Whatever memory and peripheral devices that have been integrated into the package are enough to handle the job. A large number of microcontroller units are available, each differing in terms of memory available, and the number of peripheral devices integrated on the chip. Therefore once you have mastered, how to use these devices, it then remains a matter of choice for a particular application, which microcontroller to choose. Since basic ideology is same, if you master one chip, it is very easy to migrate to another. Moreover if you tend to stick to one clone, they are all upwards compatible.
In a nutshell we can say that a microcontroller is just an integrated circuit which is programmable. Unlike most other digital ICs, which have a designated function, like NAND gates, Flip-flops, Oscillators, 7 segment display drivers, arithmetic calculators etc. Microcontroller has no designated function. If you have a Microcontroller (MCU) chip in your hand and ask what type of function is it going to do? The answer would be I don't know! It can be used to control a motor, or an LCD display, or a 7 segment LED display, or can perform mathematical calculation, or control an infra-red remote control or what else? This is such a surprise that a single chip can do so much. It is versatile, in a sense that you can get a variety of jobs done by this chip, if properly used.
In order to get a job done by this chip, you need to program it first. This program will control the various I/O lines of the chip, and these I/O lines in turn control the devices like motors, LEDs, Infrared sensors etc.
Thus in order to control a device you need to know, its control structure, for example controlling a simple DC motor is different from a stepping motor, and this in turn is different from servo motor. It is therefore essential before starting an application to understand the control requirements of the device. Then you program the microcontroller accordingly, and this makes a complete application.

Microcontroller Applications

Due to the versatile nature of these chips, they have found applications in almost every electronic device today. Think of any device which seems to be computer controlled, it will have a microcontroller working in it.
For example a microwave oven, has a magnetron gun, which heats the food, a motor which rotates the plate, and a display to show the time and cooking parameters etc. Now on the basis of cooking parameters selected by user, the microcontroller inside will be controlling the plate motor, as well as the magnetron gun, turning them on and off periodically to heat the food.
Think of a temperature regulator in your air-conditioner, the microcontroller is sensing the room temperature and according to the selected options, turns the compressor on or off, and the wind swivel motor on and off. So it has a microcontroller as well.
Think of traffic lights, they have to be turned on and off in a set order, it is easy to make them using logical gates, but what if we need to change the order and timing? A microcontroller can do the job easily.
Think of your car, it has microcontroller sitting in it, which is controlling the fuel injection, monitoring the engine RPM, tyre speed, engine temperature and many other parameters. On the other hand it is controlling the amount of fuel to be given, adjusting the appropriate gears and displaying various engine parameters on screen to driver.
Think of an industrial automation system, where small robotic arms are being used to assemble the product, all this automatic process is being carried out by microcontrollers.
Think of the moving sign-boards on airport terminals, the LEDs in them are being controlled by the microcontroller to display messages.
In short there are literally thousands of applications including cell phones, personal and industrial robots, security systems, data logging systems and what not all have microcontroller application.
So if you are interested in electronics as a hobby, or as a professional, it is mandatory to know how to use microcontrollers.

Having a basic idea of electronics, and programming is all that you need to enter into this fascinating world.
This course will take you from beginning to an intermediate level, where you should be able to design your own applications.

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:
@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.
Your email?
Re: Electronics Circuit Design From Concept To Implementation by Luckygurl(f): 12:41am On Dec 23, 2014
acorntree:

Your email?
I just sent you a PM
Re: Electronics Circuit Design From Concept To Implementation by Liadi2(m): 5:44am On Dec 23, 2014
acorntree:
https://www.nairaland.com/1214892/microcontrollers. Go through this link if you want to learn programming aspect of electronics design
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:

Your email?
Pls, send to me too @
Re: Electronics Circuit Design From Concept To Implementation by acorntree(m): 7:08am On Dec 24, 2014
Liadi2:
Pls boss I need ur mobile number help me to send it to this email Biodunayodele68@gmail.com

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:
Source code
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)

See The Animal We Killed This Morning By Me And My Brother. / Solar Energy Installations In Nigeria - Welcome To 24 Hours Electricity / 100-Year-Old Giant Turtle 'The Size Of Car' Found Dead, Decomposing In Cornwall

(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. 70
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.