Search found 17 matches

by lukasoft
Mon Apr 18, 2011 3:26 pm
Forum: Projects
Topic: Personal G-Force Meter
Replies: 66
Views: 77816

Hello, I am sorry, as what I meant to say is not what I said. When I said Vdd I meant the 5v voltage regulator output, but I thought of that whole part of the circuit as a power supply in my head, hence the mistake. From what you're saying though, it seems that using the 5v output (from the regulato...
by lukasoft
Sun Apr 17, 2011 9:45 pm
Forum: Projects
Topic: Personal G-Force Meter
Replies: 66
Views: 77816

Ok. The datasheet from sparkfun says the max typical voltage input is 2.2 volts. Will it be damaging to connect this to Vdd (+5V), or is there a lower voltage output that can be used?
by lukasoft
Thu Apr 14, 2011 7:58 pm
Forum: Projects
Topic: Personal G-Force Meter
Replies: 66
Views: 77816

Hello, and thank you for all of the previous help. I've finished everything with the exception of wire-wrapping the LED displays. I haven't done so yet because I found it strange that you didn't use any resistors in between the displays and the micro-controller. Wouldn't wiring them directly have to...
by lukasoft
Wed Mar 16, 2011 11:36 pm
Forum: Projects
Topic: Personal G-Force Meter
Replies: 66
Views: 77816

Thank you for the help. I apologize for the continuous questions, but I've spent a lot of time on google looking to figure this out and I just can't get it. I'm getting an error: Executing: "C:\MCC18\bin\_mplink.exe" /l"C:\MCC18\lib" /k"C:\MCC18\bin\LKR" "..\..\..\...
by lukasoft
Tue Mar 15, 2011 10:56 pm
Forum: Projects
Topic: Personal G-Force Meter
Replies: 66
Views: 77816

I found the pdf here http://ww1.microchip.com/downloads/en/devicedoc/mplab_c18_libraries_51297f.pdf and it covers the PIC18F452 (page 14), however I couldn't find anything referring to the 18F4520. It looks to me that the current code: OpenADC( ADC_FOSC_32 & ADC_RIGHT_JUST & ADC_8ANA_0REF, A...
by lukasoft
Sat Mar 12, 2011 5:54 pm
Forum: Projects
Topic: Personal G-Force Meter
Replies: 66
Views: 77816

Hello, its been like a year or so, but I've finally gotten the correct hardware to make one of these, and finally have enough time to work on it. I've gotten to the point where I'm ready to compile and write to the device, but I'm getting an error along these lines: ...\g_force_meter.c:66:Error [110...
by lukasoft
Fri Oct 29, 2010 12:33 pm
Forum: Tutorials
Topic: The PIC Microcontroller (problem connecting)
Replies: 17
Views: 15542

Hello, it's me again. I've been very busy with life, and also kind of gave up on the project for the time being. A few days ago I emailed Olimex and they came to the conclusion that the 15VDC adapter is not enough power for everything. Does this seem reasonable? I believe you said in your tutorials ...
by lukasoft
Tue Aug 31, 2010 7:58 pm
Forum: Tutorials
Topic: The PIC Microcontroller (problem connecting)
Replies: 17
Views: 15542

The light stays green continually, beginning when I first try to connect to it using MPLAB. The light then turns off when I close MPLAB
by lukasoft
Thu Aug 26, 2010 1:51 pm
Forum: Tutorials
Topic: The PIC Microcontroller (problem connecting)
Replies: 17
Views: 15542

OK. Thanks for the help. Does the green light lead you to believe that the programmer works? If so, we have at least removed the possibility of the problem being anything else other than the connection.
by lukasoft
Wed Aug 25, 2010 10:35 pm
Forum: Tutorials
Topic: The PIC Microcontroller (problem connecting)
Replies: 17
Views: 15542

img812.imageshack .us/i/dscn1806.jpg/ As you can see, the ICD2 is connected to power, as well as the olimex board (the power adapter with the red light). The ICD2 shows a green light when I try to connect to it via MPLAB, which may be a good sign. The plug on the left is a serial plug, which connect...
by lukasoft
Wed Aug 25, 2010 10:19 pm
Forum: Tutorials
Topic: The PIC Microcontroller (problem connecting)
Replies: 17
Views: 15542

I tried changing the device to another PIC, but it still gave the same result. I will see if I can find my camera to take a picture.
by lukasoft
Mon Aug 23, 2010 4:54 pm
Forum: Tutorials
Topic: The PIC Microcontroller (problem connecting)
Replies: 17
Views: 15542

img829.imageshack. us/img829/8757/78051774.jpg
img828.imageshack. us/i/73267957.jpg/
img841.imageshack. us/i/85285310.jpg/
by lukasoft
Sun Aug 22, 2010 6:39 pm
Forum: Tutorials
Topic: The PIC Microcontroller (problem connecting)
Replies: 17
Views: 15542

Is there any way to know if another program is trying to use the serial port? For example, via Task Manager or Process Explorer? I don't have any reason to believe the serial port simply isn't working. Meanwhile, I'll work on getting those screenshots.
by lukasoft
Sat Aug 21, 2010 5:14 pm
Forum: Tutorials
Topic: The PIC Microcontroller (problem connecting)
Replies: 17
Views: 15542

I don't have another computer with a serial port, so I don't know how that would be possible. I tried the settings that you showed me, and still could not get it to work. If you could tell me what you would want me to take screen shots of, that would be helpful. Thanks for your continual help.
by lukasoft
Wed Aug 18, 2010 2:48 pm
Forum: Tutorials
Topic: The PIC Microcontroller (problem connecting)
Replies: 17
Views: 15542

Do the speeds need to be the same? For example, on my computer settings I have a lot of choices, but in the software, I only have 2. 19200 and 57600. Will trying combinations of these work? Or only if they are both 19200 or 57600? [edit] I ran through everything again, with the 57600 on both setting...

Go to advanced search