Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
18F2455 and sporatic results in COM window
19-03-2016, 05:41 PM,
#1
18F2455 and sporatic results in COM window
Pinguino IDE 11.0 Beta 3
Windows 7 (64bit)
Pinguino 2455 v4 bootloader - 8bit

I have built several of these Pinguino's.
I have noticed that I get sporatic results in the COM window.
What I found was the power from the USB port was noisy.
The way I fixed it was, I placed a 104 multi layer cap across the power.
Now my results are flawless. Has anyone else run into this problem??

dmaners
Reply
19-03-2016, 08:46 PM,
#2
RE: 18F2455 and sporatic results in COM window
It is standard practice to filter power supplies.

I generally use a 33uF or larger electrolytic or tantalum capacitor and a 100nF capacitor to filter Vcc.

On my Pinguino compatible PIC board, I have a 33uF and 100nF filter capacitor at each Vdd/Vss pair on the PIC18F4550.

http://www.mikronauts.com/robot-controll...c-18f4550/
Reply
20-03-2016, 12:26 AM,
#3
RE: 18F2455 and sporatic results in COM window
(19-03-2016, 08:46 PM)mikronauts Wrote: It is standard practice to filter power supplies.

I generally use a 33uF or larger electrolytic or tantalum capacitor and a 100nF capacitor to filter Vcc.

On my Pinguino compatible PIC board, I have a 33uF and 100nF filter capacitor at each Vdd/Vss pair on the PIC18F4550.

http://www.mikronauts.com/robot-controll...c-18f4550/

Do you find this necessary on USB power from a PC also?
I can understand if it was a transformed/regulated circuit.
When I look at it on the scope, it looks normal. Pretty flat.

Thanks

dmaners
Reply
20-03-2016, 06:45 AM,
#4
RE: 18F2455 and sporatic results in COM window
(20-03-2016, 12:26 AM)dmaners Wrote:
(19-03-2016, 08:46 PM)mikronauts Wrote: It is standard practice to filter power supplies.

I generally use a 33uF or larger electrolytic or tantalum capacitor and a 100nF capacitor to filter Vcc.

On my Pinguino compatible PIC board, I have a 33uF and 100nF filter capacitor at each Vdd/Vss pair on the PIC18F4550.

http://www.mikronauts.com/robot-controll...c-18f4550/

Do you find this necessary on USB power from a PC also?
I can understand if it was a transformed/regulated circuit.
When I look at it on the scope, it looks normal. Pretty flat.

Thanks

dmaners

Well, according to the Pinguino schematics, I don't see any 33uf caps or any tantalums either.

Stupid me. But thanks for the attitude just the same.
Reply
24-03-2016, 07:30 PM, (This post was last modified: 24-03-2016, 07:34 PM by mikronauts.)
#5
RE: 18F2455 and sporatic results in COM window
- it does not hurt to add some filtering to the USB power, I'd probably add 100nF if I was already not filtering the mcu power with 100nF and 33uF

- It does not show up on the Pinguino schematic because the Pinguino board was not designed by me

- my design is Pinguino compatible, but it is not a Pinguino

- On my designs, I always filter the power to the microcontroller in order to try to reduce noise on the power line

- well-filtered power leads to more accurate (less noisy) analog to digital conversion, especially if there is a power utilization spike from a sensor

- what attitude? You must mean yours: "Stupid me. But thanks for the attitude just the same"
Reply
25-03-2016, 07:14 PM,
#6
RE: 18F2455 and sporatic results in COM window
(24-03-2016, 07:30 PM)mikronauts Wrote: Okay, Now I better understand. I referred to the Pinguino 18F2455. I thought that is what we were talking about.
When you referred to your board, it threw me off. And the attitude thing is because I asked a question, and you gave me the same answer. Once again, I thought we were talking about my project, the 18F2455 Pinguino board. 
Sorry, maybe some of my frustration came through my fingers. I appreciate the information. I will try to be more direct and patient.  Dave - dmaners


- it does not hurt to add some filtering to the USB power, I'd probably add 100nF if I was already not filtering the mcu power with 100nF and 33uF

- It does not show up on the Pinguino schematic because the Pinguino board was not designed by me

- my design is Pinguino compatible, but it is not a Pinguino

- On my designs, I always filter the power to the microcontroller in order to try to reduce noise on the power line

- well-filtered power leads to more accurate (less noisy) analog to digital conversion, especially if there is a power utilization spike from a sensor

- what attitude? You must mean yours: "Stupid me. But thanks for the attitude just the same"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)