Question about feeding back values
I am using MPLAB to program a pic for a project. I was wondering is there something in the MPLAB or something I can download that can feedback an actual value on screen i.e show the value of an analog...
View ArticleGPS NMEA antenna aiming tracker.
Hi, I am hoping to make a tracker that will aim antennas towards the signal, based on GPS, NMEA, AIS etc signals. There are some parts to this project that I am capable of doing ok, these are Antennas,...
View ArticleH- Bridge controlled at 10KHZ with PIC16F1937
Hello everybody,I would like to control my H-bridge circuit with all IGBT controlled by 10khz,I referred to Tahmid http://tahmidmc.blogspot.com/2012/10/generation-of-sine-wave-using-spwm-in_10.html...
View ArticleTFT_320_QVT_9341 with Arduino UNO
am using arduino uno for my FYP. i wanna connect uno with TFT_320Qvt_9341. but i dont know where to start only thing i found was how to connect his arduino mega or due. the pins starting with T_ are...
View ArticleAVR - Failed to enter programming mode.
First off, let me just say that I'm a beginner in microcontrollers. I haven't even used Arduino. So please keep that in mind when giving solutions. I'm using an ATMega16A in conjunction with Atmel...
View ArticleMicrochip MSSP Module: Does a Write Collision (WCOL) Set Interrupt Flag?
I am reviewing and editing some working I2C code from January, 2016. In my notes, I wrote that a write collision per se does not set an interrupt flag. That is, it can only be detected by testing the...
View Articleproblem with CCP3 of PIC18F46K22
Hello,I am asking myself why my codes here below are not working movlw 0x0C movwf CCP1CON ;CCP1 and CCP2 configured to PWM movwf CCP2CON movwf CCP3CON with MPLAB SIM,I found that the value 0X0C is not...
View ArticlePIC18F4550 pin Input/Output code
I am using PIC18F4550 with MPBALX IDE V2.26, Xc8 V1.32. Below are codes for making pin as output & input. Are these codes ok. I have tried on proteus & it is working. But after few seconds, it...
View ArticlePIC18F4550 configuration bit settings
I am using PIC18F4550 with MPBALX IDE V2.26, Xc8 V1.32. I have connected external 8Mhz crystal with 22pF load capacitors. Below are configuration setting. I want system freq to run at 48Mhz &...
View Articleproblems with watches on mplab
Hi, Im new to pic programming and started looking into debugging. I have ran the attached project in debug mode and set a watch on PORTA. I am stepping through the program line by line but the PORTA...
View ArticlePriority Interrupt settings PIC18F4550, running three timers
I am using PIC18F4550 with MPBALX IDE V2.26, Xc8 V1.32. I have to run three timers. I am using three timers. I have kept osc freq = 4Mhz, so that all timers have clock of 1Mhz. Timer0: Used for delay...
View ArticleFew queries PIC18F4550, MPLABX
I am using PIC18F4550 with MPBALX IDE V2.26, Xc8 V1.32. 1. Putting string in ROM/flash: I have lots of strings in my code. I want to put those in flash. When I use this "rom" keyword, error appears,...
View ArticleCombining two arduino sketches
Hi, I have 2 separate sketches which work fine on their own. I am struggling to get them working on one arduino. Sketch number 1: Deals with the input from a microwave doppler sensor Sketch number 2:...
View ArticleArduino IDE 1.6.8 Question(s)?
I decided to dip my toes in the water, so to speak, by buying a Nano clone when I saw the prices dip below $2 (USD) from a Chinese vendor. I still can't get over how remarkable that is. Anyway, I...
View ArticleProblem with Timer0 interrupt
Hi, I am trying to toggle an led using the rollover of timer0 but nothings happening. I have added the code I have used. Code (Text): #include <pic16f1939.h> #include <xc.h> #define...
View ArticlePIC16F1939 - problems with watches on mplab
Hi, Im new to pic programming and started looking into debugging. I have ran the attached project in debug mode and set a watch on PORTA. I am stepping through the program line by line but the PORTA...
View ArticlePIC16F1939 - Problem with Timer0 interrupt.
Hi, I am trying to toggle an led using the rollover of timer0 but nothings happening. I have added the code I have used. Code (Text): #include <pic16f1939.h> #include <xc.h> #define...
View ArticlePIC16F1939 - problem with adc and pot
Hi I'm trying to test the adc on a picf161939. I have followed the adc procedure but its not working. I am measuring an analog value from a pot and sending the adresh and adresl to port c and d with...
View ArticleQuadrature encoding screened lead
Hi, I'm using quadrature encoding on a project I'm working on. I think it is better to use screened lead for the signals, and have been testing using good quality stereo cable, which is quite stiff. I...
View Articleatmega32+ENC28J60 freezing problem
Hello friends... i am doing a project with atmega32 and Ethernet module ENC28J60 http://www.amazon.in/ENC28J60-Netwo...62252345&sr=8-3-fkmr0&keywords=ENC28J60+14/23 On starting it works fine...
View Article