|
View unanswered posts | View active topics
| Author |
Message |
|
3v0
|
Post subject: Posted: Thu Jan 18, 2007 8:00 pm |
|
Joined: Sat Jul 22, 2006 8:33 pm Posts: 30 Location: Oklahoma
|
The The finished board. I have tested everything but the receive circut by using UBW Play.bas to toggle processor pins
There are a few minor things that did not go right. The most obvious is that the resistors are too long to fit between the holes. The large blue 4 position connector has pins on .2 inch centers. The layout is .1 inch centers. To fix that I drilled new holes and jumpered to it.
I did not populate the switches or ICSP connector.
3v0
|
|
| Top |
|
 |
|
wiml
|
Post subject: Posted: Thu Jan 18, 2007 9:16 pm |
|
Joined: Tue Feb 08, 2005 11:45 pm Posts: 483 Location: Seattle, WA, USA
|
3v0 wrote: In regads to making boards. I picked up a laminator to use instead of the clothes iron. I like toys. A MicroMark drill press is next. The SO is into jewelry so she will use it too.
I have one of those little Dremel drill-press stands (you bolt the dremel-tool, or in my case the knockoff dremel-like tool, into it). It makes drilling the PCB holes go much faster.
|
|
| Top |
|
 |
|
kepica
|
Post subject: Posted: Thu Mar 22, 2007 2:43 am |
|
Joined: Thu Mar 22, 2007 2:28 am Posts: 15 Location: croatia
|
hallo everybody !
I am very excited about this project ! I love you all ! My english is quite bad, but my programmer's skill are not. Very soon I will complete firmware for USB to RS485 convertor and you will be first to know !
Love you ! 
|
|
| Top |
|
 |
|
kepica
|
Post subject: FW project Posted: Fri Mar 30, 2007 11:07 am |
|
Joined: Thu Mar 22, 2007 2:28 am Posts: 15 Location: croatia
|
you can download full project code for FW - USB to RS485 / RS232 converter on this site:
http://free-vt.t-com.hr/maca64/
IMPORTANT NOTE: I have no test hw so this is very, very BETA version ( not tested at all ! )
THANKS to Brian !
THANKS to 3v0 !
|
|
| Top |
|
 |
|
kepica
|
Post subject: I got my HW Posted: Wed Apr 25, 2007 10:40 pm |
|
Joined: Thu Mar 22, 2007 2:28 am Posts: 15 Location: croatia
|
|
I got my HW, let's rock !
I will describe every step, including mistake I made, it may help someone else. I got PIC with Brian's bootloader in it.
First mistake: I did not press PROGRAM button, and bootloader did not start. when I did it, everything is OK !
Second mistake: when Windows report new hardwer, I pointed to CDC inf file !
That was wrong, you must select inf that come with Microchip PDFUSB ( bootloader app. ). Finaly I started PDFUSB and load my Firmware into PIC. When I reset board, Windows report new hardware. This time I pointed to CDC inf and it works ! I started HyperTerminal and connect to COM7.
Third mistake: my board was connected to COM8 !
You must verify that in Control Panel -> Ports ! On my PC there are COM7 and COM8. First is dedicated to bluetooth, and second is good one ! Finaly I wrote V ( CR ) in HyperTerminal and magic happend - I got response FW kepica C v1.3 !!!
That will be enough for first time !
|
|
| Top |
|
 |
|
EmbeddedMan
|
Post subject: Posted: Thu Apr 26, 2007 8:46 am |
|
Joined: Sun Mar 05, 2006 9:23 pm Posts: 986
|
|
kepica,
That is AWESOME news! Way to go. I hope to be updating the main UBW website soon to make some of these things much clearer - which INF file you need and when, which button to push and when, what the bootloader really does, etc. etc. Hopefully others can learn from your work and it can become easier for all.
Let us know how the testing goes.
*Brian
|
|
| Top |
|
 |
|
kepica
|
Post subject: opto is important Posted: Tue May 01, 2007 7:16 am |
|
Joined: Thu Mar 22, 2007 2:28 am Posts: 15 Location: croatia
|
|
my work is in progress. I am satisfied.
NOTE to 3V0 - choice of opto is important. you can not use 4N37. you must select one with faster on-off time !
|
|
| Top |
|
 |
|
kepica
|
Post subject: error Posted: Sun May 06, 2007 5:30 am |
|
Joined: Thu Mar 22, 2007 2:28 am Posts: 15 Location: croatia
|
|
important Error in 3V0's shema:
on RX line opto ( pin 1 ) must be connected to pull-up resistor, not pull-down !!!
(i.e. to 5V not to the ground !!! )
|
|
| Top |
|
 |
|
kepica
|
Post subject: success Posted: Tue May 08, 2007 9:41 am |
|
Joined: Thu Mar 22, 2007 2:28 am Posts: 15 Location: croatia
|
|
I am finished ! it work's !!!!
more details next time !!!!!!!
|
|
| Top |
|
 |
|
kepica
|
Post subject: more details Posted: Tue May 08, 2007 10:49 pm |
|
Joined: Thu Mar 22, 2007 2:28 am Posts: 15 Location: croatia
|
|
first of all - my website ( see link above ) is NOT updated. please be patient, I will update it very soon, so you can download tested version of my project.
few more details, about my work: I connect my PC to Siemens S7-222 PLC via MODBUS protocol. My firmware in PIC accept parameter from PC that correspond to MODBUS commands - read / write coils, registers etc. On each parameter PIC create packet and transmit it via USART to RS-485 bus. When PLC transmit response, it is accepted via USART RX interrupt procedure, and send forth to PC.
NOTE to 3V0 - you have one more error in your schema - resistors in series with LEDs on RX, TX, TX_EN lines has to be bigger.
|
|
| Top |
|
 |
|
3v0
|
Post subject: Posted: Tue May 22, 2007 4:19 am |
|
Joined: Sat Jul 22, 2006 8:33 pm Posts: 30 Location: Oklahoma
|
|
kepica,
School is about over here and I will have time to work on this project.
What opto isolators did you end up with?
What was the max baud rate you tested?
Will fix the schematic and layout a new board.
If you have any other suggestions regarding the board I am would like to hear them.
_________________ 3v0
|
|
| Top |
|
 |
|
3v0
|
Post subject: Posted: Tue May 22, 2007 7:44 am |
|
Joined: Sat Jul 22, 2006 8:33 pm Posts: 30 Location: Oklahoma
|
|
Change OK1 pin1 to connect to VCC/2 via 10K pullup
Changed R16, R17, R18 from 470 to 680 Ohm.
Moved the jumper from under the PIC to an easier to solder location.
The Opto Isolators still show 4N37 till I know what should replace them.
Changed the RS485 connector to a .2 inch spacing.
Will post new board soon.
_________________ 3v0
|
|
| Top |
|
 |
|
3v0
|
Post subject: Posted: Wed May 23, 2007 10:20 am |
|
Joined: Sat Jul 22, 2006 8:33 pm Posts: 30 Location: Oklahoma
|
|
The board has been layed out with the needed fixes. It has also been made easier to etch and solder.
The UBW_RS485 layout is created with somewhat low quality DIY etching in mind. It can be etched as a single sided board with 3 jumpers or as a double sided board with 6 vias. There are no traces between pads less then .2 inches apart. To make soldering easier pads are large (restring 45%) and the space between copper has been increased form 8 to 10 mil.
I will post again after the board is constructed and again when I try RS485 enabled software.
_________________ 3v0
|
|
| Top |
|
 |
|
kepica
|
Post subject: my web page is updated Posted: Tue May 29, 2007 8:10 am |
|
Joined: Thu Mar 22, 2007 2:28 am Posts: 15 Location: croatia
|
|
hello everybody!
I updated my web page ( see link in my post above ). There is tested version of my project. This is not a commercial version that I am really doing now, but it works fine, so you can do whatever you wont with it.
IMPORTANT NOTE - you can not use this project with Brian's bootloader, instead you have to change config bits to get 32 MHz clock ( there is one thread about this topic on this forum )
|
|
| Top |
|
 |
|
3v0
|
Post subject: Posted: Wed May 30, 2007 3:20 am |
|
Joined: Sat Jul 22, 2006 8:33 pm Posts: 30 Location: Oklahoma
|
Kepica,
The link Download complete Project ( ZIP )
http://free-vt.t-com.hr/maca64/FW_RS485.ZIP
seems to be broken. Quote: Error! The page was not found.
The page you requested does not exist on the server. Please verify that you have entered the address correctly into your browser. Also note that the address is case sensitive, so please check your capitalization of the address.
_________________ 3v0
|
|
| Top |
|
 |
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
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 post attachments in this forum
|
|
|