Go to advanced search

by Wire
Thu Aug 31, 2017 10:19 pm
Forum: Troubleshooting
Topic: USB to Serial connection loosing chars on Pi but not windows
Replies: 9
Views: 1557

Re: USB to Serial connection loosing chars on Pi but not windows

Tested with
"dwc_otg.nak_holdoff=2 dwc_otg.fiq_enable=1 dwc_otg.fiq_fsm_enable=1 dwc_otg.fiq_fsm_mask=0x7"

That also seems to work fine.

Is there any other reduced set of flags I should try?
by Wire
Thu Aug 31, 2017 4:36 pm
Forum: Troubleshooting
Topic: USB to Serial connection loosing chars on Pi but not windows
Replies: 9
Views: 1557

Re: USB to Serial connection loosing chars on Pi but not windows

iurly your the best!

Looks like that was exactly my issue and adding the recommended string to the cmdline.txt fixed the issues I was seeing.
Time to update my install documentation.

Thanks again for all the help!
by Wire
Thu Aug 31, 2017 12:28 am
Forum: Troubleshooting
Topic: USB to Serial connection loosing chars on Pi but not windows
Replies: 9
Views: 1557

Re: USB to Serial connection loosing chars on Pi but not windows

Tried a powered usb hub first in case it was a power issue so that item is tested.

Have not tried USB 1.0 speeds. Will give that a try in the morning.

Thanks!
by Wire
Wed Aug 30, 2017 6:01 pm
Forum: Troubleshooting
Topic: USB to Serial connection loosing chars on Pi but not windows
Replies: 9
Views: 1557

Re: USB to Serial connection loosing chars on Pi but not windows

Unfortunately that is not a option due to the dongle is embedded in another product. So suck with the USB to serial bridge as is. Can understand if I was running multiple USB devices and or Ethernet ( also on the USB bus) but confused why I can't keep up with a <1Mb/s connection on a Pi 3. Thanks fo...
by Wire
Wed Aug 30, 2017 5:34 pm
Forum: Troubleshooting
Topic: USB to Serial connection loosing chars on Pi but not windows
Replies: 9
Views: 1557

USB to Serial connection loosing chars on Pi but not windows

I have a simple setup where I need to talk to a debug port running at 921600 baud to collect some error logs. I am using a RPi 3 running a recently installed Rasbian Jessie (Linux rpi-14-48-d5 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux). The hardware is a single CP210x silico...
by Wire
Mon Mar 06, 2017 4:28 am
Forum: Other projects
Topic: first design for an hdmi to lvds adapter
Replies: 78
Views: 77105

Re: first design for an hdmi to lvds adapter

Boards are sitting in my project bag assembled just need to get back to it and rig up a power supply and some control logic.

Currently swamped trying to get a project done for Cyphercon. Well past the panic point so anything not critical to life is on hold till April.
by Wire
Fri Nov 11, 2016 1:49 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

Floating terminated nets will act like antennas and a plasma cutter will act like a broad spectrum spark gap transmitter. So the fact they jump around when not plugged into anything is not unexpected. On the PICnc end try adding a large electrolytic capacitor to the power rails. That should help if ...
by Wire
Thu Nov 10, 2016 8:01 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

Wondering if the wires between the Pi and the PICnc are picking up noise and causing issues. Try wrapping them all in foil and connect it to ground on the Pi. Try that with the PLL port unplugged. Also check the reset pin into the PIC and make sure it is not floating.
by Wire
Thu Nov 10, 2016 4:54 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

Disconnect the cables from the machine to the controller and strike the torch and see if the reset goes away. If so the noise is getting picked up on the cables. You can start plugging them in one at a time and see which one is adding the sensitivity and depending on what they do the solution varies...
by Wire
Sat Oct 01, 2016 6:53 am
Forum: Advanced users
Topic: g_hid keyboard emulation with windows 10
Replies: 0
Views: 439

g_hid keyboard emulation with windows 10

Trying to use a Raspberry Pi Zero to make a custom macro keyboard. Doing some searching around I found this page which mentions the g_hid driver: http://blog.gbaman.info/?p=699 Following the directions there I can get the Ethernet driver to work with no issues on windows 10. But when I comment that ...
by Wire
Thu May 19, 2016 3:30 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

my 5axis firmware is here:
https://github.com/Wireb/PICnc-5axis

Board logics and some other info can be found here:
http://www.wire2wire.org/PICnc_5axis/PICnc_5axis.html
by Wire
Wed May 18, 2016 11:37 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

On the hardware side depending on what you need there may be some hardware for sale. I did a OSH run of board for my laser cutter and the min order was 3. I don't have a use for all 3 so have 2 unspoken for. BUT... These cards were set up for my laser cutter so there are no onboard stepper drivers (...
by Wire
Mon Dec 28, 2015 10:47 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

Hi everyone, I bought a cnc router 3020 with a motor driver unit. The motor driver unit has a parallel port input. Do any of you know? How do I connect motor driver unit to FRDM-KL25Z. Is there any FRDM-KL25Z's pinout schema for parallel input. Think you have the wrong thread. The PICnc uses a Micr...
by Wire
Fri Dec 18, 2015 3:27 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

So with the new code a PIC32MX150F128D running at 40MHz should get about 69kHz max correct? Looks like yours is set up for 5 axis. If that is dropped to 3 or 4 can the step gen be speed up any more? Will have to pick up your code and merge my changes in for my laser cutter boards. Unfortunately laid...
by Wire
Fri Dec 18, 2015 1:59 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

which processor and clock rate did you use on the 128kHz version?
by Wire
Tue Aug 04, 2015 4:16 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

If X1 and X2 are synchronous (ie never are moved independently) you can get away with a 3 axis board. If your going with external stepper drivers my board would do it. Downside is the firmware as I have a few projects that need to get done before I can get back to the code.
by Wire
Tue Aug 04, 2015 2:04 am
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

how much more IO do you need? Also do you need more stepping channels or just plain digital IO? Started a bigger version for my laser cutter (needed more IOs as well) Here is some preliminary info http://www.wire2wire.org/PICnc_5axis/PICnc_5axis.html Have 3 PCBs back and built up and about half way ...
by Wire
Sat Jun 06, 2015 3:51 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

I think those are ground as well for signal shielding. All the IOs on that connector are 3.3V so would not be 5V.

Been a long time since I looked at the logics from that board so may have that wrong but someone will pipe in and correct me if I have it wrong :P
by Wire
Wed May 20, 2015 7:28 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

I think just image files. Tried that before as well and ended up just linking to my website.
by Wire
Wed May 20, 2015 1:16 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

The current PICnc code does not use the CS line either. He just clocks the data on the fly and issues resets if things get out of sync. I hooked the CE0 line up on my laser cutter boards just in case but currently it is unused.
by Wire
Fri Apr 10, 2015 3:35 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

Yep knew that part. What I was asking is if there were any benchmarks between the two. Trying to decide if I want to continue down the PICnc path and buy a new RPI2 (only have a first gen RPI right now) or just go buy a BBB and use that for the project. Just looking to see what the delta in max step...
by Wire
Fri Apr 10, 2015 12:30 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

Happen to know how that compares to the BBB using the SPUs? Also what changes did you need to make in the firmware? currently running a fork with a bunch of changes for my laser cutter setup. Just trying to decide if it would be easier to port your changes to mine or to grab your latest and just sta...
by Wire
Thu Apr 09, 2015 2:05 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

I thought the rpi2 was fast enough to do direct GPIO stepping at 1MHz based on previous posts is that not correct? If so what are the advantages of using a rpi2 over a rpi? With the rpi2 and the 80MHz pic what is the fastest step gen do you think it will support?

Thanks,
by Wire
Fri Feb 20, 2015 10:39 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

At one point it was stated that the RPI RTOS was not stable enough to do direct stepper driving. Has that been resolved now? Right now the PICnc is capped at 40kHz so a direct GPIO solution running at 1MHz (or anything over 100kHz) would be a boon. More than likely would redo my control card to just...
by Wire
Mon Nov 17, 2014 8:33 pm
Forum: Automation, sensing and robotics
Topic: LinuxCNC
Replies: 1021
Views: 320246

Re: LinuxCNC

I think the line you want to edit is "SCALE = 1200.0" under each of the [AXIS_x] statements in the .ini file. Have not played with that part yet so may be off.

Go to advanced search