CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

CCS Embedded Ethernet board heat & LCD questions

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

CCS Embedded Ethernet board heat & LCD questions
PostPosted: Sat Mar 19, 2011 5:47 pm     Reply with quote

I just got the CCS Embedded Development Board. The linear 5V regulator gets really hot. I know the ENC28J60 Ethernet controller is not a low power part by PIC standards, but I am not used to anything on my PIC PCBs getting this hot. It runs a simple LED blinking program so there are no gross power bus shorts or anything like that. Is this normal?

Also the Ethernet lessons use RS232 output, but I am not having luck with my USB-RS232 dongle, and my old PC with real RS232 ports just blew it's fan. I would like to use the LCD on the demo board instead. I tried just redirecting the serial like this:

// printf("\r\n\nCCS TCP/IP TUTORIAL 7A\r\n");
printf(lcd_putc, "CCS TCP/IP TUTORIAL 7A");

It compiles, so lcd_putc is defined, but nothing shows up on the screen. Has anyone used the LCD on this development board? What do I need to do to make it work?

Thanks
_________________
The search for better is endless. Instead simply find very good and get the job done.
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

Re: CCS Embedded Ethernet board heat & LCD questions
PostPosted: Sat Mar 19, 2011 7:50 pm     Reply with quote

SherpaDoug wrote:
I just got the CCS Embedded Development Board. The linear 5V regulator gets really hot. I know the ENC28J60 Ethernet controller is not a low power part by PIC standards, but I am not used to anything on my PIC PCBs getting this hot. It runs a simple LED blinking program so there are no gross power bus shorts or anything like that. Is this normal?


Yes. If you are not using the Ethernet interface you can command the Ethernet controller to go to sleep in which case current consumption drops back to that of a typical PIC.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
newguy



Joined: 24 Jun 2004
Posts: 1903

View user's profile Send private message

PostPosted: Sat Mar 19, 2011 9:42 pm     Reply with quote

One of our boards at work uses the ENC28J60 and the thing gets ridiculously hot, so what you're describing sounds normal. From memory, I think it draws something like 200-300 mA while transmitting...@ 5V supply, that = hot.
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Sun Mar 20, 2011 10:31 am     Reply with quote

Hi,

Based on my own ethernet designs using the ENC28J60, I can tell you that it is a power hog. I assume you are powering the board with a 12VDC wall wart PS? If you have a lower output voltage PS, you can use that and reduce the power dissipation of the regulator. The dissipation is proportional to the voltage drop (Vin - 5V) times the current. You might also put a heat sink on the 7805 if the space on the board allows.

Do you have a schematic for the board? I can't imagine that the LCD interface is any thing more than plain vanilla, but you never know? Are you using LCD.c (from CCS), or Flex_LCD. c (from PCM)? Have you twiddled the contrast pot?

John
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Tue Mar 22, 2011 11:41 am     Reply with quote

It is not the Ethernet controller that is drawing the power. The ENC28J60 runs off of a separate 9V -> 3.3V linear regulator that is just a bit warm. The 9V -> 5V LM7805 just runs the PIC18F4620 (10MHz XTAL 4X PLL), MAX232 (no load), 256k EEPROM, and not much else. I removed the LCD display so it is out of the picture.

It surprises me the LM7805 is getting so hot (150F) while nothing else on the PCB is very warm at all. I guess the next step is to start cutting traces and measuring currents. I really don't have the time to ship it back to CCS for repair.

Doug
_________________
The search for better is endless. Instead simply find very good and get the job done.
asmallri



Joined: 12 Aug 2004
Posts: 1634
Location: Perth, Australia

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Tue Mar 22, 2011 11:56 am     Reply with quote

SherpaDoug wrote:
It is not the Ethernet controller that is drawing the power. The ENC28J60 runs off of a separate 9V -> 3.3V linear regulator that is just a bit warm. The 9V -> 5V LM7805 just runs the PIC18F4620 (10MHz XTAL 4X PLL), MAX232 (no load), 256k EEPROM, and not much else. I removed the LCD display so it is out of the picture.

It surprises me the LM7805 is getting so hot (150F) while nothing else on the PCB is very warm at all. I guess the next step is to start cutting traces and measuring currents. I really don't have the time to ship it back to CCS for repair.

Doug


I do not have the schematics of the board but are your sure the 3.3 volt regulator is sourced from 9 volts and not from the output of the 5 volt regulator? Typically in these designs using standard linear regulators the 3.3 regulator is sourced from the output of the 5 volt regulator enabling the power dissipation and therefore thermal load to be distributed across the pair of regulators. In this configuration the 5 volt regulator will dissipate more power, and therefore get hotter, than the 3.3 volt regulator.

Your ENC28J60 will consume around 200mA. If you can touch the 5 volt regulator and not leave skin behind as a result, then this is normal. It WILL BE HOT. As previously mentioned, you can prove this by turning off the Ethernet controller.
_________________
Regards, Andrew

http://www.brushelectronics.com/software
Home of Ethernet, SD card and Encrypted Serial Bootloaders for PICs!!
SherpaDoug



Joined: 07 Sep 2003
Posts: 1640
Location: Cape Cod Mass USA

View user's profile Send private message

PostPosted: Tue Mar 22, 2011 12:11 pm     Reply with quote

asmallri, you are right! There is an error in the printed schematic. The input of the 3.3V regulator comes from the 5V bus, not the 9V bus. So all the Ethernet controller's 200mA is going through the 5V regulator as well as the 3.3V regulator. As a hardware guy that is the way I would tend to design this myself. Spread the pain over both regulators.

It doesn't help that the 9V wall wart is actually giving 11.5V under load. Now that I understand the problem I can intelligently choose:
1) Ignore the problem, just keep my fingers away from that hot regulator.
2) Put a bigger heat sink on the regulator.
3) Rummage through my stuff to find a wall wart that gives a lower voltage.

Thanks Guys!
_________________
The search for better is endless. Instead simply find very good and get the job done.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group