element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Microchip
  • Products
  • Manufacturers
  • Microchip
  • More
  • Cancel
Microchip
Forum Have a question? Ask our Microchip nanoWatt XLP expert!
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Microchip to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 19 replies
  • Subscribers 24 subscribers
  • Views 2220 views
  • Users 0 members are here
  • rishi_vasuki
  • low_power
  • security
  • microchip
  • xlp_mcus
  • smart_sensor
  • power_supplies
  • audio_expert
  • embedded
  • portable_music_player
  • extreme_low_power
  • motor_control
  • suny
Related

Have a question? Ask our Microchip nanoWatt XLP expert!

nlarson
nlarson over 15 years ago

This thread has been closed to new questions.

However, we welcome you to Post Your Question about Test & Measurement in the element14 Community Test & Measurement group. You'll find many fellow members and experts who have just the answer you're looking to find! 

 

Thank You, Your Friends at element14 Community

 

RishiVasuki2.jpg

 

Rishi Vasuki

Rishi has been with Microchip Technology since 2001.  He has experience in developing portable music players and designing a wide variety of embedded applications (audio, security, motor control, power supplies and smart sensor).  His current focus includes PIC(R) XLP MCUs for eXtreme Low Power applications as well as Microchip's mTouch solutions using 8-bit PIC18 & 16-bit PIC24 MCUs.

  • Sign in to reply
  • Cancel
  • Jorge_Garcia
    Jorge_Garcia over 15 years ago

    Hi Rishi,

     

    I wanted to know if you had any experience using MPLAB and the Pickit family of low cost programmers under Linux? Does Microchip have any plans to port MPLAB to Linux and Mac?

     

    I was considering going from Windows to Linux permanently and I just wanted to make sure I could still run MPLAB to program my Dspics. I'm currently running the latest version of Ubuntu 10.04 Lucid Lynx.

     

    Thanks for your time.

     

    Regards,

    Jorge Garcia

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 15 years ago

    Hi Rishi....

     

    I have a fishing boat that I can steer electronically:  if A is logic high, the boat turns slowly to port; if B is high, it turns to starboard; if both are the same (high or low) the pilot motor stops.  But I want to rig it as fully hands-off.  I am looking at an angular rate sensor gyroscope.  Isn't there some way that I can use it to provide the logic to hold the boat on a steady heading?  I have all the servo parts working fine.  Many thanks for your help, or, if I have attacked the wrong expert, can you shift this problem to another one....

    Bruce

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago

    Dear Rishi,

    Im final year student and doing a project for button detection.

    I want to program PIC18F452 using mlab version 8.3.3 and CSS C- compiler.

    Actually Im beginner.

    What should I do?

    Could you teach me and give me a basic example to make sure that I already used the right software and compiler.Im really blurr about that.

    Thank you for your help.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago

    Hi Saara....

    I have Sure Electronics dual-axis magnetic sensor module with UART and I²C interface.  Can you recommend a µcontroller or processor to use with it to develop a magnetic compass project?

    Many thanks...

    Bruce Matthews

    831 484-9006

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • MicrochipRTCfr
    MicrochipRTCfr over 14 years ago in reply to Former Member

    Hi Saara,

     

    PIC18F452 is an old PIC. you should better use PIC18F4520-E/PPIC18F4520-E/P which is pin to pin compatible and more recent.

    Regarding MPLAB, I recommend that you install the latest version v8.63 as your version is quite old...

    Regarding the compiler unless you alrady have CCS compiler you could use C18 compiler LITE version which is free.

    There are much more examples with C18 on internet ;=)

     

    regards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • MicrochipRTCfr
    MicrochipRTCfr over 14 years ago in reply to Former Member

    Hi Bruce,

     

    you can check this application note : AN996 with PIC18F2520.

     

    regards

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago

    Hi Rishi,

         I am a student of the national program, Project Lead the Way. I am in the Engineering Design and Development section of the four years I have been in PLTW. We are trying to design and build an invention. We have encountered a roadblock that we hope you will be able to help us with. We have someone developing our program, but none of us have any knowledge of PCB assembly and what to use for our invention, can you please help us? Contact me at pltw.ldumont@actcstudents.org

    if you can.

     

    Best Regards,

    Logan DuMont

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago

    Hi,

     

    I am trying to transmit and recieve block of few bytes through USART. I am using PIC18F452 and PIC18F252 at two kits. I am programming in assembly language. Tranmission is @1200 baud and Procesoor clock @4Mhz.

     

    My problem is,

     

    I cant recieve byte unless insert a delay at transmitter. But it slows the communication. What could be the solution ?

     

    concerned code is copied here. How to speedup the communication eliminating <<Delay1>> between consecutive bytes.

     

     

    TRANS  
       bsf RCSTA,SPEN    ;Enable serial port
       bsf RCSTA,CREN    ;cont recieve mode
       bsf RCSTA,RX9    ;9'th bit recieve enable
      
       movlw 0x33  
    ;for 1200 baud
       movwf SPBRG    
       bcf TXSTA,BRGH    ;Lo spped baud select
       bsf TXSTA,TXEN    ;Transmit enable TXEN-1
       bsf TXSTA,TX9    ;9'th bit transmit enable
      

       movff CMD_T,TXREG    ;byte to transmit
       return

    ;-----------------------------

    TRAX   

       

    TX_L

        bcf TXSTA,TX9D    ;CLR bit 9

        movff PWM_D,CMD_T

        call TRANS

       

        call Delay1

      

    TX_H

        bsf TXSTA,TX9D    ;set bit 9

        movff PWM_V,CMD_T

        call TRANS

     

        return

     


    ...

    Delay1

       

        movlw    H'FF'

        movwf   Dx

    L2   

        movwf     Dy

        clrwdt

    L1    decfsz    Dy

        goto    L1

        decfsz  Dx

        goto    L2

        return

     

    ;;;; recieve iterrupt service routine is .....

     

    ISR_RX

     

        btfss RCSTA,RX9D

        goto LB

        goto HB

       

    HB     movff RCREG,FDBK_H

        goto OVER_RCV

       

    LB    movff RCREG,FDBK_L

       

    OVER_RCV       

       

        retfie

       

    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 12 years ago in reply to Former Member

    Hiya , this sort of question is best answered by our team of engineers at :

     

     

     

    www.microchip.com/support

     

     

     

    Best Regards , Mike

     

     

     

    Mike McGlade  -  Senior Regional Channel Manager - Catalogue

     

    mobile tel: 07713 175760

     

    Skype: mikemcglade

     

      http://www.microchip.com/infodepot

     

     

     

    This thread has been closed to new questions.

    However, we welcome you to Post Your Question about Test & Measurement in the element14 Community Test & Measurement group. You'll find many fellow members and experts who have just the answer you're looking to find! 

     

    Thank You, Your Friends at element14 Community

    Attachments:
    image
    image
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
<
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube