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

-1
votes
3answers
32 views

Getting started with Atmel AVR [on hold]

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 ...
0
votes
2answers
36 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 ...
3
votes
2answers
34 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
152 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
34 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
55 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 ...
0
votes
1answer
30 views

How to stop Contactless Smart Card Chip's Connection? [closed]

I'm studying the chip of contactless smart card for alternative uses. I would like to know how to stop the connection/what materials can stop the electromagnetic signal what the chip and the receiver ...
0
votes
5answers
86 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
206 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
68 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
57 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
136 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
137 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
99 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
74 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
68 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
100 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
202 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
140 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
179 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
351 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
215 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
70 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
96 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
106 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
1answer
137 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
62 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
91 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
210 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
70 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
112 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
145 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
75 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
121 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
71 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
152 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
377 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
2answers
110 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
475 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
68 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
206 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 ...
-3
votes
1answer
93 views

How do microchips in computers process color, sound and video [closed]

One thing that I've always found hard to grasp is the idea of a CPU or computer chip, a series of thousands of transistors having the ability to produce what we see and hear on computers. How is ...
8
votes
3answers
1k views

How are crossing lines implemented on microchips?

I always imagined the photolithographic microchip manufacturing to be a 2D layer creation process without layering, thus creating a topological problem for circuitry when you have some \$K_{3,3}\$ or ...
0
votes
0answers
84 views

Reading of data from USB2LPT cable IEEE 1284 controller

From PIC controller, I want to read parallel port data using this USB2LPT converter cable. At every print from PC, I just receive 0x1B, and then printing stops. I am using ...
0
votes
0answers
88 views

pickit3 connected to pic18f4550

I am using pickit3 to program pic18f4550 I build the circuit but still there are some problems outcomes from the output window from both mplab ide v8.60 and mplab ipev2.20 the window outputs : 1- ...
3
votes
1answer
254 views

Android Microchip Accessory Development Starter kit PIC24F

I have the PIC24F Android Accessory Development Starter Kit from Microchip. I am running Android 4.4.2 on a Samsung Galaxy S4, however I am unable to get the phone to recognize the USB device when ...
2
votes
2answers
187 views

Microchip's XC8 Linker doesn't recognize some custom section names

Slightly related to this one: http://programmers.stackexchange.com/questions/254734/microchip-xc8-how-to-pack-code-against-an-upper-limit I can relocate code just fine, but I'm having some trouble ...
6
votes
5answers
744 views

EEPROM endurance in energy meter?

I am designing an energy meter for electricity billing purposes by converting an analogue energy meter and counting the number of pulses given by the analogue meter's LED. Since power may be cut off ...