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.

help pls!!!!

Status
Not open for further replies.

josak

Newbie level 1
Joined
Sep 21, 2010
Messages
0
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,280
Location
chennai
Activity points
1,280
i am doing project in robotics ....i am new to embedded field as well as hardware.
i need to know how to use the mother board for storing sensor data and camera output???
whether we need to install an operating system in the mother board for controlling these functions.....:roll:
 

Depending on wha you use. Microcontroller or microprocessor? Microcontroller is like PIC and AVR, ranges from 8 bit to 32 bit. Microprocessor is like Atom or higher range of AVR families.
 

k john ....thanks for replying.....
i am using pic controller in this same project for motor control......
i need to store the sensor outputs for a while so i need mother board for that.......
now i need to know how can i use the mother board...
do u have any materials regarding this!!!!!!!!1
 

You need to be more specific.
 

dude can i control both clockwise and anticlockwise rotation of a dc motor (not stepper) using pic ......
 

yes. You just need additional one h bridge
 

Simple Hbridge code for pic16F877A:


#include <pic.h>
#include <htc.h>


#define sw1 RE0
#define sw2 RE1


void int_io(void);

void init_io(){

__CONFIG(0x3F3A);

TRISB = 0b00000000;
TRISE = 0b00000011;

PCFG3 = 0;
PCFG2 = 1;
PCFG1 = 1;
PCFG0 = 1;

PORTB = 0xff;


}

void main(){

init_io();

if (!sw1 && !sw2){
RB0 = 1;
RB1 = 1;
RB2 = 1;
RB3 = 1;
}
else if (!sw1){
RB0 = 1;
RB1 = 1;
RB2 = 0;
RB3 = 0;
}
else if (!sw2){
RB0 = 0;
RB1 = 0;
RB2 = 1;
RB3 = 1;

}
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top