Meeting with IEEE

33 views
Skip to first unread message

Jeff Highsmith

unread,
May 7, 2013, 12:07:26 PM5/7/13
to triangl...@googlegroups.com
I don't have a perfect memory, by any means, but I'll share my remembrances and thoughts from last night's meeting. Others will do the same and perhaps we'll have a fair recollection in aggregate. When reading my ramblings, please note that there are two groups that were discussed at this meeting, the Arduino group and Triangle Area Robotics.

We (those from the Arduino group that were present) decided not to blend the Arduino group into IEEE at this time. Triangle Area Robotics, however, will be merging/joining the local IEEE entity. Several members of the robotics club will become members of the IEEE ($180/yr). Others are encouraged to join, but not required. The IEEE will provide not only a vast network of connections and resources, but also funding for food at meetings and funding for projects. Project funding may be easiest to get for STEM-related projects that are distributed to many schools, but the requirement for funding is just that the project be of benefit to IEEE members or to students, if I remember correctly.

Triangle Area Robotics will most likely continue to operate as before, but now with additional resources and several members also attending other IEEE meetings.

The Arduino Group and TAR will probably begin to have quarterly joint meetings to share and cross-pollinate people and ideas. This meeting will probably take place on the first Monday of the month each quarter.

When discussing the possible merger of the Arduino Group with Triangle Area Robotics and/or the IEEE we talked about how each group had a different feel and different personality, though the projects are similar. The high turnover of people was mentioned, as was the steady growth of the Arduino group. The Arduino group has a few leads on meeting places and will pursue those and continue operation at a new location. 

That's about all I can remember as far as how it went. I'll expound upon my own thoughts when I have a chance. 

Jeff :)

Sent from Mailbox for iPhone

Pete Soper

unread,
May 7, 2013, 3:07:08 PM5/7/13
to triangl...@googlegroups.com
I'm meeting by phone with Seth Hollar of E-Garage tomorrow to discuss a possible meeting arrangement for the Arduino group.

Other possibilities are being explored too.

As an FYI IEEE membership is "1/2 price for new members" and is also 1/2 price if you're unemployed or a student. I was a member for a stretch and found "Spectrum" to be much more interesting than "ACM Communications." :-)

-Pete
When discussing the possible merger of the Arduino Group with Triangle Area Robotics and/or the IEEE we talked about how each group had a different feel and different personality, though the projects are similar. The high turnover of people was mentioned, as was the steady growth of the Arduino group. The Arduino group has a few leads on meeting places and will pursue those and continue operation at a new location.�

That's about all I can remember as far as how it went. I'll expound upon my own thoughts when I have a chance.�

Jeff :)
�

Sent from Mailbox for iPhone
--
You received this message because you are subscribed to the Google Groups "trianglearduino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to triangleardui...@googlegroups.com.
Visit this group at http://groups.google.com/group/trianglearduino?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
�
�

Pete Soper

unread,
May 10, 2013, 3:52:29 PM5/10/13
to triangl...@googlegroups.com
I was debugging some new hardware and found and fixed the "last
bug"[tm], but for reasons I don't begin to understand I'm suddenly no
longer able to tail the Arduino serial device and monitor what's coming
out via Serial.print{ln}. I put a logic analyzer on the Arduino port 1
and decoded it and it's perfect, 9600 baud ASCII with exactly the right
stuff, but nothing ends up via ttyACM0 on my Linux system. (It is
creating and talking to ACM0, not another device. I think I could write
a book on the canonical ordering of disconnect/reconnect with a few
Arduinos and a few test instruments to get the device assignments to be
deterministic. IMHO this is an absolutely silly aspect of USB device
handling). I've also checked the power supplies: no problems. For this
application there aren't even any PCB connections to ports 0 and 1 on my
(Arduino Uno shield). so I'm doubly surprised that anything less than
shorting out the +5 supply would mess this up.

Anyway, I've checked/mucked with the device permissions and a few other
things but wonder if anybody else has seen this and might know what
could have caused the change of behavior? Coincidentally while I was
here in the basement the power company replaced my meter, forcing a very
abrupt reboot of my Linux system. So I'm already past the "hit it with a
hammer" step. :-)

Regards,
Pete

Carl Nobile

unread,
May 10, 2013, 4:00:42 PM5/10/13
to triangl...@googlegroups.com
Pete,

Check permissions, could be a udev issue. If it runs as root that's what it will be. You may have to add rules in the /etc/udev/rules.d/ directory. I just had a similar issue with the Kinect, worked fine till I did an update and something changed the rules on me.

Carl


--
You received this message because you are subscribed to the Google Groups "trianglearduino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trianglearduino+unsubscribe@googlegroups.com.



--
-------------------------------------------------------------------------------
Carl J. Nobile (Software Engineer)
carl....@gmail.com
-------------------------------------------------------------------------------

John Vaughters

unread,
May 10, 2013, 4:05:38 PM5/10/13
to triangl...@googlegroups.com
Pete,
 
Try loading a different tool like putty or plink, which is installed with the putty tool. It works on linux too.
 
plink -serial /dev/ttyACM0 -sercfg 115200,8,n,1,n
 
Just thought it might make sense to try a different tool than tail. For reasons unknown to me I have switch between tail and cat and neither works on occasion. I cannot nail it down because it is not consistent.
 
Also try it on a windows box and the plink command is the same except replace with com4 or whatever com your device is.
 
Good Luck,
 
John Vaughters
 
 

--
You received this message because you are subscribed to the Google Groups "trianglearduino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trianglearduino+unsub...@googlegroups.com.

John Vaughters

unread,
May 10, 2013, 4:12:53 PM5/10/13
to triangl...@googlegroups.com
Pete,
 
Quick note, the plink utility is a direct stream, so if you type a character it goes directly to the buffer, it does not wait until you type enter. It makes for a great utility for console redirection to communicate to an arduino.
 
Second the permissions statement also. Just ls -la /dev/ttyACM0 and make sure you have permission. You should be able to change the permission as root also.
 
John Vaughters

Pete Soper

unread,
May 10, 2013, 5:26:01 PM5/10/13
to triangl...@googlegroups.com


On 05/10/2013 04:05 PM, John Vaughters wrote:
Pete,
 
Try loading a different tool like putty or plink, which is installed with the putty tool. It works on linux too.
 
plink -serial /dev/ttyACM0 -sercfg 115200,8,n,1,n
 
Just thought it might make sense to try a different tool than tail. For reasons unknown to me I have switch between tail and cat and neither works on occasion. I cannot nail it down because it is not consistent.
 
Also try it on a windows box and the plink command is the same except replace with com4 or whatever com your device is.

I have a different tool.

The logic analyzer works flawlessly and allows me to see that the serial data stream coming from the Arduino is exactly as expected.

 Excuse my dinosaur-like throwback to a previous era of Internet/Usenet interaction, but IMO it would be brain-dead to try to solve this problem by horsing around with a Windows system, as this is all about an unexpected change in behavior on a Linux system.


-Pete
To unsubscribe from this group and stop receiving emails from it, send an email to triangleardui...@googlegroups.com.

Pete Soper

unread,
May 10, 2013, 8:50:15 PM5/10/13
to triangl...@googlegroups.com
Sorry, John.

Plink appears to be much more of a network tool on Linux, at least, but
while I got ready for the punch in the nose I deserve for insulting you,
I thought to try other programs that are meant to talk directly to the
serial ports on Linux. The "screen" program instantly does exactly what
I would have expected of "tail -f" the last 200 times I used tail,
showing the serial port output just as the logic analyzer shows it.

OK, I don't know what the deal is with "tail", but I'll get along
with the next thing now.

-Pete



John Vaughters

unread,
May 11, 2013, 7:22:27 AM5/11/13
to triangl...@googlegroups.com
Plink is just another terminal but meant for console redirection and is a great quick test. It works on windows and Linux, which is why I use it. I like it for simplicity. But screen is just as well. It is basically a console version of putty that most people use for ssh, but that does not make it a network tool. It is just a terminal with several types of connection capabilities.

The only reason I would hook to windows would be to make sure there was not a problem with the USB circuitry. It was not clear in your writing if you tested at the USB side with the logic analyzer.

Also I apologize for adding permission comments, because I saw you had included them.

I am glad you were able to solve it.

Pete Soper <pe...@soper.us> wrote:

Bill Farrow

unread,
May 11, 2013, 9:42:58 AM5/11/13
to triangl...@googlegroups.com
Pete,
It's probably something going wrong with linux usb enumeration or
permissions. Please post the (relevant) output from the following
commands after plugging in the arduino usb.

ls -l /dev/ttyACM*
uname -a
dmesg


Bill

Pete Soper

unread,
May 11, 2013, 11:11:27 AM5/11/13
to triangl...@googlegroups.com
I should have mentioned that programming the Arduino via the USB works
normally.

ls -l /dev/ttyACM0
crw-rw---- 1 root dialout 166, 0 2013-05-11 11:06 /dev/ttyACM0

Linux pi 2.6.32-33-generic-pae #70-Ubuntu SMP Thu Jul 7 22:51:12 UTC
2011 i686 GNU/Linux

1232a1233,1240
> [77103.402794] usb 2-6: USB disconnect, address 29
> [77103.672564] usb 2-6: new high speed USB device using ehci_hcd and
address 31
> [77103.805758] usb 2-6: configuration #1 chosen from 1 choice
> [77103.805958] hub 2-6:1.0: USB hub found
> [77103.806111] hub 2-6:1.0: 4 ports detected
> [77104.081098] usb 2-6.1: new full speed USB device using ehci_hcd
and address 32
> [77104.196858] usb 2-6.1: configuration #1 chosen from 1 choice
> [77104.197104] cdc_acm 2-6.1:1.0: ttyACM0: USB ACM device

Gotta go out of town, back Sunday night. Thanks.

-Pete
d

Bill Farrow

unread,
May 11, 2013, 2:29:28 PM5/11/13
to triangl...@googlegroups.com
On Sat, May 11, 2013 at 11:11 AM, Pete Soper <pe...@soper.us> wrote:
> ls -l /dev/ttyACM0
> crw-rw---- 1 root dialout 166, 0 2013-05-11 11:06 /dev/ttyACM0

>> [77104.197104] cdc_acm 2-6.1:1.0: ttyACM0: USB ACM device

Are you in the "dialout" group ? run "groups" to find out.
groups

I wonder if something else is holding the /dev/ttyACM0 device file open ?
lsof /dev/ttyACM0

Bill

Rodney Radford

unread,
May 11, 2013, 2:43:08 PM5/11/13
to trianglearduino
Bill's comment about something else holding the file open clicked and I found this - avrdude may have left the file open.

It suggests using "lsof | grep ttyACM" to see if avrdude has it open, and if so, killing it.



John Vaughters

unread,
May 11, 2013, 5:04:27 PM5/11/13
to triangl...@googlegroups.com
This is good information Bill, I have had the same situation occur on occasion and never figured out why, now I have more to check.

Thanks,

John Vaughters

Pete Soper

unread,
May 12, 2013, 8:47:51 PM5/12/13
to triangl...@googlegroups.com
The change of behavior wrt tail -f reproduces across dozens of opens/closes as the device in question and it's ttyACM? brothers and sisters are created/destroyed as various devices are connected and disconnected, etc. The symptom is still there after a system reboot.

My id is still in the dialout group.

I can just use screen for the time being, and the buffering of tail has always been funky anyway. When I get some time I'll explore the theory that somehow the config of the ttyACM? devices is getting changed, such as with a stty or ioctl call or something.

Thanks,
Pete

John Vaughters

unread,
May 13, 2013, 9:12:52 AM5/13/13
to triangl...@googlegroups.com
Hmmm? That is different than the experiences that I had. Reboots did resolve my issues. Please let us know when you find out the issue.

Sent: Sunday, May 12, 2013 8:47 PM
Subject: Re: [trianglearduino:1043] peculiar Linux/Arduino problem with /dev/ttyACM0
The change of behavior wrt tail -f reproduces across dozens of opens/closes as the device in question and it's ttyACM? brothers and sisters are created/destroyed as various devices are connected and disconnected, etc. The symptom is still there after a system reboot.

My id is still in the dialout group.

I can just use screen for the time being, and the buffering of tail has always been funky anyway. When I get some time I'll explore the theory that somehow the config of the ttyACM? devices is getting changed, such as with a stty or ioctl call or something.

Thanks,
Pete

On 5/11/2013 5:04 PM, John Vaughters wrote:
This is good information Bill, I have had the same situation occur on occasion and never figured out why, now I have more to check.

Thanks,

John Vaughters

Rodney Radford mailto:ncgad...@gmail.com wrote:

Bill's comment about something else holding the file open clicked and I found this - avrdude may have left the file open.

It suggests using "lsof | grep ttyACM" to see if avrdude has it open, and if so, killing it.

On Sat, May 11, 2013 at 2:29 PM, Bill Farrow <bi...@arrowsreach.com> wrote:
On Sat, May 11, 2013 at 11:11 AM, Pete Soper <pe...@soper.us> wrote:
> ls -l /dev/ttyACM0
> crw-rw---- 1 root dialout 166, 0 2013-05-11 11:06 /dev/ttyACM0

>> [77104.197104] cdc_acm 2-6.1:1.0: ttyACM0: USB ACM device

Are you in the "dialout" group ? run "groups" to find out.
  groups

I wonder if something else is holding the /dev/ttyACM0 device file open ?
  lsof /dev/ttyACM0

Bill

--
You received this message because you are subscribed to the Google Groups "trianglearduino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mailto:trianglearduino%2Bunsu...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "trianglearduino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to triangleardui...@googlegroups.com.
Visit this group at http://groups.google.com/group/trianglearduino?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
--
You received this message because you are subscribed to the Google Groups "trianglearduino" group.
To unsubscribe from this group and stop receiving emails from it, send an email to triangleardui...@googlegroups.com.
Visit this group at http://groups.google.com/group/trianglearduino?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages