Author Topic: === RS232, RS485 & Ethernet with SBC66EC & PT66EI ===  (Read 2368 times)

modtro2

  • Administrator
  • Hero Member
  • *****
  • Posts: 564
    • View Profile
=== RS232, RS485 & Ethernet with SBC66EC & PT66EI ===
« on: April 17, 2014, 04:25:16 AM »
This project is for a low cost RS232, RS485 and Ethernet board, using the SBC66EC (with a Ethernet and USB port). These boards are assembled on the PT66EI-10P prototyping board, and mounted in an enclosure. It uses the following parts:
- SBC66EC with Ethernet, USB port and PIC24FJ256GB206 16-bit CPU
- in485P-M RS-485 iMod module
- im232P RS-232 iMod module
- PT66EI-10P prototype board for SBC66 single board computer
- ENC2015S-BK-NZ enclosure

The two 5 pin connectors, LEDs and prototyping space can be used for custom requirements.

The aim of this project is to provide skeleton C code, using the free XC16 C Compiler and MPLAB X IDE. It uses the Netcruzer Webserver for basic functionality. For details on building projects, click here.





Click to enlarge

===== We will soon be adding source code for this project! =====
« Last Edit: May 30, 2014, 05:57:17 PM by modtro2 »

renzo.rincon

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: === RS232, RS485 & Ethernet with SBC66EC & PT66EI ===
« Reply #1 on: April 22, 2014, 03:01:20 PM »
Hello.
Im working on this board but have been struggling to make use of the usb as a CDC class device.
Could anyone give me a reference to a working USB library that works for this particular PIC model?
Even better if it has a working demo for this board and pic model, but any reference might help.

Additional information:
-Using xc16 compiler and mlab x IDE
-It doesnt need to include the netcruzer webserver, just a standalone USB device.
-It doesnt need to use the complete board, just the SBC66EC board, and even then just the usb port.

modtro2

  • Administrator
  • Hero Member
  • *****
  • Posts: 564
    • View Profile
Re: === RS232, RS485 & Ethernet with SBC66EC & PT66EI ===
« Reply #2 on: May 30, 2014, 06:00:17 PM »
Hi, sorry for late reply, only saw this post now. So, you only need the USB port configured as a CDC class, is that correct? You do not require any of the RS232, RS485 or Ethernet stuff? If this is the cast, I would suggest creating a new post for your question, and I can help you get it working.