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 Need technical help from Microchip? Ask our 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 112 replies
  • Subscribers 24 subscribers
  • Views 8741 views
  • Users 0 members are here
  • help
  • microchip
  • expert
  • mike_mcglade
  • questions
Related

Need technical help from Microchip? Ask our Expert!

nlarson
nlarson over 15 years ago

This thread has been closed to new questions.

However, we welcome you to Post Your Question about Embedded in the element14 Community Embedded 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

MikeMcGlade

Mike McGlade

Mike has 16 years of experience with Microchip products including MCU, Memory & Analog.  He also has significant knowledge of lighting, safety & security and vending industries.

 


  • Sign in to reply
  • Cancel
  • Former Member
    Former Member over 14 years ago in reply to MicrochipRTCfr

    Hi Mike

     

    Thank you very much, but I still have some doubts over what you have said image

     

    1. Since you said that I should not mess around with the SPIs, so how should i connect my ZG2100M to my PIC18F4550?

    2. If I am going to continue using ZG2100M instead of MRF24WB0MA, I need to use the TCP/IP stack v5.20? Can I use TCP/IP stack v5.20b? Is there a difference?

    3. If I am going to use the open source openpicus, I need to change the PIC18 to PIC24 and the ZG2100M to MRF24WB0MA even though i do not need to have any USB connection?

     

    Thank you once again for the very useful information you have gave imageimage

     

    regard

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

    Hi Calvin,

     

    1/ If you look at the schematic of the Flyport you'll see how SPI is connected :

    * SDI (slave) <--> SDO (master)

    * SDO (slave) <--> SDI (master)

    * SCLK (slave) <--> SCLK (master)

    and sometimes you also need to use the SS (slave select).

     

    2/ When I mentionned v5.20, v5.20a & v5.20b are in fact also OK

    If you don't need USB then use the Flyport with the PIC24FJ256GA106.

     

    It seems it is possible to order Flyport as a finished module with the firmware in it and a Brutus serial booloader ;=)

     

    regards

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

    im currently doing my final year project. My project is called  'intelligent windows ' when it rains, the windows will closed, and you  can control it remotely . Right now , all my circuit can works except  the RF . I have 2 RF-PCB board using PIC18F2620 . 1 is for transmit and 1  for receive. But i face some problems when doing RF program. When i  added 'i = CreateNewConnection(2);', the circuit would stop working.  And i am still not able to build connection between 2 RF-PCB board. Can you help me figure out where is the problem?

     

     

     

    [EDITED- type of RF module i using now ] http://ww1.microchip.com/...en/AppNotes/01204a.pdf

     

     

    Greatly appreciated for all your help!!

    Attachments:
    928.txt.zip
    remote.c.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago

    Hi there , you may like to check this out

     

    http://devupdates.microchip.com/mplab/

     

    Regards , Mike 

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

    Hi Mike,

     

    What is this, I followed the link and it took me to MPLAB X beta. How is this version different from the regular releases of MPLAB?

     

    Before trying it out I want to get some detailsimage

     

    Best Regards,

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

    Forget what I said,

     

    MPLAB for Linux and MAC, WWWOOOOTTTT!!!! This is AWESOME!!!!!!!!

     

    Can't wait to try it.

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

    Hello,  I hoping I can get a solution to my problem.

     

    I'm using a PIC24FJ256GB210 for a project , Developing on a Explorer 16 Board.

     

    The Code I'm Using is Bellow.

    (ConfigPins(); Just Handles The Mapping of the OC1-OC4 to the Pins)

     

    #define USE_AND_OR    

    #include <p24FJ256GB210.h> 

    #include <timer.h>

    #include <outcompare.h>

    #include "PinConfig.h"

     

    _CONFIG1( JTAGEN_OFF & GCP_OFF & GWRP_OFF & FWDTEN_OFF & ICS_PGx2) 

    _CONFIG2( FCKSM_CSDCMD & OSCIOFNC_OFF & POSCMOD_XT & FNOSC_PRI) 

     

    void __attribute__ ((interrupt,no_auto_psv)) _T3Interrupt( void) {LATA = PORTA ^ 0x0001;T3_Clear_Intr_Status_Bit;} 

     

    int main() 

    { 

    ConfigPins();

     

    OpenTimer3(T3_ON|T3_PS_1_8|T3_SOURCE_INT, 399);

    ConfigIntTimer3(T3_INT_ON|T3_INT_PRIOR_1);      

     

    OpenOC4(OC_TIMER3_SRC|OC_PWM_CENTRE_ALIGN,OC_SYNC_TRIG_IN_TMR3, 0, 0);

    OpenOC3(OC_TIMER3_SRC|OC_PWM_CENTRE_ALIGN,OC_SYNC_TRIG_IN_TMR3, 10, 0);

    OpenOC2(OC_TIMER3_SRC|OC_PWM_CENTRE_ALIGN,OC_SYNC_TRIG_IN_TMR3, 399, 0);

    OpenOC1(OC_TIMER3_SRC|OC_PWM_CENTRE_ALIGN,OC_SYNC_TRIG_IN_TMR3, 400, 0);

    while(1);

    }

    now when I run the above code (with required changes for a P24FJ128GA010) I get the Correct PWM Outputs of Low / 10 Cycles / 399 / High
    But on the P24FJ256GB210, Only OC1 Is Running.
    now If I change the OpenOCn Code to
    OpenOC4(OC_TIMER3_SRC|OC_PWM_CENTRE_ALIGN,OC_SYNC_TRIG_IN_TMR3, 0, 0);
    OpenOC3(OC_TIMER3_SRC|OC_PWM_CENTRE_ALIGN,OC_SYNC_TRIG_IN_OC4, 10, 0);
    OpenOC2(OC_TIMER3_SRC|OC_PWM_CENTRE_ALIGN,OC_SYNC_TRIG_IN_OC3, 399, 0);
    OpenOC1(OC_TIMER3_SRC|OC_PWM_CENTRE_ALIGN,OC_SYNC_TRIG_IN_OC2, 400, 0);
    [/qiote]
    I Get a PWM Output on all 4 Channels, with Problems
    Problems
    1) If I set the OC4RS value to 0 (OFF)  I get a Sig that is equivilent to the Timer3 Cycle (On / Off)
    2) If I set the OC4RS value to 400 (Fully On) OC4 Will Go High, But OC1-OC3 Go Low with No Signal Output.
    3) Any OCnRS Value that is set to 0(OFF) I still get a signal out in sync with Timer3.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • Former Member
    Former Member over 14 years ago

    Hi Mike

     

    In MPLAB, what does it mean by Digital In Pull Ups?

     

    Thanks

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

      Hi

              I am making project using micochip MRF24WB0MA & PIC18F , actually i want to send my sensors(anlaog) data to the my PC. Wifi chip sends data wirelessly but how to recognise & recieve that data from PC also they mensioned that tcp/ip running on PIC but can you tel me where my program to keep in that code there are lots of function where is place for my code(sensors data convesion). Please suggest solution. image

         Thanks in advance.

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

    Hi

              I am making project using micochip MRF24WB0MA & PIC18F , actually i want to send my sensors(anlaog) data to the my PC. Wifi chip sends data wirelessly but how to recognise & recieve that data from PC also they mensioned that tcp/ip running on PIC but can you tel me where my program to keep in that code there are lots of function where is place for my code(sensors data convesion). Please suggest solution. image

         Thanks in advance.

    • 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