Search found 1962 matches

by phalanx
Sun Jul 08, 2018 4:01 pm
Forum: Arduino
Topic: Tinker
Replies: 1
Views: 79

Re: Tinker

I moved this from the PIC forum since it's actually and Arduino question.

-Bill
by phalanx
Thu Jun 28, 2018 6:18 am
Forum: Arduino
Topic: Analog to arduino to op amp to arduino?
Replies: 9
Views: 156

Re: Analog to arduino to op amp to arduino?

All, This will be my last post here, and the admin can delete it so as to protect the sensitive, but I will have my say before this eventuality. I have been working with electronics since before most of you were born, so the high horse crap is both disgusting and unjustified. My self admitted illit...
by phalanx
Tue Jun 12, 2018 6:09 am
Forum: PIC Microcontrollers - Software and Hardware
Topic: PWM WITH PIC32MX460F512L
Replies: 3
Views: 126

Re: PWM WITH PIC32MX460F512L

Another thing I noticed is your prescaler setting for Timer2 is actually 1:2, not 1:8 like you are expecting. If you were using Timer1, your TCKPS bits would be correct but for Timer2 TCKPS needs to be 0b011 for a 1:8 prescaler. Right now your PWM frequency would be 40KHz. When you say your PWM is n...
by phalanx
Tue Jun 12, 2018 5:29 am
Forum: PIC Microcontrollers - Software and Hardware
Topic: PWM WITH PIC32MX460F512L
Replies: 3
Views: 126

Re: PWM WITH PIC32MX460F512L

Nevermind. I found the section in the family reference manual that says the compare module overrides the TRIS register. I'll keep digging when I free up some time.

-Bill
by phalanx
Tue Jun 12, 2018 5:26 am
Forum: PIC Microcontrollers - Software and Hardware
Topic: PWM WITH PIC32MX460F512L
Replies: 3
Views: 126

Re: PWM WITH PIC32MX460F512L

Off the top of my head, I dont remember if the output compare peripheral overrides the pin direction settings but you may want to try changing your OC1 pin to an output and see if that makes a difference.

-Bill
by phalanx
Thu Jun 07, 2018 10:45 am
Forum: SparkFun Product Questions
Topic: GPS logger conflict with I2C barometer
Replies: 7
Views: 116

Re: GPS logger conflict with I2C barometer

I merged the two threads together in case anyone is confused with the post continuity.

-Bill
by phalanx
Thu May 17, 2018 5:43 am
Forum: PCB Design Questions
Topic: IPC Certification for PCB Designer???
Replies: 3
Views: 361

Re: IPC Certification for PCB Designer???

In my facility, we deal primarily with equipment destined to be used by the military. We occasionally design circuit boards but none of us on the engineering side of the equation are IPC certified. On our production side of the building, they are required to be IPC certified for soldering, board ass...
by phalanx
Mon May 14, 2018 5:48 pm
Forum: PIC Microcontrollers - Software and Hardware
Topic: pic16f628 UART
Replies: 3
Views: 394

Re: pic16f628 UART

In situation like this where you trying to get 2 units to communicate with each other without a known working means of debugging the system, you need to break down your test setup into multiple parts. Instead of having the PIC talk to the Arduino, feed it to the serial port on a PC that you know wor...
by phalanx
Fri May 04, 2018 6:34 pm
Forum: PIC Microcontrollers - Software and Hardware
Topic: Trying to implement the WS2811 driver--code debugging
Replies: 1
Views: 197

Re: Trying to implement the WS2811 driver--code debugging

It's been a while since you posted so I was curious if you have made any progress with your problem. I don't have any immediate experience with the nuances of the CLC module but I may have some time over the next day or two to look into it if you still need help.

-Bill
by phalanx
Fri May 04, 2018 6:32 pm
Forum: PIC Microcontrollers - Software and Hardware
Topic: Changeover and High Voltage Detection With PIC12F675
Replies: 1
Views: 60

Re: Changeover and High Voltage Detection With PIC12F675

Have you tried blinking an LED with the PIC yet?

-Bill
by phalanx
Tue Mar 27, 2018 7:00 am
Forum: PIC Microcontrollers - Software and Hardware
Topic: GPS configuring with PIC16F876A
Replies: 5
Views: 219

Re: GPS configuring with PIC16F876A

I still don't see a properly formatted ISR in your code. I'm assuming you are using Microchip's XC8 compiler so here is a quick reference on how to format one in your code: http://microchipdeveloper.com/faq:31. It's also well documented in the users guide that comes with XC8. Also, ISRs are supposed...
by phalanx
Fri Mar 23, 2018 8:02 pm
Forum: PIC Microcontrollers - Software and Hardware
Topic: GPS configuring with PIC16F876A
Replies: 5
Views: 219

Re: GPS configuring with PIC16F876A

I understand the case of data(), but this loop happens after I get the string from GPS function. So how could delay in this could cause Overrun error??? You still have data() being called deeper in your GPS() function that will bring additional 20ms delays. You may receive a character or two but yo...
by phalanx
Thu Mar 22, 2018 12:09 pm
Forum: PIC Microcontrollers - Software and Hardware
Topic: GPS configuring with PIC16F876A
Replies: 5
Views: 219

Re: GPS configuring with PIC16F876A

Hi Athul, The overrun bit (OERR) is set when the receive FIFO is full and you try to receive another serial byte. The FIFO can hold 2 bytes so if a 3rd byte is shifted in before you read out at least 1 byte from the RCREG, the overrun bit will be set and will block any further reception until you re...
by phalanx
Mon Mar 19, 2018 8:54 am
Forum: SparkFun Site Questions/Comments
Topic: Forum search not working
Replies: 3
Views: 276

Re: Forum search not working

Here is what one of the Sparkfun Administrators had to say:
I've optimized the search tables in the database, it seems to be working now. Please let me know if this continues. I'll have to up the timeout on php if it continues.
-Bill
by phalanx
Sun Mar 18, 2018 2:29 pm
Forum: SparkFun Site Questions/Comments
Topic: Forum search not working
Replies: 3
Views: 276

Re: Forum search not working

Now that you mention it, it's not working for me either. I'll pass it along to the appropriate people.

-Bill