Search the Community

Showing results for tags 'chipkit wifire'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments and the WaveForms software
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 5 results

  1. Hi there, I am using the chipKIT Wi-FIRE with the basic I/O shield and MPLABX IDE. I want to read out the temperature sensor of the I/O shield via I2C and write the value to the OLED display. I do see a value on the OLED-display that reacts on the sensors environment (i.e. it increases when I put my finger on the sensor), however it is clearly wrong as I get 360°C for room temperature (before anyone asks: I know I have to multiply the sensor value with 2^-4 to get a the correct numerical value). To initialize the bus and read out the sensor value I followed an example found on https://sites.google.com/site/johnkneenconnectedlab/i2c, but it goes much beyond what I actually want to accomplish and modifying that code just leads to the result mentioned above. So here is my question: is there some starter code to simply read out the temperature sensor in this setup?
  2. I am developing a wireless data logger using Analog Shield and chipKIT WiFire, and am struggling with unstable "analog.read" function behavior. My code steps are as follows: 1) acquire analog voltage with Analog Shield, 2) save data into SD and 3) send the data with UDP over WiFi. It works sometimes, but most of the time, it stops at an analog.read function. I cannot understand this inconsistent behavior. Below is the sample code which reproduces the same issue. ----- code starts from here ----- #include <MRF24G.h> // sketch works if this line is commented out #include <DEIPcK.h> // sketch works if this line is commented out #include <DEWFcK.h> // sketch works if this line is commented out #include <analogShield.h> #include <SPI.h> // include SPI.h after analogShield.h inclusion. otherwise fails void setup() { Serial.begin( 9600 ); } void loop() { unsigned int count = analog.read( 0, false ); Serial.println( count ); delay( 50 ); } ----- code ends ----- First, I doubt power shortage, so I have tried two different power supply configuration: via UART(J1), and an external 9V supply via DC plug(J15) with J16 jumper setting set to EXT, but no luck. Is there any possibility of library conflicts? FYI, I use modified version of "analogShield.h" library downloaded from https://forum.digilentinc.com/topic/2211-analog-shield-and-chipkit-wifire-compatibility/ Any input would be greatly appreciated.
  3. I've been using the Analog Shield with the uC32 board, but I was just reading the specifications on the Chipkit Wifire and would like to try using that board instead because of the much larger static RAM (512kB vs 32kB for the uC32). I read the reference manual for the Chipkit Wifire, and it appears to me that the Analog Shield should work from the hardware point of view. I tried compiling some code using the Analog Shield for the Wifire with Arduino software and chipkit-core, but the Analog Shield library gives an error "Incorrect processor type" because the board doesn't have a PIC32MX processor. If I modify the analogShield.h header file to add "#if defined (__PIC32MZ__)" and put in the same includes as for the PIC32MX, is that likely to work? Or will there be other problems? Will the faster clock speed of the Wifire cause a problem with the Analog Shield? I'm also interested in the DSP functions of the PIC32MZ. I found a library for MPLAB Harmony. Is it possible to port it or modify it to work with MPIDE or Arduino with Chipkit-core?
  4. Question from a customer: Can we use this same Network shield for the ChipKit Wi-Fire? Answer: Unfortunately, the network shield is not compatible to the chipKIT WiFire.
  5. Hi, I went through the MPLAB X IDE tutorial. I then changed the product properties to suit my device (PIC32MZ2048ECG100) and debugger (Chipkit PGM). I also changed the port to PortB where user-LED 3 is connected (RB11). When I debug using Simulator, the variables change as they should. However when I program the device, LED3 does not light up as it should. So I also added ANSELB =0 statement to make it a digital port. But still nothing happens. I have exhausted all possible causes I could think of. I would appreciate any ideas. Below is the code, Thanks. #include <xc.h> #pragma config FWDTEN = OFF, JTAGEN = OFF void delay(void); unsigned int ctr = 0; unsigned int delayVal = 2048; int main(void) { LATB= 0; //LED 3 is connected to RB11 TRISB = 0x0000; //set the lower sixteen bits of a port as output ports by //setting the lower eight bits to zero ANSELB=0; //set port B as digital while(1) //infinite loop { LATB = 0b0000000000000000; // assigns 0 to the lower 11th bit of LATB register delay(); LATB = 0b0000100000000000; // assigns to the lower 11th bit of LATB register delay(); ctr++; } } void delay(void) //controls the amount of time that the values appear { unsigned int i,j; for (i = 0; i < delayVal; i++) { for (j = 0; j < 20; j++); } } /********************************************************************** * © 2013 Microchip Technology Inc. * SOFTWARE LICENSE AGREEMENT: * Microchip Technology Inc. (Microchip) licenses this software to you * solely for use with Microchip dsPIC digital signal controller * products. The software is owned by Microchip and is protected under * applicable copyright laws. All rights reserved. * * SOFTWARE IS PROVIDED AS IS. MICROCHIP EXPRESSLY DISCLAIMS ANY * WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL MICROCHIP * BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL * DAMAGES, LOST PROFITS OR LOST DATA, HARM TO YOUR EQUIPMENT, COST OF * PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY OR SERVICES, ANY CLAIMS * BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), * ANY CLAIMS FOR INDEMNITY OR CONTRIBUTION, OR OTHER SIMILAR COSTS. **********************************************************************/