Electronics Projects, Circuit Diagrams

Electronic Circuits Design of Electronics Projects

Circuite electronice, scheme si montaje

Recent Posts

Pages: [1] 2 3 ... 10
1
Microcontrollers and DSP / Can anyone help me with PIC16F723A Programming?
« Last post by yumi on March 29, 2017, 04:03:13 AM »
I am working with a PIC16F723A chip and I am trying to program it to toggle a pin (RA1) on and off. I am pretty sure I have the circuit setup correctly (below is what I have setup), but for some reason I get an error when trying to program it....

So, I am using MPLAB X IDE v1.70 on OS X version 10.8.2. The project configuration in MPLAB X is setup with the device of PIC16F723A, hardware tools of ICD 3, and compiler toolchain as XC8 (Location: /Applications/microchip/xc8/v1.12/bin). There is no supported plugin board. It is NOT setup to power the target circuit from the ICD 3.

The error I am getting is "Connection Failed.If the problem persists, please disconnect and reconnect the ICD 3 to the USB cable. If this does not fix the problem verify that the proper MPLAB X USB drivers have been installed."

The warning I am getting is "CAUTION: Check that the device selected in MPLAB IDE (PIC16F723A) is the same one that is physically attached to the debug tool. Selecting a 5V device when a 3.3V device is connected can result in damage to the device when the debugger checks the device ID. Do you wish to continue?"

Here is how I have the circuit setup...
PIC16F723A PIN 1 is connected to ICD3 MCLR PIC16F723A PIN 28 is connected to ICD3 ICSPDAT PIC16F723A PIN 27 is connected to ICD3 ICSPCLK PIC16F723A PIN 1/ICD3 MCLR is connected to external VDD (+3.3V) through a 10K resistor (I have also tried a 4.7K) PIC16F723A PIN 8 is connected to PIC16F723A PIN 19 PIC16F723A PIN 19 is connected to GND PIC16F723A PIN 20 is connected to VDD (+3.3V)

I am checking the chip using a Tektronix Oscilloscope and when I continue from the warning message, I see data being transfered on the ICSPDAT pin, but nothing has changed for the RA1 pin.

Here is the code I am using:
Code (Text):

#include <stdio.h>
#include <stdlib.h>
#include <pic16f723.h>

void main(void){
     int i = 0;
     TRISAbits.TRISA1 = 0; // RA1 to output
     ANSELAbits.ANSA1 = 0; // RA1 to Digital I/O

     while(1){
         PORTAbits.RA1 = 1;
         for(i = 0; i < 1000; i++);
         PORTAbits.RA1 = 0;
         for(i = 0; i < 1000; i++);
     }
}
I have checked the circuit design several times, I have checked to make sure the chip is correct (the silkscreen on it says PIC16F723A-I/SP 1142D3V). I have also tried programming it by supplying +3.3V from an external supply and a +5.0V from an external supply.
2
Audio / Re: Recalculare boxa
« Last post by Hansahoney on March 15, 2017, 12:26:43 PM »

I was skeptical about this, and fortunately I had the chance to read something I did not understand yet.
3
Projects ideas / Re: Microcontroller Based Smoke Detector
« Last post by Hansahoney on March 15, 2017, 12:25:16 PM »

The knowledge that has been read from the content is great. It made me know a lot more. Can be really useful.
4
Decode mobile phones , car radio or other devices / Re: Car Radio Code ( decode )
« Last post by Liam on February 25, 2017, 03:19:14 PM »
Hi Guys

Could someone give me the code please.  Thanks.

Make: Renault
Model: AGC 1220 RF
Part Code: 281156951R
Supplier Code: 269779
Serial Number: 281156951RTC658
5
Decode mobile phones , car radio or other devices / Re: Car Radio Code ( decode )
« Last post by Pavel S on February 10, 2017, 02:32:05 PM »
Please help me, I need code for radio

Make: RENAULT
Model: AGC-1220RF
Part code: 281156951R
Supplier code: 269779
Serial number: 281156951RTB632
6
Electronica Auto / Re: Coduri radiocasetofoane auto
« Last post by Horhel023 on January 23, 2017, 10:45:33 PM »
Buna ziua
ma poate ajuta si pe mine cineva cu codul pentru un casetofon de Opel Corsa C ?
Casetofonul este Blaupunkt 453116246 No:09115095 Type :CAR 2003 (F) UN 5
Mai are o serie 7649200321
Pe lateral mai scrie GM 020328247769

Multumesc !!
7
Decode mobile phones , car radio or other devices / Re: Car Radio Code ( decode )
« Last post by Eredaar on January 12, 2017, 01:26:09 PM »
Hello,
My radio was resetted after I got my car out of service and unfortunately I don't have the 4 digit code for it, any help would be very appreciated!

RENAULT 281112231R
7 648 052 592    FD305
905 BP8052 D 3030365
281112231RT B263 SECURITY

Thank you in advance!
8
Decode mobile phones , car radio or other devices / Re: Car Radio Code ( decode )
« Last post by wildak95 on January 10, 2017, 05:59:41 PM »
Hi
I have disconnected the battery of m'y A160 Mercedes. Now I am asked to type a code to use the radio. Could you please help me?
Details on device
Model: MF2910
S/N: AL2910X0400954
Thanks in advance.
9
Electronica Auto / Re: regeneretoare de acumulatoare
« Last post by Damyante on January 07, 2017, 09:45:44 AM »
Take advantage of this great course.
10
Decode mobile phones , car radio or other devices / Re: Car Radio Code ( decode )
« Last post by dyma1ddd1 on December 22, 2016, 12:33:12 AM »
code for duster 2012
Pages: [1] 2 3 ... 10