odroid meets arduino

Moderators: odroid, mdrjr

odroid meets arduino

Unread postby Iraro » Wed Jun 06, 2018 7:24 pm

My approach of interfacing arduino and odroid was little different and way simple than above discussed methods.if anyone wants to go simpler way here is it for you:-
we need one arduino ,odroid and the cable (printer cable) for connecting the arduino with odroid .this process takes under Serial Communication between the odroid and arduino. The values printed on the Serial monitor of arduino will only be transferred to odroid console monitor.
at arduino side:-
First program your arduino and print the data on the Serial Monitor which you want to transfer to the odroid.
at odroid side:-
step 1;-sudo apt-get install arduino
step 2-sudo apt-get install python
step 3;-sudo apt-get install python-serial
step 4;-wget https://raw.githubusercontent.com/tbird ... grabserial (space)grabserial
step 5:- edit the file for changing the baudrate and serial address .So type the command:-
nano grabserial (file will be open).
for searching press =ctrl+w; and type "sd.baudrate"
there make the changes as follows:- sd.baudrate="9600" and above that set serial address="/dev/ttyACM0".
now press "ctrl+x" and "y" to save the changes.
step 6: get the values by
python grabserial
the values will start printing on your console.(the data has been transferred from your arduino to the odroid by Serial Communication)
Iraro
 
Posts: 14
Joined: Fri May 11, 2018 7:01 pm
languages_spoken: english

Re: odroid meets arduino

Unread postby odroid » Thu Jun 07, 2018 9:39 am

"at odroid side" is quite clear.
But, I couldn't understand which Sketch file should be uploaded.
Can you give us more information?
User avatar
odroid
Site Admin
 
Posts: 27946
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: odroid meets arduino

Unread postby Iraro » Mon Jun 11, 2018 7:49 pm

At the arduino side :-the asusual "arduino ide" program should be uploaded in the arduino.
Iraro
 
Posts: 14
Joined: Fri May 11, 2018 7:01 pm
languages_spoken: english


Return to Other OS

Who is online

Users browsing this forum: No registered users and 3 guests