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 CCS Technical Support

New Board with RS232, USB and Ethernet
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
bkamen



Joined: 07 Jan 2004
Posts: 1619
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Fri Aug 24, 2012 8:49 am     Reply with quote

neo19 wrote:
I usually make some board with PIC18F, ADC (I2C), DAC (I2C), Digital Input, digital Output, RS232, IEEE488, char display. But my system is little old and I need a better display and Ethernet.

1) The display is a big problem for me because I would like something industrial, easy to controll and with good quality in 4.3 and 7".
I've found these ones wich could be controlled by I2C or SPI and graphics are good in 4.3" and 7".
It's for display picture at the beginning, buttons, status, little menu for service after sale (to see some ADC inside the equipment) or to configure Rs232 or Ethernet.
http://www.demmel.com/ilcd/english/cpanel8048.htm (180€)
http://www.demmel.com/ilcd/english/cpanel6448.htm (300€)
2)the storage equipment is not a problem.
3) Special requirement for me it's RS232, USB and ETHERNET. It's only a remote control for the equipment: start/stop/Status and to help the Service after sale by getting some internal value of temperature, voltage,..
4) Power supply is not a problem. I have the choise and the place. Consumption is not a problem.
6) USB is only slave
7) ADC and DAC will be 12 bits. I usually have some on I²C
8) PWM is for controll the speed of fans. I think 8 bits will be OK.


From what you described, an 8bit 97J60 could do this. (since "control" with Ethernet doesn't need 100Mb except for compatibility... and really... at that point, 10Mb is fine too.)

To be specific though, is your LCD a graphics controller showing nothing but big chars? (that's still a graphics display) or a character LCD (which is a lot easier to interface and control). Your links point to graphics displays (doesn't matter if all they're printing is characters).

Since you're doing graphics, look at the PIC24FJ256DA210 with built in graphics controller (and screen buffer RAM) - It doesn't have ethernet, but it could be added... but looks to have everything else you want.
4-serial, graphics controller, USB... Adding ethernet could be SPI based (slow - but you get 10/100 compat) or parallel based.

And what is the USB doing? Serial communications of simple text? If that's the case, consider an FTDI USB interface IC. The 97J60 already has 2 hardware UARTs, so if the FTDI only comes in a USB->RS232 flavor, we'd need to use a different PIC.

As for fan control w/PWM, if the PIC doesn't have what you need, you could use an I2C IO port expander/LED driver. They usually have built in PWM -- and are easy to use.

One big gotcha: TCPIP with the latest microchip stack means you'll need to use a microchip supported compiler...

CCS's tcpip stack *IS* microchip's... a very very old version at that.
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
bkamen



Joined: 07 Jan 2004
Posts: 1619
Location: Central Illinois, USA

View user's profile Send private message

PostPosted: Fri Aug 24, 2012 2:01 pm     Reply with quote

[quote="neo19"]
bkamen wrote:

A digi module like CC9M2443 is nice. Did you try to controll a display in your project?
The problem for me is to find industrial display with mechnical solution to plug it.
I have an old jumpstart kit from them. I don't know linux so at time I tried to use Eclipse-based Digi ESP IDE. It was nice.


No, the video display (both LCD Char and Graphics) were disabled. This was an embedded project.

Keep in mind, it runs linux or windows.

This is a completely different learning curve than Microchip based controllers.

It's awesome as a lot of things are already done for you -- but with any big OS, that means there could be an enormous amount to learn.

I had to learn how to write kernel drivers to interface with the FPGA that was doing the bulk of the super high-speed work for the ADC's on the board ( (3) dual 40MS/s 14bit ADC's processing in real time inside the FPGA).

Not an easy task.

As for the IDE, yes -- it's nice they supply it. Just remember if you run into a snag, their user forum is worthless for the most part. (it's not like here where you actually have experts who will answer your questions for free.)

I had to bother support for the samsung CPU's datasheet. And it's a poor datasheet at that. The datasheet has a lot of errors, under informs the reader... it's pretty bad. And Digi typically wants money for any question you have for them -- even if it's something that should be in the datasheet.

I never had this problem with Intel ARM processors. When I worked with the PXA255, every aspect of the CPU was clearly spelled out in the documentation.

Similarly with Microchip -- and with MCHP, in the cases I did have a question, they actually have a support system of sorts. However, in the 15yrs of using microchip parts, I've only needed that kind of support maybe 2-3 times.

Digi? Samsung? Yea... not really. Not even close.

-Ben
_________________
Dazed and confused? I don't think so. Just "plain lost" will do. :D
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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