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

4
votes
4answers
931 views

Checking when a car horn is pressed?

I want to detect when a car horn is pressed. The only way I can detect it currently is using the voltage on its line. When the car is turned on, there is always 12V being supplied to the horn through ...
0
votes
1answer
51 views

ASIC Power supply requirements

I am a newbie in ASIC design process and have a question. What is difference (or pros and cons) of shorting the voltage supply pins(which have the same voltage requirements) in package level or in ...
0
votes
4answers
91 views

Can this ATMega328-PU ATMEL microchip be used instead of MCP3008

I wanted to follow this tutorial as a first project. I've got all the parts I need, but I could not purchase the chip that was linked in the article. So I found another chip that sound similar (To a ...
0
votes
1answer
22 views

Current limit on data out pins of Microchip HV5623

I am working on a project that uses the Microchip HV5623K7-G Serial-to-Parallel converter. As part of the design process I need to determine what would happen if the board I am designing is plugged in ...
0
votes
0answers
35 views

Standalone Ultrasonic speaker with preprogrammed frequency

I've been toying around with some Piezo speakers for my Arduino. Now I've been wondering if there is a way to remove the Arduino from the equation. It only serves as a power supply for the speaker. ...
0
votes
1answer
46 views

Help with On/Off Flip Flop Switch

I'm still fairly new to electronics and have been teaching myself as a hobby. Currently I'm working on a project that detects a red laser beam, and once detected will turn AC lights OFF if they're ...
0
votes
3answers
73 views

RAM and stack memory

I'd like to know what is the difference between RAM ( data memory ) and the stack memory in PIC micro controllers if both of them is volatile( not sure about stack ) and the stack is temporary memory? ...
17
votes
8answers
3k views

Why do Microcontrollers need a Clock

Why do instructions need to be processed at set time intervals (i.e. with the use of a clock)? Can't they be executed sequentially - immediately after the previous instruction has completed? An ...
-1
votes
0answers
25 views

is pic18f46k80 supported by pickit3?

if have pic18f46k80 and i am trying to program it with pickit3 but the program keeps show me that the device is not found. it tried to select the device manually but I didn't find the pic in the list. ...
0
votes
0answers
37 views

MPLAB X CONFIG2 Error

While compiling my SPI Test code, I am getting a following error. ...
-1
votes
1answer
28 views

MPLAB X IDE : Cannot see console output using Pic24F?

How to see the console output using command "printf" ??? example : if i want to display "Hello World" on output screen. How to display it ?? I am using Pic24F on MPLAB X IDE v3.00 Thanks in advance ...
0
votes
0answers
71 views

PIC18F: Flash Write/Read working on Simulator but not on PIC18F46K80

I have been trying to read/write and erase flash memory of PIC18F46K80. I have followed the procedure specified in the datasheet. The below code works on the simulator of MPLABX at the address ...
0
votes
0answers
50 views

Help in understanding a question so that i can answer my assignment

A single conversion is to be applied to the analog signal connected to input of Channel 5 of A/D 0 of the MC9S12DB256B microcontroller. The conversion is to be triggered by software. Give the ...
0
votes
2answers
42 views

PIC24f Get Clock Signal for external Device?

I have an external memory device with pin configuration: Data Input Data Output Connection System CLock DC 24V Ground Here is the link I need to design a code to communicate with this device. I ...
0
votes
0answers
46 views

Write serial number into a PIC24 series.

I want to write a serial number into a PIC microcontroller using SQTP (Microchip's Integrated Programmer Environment). They mentioned some supported programming tools Supported Programming Tools ...
1
vote
1answer
162 views

How to write 4 bytes continuous data without any SCK delay through SPI with Pic18f45k20

In pic18f45k20, I have to write 4byte data at once without any setup SCK delay through SPI. Is there any way to cancel the SCK delay while sending 4 bytes together?(like Assembly)I am using MPLAB-XC8 ...
0
votes
3answers
60 views

Microchip PIC Development with OTP Devices (12C672)

I have to work on a system that uses 12C672 PICs from Microchip. These are one-time-programmable (OTP) devices. The board has been designed already without any in-circuit programming facility. How ...
1
vote
2answers
125 views

I2C Module Not Responding

I am writing a basic I2C slave as part of my code on a 20-pin 8-bit PIC16f MCU. As best as I can tell, this microcontroller has a module that watches the I2C bus and only updates my registers if there ...
2
votes
1answer
95 views

PIC Microchip Keeps Resetting

I have a PIC16LF1709 20-pin 8-bit microchip MCU. I am programming it using a PICkit 3. I am able to successfully burn a program to the chip and run it, but it always seems to reset part-way through ...
0
votes
3answers
188 views

64k x 8 RAM what exactly does it mean

I'm looking at this microcontroller because it has the protocols that I want and a really interesting price. My doubt is related with this field: RAM Size 64K x 8. What exactly does it mean? I know ...
2
votes
1answer
41 views

XC8 Interrupt function qualifier

Referring to the XC8 user manual, DS50002053E, section 2.5.10.3 the following is stated: For 8-bit compilers, change any occurrence of the interrupt qualifier e.g., from: ...
2
votes
1answer
52 views

Understanding PIC32 watchdog timer operation

I'm new to uC development and have been fooling around with the PIC series for about 6 months now. I recently started working with the PIC32 and Microchip's XC32 C++ compiler. I don't know if I have a ...
1
vote
2answers
95 views

convert Unsigned Int to array of chars (String)

EDIT: I am using this for programming a pic, so the C will be quite limited. The compiler is XC8. Following function expects me to pass a string: ...
1
vote
1answer
49 views

How to reset MCP2200 to default settings?

I designed a simple USB to UART coverter using Microchip's MCP2200 microcontroller. worked nicely for a while, but while i was trying to Update configuration using supplied config utility... the ...
2
votes
1answer
84 views

Is my lookup table with 50,000 entries too big for MCU memory (dsPIC33EP256MC506)?

I want to implement a 2-input 1-output fuzzy logic controller using lookup table on the dsPIC33EP256MC506 microcontroller. I am comparing the lookup table and actual fuzzy logic controller side by ...
1
vote
1answer
94 views

PIC 16F887 and the mysterious System Clock Select bit (SCS)

I'm using a PIC 16F887 and I'd like to use the internal oscillator HFINTOSC. To accomplish this, I set the IRCF 2:0 bits to 110 (4Mhz prescaler) and the FOSC 2:0 config bits to INTOSC. Now I should ...
0
votes
1answer
26 views

VDD Error with 18F24J10 after turning off XINST

I am using a PICKit2, pk2cmd, and SDCC to program a PIC18F24J10. In the course of troubleshooting some problems I was having with my code, I upgraded to SDCC 3.4.0. Compiling with the latest version ...
0
votes
0answers
26 views

EEPROM 24LC16B pickit2

I'm having difficulties getting my pickit2 (I have a pickit3 as well but it does the same) to work mplab v8.92 to program the 24lc16b. on the microchip documentation it says it should work but when I ...
-2
votes
1answer
65 views

pic debugging vs programming

I'm using a Microchip ICD 3 to connect to my PIC chip and read the memory. When I connect the ICD 3 as a "programmer" and then select "read" (from the "programmer" menu) and then "View-->"File ...
0
votes
1answer
91 views

2.2K Resistors on Microchip Data Input Lines [duplicate]

I've just been dabbling for the first time into circuit design with microchips and I noticed a lot of designs put 2.2K or 4.7K resistors on some input lines. I get that this is to limit the ...
0
votes
0answers
103 views

How to use printf(), scanf(), gets() etc with *both* USART's?

I'm using a PIC18F26K22. It has two USARTS. The compiler provides a printf() function, and the user provides the underlying getch() and putch() functions. However, using Microchip Code Configurator, ...
0
votes
1answer
54 views

can't get PORTB value in pic18f2550

I'm trying to send The PORTB to the serial port and receiving the data on pickit2 UART mode.. ...
2
votes
1answer
134 views

Inserting compile date/time into the code in XC8

I'm in the process of writing code for a real time clock, and I want to compile the code with constants for the date/time of compilation to burn onto the clock immediately upon programming. I believe ...
0
votes
1answer
38 views

How do implement my pic24 onto a pcb board?

I have a microstick development board for the pic24, shown here. The microstick contains many other components and parts other than the pic24 that are used for voltage regulating, debuggers, etc. In ...
0
votes
3answers
292 views

USB HID device not detected

I'm making a USB HID device using PIC18F2550 using 20 MHz crystal input and using the MikroC PRO C compiler for PIC. These are my configuration settings: ...
1
vote
1answer
74 views

PIC Serial Programmer

I am new to PIC. I have found the following circuit: But the problem is that I don't have a similat USB to Serial Converter. I use the Arduino as the converter, on which I can't find the "RTS", ...
0
votes
1answer
143 views

What's correct way to toggle a single bit and a whole register in microchip C programming?

I'm trying to write a code where when a push button is pressed, a whole PORT is toggled. So I got a push button at PORT E in pin 0, and 8 leds on PORTD, I also got a debugging led on PORT E pin 1. ...
1
vote
0answers
78 views

PIC32 Input Capture Module

I'm trying to use the input capture module on a PIC32MX250F128B to measure the frequency of a square wave. The results I'm getting are both inconsistent and incorrect. All I'm trying to do here is ...
0
votes
1answer
131 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
38 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 ...
0
votes
0answers
147 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
1answer
75 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
101 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
227 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
82 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
63 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
213 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
174 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
124 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
435 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 ...