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.

Recent content by RuH_iranga

  1. R

    SPI Working Code! two PIC - MikroC

    Hi, I did this before several months. Slave 2 is the bottom PIC (U3). please ask for further clarifications. this will work!
  2. R

    [Moved] Balancing platform for boats

    This platform will be extended to two axes. video results shows, only by changing the proportional gain of the PID controller. Direct mounting of the motor to the axle creates some friction. Now platform is getting ready for its second axis. Anyone need information about project or for better...
  3. R

    Book suggestion for 'C Language' programming

    "C By examples" is good. Can learn from the basics.:smile:
  4. R

    [Moved] Balancing platform for boats

    Use two gyroscopes, one accelerometer, two DC encoder motors. PID controller. Balancing Platform - YouTube
  5. R

    SPI Working Code! two PIC - MikroC

    Hi all This code is working on Proteus as well as tested on 18F452 (Master) and 16F877a (Slave). Compiler- MikroC I tried this one several times but it didn't work. When I changed the inbuilt "Spi_read()" command and used direct Registry reading as in the data sheet. Then it worked. Master...
  6. R

    Help: Desing of 1-axis yaw rate gyroscope interfacing with MSP430 uC

    Read this post https://www.edaboard.com/threads/207638/ I am using PIC Ucontrollers.
  7. R

    Counting LOOP time, in PIC

    Hi I need to count the loop time(start to end) in milliseconds for each endless loop cycle. I use 18f452 PIC and this loop time is finding to maintain constant loop time in endless loop. Please anyone can give an idea. then I can continue in implement it. thanks
  8. R

    Help! SPI microcontroller interfacing (TWO 16f877a)

    Hi Ram Prasadh thank you, I' ll try and post my results, but I have exams in these two weeks. As soon as possible I will change my configuration, my burner software is picpgm. thank you
  9. R

    PIC16F628A and flashing led with input

    Hi sometimes it may be usefull PIC external interrupts to your input, you can turn on portB pullups and make it work. I completed a high speed encoder reading using PIC 18f452 B0, B1, B2 interrupts. If you want I can post it.
  10. R

    RS232 Transmission Sync

    hey check your circuit connections.
  11. R

    Read data from serial port

    you can joint them exactly from above post. shifting MSB's from several bits can be done by multipling 2^n . where n=no of shifting bits.
  12. R

    Help! SPI microcontroller interfacing (TWO 16f877a)

    Hi friends! I found a problem in one of my 20Mhz crystal oscillator, I think fixing that will be fixed my problem. thanks.
  13. R

    Help! SPI microcontroller interfacing (TWO 16f877a)

    latest code, but still problem remains, do you have any working example code or link. // code for spi slave void main() { unsigned int buffer, gdata =0; int c=7; trisb.f7=0; trisb.f6=0; trisa.f5=1; trisc.f4=1; trisc.f5=0; trisc.f3=1; Spi_Init_Advanced(SLAVE_SS_DIS, DATA_SAMPLE_MIDDLE...
  14. R

    Help! SPI microcontroller interfacing (TWO 16f877a)

    Thank you btbass! But still problem remains. Now I'm going to do this without inbuilt functions. and try to do this manually. I'll come with my results soon. And I want to know how can I add Helpful icon. Thank you again. ---------- Post added at 20:38 ---------- Previous post was at 18:41...
  15. R

    Help! SPI microcontroller interfacing (TWO 16f877a)

    I used MikroC compiler. Default Spi_init() initiate followings. Default settings are: Master mode, clock Fosc/4, clock idle state low, data transmitted on low to high edge, and input data sampled at the middle of interval. Advanced settings allows below types only MASTER_OSC_DIV4 // Master...

Part and Inventory Search

Back
Top