UDCON = UDCON & 0xFE;
The above compiles without error for an Arduino Leonardo. I'll try it in the
shop tomorrow.
Thanks!
-Original Message-
From: John Dammeyer
Sent: December 4, 2020 7:02 PM
To: 'Enhanced Machine Controller (EMC)'
Subject: Re: [Emc-users] USB - Serial question
I don'
I don't have an Arduino here that has the ATmega16U4 so I can't try this.
Perhaps someone else can?
Page 281 of the linked data sheet shows UDCON bit 0 holds the Detach Bit.
Googling access to Arduino registers implies that you can just use the data
sheet name to get to the register.
So theo
Atmel Studio (the free development IDE for programming Atmel/PIC AVRs
(windows only)) will import an Arduino project. This includes all the
source for all the libraries that are used. This makes it easier to
customise libraries. Programming without an ISP tool is a bit tricky - I
think you need
There are dozens of solutions. maybe the Udev rule tigers a Python scrip
that waits for an "I'm ready" signal before it makes the device? Or the
rules looks for a "myMill" device ID
I suggest reading USB documentation and standards and also how Udev works
on Linux.
This is not bad
https://linux
You are correct. I have a udev rule to connect to my particular VID/PID. The
problem is trying to talk before I'm really ready.
-Original Message-
From: Chris Albertson
Sent: December 4, 2020 1:41 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] USB - Serial question
S
So PP will try and "talk" to every serial port on your computer? I doubt
it is that dumb. I bet there is a Udev rule that triggers something and
you can edit the rules to look for the exact type of device or manufacturer
ID.
On Fri, Dec 4, 2020 at 10:09 AM wrote:
> Thanks for I'm unsure how
I don't think so when reading this from the link below, serial.dtr is not a
standard Arduino ide function:
"On a standard Arduino, the DTR and RTS signals are present on pins of the FTDI
chip, but they are not connected to anything. You can solder wires between I/O
pins and the FTDI chip if you
Still requires an output. Whether it's DTR, Power, a Relay or the #RESET signal.
Page 272 and 273 talks about the DETACH bit.
https://ww1.microchip.com/downloads/en/DeviceDoc/Atmel-7766-8-bit-AVR-ATmega16U4-32U4_Datasheet.pdf
It's worth a try in that blink application working with that bit to s
Isn't DTR a signal controlled by the host (LinuxCNC) rather than the micro?
-Original Message-
From: Martin Dobbins
Sent: December 4, 2020 1:02 PM
To: Enhanced Machine Controller (EMC)
Subject: Re: [Emc-users] USB - Serial question
Hi Ken,
PJRC's version of Arduino is somewhat differ
Thanks for I'm unsure how that helps. My widget interfaces to
LinuxCNC/PathPilot as a serial device rather than as a mouse or keyboard.
What should my entry in udev/rules.d look like?
-Original Message-
From: Chris Albertson
Sent: December 4, 2020 12:36 PM
To: Enhanced Machine Controller
Hi Ken,
PJRC's version of Arduino is somewhat different, I wonder if DTR is what you
need? If you can read the serial.dtr as shown here, then I'm pretty sure you
can hold DTR low until you are ready to send/receive data:
https://www.pjrc.com/teensy/td_serial.html
Martin
_
With Arduino, the test is not to simply plug in the device. Look at
File->Examples->USB and run the sketch.
While the Arduino itself shows as a serial device, the example shows you
how to enumerate some other device, like a mouse, keyboard, or mass
storage. This would be done only AFTER the .be
John wrote: "But just as easily it can run for 7.654 to 8.765 hours and then
suddenly hang with no apparent reason and no easy way to debug."
There are lots of reasons for such random failures but in my experience they
are often the result of over allocating RAM for data and thus leaving too
li
On Fri, 4 Dec 2020 at 15:41, Eric Keller wrote:
> https://www.amazon.com/gp/product/B082KKG55T?pf_rd_r=065XPWF7ZTHWN85F18N6&pf_rd_p=9d9090dd-8b99-4ac3-b4a9-90a1db2ef53b
> I'm curious what the rationale is for alligator clips.
They are a fairly "universal" connector, I suppose. You can clip on to
Your suggestion sounded great so I did a few tests. I loaded a PCJR Teensy
LC (ARM Cortex-M0+) and a genuine Arduinio Leonardo (ATmega32u4) with the
standard BLINK program -- the Arduino equivalent of the Linux HELLOWORLD.
For those unfamiliar with the Arduino world both of these boards have native
Your suggestion sounded great so I did a few tests. I loaded a PCJR Teensy
LC (ARM Cortex-M0+) and a genuine Arduinio Leonardo (ATmega32u4) with the
standard BLINK program -- the Arduino equivalent of the Linux HELLOWORLD.
For those unfamiliar with the Arduino world both of these boards have native
U.S. listing of Andy's adapter
https://www.amazon.com/gp/product/B082KKG55T?pf_rd_r=065XPWF7ZTHWN85F18N6&pf_rd_p=9d9090dd-8b99-4ac3-b4a9-90a1db2ef53b
I'm curious what the rationale is for alligator clips.
Eric Keller
Boalsburg, Pennsylvania
On Fri, Dec 4, 2020 at 6:59 AM andy pugh wrote:
> On
On Friday 04 December 2020 06:24:06 andy pugh wrote:
> On Fri, 4 Dec 2020 at 00:52, Gene Heskett wrote:
> > I currently have a 5i25, driving a cnc4pc c1g bob on P2, with a
> > 7i76D on P3. I can use the spindle controls of the 7i76D or I might
> > be able to talk to it thru rs485. Which is the be
On Fri, 4 Dec 2020 at 00:52, Gene Heskett wrote:
> I currently have a 5i25, driving a cnc4pc c1g bob on P2, with a 7i76D on
> P3. I can use the spindle controls of the 7i76D or I might be able to
> talk to it thru rs485. Which is the better control, and if its the
> rs485, what module does that n
On Thu, 3 Dec 2020 at 20:53, Frederic RIBLE wrote:
> However, I cannot find good reference about clean integration with
> LinuxCNC own homing logic.
> Especially re-using standard GUI homing button/status, and auto-mode
> inhibition when homing is not done
I suspect that it might be best to igno
20 matches
Mail list logo