Hi Guys,
I cheated and used node.js with a module called node-serial. I
discovered that you need to disconnect the serial port from the
console before you can use it (edits to /etc/inittab and
/boot/cmdline.txt). I imagine you'd need to do this in a python
environment too. minicom was very useful for prodding the serial
device to make sure it was working before I pointed my program at it.
Regards, Paul
At 06:38 PM 7/4/2013, Omer Kilic wrote:
>Hi Jeremy,
>
>This is a good starting point: http://playground.arduino.cc/interfacing/python
>
>pySerial documetation available here: http://pyserial.sourceforge.net/
>
>
>HTH,
>Omer.
>
>On 4 July 2013 18:17, Jeremy Bennett <jeremy.bennett(a)embecosm.com> wrote:
> > I need some help from one of you Arduino gurus.
> >
> > I want to talk to the Arduino serial interface from a Fedora
> Linux system. I
> > know how to do the Arduino side, using Serial.available, Serial.read,
> > Serial.write etc.
> >
> > My problem is how to talk from the Linux end. All the examples I see are
> > Windows based and use Thierry Schneider's Serial C++ Library for
> Win32. What
> > do I use as the Linux equivalent?
> >
> > It's not as simple as just writing the the Linux device (in this case
> > /dev/bus/usb/004/081). I suspect I need something rather cleverer, but I
> > don't know what it is.
> >
> > Any help much appreciated. I'm trying to help a youngster set up an Arduino
> > based face tracker, driven by OpenCV face detection on the Linux box.
> >
> > Thanks,
> >
> >
> > Jeremy
> >
> > --
> > Tel: +44 (1590) 610184
> > Cell: +44 (7970) 676050
> > SkypeID: jeremybennett
> > Twitter: @jeremypbennett
> > Email: jeremy.bennett(a)embecosm.com
> > Web: www.embecosm.com
> >
> > _______________________________________________
> > oshug mailing list
> > oshug(a)oshug.org
> > http://oshug.org/cgi-bin/mailman/listinfo/oshug
>
>_______________________________________________
>oshug mailing list
>oshug(a)oshug.org
>http://oshug.org/cgi-bin/mailman/listinfo/oshug
Paul Tanner - Virtual Technologies - http://www.virtual-techno.com
Tel: +44 1494 581979 Mob: +44 7973 223239 mailto:paul@virtual-techno.com
I need some help from one of you Arduino gurus.
I want to talk to the Arduino serial interface from a Fedora Linux
system. I know how to do the Arduino side, using Serial.available,
Serial.read, Serial.write etc.
My problem is how to talk from the Linux end. All the examples I see are
Windows based and use Thierry Schneider's Serial C++ Library for Win32.
What do I use as the Linux equivalent?
It's not as simple as just writing the the Linux device (in this case
/dev/bus/usb/004/081). I suspect I need something rather cleverer, but I
don't know what it is.
Any help much appreciated. I'm trying to help a youngster set up an
Arduino based face tracker, driven by OpenCV face detection on the Linux
box.
Thanks,
Jeremy
--
Tel: +44 (1590) 610184
Cell: +44 (7970) 676050
SkypeID: jeremybennett
Twitter: @jeremypbennett
Email: jeremy.bennett(a)embecosm.com
Web: www.embecosm.com
Hi,
You might be interested in my project recently launched on Kickstarter,com (short URL http://kck.st/164ObLg ) . It uses a MACHXO2-1200 from Lattice, and includes USB programming logic, so no external programmer is required.
It's a relatively simple board, aimed at beginners, and will be supplied
ready programmed with a I2C driven I/O expander. The associated web site will
include tutorials to explain how to download and use the free Lattice
design tools, as well as giving some simple design examples. By
following these examples, the new FPGA user will be able to gain
confidence and experience by modifying known working VHDL/Verilog code.
The schematic and pcb design is in DesignSpark format, and will be released if the Kickstarter project is fully funded.
Thanks for reading this,
Regards,
Roy Bunce
Hello,
Registration is now open for the June OSHUG meeting, details of which are below.
Cheers,
Andrew
//
Event #27 — Boards (Beautifully Functional Circuits, Little Printer)
Thursday 20th June 2013, 18:00 - 20:00 at Centre for Creative
Collaboration, 16 Acton Street, London, WC1X 9NG.
Sponsored by SolderPad: http://solderpad.com
Registration: http://oshug.org/event/27
At the twenty-seventh meeting there will be a talk on designing
printed circuit boards that are aesthetically pleasing as well as
functional, and a talk on the design and manufacture of the Little
Printer, and the upcoming BERG Cloud dev board.
- Beautifully Functional Circuits
Circuit design is typically thought of as block-based and purely
functional; it doesn't necessarily have to be. Our inherent creativity
as engineers has been dampened by unimaginative and limiting design
tools, that have forced us to "forget" that functional circuits can,
and should, be beautiful too. This talk will explore these limitations
and how we could do better.
Saar Drimer is an experienced hardware engineer. In the past few years
he's been developing tools for effective and efficient hardware
design.
- Little Printer
In 2012 the design and product company BERG launched Little Printer,
their internet-connected thermal printer that prints its own face. It
was the first consumer product that BERG had made, and went on to be
nominated for the 2013 Designs of the Year by the Design Museum.
In this talk we will explore the project's evolution, from prototype
to mass produced product. The talk will cover the way BERG's design
process works, going to China to organise plastic injection moulding,
passing certification and EMC, and many other practical aspects of
making and selling consumer products that connect online.
The talk will also cover a technical overview of the whole stack that
brings Little Printer to life, the extraction and evolution of the
underlying BERG Cloud platform, and the forthcoming developer kits
that open up the platform to anybody.
Nick Ludlam is CTO at BERG, and is responsible for the collective
software development, from the embedded code running inside Little
Printer, the Ruby/Rails-based cloud architecture, and the use of
Amazon Web Services to scale.
Andy Huntington is Hardware Producer & Designer at BERG and is
responsible for all of BERG's physical hardware, from the electronics
and PCBs to the industrial design and manufacturing of Little Printer
itself. He has a background in music and moved through software into
hardware following an Interaction Design MA at the Royal College of
Art.
Note: Please aim to arrive for 18:00 - 18:20 as the event will start
at 18:30 prompt.
Registration: http://oshug.org/event/27
Hello OSHUGgers, I hope this is an acceptable announcement for this list.
Electromagnetic Wave (May 5th) is a day filled with talks and workshops for
those with an inquisitive mind or an interest in making things, held on a
converted East German fishing vessel moored in London.
https://www.emfcamp.org/wave Talks so far include Zeppelins, Wifi radar,
open-source vacuum cleaners and WebGL.
As part of the team getting Internet to the boat (harder than you might
imagine) I've also managed to get a TV Whitespace licence for
experimenting. Whitespace will soon be open for us all to use, and is
particularly interesting for the Internet of Things.
As the country's (world's?) first "popup" whitespace network what we're
looking for is experiments, interested people, Internet of Things ideas or
skills. Read more about it here:
http://love-hz.com/post/48999576581/emw-event
Hope you can join us or even just offer ideas
Ben
--
ben(a)crouchingbadger.com | h <http://www.crouchingbadger.com/>ttp://
love-hz.com
Hello,
So this year's annual two day event will again take place in Hebden
Bridge, and over the weekend of 14th and 15th September.
We're aiming to do something bigger this time, that will have hardware
and web tracks, and with a theme of "making things". So, stories about
making hardware or a web thing, and mostly from an end-to-end
perspective. Some talks will be on projects that combine web/online
and hardware too.
We'll be taking over most of the Town Hall [1] for the entire weekend
with, as before talks on the Saturday and workshops on the Sunday.
We'll have 2, possibly 3, spaces to use on the Saturday, and 2 on the
Sunday. With one of these being the very lovely Waterfront Hall.
There will be a social on the Saturday evening, also at the Town Hall,
and if the weather is good we might even have a marquee out on the
patio that overlooks the river.
Cheers,
Andrew
[1] http://www.guardian.co.uk/uk/the-northerner/2012/aug/13/hebden-bridge-town-…