Microchip Technology is an IC manufacturer, best known for its extensive range of PIC microcontrollers, but also memory and analog function ICs. The term "microchip" is a legacy term for integrated circuits, not just ones designed by Microchip Technologies. The company came into existence and took ...

learn more… | top users | synonyms

0
votes
1answer
29 views

Unable to use ICD3 with CCS C Compiler

I have recently bought ICD3 since I think that being able to debug a microcontroller program requires that we be able to see what is happening inside it. I really want to learn this stuff :) I have a ...
0
votes
0answers
32 views

Why isn't my circuit able to connect to the PICKit 3?

I am trying to interface with a Microchip PIC32MX695F512_H through a PICKit 3. Although all seemed well at first, I quickly found out that it would not connect. I am using the 3.3 volt setting on an ...
-1
votes
0answers
56 views

Using Pic18F timer for external pulse count assembly code

I am new to using a Pic18f2550 micro-controller. I have been searching for examples on how to setup and use the 16 bit timer Tmr1 and Tmr2 to count the number of pulses from an external motor opto. ...
0
votes
0answers
57 views

Can anyone recommend me a Microcontroller for this purpose? [closed]

I recently began looking into the world of Micro-controllers, ARM things, "Maker" things, but, that world is so diverse, I cannot even begin to choose from all the Micro-controller galore I've seen, ...
0
votes
1answer
45 views

Using PSMC instead of CCP

Hi I am building a motor controller and I decided to use PSMC instead of CCP to create my PWM, my decision was based on the fact that I dont have enough CCP ports on my pic 16f1788 for the project. I ...
1
vote
1answer
46 views

How can I make a 1K X 16 ROM chip with eight 256 X 8 ROM chips with an enable input and a decoder?

I came across this, which I'm guessing is correct, but I do not understand the shortcuts made here. What are the 8's with slashes through them? Do those represent 8 inputs and 8 outputs? And can ...
1
vote
0answers
75 views

Pic to Pic Communication with 434mhz wireless module?

I want to transmit Data From one Pic18f2550 to Another using a cheap 434mhz wireless module. but its not working at all. Following are the circuits for Tx and Rx respectively. the code for Tx ...
-2
votes
3answers
64 views

Getting started with Atmel AVR [closed]

i would love to start learning AVR programing for Atmel's chips. Currently i'm using only Arduinos with their standard API and im really happy with that, however i would like to learn more and go ...
-1
votes
2answers
46 views

PIC18f45J50 2nd Serial port?

I am working on a GPS tracker Project where i need to interface with a GPS module and a UMTS module for 3g connectivity. with this i need 2 serial ports on a single microcontroller. For this ...
4
votes
3answers
70 views

interrupt using Timer0 on PIC18f

Im looking for a little help and advice on my code. Im using C18 in the MPLab environment, PIC18f4520 with Fosc @ 4MHz, and usnig timer0 in 16 bit mode to count to overflow, set the overflow bit and ...
4
votes
1answer
164 views

Why are the resistors all different?

In my upcoming project, I am working with a Microcontroller called the Microchip PIC32MX695F512H and a Wifi Module called the Microchip MRF24WB0MA. Since I am new to electrical engineering, I've ...
2
votes
1answer
57 views

Using different putch() function in a library

I'm writing a C library for PIC18 microcontrollers that will communicate with the ESP8266 chip over the UART bus. I would like to use the printf() function to send ...
1
vote
1answer
137 views

PIC12F683 or PIC16F688 assembly or C blinking LED example with XC8 compiler, MPASM or gputils

Hello I am new to PIC programming and I finally have got my dev environment working, I downloaded the XC8 compiler from microchip and also as backup I downloaded the gputils assembler. I have not been ...
1
vote
1answer
67 views

PIC18F25K80 4 > 20 returns true. How is this possible?

I'm using such code on PIC18F25K80 compiled with xc8 compiler: ...
0
votes
5answers
108 views

Vias in footprint with no thermal relief?

I'm making a small board for a PIC18F26K22 microcontroller and the provided footprint in Microchip's Altium Vault is shown below: I'm assuming the polygon under the IC is a GND pad, but am not 100% ...
4
votes
1answer
249 views

What are the advantages of single-supply (low voltage) programming over high voltage programming?

I'm a student designing a simple board for a PIC18 microcontroller and am trying to determine how the ICSP circuit should be designed. The datasheet explains how there are two different programming ...
0
votes
1answer
81 views

need help making a c program that reads flow meter

For the past week, i've just started my first ever project to make a C program for a PIC16F877A under MikroC, where I would get pulses in from the flow meter and calculate the flow rate, then output ...
1
vote
3answers
59 views

Can I share source code/software from Microchip through my website?

I've done some projects including bootloader for PIC microcontrollers. But all these are done by modifying official microchip codes. Also want to share official drivers and softwares. I want to share ...
1
vote
2answers
144 views

Beginner: What is a microchip really?

I've looked around on the web a bit but it's the same jumbled up garbage. I'm convinced most of the articles are by people who've only heard what a microchip is but who don't actually know. My ...
2
votes
1answer
171 views

Can an RMII phy be connected directly to another RMII phy

I have some Microchip (SMSC) LAN9303 Ethernet switches in my system. The LAN9303 is a 3-port switch which has 2 connections for twisted pair cables and one MII connection. The switch chips are some ...
0
votes
1answer
68 views

What other problems can be caused when using the JMP instruction to navigate through subroutines instead of using the instruction CALL/RETURN?

I've been creating a report on why the JUMP instruction shouldn't be used in the piece of code above and instead CALL/RETURN instructions should be used to navigate through the subroutines. I ...
-4
votes
1answer
101 views

Is it technically feasible to design a microchip that won't fail foreign characters? [closed]

I used to work as web developer and did the same part of the project for several decades: Making sure that our Scandinavian characters åäöÅÄÖ... will work. It was feasible and it did work, basically ...
0
votes
2answers
84 views

Using TMR0 to time an event

i'm trying to use TMR0 on a PIC18F2420 to time the opening of a device and display the percentage it is opened. the issue i'm having is that it has frozen up pretty much all other operations. i'm not ...
1
vote
2answers
99 views

Specific ADC input not working on Microchip PIC PIC24FJ128GA202, other inputs work fine

I am trying to get an analog input working on my microcontroller. I am using the PIC PIC24FJ128GA204. The problem is that a specific input is not working, while other do work. I want pin 26, ...
1
vote
2answers
134 views

Using 10 bit ADC for only 8 bits on a PIC MCU

I have a PIC16f1824, which has a 10bit built-in ADC, but I only want 8 bit precision. I don't just want an 8 bit value, but actual 8 bit conversion i.e. higher samples per second at the cost of bits. ...
2
votes
2answers
283 views

MPLAB X IDE problem with PIC Programmer

I have a programmer and it works fine with PICKit2v2. As you see in the below images, I read my PIC16F877A memory and write to it successfully : But the problem appears when I want to use my ...
1
vote
2answers
193 views

XC8 - constant ROM allocation for PIC12F1501

I have troubles with const memory allocation with XC8. I try to do this: const unsigned char patterns[12] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; ...
1
vote
2answers
232 views

What are the UART voltage levels for the RN4020?

I've recently bought an RN4020 BLE module, but I'm having figuring out how to make it work. In the datasheet some pins are listed as 1.65V input, 1.35V out, while ...
0
votes
0answers
40 views

Can I link Ethernet chips on PCB? [duplicate]

I read up on the Raspberry Pi Compute unit and wanted to link a hand full for networking. Unfortunately, they do not come with native Ethernet, but USB. So I was thinking of linking each compute ...
1
vote
3answers
589 views

Send integer values through serial communication in PIC to PIC?

I need to pass integer values from one PIC to another through serial port for char I can use the following code ...
-3
votes
1answer
372 views

Calculate the UART Baud Rate register for PIC devices

How do I calculate the UART configuration register values for a PIC 24F device, based on a desired Baud rate? Currently the UART module has 2 values that affect the Baud rate, BRG (16-bit register) ...
1
vote
0answers
82 views

Microchip 9808 temperature sensor - Incorrect calculation result

I am using a Microchip MCP9808 I2C temperature sensor (https://learn.adafruit.com/adafruit-mcp9808-precision-i2c-temperature-sensor-guide/overview). I'm having problems being able to calculate the ...
1
vote
1answer
108 views

PIC24 PLL module is always out of lock

I have been working on a PIC24FJ128GA310 development board for for some time now and recently got a PCB made. If I try to move my code into the new board all timing related math and functions are ...
1
vote
1answer
114 views

PIC18 weird variable assignment bug

I'm debugging a code for the Microchip PIC18F4520 using the PROTEUS ISIS. The code was compiled with the C18 compiler. There is a very crazy bug in the code that I don't know whether it is my fault or ...
0
votes
2answers
223 views

Control multiple servos using pic18f microcontroller?

I want multiple servos to be controlled through pic18f4550 microcontroller. I know for a single servo I can use the following code. ...
0
votes
2answers
63 views

Changing control values for PIC remotely?

I'm using a PIC to take information from a sensor and transmit it via xbee to control a relay, as well as through a gateway to an online program. Forgive the noobie question here (I've searched and ...
1
vote
2answers
92 views

Is it wrong to write HIGH to a pin used as an open collector?

I'm a software engineer playing with PICs and have an old PS/2 mouse that I am using (successfully), which has CLK and DATA connections as open collectors. So I have configured the internal pullups ...
1
vote
2answers
279 views

PIC32 Peripheral Pin Select for Digital Output

I'm using a PIC32MX250F128B for a project to drive several digital outputs; I need to control the digital output for about 13-14 pins. (using the code below). These pins work: RA0, RA1, RB0, RB1, ...
1
vote
0answers
89 views

Problem with Constant Off-time PWM/Variable Frequency on dsPIC30F2020

I'm using the Microchip dsPIC30F2020. I've been trying for the longest time to get some sort of PFM signal for my project. I see in Section 12.4.7 there is the ability to have constant off-time PWM ...
1
vote
0answers
150 views

Help with PFM with PID Control on dsPIC30F2020 (Pulse Frequency Modulation)

I'm using the dsPIC30F2020 trying to do a project that compares and contrasts PWM and PFM bucks converters. I have the PWM buck converter working perfectly. So for the PFM I used the exact same code ...
0
votes
2answers
186 views

PIC16F877A Timer0 delay problem?

To get min 5ms square wave. I chosen prescalar as 1:32 (The internal clock given 4Mhz), what will be the TMR0 register value? Is it 0x64 or 0x63 !!
0
votes
1answer
78 views

Proteus doesn't show the value of float variables and does not attribute values to them

I have an issue with Proteus Isis. The image below illustrates the problem. I can't see the values of a struct's fields and I think that Proteus can't see the struct too. Full Resolution Anyone ...
0
votes
3answers
126 views

Is it Electrically Correct to Direct Driving Seven Segment in Multiplexed Manner?

I want to design a voltmeter with minimum no of components so the pcb becomes as small as possible.For this purpose i wish to direct drive the seven segment display. Considering the fact Typically ...
0
votes
1answer
84 views

How to display character on multiplexed seven segment?

I am designing a system which I want to display a message on a seven segment display. I have the source code for displaying a number but how to display a character ?? ...
1
vote
1answer
161 views

Can this be reworked with a hot air gun?

I posted before about the Microchip RN4020 (Bluetooth Low Energy) PicTail failing. I have some spare RN4020 modules and access to a heat gun. If I can take this RN4020 off and put a new one on, how ...
3
votes
2answers
387 views

Why would uart connection only work after disconnecting power?

I am using a Microchip Bluetooth Pictail and a Sparkfun 3.3V USB-to-UART and a Arduino Uno (just for power-5V,gnd and 1 active high signal connected to 3.3V). When I power the PicTail it outputs ...
0
votes
3answers
136 views

Blinking LEDs in reverse order

The code below flashes some LEDs in order: pin 1, pin 2, pin 3, pin 4. After this sequence has completed I would like to reverse direction and show pin 4, pin 3, pin 2, pin 1. I wrote the code ...
1
vote
1answer
587 views

PIC32 does not get UART RX interrupts in xc32 Compiler

I'm trying to setup a UART channel on my PIC32 MCU (PIC32MX470F512). But the code does not reach the ISR at all. I have verified that the PPS (peripheral pin select) is configured properly and the ...
0
votes
1answer
75 views

PIC16F57 - problem implementing wake up signal on key stroke

I have designed a simple RC5 remote control using a PIC16F57 and the classic rows-columns scan over a 4x4 matrix keypad. The previous version of my firmware continuously scanned the keypad to find a ...
1
vote
2answers
264 views

How are microscopic transistors on microchips made?

How is something like a microchip which is already small as it is able to house even smaller transistors in the millions at such a micro-scale? It seems like such a feat for machine to be able to make ...