Continue to Site

Welcome to EDAboard.com

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.

please help me with pic16f877 programming application

Status
Not open for further replies.

voj_15

Newbie level 2
Joined
Dec 20, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
philippines
Activity points
1,292
i have a project comprising of:

dc motors
several proximity sensors ..

how do I interface these to the pic??

I am a newbie in the microcontroller world please help me..

what programming language should I use? the assembly or the C??

thanks!
 

in a few statements

you can cover dc motors and simple sensors
much like an alarm system

using simple micros

but i would use c code

youll find picc code sdcc {small device c compiler } etc
both and many makers give free upto limits of use versions
of c compilers

look for hitec picc and ccs
sdcc is free you can use codeblocks ide and compile with many c compilers
for small hardprint risc mcu like pic micros you study

best advice is place one and use a flash code via serial and a simple cable



to interface dc motors you can use pwm via a driver chip like a motor bridge driver via two i/o's of any micro

for proximity you need analogue i/o and scan it for change
use an array
much like scanning a pot

look here


#1218045

download this

in its folder

VSMVDD\COMVDD_EBOX_DESIGN\COMVDD_EBOX_DESIGN\EXTERNAL EBOX C CODE ...BUILDING NOW\STUDENT VERSION
youll find comvdd.c it has scan routines for analogue pots
this can easily be adapted for proxy scanners {same thing}
 

    voj_15

    Points: 2
    Helpful Answer Positive Rating
thanks for the advise but still.. we might use the assembly because its what we are somewhat familiar of but not even good at..

we are studying assembly now..I may not convince my group mates to use it..:(
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top