Go to advanced search

by hybris
Sun Jan 26, 2014 8:44 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

hey everyone i promised to post the result if it's working. so far the cnc is running with picnc jr with a good speed. the milling spindle isn't automated yet, but we'll working on it ;) so, many thanks to kinsa for the fast and friendly support :) here's the youtube video: http://youtu.be/qhweOWof4...
by hybris
Fri Oct 18, 2013 2:18 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

thanks, now i can speed up :)
by hybris
Wed Oct 16, 2013 2:02 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

hey kinsa i'm trying to configure my ini + hal file. my machine is working, it has got enought power :) but it's too slow. the thing is: when i increase the speed, the frequency is also rising but because of the small pulse width (about 12µs) the driver isn't able to recognise all step pulses normal...
by hybris
Wed Oct 09, 2013 10:22 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

you were right, it's working flawless :)
thanks!
by hybris
Tue Oct 08, 2013 3:03 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

no, i tested it just with the raspberry
i'll try it with my picnc jr and we'll see if it's working :)
by hybris
Tue Oct 08, 2013 2:30 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

i've already tested the sim configs without issues

but i haven't tested the configuration with the board connected
i was weird because i could start the MF70 config files without hardware connected and couldn't start my configs
by hybris
Mon Oct 07, 2013 4:44 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

/boot/configs/StigLi/StigLi.ini is the location of my ini file
and i renamed it, also the hal file
by hybris
Mon Oct 07, 2013 9:40 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

I have not tested it with my boards, i was afraid to kill it ;)
but the problem is, that i can't even start it to test it

my debug files, thanks a lot for your help
debug.rar
(777 Bytes) Downloaded 196 times
by hybris
Mon Oct 07, 2013 8:45 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

How can i test them in demo?
I was able to start your MF70 files
HAL.rar
(1.48 KiB) Downloaded 209 times
by hybris
Mon Oct 07, 2013 8:02 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

hey kinsa i'm struggling with the config files, but i think this time it's definitely my fault :? first i looked at your config files, then i search for a file for my driver i found one, compared it with your files and found out, that the ini files are nearly the same so i decided to modify your fil...
by hybris
Sun Sep 22, 2013 2:55 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

first: thanks a lot for your help

second: i borrowed a second raspberry, set it up and
RXD.jpg
RXD.jpg (30.74 KiB) Viewed 5952 times
it worked :D

i'm really glad about it :)
by hybris
Fri Sep 20, 2013 5:59 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

i did exactly what you've written, but i loaded the hal_picnc_bb driver, was that wrong? so, here we go, i really (!) measured signals (with a little bit strange shape in my opinion) SCLK.jpg RXDTXD.jpg maybe the capacitors? (i first tried with the breadboard) if i'm testing my board, i need the loa...
by hybris
Fri Sep 20, 2013 8:44 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

hmm.. i suspect worst :( removed pic, assembled a cable between pin4 and 5, started.. but there's just a constant voltage of 2.9V or: could it be, that i'm always making the same mistake with starting the hal driver (i'm afraid if it is so, you're going to kill me ;) ) sudo rmmod spi_bcm2708 sudo ha...
by hybris
Fri Sep 20, 2013 6:15 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

sad but true: i did
i observed while starting Pin 1, after starting the HAL driver i
measured on Pin 4 and 5, but there was a constant voltage
by hybris
Thu Sep 19, 2013 9:25 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

Pin4 = 3.3V Pin5 = 1.9V Pin1 = 3.3V (independently if i load the HAL driver or not) maybe something with the firmware went wrong, i didn't have the problem with the dead led on my board :? i'm going to flash the pic again. i wired icsp up, to flash the pic again (i had the firmware of the junior boa...
by hybris
Thu Sep 19, 2013 7:25 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

i'm still trying to troubleshoot my problem(s) the breadboard is even worse than the board i replaced because of your consider of the connectivity the ribbon cable with jumper cables photo i'm pretty sure that i have got now a connection, to be sure i measured the supply voltage at the pins you can ...
by hybris
Thu Sep 19, 2013 3:07 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

unable to install the test driver

Code: Select all

gcc: error: driver: No such file or directory
make: *** [hal_rpspi.so] Error 1
:?:
by hybris
Thu Sep 19, 2013 12:51 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

thanks for the pics of your signal i think there's a problem with my raspberry configuration i tried another time this code sequence http://www.raspberrypi.org/phpBB3/viewtopic.php?p=423530#p423530 but measuring the sclk signal directly on the pi http://imageshack.us/photo/my-images/202/xvs9.jpg/ bu...
by hybris
Wed Sep 18, 2013 3:58 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

i could also post pics from the signals measured with the scope, if that would be usefull?
and thanks for the great support :)
by hybris
Wed Sep 18, 2013 3:54 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

my circuit is made as a board i tested now your breadboard version, but i can switch immediately the photos of the breadboard version, i hope it's possible to recognize something on it :) photo1 photo2 pin1 is the on right row on the upper side of the ribbon plug i set the picnc-bb.0.mode to 1 i che...
by hybris
Wed Sep 18, 2013 2:13 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

slowly but surely i'm stumped :? first i build up the breadboard circuit then i flashed the pic with the picnc_bb.hex file, installed the picnc_bb hal driver and unloaded the linux spi driver, started halrun and typed in: loadrt threads name1=test period1=1000000 loadrt siggen loadrt hal_picnc_bb se...
by hybris
Wed Sep 18, 2013 7:50 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

followed your instructions, got no errors but there was no effect on spi.0.position-fb :( also changed the frequency what could be the problem? do you think the problem could be solved by using this setup? http://www.raspberrypi.org/phpBB3/viewtopic.php?p=399603#p399603 thanks a lot for your help!
by hybris
Mon Sep 16, 2013 2:36 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

kinsa wrote:BTW, make sure your RPi is not overclocked as it would affect the SPI speed.
hmm, maybe.. default frequency is 700, i'm running it with 800
gonna change it
by hybris
Mon Sep 16, 2013 2:30 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

is it possible that i'm missing hal_rpspi.c? or it's just not able to create it!?
because i'm getting an error one more time :(

Code: Select all

gcc: error: driver: No such file or directory
by hybris
Mon Sep 16, 2013 1:09 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 354866

Re: LinuxCNC

yes, i've got another one

thanks, so i'll check the RPi

Go to advanced search