Anyway, in the actual version of firmware, the delay between steps must not be bigger than 10ms, otherwise the USB connection is lost. There I must rework the code to permit bigger delays if required.
On Nov 20, 8:59 pm, "funlw65(Vasi)" <[email protected]> wrote: > Hi Vasile, > > Yes, but that mean to use an old computer with LPT port - I can use it > with TurboCNC, CNCPro or EMC... But I wanted something for everyone, > considering that the parallel port is rare these days. So, it had to > be an USB "machine". But for this, I must modify the source of CNCPro > (Public Domain) to work with my firmware... again, I had no time for > it. > > Yes, is hard to make precision mechanics for it, specially when you > don't have the right tools. But with an acceptable router you can make > a little better one and so on, until you have what you want. > > I have a little dilemma, about how to power my steppers... what > voltage they need... and another dilemma about how much time a stepper > coil can be maintained connected to the power (I must use only pulses > for short time, or I need to keep them continuously powered to > maintain their position?)... > > On Nov 20, 6:49 pm, vasile surducan <[email protected]> wrote: > > > > > On Sat, Nov 20, 2010 at 6:27 AM, funlw65(Vasi) <[email protected]> wrote: > > > Hi Sebastien, > > > > :), yes, I need another microcontroller to listen the PC sounds, maybe > > > a DSP which mean Kyle must start working for supporting those > > > microcontrollers. :D > > > > It never worked for me on 18F2550... never tried his big brother, had > > > no time, maybe this winter. If you go on this page, > > > >https://sites.google.com/site/funlw65/tutorials/jal-projects/the-usb-... > > > Hi Vasi, > > > Interesting way... > > Did you consider using a ready to use CNC software and a simple stepper > > driver ( LPT) without any microcontroller? > > The biggest problem on CNC is mechanics... > > > Vasile > > > > you will see a comment in the source about that, addressed to > > > Albert... but because it worked without, and my firmware never needed > > > special confirmation, I never reported. Now it is possible to be also > > > Toon's problem (as I understand, he tried it under 18F2553?). I tried > > > it mostly under Vista, SuSE Linux and Ubuntu Linux. > > > On dmesg, never special, I mean, it is displaying a recognized and > > > connected device. Nothing else. But that loop it freeze my > > > microcontroller. > > > > Vasi > > > > On Nov 20, 1:59 pm, Sebastien Lelong <[email protected]> > > > wrote: > > > > hi Vasi, > > > > > 2010/11/20 funlw65(Vasi) <[email protected]> > > > > > > Hi Matt, > > > > > > On Nov 20, 6:23 am, mattschinkel <[email protected]> wrote: > > > > > > Then how would your program know if the usb port is connected? > > > > > > That is easy, Windows is emitting some funny sounds and in Linux you > > > > > see that using dmesg and this way "I" know. Then, my firmware react on > > > > > PC software host... or, if is about sending data continuous, the start > > > > > is marked some how for the software host. > > > > > So, do you need another board that checks these sounds etc... in order > > > the > > > > other to know the other can send/receive data ? :) > > > > > More seriously, the PIC has to know when connection is available, in a > > > > programmatical way. > > > > I wasn't aware you had this problem. This is pretty weird, and knowing a > > > > (very) little about Albert's way of programming, I'm quite sure he did > > > put > > > > this line for a specific purpose. > > > > > As I said, there may be a problem while PC host is configuring the USB > > > > device. What does dmesg says (full log from pluging, configuring, comm, > > > to > > > > unpluging) ? > > > > > > Toon reported that is not working and didn't worked also for me... how > > > > > you will react on that? I got stuck on the same loop and program > > > > > worked without that so I never used since then (it is an old issue, > > > > > what libs are you using now?). I think I remember Sebastien said > > > > > something about that... but I may be wrong. > > > > > I think this was about AT chars under Linux kernel < 2.6.32. Not related > > > to > > > > the line status. > > > > > Cheers, > > > > Seb > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "jallib" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<jallib%[email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/jallib?hl=en. -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
