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 ...
1
vote
0answers
78 views
I2C protocol between PIC32mx and Arduino Uno
I am implementing a way to transfer data using I2C protocol between PIC32mx and Arduino Uno. I've decided to establish PIC as master and Arduino as slave. I passed by all the definitions and configs ...
-5
votes
1answer
60 views
raspberry pi, fastest way to blink with a lot of leds? [on hold]
I saw this technology:
kino-mo
In short words they placed leds onto a usual fan.
I tried to do the same thing but I can't just take a strip of leds with ws2812 and blink with them - they are too ...
0
votes
0answers
21 views
MCP391X Series External 24 Bit ADC Software Reset Problem(SPI reading behaves weird) [duplicate]
I have a strange problem and I couldn't find a solution for 1-2 months!!!
In my system I have MCP3919 and MCP3914 24 Bit external ADCs. PWM pin of MCU generates 4MHz clock for ADC main clock. And my ...
0
votes
1answer
48 views
Toggle switch as momentary with debounce
I have been trying to do the following:
When a toggle switch is flipped down, the pic I'm using (16F1503) sends a pulse and turns on a led, when it is flipped up sends the same pulse and turns off the ...
0
votes
1answer
106 views
UART only returns the same character
I am trying to create a program that contains UART using the PIC18f25j50 device. I have attached my creation so far which is a simple program that outputs a single character repeatedly to the console ...
4
votes
1answer
207 views
UART Interrupt does not get more than one Char - PIC32MX110F106B
I am really struggling with an UART communication with my PIC32MX110F016. It is the first time I am trying to implement an UART communication with PIC32MX family but I find it difficult and I don't ...
0
votes
0answers
51 views
AR1020 correct I2C communication protocol
i have a problem in the right sequence of I2C communication protocol to communicate with the attached device
AR1020 Microchip touch controller
so does any one have the idea of the correct sequence ...
1
vote
2answers
66 views
Design Questions for a Nixie Tube Clock
I'm making a Nixie Tube Clock as a project for a class. The whole point of the project is to essentially to do it from scratch. I'll be designing a PCB for the project and I want to put the ...
-3
votes
1answer
122 views
Software i2C communication protocol “MikroC for Pic” halting problem
I work with Pic16f688 , and i do a soft i2C
MikroC for pic compiler does not supply its libraries functions code
this is the whole code i use for MCU
...
0
votes
1answer
61 views
pic18F4550 code protection
I use PIC18F4550 in my board and it is "read protected". But I want to have more security by changing the part number of the micro to another part number. This way if someone cracks the code, the code ...
0
votes
1answer
96 views
PIC C program flow problem XC8
Problem:
My C code is not running to the end.
To test my EEPROM read and write, I decided to write a simple array and read it back to different array using a PIC. However the problem is not the ...
1
vote
1answer
43 views
Resolving interrupt-on-change mismatch conditions in a PIC16F877
I am using pic16f887 to quickly simulate encoder to later use it in a bigger project. reading signals from A and B encoder using interrupt on change for portb and the program was :
...
-1
votes
2answers
50 views
Count external clock pulses for a predefined time interval (PIC16f877a)
I need to count external clock pulses for a predefined time using PIC16f877a. I don't know what to use, whether counter or timer or both. I don't know to use timer and counter modules of PIC16f877a.
...
-3
votes
1answer
66 views
What is the DIP IC abbreviation? [closed]
If I am being correct, DIP means that some microcircuitry is embedded into uniform plastic or ceramic casing, which makes it more robust to physical damage and allows to connect to the breadboard or ...
-2
votes
2answers
43 views
Led matrix display atmega32
I need help with an LED matrix I am building for my son, running from an atmega 32 and a BC818 transistor. I have the schematic from
http://dhassel.de/projects/cool/led-matrix-display/
In the ...
0
votes
0answers
64 views
RN 4020 bluetooth module not working as expected
I am trying to communicate with a Bluetooth module using PIC32MX110F016.
I have made the schematic and produced the PCB which was straight forward.
There's a logic to put the module working but I ...
3
votes
3answers
164 views
Industrializing a PIC micro-controller
I want to replace some timers with a PIC16F887 micro-controller. The problem is that the input voltages to the I/Os is going to be 24V which is too much. For the output part I was thinking about using ...
0
votes
1answer
74 views
How to calculate the Timer Preload Properly on PIC32MX575F
I am trying to achieve 1 second on a timer in PIC32MX575F but somehow I am not reaching what I want.
Some people says I have to look into the the PLLDIV, some other people says I should look into the ...
0
votes
1answer
146 views
PIC32mx UART to Bluetooth RN4020
I am trying to establish an UART comunication between PIC32MX110F016 and a RN4020 Bluetooth Module.
I am new on PIC32mx but I think I am doing enough code/configuration for them to comunication but ...
-1
votes
1answer
78 views
Interrupt INT0 on PIC32MX110F016 not working
I am trying to put the INT0 working in a PIC32MX110F016 but it seems it never goes there.
The INTO pin is Electrically powered with a pull-up resistor and when I press a tactile button it goes from ...
1
vote
1answer
67 views
Programming Pins (PGC/PGD) problem on PIC32mx
I made a design using PIC32mx and everything is working well. I was trying to debug my first program and for this case instead choosing PGEC1 and PGED1 I am using PGED2 and PGEC2. Problably that's the ...
0
votes
1answer
60 views
PIC32mx110F016B Programming issue
I am trying to program a PIC32mx110F016B with a PICkit 3 with the "Power target circuit from Pickit3" enabled at 3.25V.
When I am trying to program this small code
...
0
votes
1answer
82 views
PIC32mx Timer5 not working
I am struggling to put my Timer5 working properly. I think I have enabled all the registers but the interrupt never occurs. I already put a break point inside in the FingerprintRun() in the asm("nop") ...
0
votes
2answers
112 views
Which MPLAB-X version supports Pickit 2?
I got myself a Microchip Pickit-2 Programmer from a local store. I installed MPLAB release v2.26 from Microchip's website.
However, in this version of MPLAB, it is not detecting my Pickit-2. ...
0
votes
1answer
174 views
Bit Banging UART PIC32mx
I am trying to bit banging an UART Port using PIC32MX with timer5 (the only available at this time) but I am struggling how to configure the timer for a Baud Rate of 115200bps. I don't want a flow ...
0
votes
1answer
80 views
Fingerprint Reader on Pic32mx
I am struggling in trying to put a UART Port working (no flow control and no parity bit) in a PIC32MX in order to comunicate with a Fingerprint for too long, so I decided to get back to you guys. I ...
0
votes
1answer
83 views
pic16f877a problems
I'm pretty new to the pic.
I've made a really long circuit on proteus, ran my program, things worked out great.
I then moved on to the breadboard, nothing really worked.
I made another prpgram that ...
4
votes
2answers
134 views
Force xc32-ld to place all application code in kseg0_boot_mem
I have written a PIC32MX bootloader application. I would like to tell the linker to put it completely in the boot memory, so that all program space is kept for the final application.
Currently, the ...
0
votes
0answers
27 views
Why just enabling SUPPORT_LFN macro for large file name in microchip MDD file system (FISO.H/FISO.C), HTTP web page stop loading
I am using Microchip MDD file system for data logging with SD card. The same MDD file system code for my HTTP web page. It was working properly.
Now I have to support file with filename having size ...
4
votes
1answer
93 views
How do I set up both CAN modules on the PIC DSPIC33EP128GM604?
So I am in the midst of my first proper PIC project, and it has been interesting to say the least. The problem I'm having is setting up the CAN modules. The PIC I'm using has two ECAN modules. Using ...
1
vote
0answers
39 views
Issues in schematic of Microchip LAN8720 & waveshare LAN8720?
For a project I need to integrate Ethernet with PIC32MX795F512L. For this I had two choices. I thought of purchasing this Waveshare LAN8720 module and directly ...
1
vote
2answers
151 views
PIC32 acting as USB CDC HOST to FTDI
I'm hacking a design who is already made with a PIC32MX in order to attach a FTDI CHIP to the actual design. This FTDI it should serve a purpose to make a "bridge" between USB and UART in the way to ...
0
votes
1answer
82 views
USB protocol PIC32mx
I am adapting a design using a PIC32MX (which is actually working) to put an extra add-on. The add-on is a fingerprint reader which communicates via UART. Regarding that I have the USB pins exposed in ...
6
votes
3answers
269 views
PIC24F08KL201 - PUMPEN Or Not PUMPEN?
That is the question.
Neither the datasheet nor the family reference manual provide any information on this, other than:
Register AD1CON3
PUMPEN: Charge Pump Enable bit
1 = Charge pump for switches ...
1
vote
1answer
71 views
How do I set the Oscillator module in a DSPIC33E?
So ive got a DSPIC33EP128GM604 PIC, and Im trying to set the internal fast RC oscillator as the clock source. Ive read the datasheet and the application note both of which tell me to use the macro:
...
5
votes
4answers
333 views
What does NC mean in this pinout diagram for an ESP8266?
The ESP8266 Datasheet has a Pin 5 labelled as VDD_RTC and it describes its function as "NC (1.1V)".
I usually understand NC to mean no connection on most ICs, or on relays as normally closed. Neither ...
0
votes
1answer
81 views
i2c communication with pic 18f452
I am new to pic coding. I am trying to turn motor according to change of accelerometer in x direction. I am using Pic18f452 and adxl345. But I couldnt figure it out how to communicate with adxl345 ...
0
votes
2answers
592 views
Simulating TFT LCD (ILI9341) With Proteus V8.3
I am using Mikrobasic for AVR, and Proteus V8.3 ,So i have wired my circuits as you see in this picture:
I modified it in Proteus with one IC Atmega128 as you see in this picture:
and i used this ...
-3
votes
1answer
133 views
How to read data from micro chip [closed]
I have a circuit that works in a machine. It has a microchip that has a number on it. 30281F6. I have to know How program inside the chip actually works, which steps it follow and what is the ...
2
votes
2answers
129 views
PIC's MSSP SPI = oddity, but bit-banging works?
I'm trying to get a PIC16LF1825 master to communicate with an ADXL362 slave over SPI at 1.8v.
First I tried the MSSP (PIC's serial port) configured for hardware SPI @4MHz FOSC, 1MHz SPI rate ...
4
votes
2answers
332 views
Bluetooth module throughput / UART baud rate? How fast is it?
I'm choosing a Bluetooth module for my project.
Reading datasheets like this:
BM78 Module
I can see sentences like:
...
0
votes
0answers
65 views
Interfacing SHT21 digital temp sensor with PIC24FJ48GA002
I am trying to interface SHT21 with PIC24FJ48GA002 controller. I have written a code for the same and it is working in proteus. But it doesnt seem to work on the actual hardware.
I have double ...
0
votes
1answer
45 views
mifare ultralight c
i am tired of searching information about this and finding nothing about it, so i am here looking for some professional help. I wanna know if a RFID mifare ultralight c chip can be connected to the ...
0
votes
1answer
77 views
Microchip PIC24 DAC output too low
I'm using explorer 16 evaluation with PIC24FJ256GB410 Module.
And I am trying to work with the internal DAC. My code :
...
6
votes
1answer
121 views
Interfacing an inductive proximity sensor with the Pin RA0 of PIC16F690
I have 3 inductive proximity sensors with NPN-NO open collector:
The sensors are interfaced with PIC16F690 using pin RA0, RA1, and RA2, here is the circuit for Pin RA0, it is the same for Pin RA1 ...
2
votes
2answers
101 views
turning off all 4 LEDs leaves one on
PORTCbits.RC13 = 1;
PORTDbits.RD0 = 1;
PORTDbits.RD11 = 1;
PORTDbits.RD9 = 1;
The lines above will turn off an LED. One at a ...
1
vote
1answer
83 views
Voltage Regulator vs Voltage Divider
I was trying to run my ESP8266(iot device) by watching and learning from this video.
https://www.youtube.com/watch?v=9QZkCQSHnko (only 5 mins long)
Now in the video it is mentioned that the ESP chip ...
-1
votes
1answer
64 views
How to get started with Microchip's PIC12 family programming? [closed]
I would like to start programming PIC12F683 but I have no clue how to handle I/O. Where can I find specific syntax for specific controller?
I have tried to register on their forum, but I have't ...
1
vote
1answer
88 views
PIC16F877A : How to keep controller awake?
I am using Pic16f877a for a Serial Communication. I have a PC-based application which sends data to Microcontroller. Microcontroller receives the data and transmit it over I2C.
But, I am facing an ...
0
votes
1answer
107 views
cannot receive the right data of NONIN OEM III using PIC32
I am looking for a solution for my project. I am using PIC32MX270F256B from Microchip,nonin oem III module and UART. I have connected the serial out pin from nonin (pin number 12), to U2RX pin of PIC ...