Show Posts
Pages: [1]
1  Using Arduino / Networking, Protocols, and Devices / connecting arduino to beagleboard on: March 27, 2013, 06:10:51 pm
Can anyone help me in attempting to connect a arduino to a beagleboard?

Currently I'm attempting to use serial communication, and python code to receive the bits. I have the arduino transmitting a string in form of a tuple. I can use the function
eval(serialRead) to convert the characters to a tuple. the problem with serial communication is that at times, not all the characters are received, so the print out becomes something like
(1,,1,128) instead of the form (1,0,1,128)
the first 3 numbers are bits connected to switches that enables a loop in my python program.
the last bit of numbers is a potentiometer readout that controls an integer of 0-255.
Any missing bits causes an error the the python script. Anyone know if I should use something like spi or i2c communication to communication from arduino to the beagleboard? And is there a guide to do this process?

thanks
2  Using Arduino / Interfacing w/ Software on the Computer / Re: Visual Basic and Arduino on: October 07, 2012, 04:50:36 pm
i think what he wants, like me, is to write a program that can act exactly like a serial monitor on the IDE, but have it output on a console application.
Pages: [1]