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,
For robot localization i am using indoor positioning system which gives me (x,y) and also encoders data to calculate its odometry and through mathematical model also get (x,y) from encoders reading. both sources have some error in reading. So, I need to fuse both (x,y) and i am thinking to...
i have good idea of incremental encoder and interfaced encoder like that before https://www.pololu.com/product/1440
but i am confused with output circuit rs422 in the data sheet of that encoder as you can see it in picture attched in the main question
Incremental Encoder RI 76TD with output rs422 (conversion from rs422 to rs232)
I have Incremental Encoder RI 76TD with output rs422
in rs422 we have rx+ rx- tx+ tx-
SO how can i get data from it using arduino??
can i use MAX485 to convert rs422 to rs232 if yes then what whould be the...
Susan
Thankx for ur suggestion ru posts are very helping
But my code is very large if i put all my code in .C file then lines are more than 2000 and it is difficult to debug the code thats why i made header files
i am also thinking that problem is in selecting slave
i have to collect data...
Sorry for confusion
First i simulate it on Proteus Simulator and after Simulation i implement it on hardware on PCB boards
Here is a new updated code
header file for SPI:
.H file
#define MISO PB6
#define MOSI PB5
#define SCK PB7
void SPI_SLAVE_INIT(void)
{
DDRB |= (1<<MISO);//|(1<<PINB3);
SPCR...
Slave Device Says data overrun
i have some experience in AVR from 2013 but i am not getting this problem
Now on Hardware side when i turn on and turn off switch countinously it some times work and some time not i ahve checked all the connections
Really Thankx for your suggestions it help me alot :D
Thankx Susan for your reply
but now simulation Works properly but not working in hardware
i am sending 1-5 digits with the delay of 1000ms but
when i check the receivd values on LCD but lcd countinously shows 255 and some time other garbeg values and i am not getting where is problem:roll:
SALAM to all
Atmega32 as a Slave
Atmega8 as a Master
Code is Done according to datasheets But Proteus Simulation Not Working
CODE for Master:
/*
* SPI_8_MASTER.c
*
* Created: 1/8/2015 3:36:36 PM
* Author: ANCC
*/
#define F_CPU 1000000UL
#include <avr/io.h>
#include <util/delay.h>
#define...
SALAM to All;
how can i sense the tilted direction of my moving robot using accelerometer in MPU6050
i successfully get the values from registers but dont know how to manipulate it
any help
i m using ATmega32 to get the values from MPU6050
:???:
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.