Go to advanced search

by jam1
Thu Jun 21, 2018 6:36 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: USB Serial /dev/ttyUSB0 does not transmit
Replies: 3
Views: 1363

Re: USB Serial /dev/ttyUSB0 does not transmit

Thank you for the solution. I was really searching for the solution to the transmitting problem with minicon.
by jam1
Fri Jul 08, 2016 11:07 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Rpi3 with Arduino on serial port /dev/ttyS0
Replies: 4
Views: 1791

[SOLVED] Re: Rpi3 with Arduino on serial port /dev/ttyS0

Things I didn't know yesterday. First, I can only program my Mega board from the USB port which is wired to UART #0. The port I want to use for operation is on UART #2. This port needs to be enabled to be used and only #0 is "hardware" enabled. Secondly, I need to change the serial port # in my prog...
by jam1
Thu Jul 07, 2016 6:36 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Rpi3 with Arduino on serial port /dev/ttyS0
Replies: 4
Views: 1791

Re: Rpi3 with Arduino on serial port /dev/ttyS0

But you mean in the file /boot/cmdline.txt !
by jam1
Thu Jul 07, 2016 6:23 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Rpi3 with Arduino on serial port /dev/ttyS0
Replies: 4
Views: 1791

Re: Rpi3 with Arduino on serial port /dev/ttyS0

Ok, let's try that but I think I did all of the above except this one
core_freq=250
by jam1
Thu Jul 07, 2016 4:49 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Rpi3 with Arduino on serial port /dev/ttyS0
Replies: 4
Views: 1791

Rpi3 with Arduino on serial port /dev/ttyS0

Hi, I cannot figure out what to do to get the arduino IDE to communicate on the serial port from the Rpi3. I tried all the options I could find in the posts without success (changing boot/config.txt , etc). I have no problem when the USB port is used but I need to use the serial port . The minicom t...
by jam1
Thu Jun 16, 2016 3:03 pm
Forum: General discussion
Topic: Bluetooth problems on Raspberry pi-jessie
Replies: 10
Views: 2980

Re: Bluetooth problems on Raspberry pi-jessie

Good news today.
I did a fresh install again and the bluetooth controller magically appears.
I just hope it stays on from now on. I have no idea why it did not show up before.
by jam1
Wed Jun 15, 2016 6:54 pm
Forum: General discussion
Topic: Bluetooth problems on Raspberry pi-jessie
Replies: 10
Views: 2980

Re: Bluetooth problems on Raspberry pi-jessie

Should the bluetooth interface showed up when I do lshw or hwinfo? I can see the wifi as wlan0 but no sign of bluetooth. Is it the same MAC address? This is the last few lines from hwinfo 36: None 00.0: 1070a WLAN [Created at net.125] Unique ID: AYEt.QXn1l67RSa1 SysFS ID: /class/net/wlan0 SysFS Devi...
by jam1
Wed Jun 15, 2016 1:37 pm
Forum: General discussion
Topic: Bluetooth problems on Raspberry pi-jessie
Replies: 10
Views: 2980

Re: Bluetooth problems on Raspberry pi-jessie

I did a fresh install. apt-get upgrade shows : "Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded." 1) deamon running but nothing in the bluetooth "sys" [email protected]:~ $ ps ax | grep blu 461 ? Ss 0:00 /usr/lib/bluetooth/bluetoothd 2541 pts/3 S+ 0:00 grep --color=auto blu [email protected]...
by jam1
Tue Jun 14, 2016 4:26 pm
Forum: General discussion
Topic: Bluetooth problems on Raspberry pi-jessie
Replies: 10
Views: 2980

Re: Bluetooth problems on Raspberry pi-jessie

Hi all, I don't want to start another thread on this subject. My problem is that after a few days, the RPi3 bluetooth adapter is not detected anymore. I just did a totally fresh install with this Rasbian May-27-2016 image and booting directly with a HDMI monitor and the bluetooth icon is gray and sa...
by jam1
Wed Oct 07, 2015 8:04 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320652

Re: LinuxCNC

I increased the base period and all displays are playing nice but I still cannot load a new file in "axis". The problem is around the function emcTaskPlanOpen() . I can load and run a new file with other displays.
by jam1
Tue Oct 06, 2015 7:51 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320652

Re: LinuxCNC

This is my latest ini file [EMC] MACHINE = my-micro_step-mill DEBUG = 0 [DISPLAY] DISPLAY = axis EDITOR = gedit POSITION_OFFSET = RELATIVE POSITION_FEEDBACK = ACTUAL ARCDIVISION = 64 GRIDS = 10mm 20mm 50mm 100mm 1in 2in 5in 10in MAX_FEED_OVERRIDE = 1.2 MIN_SPINDLE_OVERRIDE = 0.5 MAX_SPINDLE_OVERRIDE...
by jam1
Tue Oct 06, 2015 3:03 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320652

Re: LinuxCNC

As I said before, I am able to run the 3 motors with "axis" with "backplot" without any problems on my Pi B+. It is only when I want to change files that it stops after the file is loaded. I modify a file to have only one command and the same thing is happening after the file is loaded. It seems tha...
by jam1
Tue Oct 06, 2015 10:50 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320652

Re: LinuxCNC

Hi, I do not see why using axis is a problem with the B+. This is a snapshot of the cpu/mem usage after I tried to load 3DChips.ngc. top - 06:38:58 up 55 min, 2 users, load average: 2.25, 2.28, 1.95 Tasks: 72 total, 2 running, 70 sleeping, 0 stopped, 0 zombie %Cpu(s): 60.5 us, 36.4 sy, 0.0 ni, 0.0 i...
by jam1
Mon Oct 05, 2015 11:26 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320652

Re: LinuxCNC

Yes, I am using Axis Gui. I tried others Gui but not mini yet. The new file is loaded as far as I can tell but everything stops after that and the cursor is in busy mode. [EMC] MACHINE = my-mill DEBUG = 0x00000900 [DISPLAY] DISPLAY = axis EDITOR = gedit POSITION_OFFSET = RELATIVE POSITION_FEEDBACK =...
by jam1
Mon Oct 05, 2015 7:53 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320652

Re: LinuxCNC

After starting with this: [email protected] ~/linuxcnc/configs/my-mill $ machinekit -d -V my-mill.ini ... ... + type -path axis + axis -ini /home/pi/linuxcnc/configs/my-mill/my-mill.ini emcTaskInit: using builtin interpreter I do not see any more messages . When I try to load another ngc file, it seems...
by jam1
Mon Oct 05, 2015 4:48 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320652

Re: LinuxCNC

3 motors humming along fine. One problem is that I cannot load another file from the menu when running in real time mode. I could change file in simulation mode only. The busy cursor keeps turning without any action. Is there a debug message I could look at? The same thing happen if I want to look a...
by jam1
Mon Oct 05, 2015 1:54 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320652

Re: LinuxCNC

I will be happy with 1 kHz. Right now, the motor speed is very fast. (way too fast for the 3D printer I will be making). I have a lot to learn in the machinekit setup. I will provide all the files when everything is working to my satisfaction.
by jam1
Mon Oct 05, 2015 12:47 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320652

Re: LinuxCNC

Success, After providing the proper voltage to the motor(12VDC), the motor(single, X-axis) is stepping properly through the MACHINEKIT logo directly from Machinekit to the Pi to the A4988 to the NEMA17 motor. I don't know how accurate it is but I only have one error message at the start which said :...
by jam1
Sat Oct 03, 2015 11:23 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320652

Re: LinuxCNC

I know, this is where I started. But did a bit more as far as I can see. I was able to execute one command from the machinekit panel to the Pi. I am using stepconf from the command line to generate a basic parallel port configuration and then changing all the parport occurences to hal_gpio. I am try...
by jam1
Fri Oct 02, 2015 4:35 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320652

Re: LinuxCNC

Some progress on my setup of trying to use machinekit with the Pi controlling the steeper driver A4988 directly. First, I found that there is a hal_gpio driver in the machinekit-master git. I just copied it to my setup and by doing loadrt hal_gpio inside halrun , I have control of the io pins on the...
by jam1
Wed Sep 30, 2015 6:14 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320652

Re: LinuxCNC

Success! I had to start from a fresh install of raspbian wheezy image. Except for a small error in one of your script sudo sh -c ' echo " deb http://0ptr.link/raspbian wheezy main' > \ /etc/apt/sources.list.d/rpi-machinekit.list" which should be sudo sh -c " echo ' deb http://0ptr.link/raspbian whee...
by jam1
Wed Sep 30, 2015 2:50 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320652

Re: LinuxCNC

That's what I thought first but with the binary, comp is not included [email protected]:~$ halrun rtapi:0 stopped msgd:0 stopped halcmd: comp <stdin>:1: Unknown command 'comp' halcmd: halcmd: exit [email protected]:~$ comp -bash: comp: command not found [email protected]:~$ if I try to get comp [email protected]:~$...
by jam1
Wed Sep 30, 2015 12:46 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320652

Re: LinuxCNC

Ok. A little progress here but still some problems. With all the following done on the Pi. I did follow the instruction to compile from source as describe here http://www.machinekit.io/docs/building-from-source/ First, I have the machinekit binary installed on the SD card. The card has now 2 partiti...
by jam1
Tue Sep 29, 2015 1:13 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320652

Re: LinuxCNC

Now for the next step, I want to connect to the driver board from Adafruit MotorShield V2. It needs to be driven by I2C and so far I did not find much info on how to do that. Most pins definitions in HAL devices do not used SDA/SCL signals. I have the drivers written in C from Rpi and Adafruit. From...
by jam1
Mon Sep 28, 2015 10:01 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320652

Re: LinuxCNC

Thank you very much, it was not clear from the instructions or from any forum posts that I could find.
To login in, I did
ssh -X [email protected]
pw :raspberrypi

but the login prompt is
[email protected]:~$

It works beautifully in simulation mode. Now I have a lot to learn.

Go to advanced search