CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Electronics > PicStep Controllers


PicStep Controllers Discuss PicStep Controllers here!


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-19-2005, 08:01 PM
 
Join Date: Jun 2005
Location: Germany
Posts: 7
Reanimator is on a distinguished road
PicStep V4

Hi Guys,

made the new V4.0 PCB today- sofar no probs:-)
Same making the Primo optoboard.

But here comes the Trouble. Where do i get the 5V for the Pic?
The V4.0 PCB seems to get it from the Breakoutbord and the Breakoutboard seems to get the 5V for the Optos from the Driver?

Some one made the same exprience?

There is no conection from +5V on the Breakoutport to the Axis-Connection. But the Driver wants on Pin1 +5V.

Can some one explane it to me?

THX so far

Bishop
Tweet this Post!Share on Facebook
Reply With Quote

  #2   Ban this user!
Old 07-22-2005, 05:50 AM
 
Join Date: Jun 2005
Location: Germany
Posts: 7
Reanimator is on a distinguished road
question over question??

Sofar found Out the 2 Boards are at the moment not 100% compatiple.

1.
Both Boards (Primo 3 Axis Opto) and (PicStepV4) have pullups at the Direction and step line! 10k at Picstep and 3k3 at Priomo's Board. You have to remove the 10K's on Picstep or the 3k3 on Primos! Otherwise RB0/1 on the Pic dont go 100% High or low!!

2.
There is no +5V Connection for feeting the Pic16f628 or the Ops on Primos Board!

3. Parallelout Pinsetup on the 3Axis Optooutboard is divrend than the 4 Axis Outputboad! 2=xStep 3=xDir 5=yStep 6=yDir 8=zStep 9=zDir

4. You have to Switch the ribboncable on one Side. Otherwise the Pins are not 1 on 1 swicht! Be carefull because of the +5V (if extern feet- see point 2)

Found out all the thinks but still the Boards are not walking. Mabey someone got some Ideears.

THX for all Input!!

Bishop
Tweet this Post!Share on Facebook
Reply With Quote

  #3   Ban this user!
Old 07-22-2005, 04:47 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

I missed this post. Ok, bishop yes you are correct the connector is 180 degrees out on the version 4 board. I originally noted that on my website, but somehow I lost the note. I think I need to make an intermediate webpage on the interface issues. The pullups together 3.3K and 10K are probably ok, it depends on the Opto Isolator selected but pull the 10K's to start. I haven't looked at the V4 board thoroughly, but if it doesn't have a 5V output available , kinda make the opto isolator implementation more costly. You will need an isolated 5V source to power the pic boards and and the opto outputs. I'll look into this further and post later today.

Phil
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Tweet this Post!Share on Facebook
Reply With Quote

  #4   Ban this user!
Old 07-22-2005, 05:44 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Bishop, what opto isolators did you use? Have you tested the pictep boards by themselves? Looks to me like you have identified the compatability issues. Now we need to figure out why it's not working.

Phil
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Tweet this Post!Share on Facebook
Reply With Quote

  #5   Ban this user!
Old 07-23-2005, 03:49 AM
 
Join Date: Jun 2005
Location: Germany
Posts: 7
Reanimator is on a distinguished road
Thanx :-)

First Thx for your Answers. By the sorry for the bad english, its my second langue.

To the Optos there are the 4 Pin PC817 and fully compatiple to the PC847 e.g. four PC817 are one PC847 that you told in some thread that can be used.


here are some pics of the setup (mabey the help:-)
http://www.illumilights.de/images/stepper/CIMG0740.jpg
http://www.illumilights.de/images/stepper/CIMG0742.jpg
http://www.illumilights.de/images/stepper/CIMG0744.jpg

The missing 7805 on my board is of because i got an stabilzed Input of 5Volt
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-23-2005, 02:53 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Lets go through some logical steps please respond to each numbered question with your results. Give me as much info as you can, remember I'm troubleshooting in the blind. :-)
First the obvious:
1. Check for 5V and ground on the pics?
2. Closely look at your solder joints?
3. Did your remember to program the PIC?
4. Check to make sure your software is correctly setup?
5. Check to see if you are getting a full swing on the outputs of the opto isolators. Do that by using a parallel port toggling program to set a port pin high then low and measure the corresponding output of the opto isolator to make sure the low state is less than .7VDC in the low state and 3.5VDC or higher in the high state? Do this with the PCIStep board hooked up.
6. Does the enable (brake ) go to the enabled state?
7. Independently of the interface board do the picstep boards work manually with a simple switch to emulate enable, direction and clock?

Phil
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Tweet this Post!Share on Facebook
Reply With Quote

  #7   Ban this user!
Old 07-25-2005, 04:29 AM
 
Join Date: Jun 2005
Location: Germany
Posts: 7
Reanimator is on a distinguished road

1. Check for 5V and ground on the pics?
OK

2. Closely look at your solder joints?
what i can see OK

3. Did your remember to program the PIC?
Yes programmd it 2 Times - And it works like in the simulator corect

4. Check to make sure your software is correctly setup?
Curently i'm using Mach1 with manual moving the X/Y/Z Axis.
Outputport are:
2 = Step X
3 = Dir X
5 = Step Y
6 = Dir Y
8 = Step Z
9 = Dir Z


5. Check to see if you are getting a full swing on the outputs of the opto isolators.
Yes for Direction Line clean 0V +5V Output of The Opts and input on RB0 on the Pic'sside.
No for the Stepline, but i think its because of a Pulse. I got only a TTL Line Checker so i think its to fast. maby i get an Osz. on Weekand to check the Pulse


6. Does the enable (brake ) go to the enabled state?
Yes it does! checked it by manuanly connected the Pin with Ground. Brake goes on enable. Without geting the PiN to Ground the Brake is of (e.g. normal State)

7. Independently of the interface board do the picstep boards work manually with a simple switch to emulate enable, direction and clock?
Can you explane this a little more closely? I think the Step line is a fast Pulse of high and low?

Thanx again for your Replys and Help!!

Bishop
Tweet this Post!Share on Facebook
Reply With Quote

  #8   Ban this user!
Old 07-25-2005, 08:13 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

7. Independently of the interface board do the picstep boards work manually with a simple switch to emulate enable, direction and clock?
Can you explane this a little more closely? I think the Step line is a fast Pulse of high and low?

What we will work towards is breaking the problem down by seperating what we know works and what doesn't. Since the motor isn't working lets start with the driver board (Picstep):

With just the picstep board, 5Vdc source, motor power supply and motor. Using the 3 control signals, enable, dir, clock (step). You can test with the enable and dir in a steady state condition and roughly simulate the clock (step) signal. See attached picture. While opening and closing the step switch may give multiple steps on a working board, it lets us know if the board is roughly working or not. The other question, if it doesn't step, is the motor shaft easy to turn or is there power that holds it in position when trying to spin it by hand?
Attached Thumbnails
Click image for larger version

Name:	troubleshoot.png‎
Views:	410
Size:	8.0 KB
ID:	8987  
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Tweet this Post!Share on Facebook
Reply With Quote

  #9   Ban this user!
Old 07-26-2005, 01:44 AM
 
Join Date: Jun 2005
Location: Germany
Posts: 7
Reanimator is on a distinguished road
Think i got it :-)

Well got the stepper going to step:-)

2 thinks that i was wrong!

1. the 3k3 resistors on your board are to low to pull the line clean to +5V!
I dried it now with the 10K pullups on the driverboard, and then it switcht clean.

2. Made a bade mistake with the Brakeline(Enableline). I was thinkin, if the Line is in OFF-State stepping would working:-(
but its the opposide because, if its ON, it only takes the stepp and the direction signal. So this was a bad misstake from my side.

By the Way, do you got the eagle-files from the Board?
I want to do some redesigning? Would be nice.

s.bishop@gmx.net

THX alot for you god Help.

Bishop

Last edited by Reanimator; 07-26-2005 at 04:41 AM.
Tweet this Post!Share on Facebook
Reply With Quote

  #10   Ban this user!
Old 07-26-2005, 05:03 PM
pminmo's Avatar  
Join Date: Jun 2003
Location: St. Peters, Mo USA
Age: 59
Posts: 3,325
pminmo is on a distinguished road

Glad to hear you got it working. If everything is running on the low side, i.e. pc output voltage and transfer characteristics, 3.3K only give you a 2.6V swing. 6.8K would suffice. The TLP624 opto isolator series is bith faster and has a higher minimum transfer characteristic. Any chance of pictures?

I don't have eagle files on the picstep, but do on the opto board, do you want those?

Phil
__________________
Phil, Still too many interests, too many projects, and not enough time!!!!!!!!
Vist my websites - http://pminmo.com & http://millpcbs.com
Tweet this Post!Share on Facebook
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-27-2005, 04:34 AM
 
Join Date: Jun 2005
Location: Germany
Posts: 7
Reanimator is on a distinguished road
PC817 vs. TLP624

Hi Phil,

right now i'm using the PC817 optos from NEC.
As i can see in the Datasheet the are faster than the TLP624? Maby i'm wrong. Just posting here the Datasheets.





For the Eagles(your Optoboard) i would be glad if you can send it to Me.
s.bishop@gmx.net

What do You mean about Pictures? Pictures of the Board? The Optos?
Just tell me and i will Post them :-)

Greats
Bishop
Tweet this Post!Share on Facebook
Reply With Quote

  #12   Ban this user!
Old 10-23-2005, 09:42 PM
 
Join Date: Aug 2004
Location: Brazil
Age: 40
Posts: 170
Ito-Brazil is on a distinguished road

What´s the fastest/cheapest OPTOs ? I mean i´m using 4N25 optos. Cheap but not so fast: down to 22 kHz (if my brain is not wrong)
I know some optos are really fast and cheap too. Toshiba has a TLP521 (4 legs) opto. Is that good? heare in brazil it costs US$ 0.50, like 4N25.

Thanks guys , you are great!
Tweet this Post!Share on Facebook
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -5. The time now is 03:01 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353