Community
cancel
Showing results for 
Search instead for 
Did you mean: 
aselv1
Novice
1,027 Views

arduino board pin connectors

Howdy

I am using intel edison i dono how to enable or list or view the pin of arduino board pins and i have to communicate via serial port and rx and tx transmission will be happen please help me with this problem

4 Replies
idata
Community Manager
41 Views

Hi Ayyappan91,

 

 

Thank you for contacting us.

 

 

I understand that you want to know how to enable the pins on the Arduino expansion board and that your goal is to communicate over serial, am I correct?

 

One way to set and configure the pins on the Arduino expansion board is with the Arduino IDE. You can upload sketches and declare specific pins as inputs, outputs and perform functions such as reading and writing to the pin.

 

 

If you're interested in the Arduino IDE, see: https://software.intel.com/en-us/get-started-arduino .

 

 

In regards to serial communication, I'd suggest you to take a look at both these links to get started:

 

https://software.intel.com/en-us/setting-up-serial-terminal-on-system-with-windows

 

https://www.scivision.co/intel-edison-using-uart-ttymfd1-serial-port/

 

 

The first one is the guide on how to set up a serial terminal with Windows and the second one has an example of how to use the Serial port along with a test code.

 

 

Let us know if you found this useful. We'll be waiting for your response.

 

 

-Sergio A

 

aselv1
Novice
41 Views

you are correct but i need to set and configure the pins on the Arduino expansion board is with the Arduino IDE. You can upload sketches and declare specific pins as inputs, outputs and perform functions such as reading and writing to the pin.

how is the process made how to assign it

and i am using ubilinux can you provide information for both yocto and ubilinux

Thanks in advance

idata
Community Manager
41 Views

You can use the functions I previously mentioned in the Arduino IDE. Some of the functions and their descriptions are:

 

 

pinMode(ledPin, OUTPUT); // sets ledPin as output

 

pinMode(inPin, INPUT); // sets ledPin as input

 

digitalRead(inPin); // reads the value from inPin, either HIGH or LOW.

 

digitalWrite(ledPin, val); // write a HIGH or a LOW value to a digital pin.

 

 

Besides these, there are many more functions you can use to develop your code. To see more information about the resources you can use, look at: https://www.arduino.cc/en/Reference/HomePage .

 

 

Another good option is to look at the examples that come included in the IDE. The examples will give you a very good idea on how the functions are used to create a sketch.

 

The Arduino IDE can be downloaded from here: https://software.intel.com/en-us/get-started-arduino-install .

 

 

In order to use the Arduino IDE, you must have the Edison flashed with the Yocto image. You can use the setup tool to flash the latest firmware to your board. You can download the Setup Tool here: https://software.intel.com/en-us/get-started-edison-windows-step2 . Follow the instructions and let us know your results.

 

 

It's important to highlight that the explanation above applies to the Yocto image. The Ubilinux image is not supported in this community since it was developed by a third party company called Emutex. If you're looking for more information about Ubilinux, its features and capabilities, you can contact them here: https://emutex.com/about-us/contact-us.

 

 

Regards,

 

-Sergio

 

idata
Community Manager
41 Views

Hi Ayyappan91,

 

 

We were wondering if you still need assistance with this case. Please let us know if there's anything else we can help you with.

 

 

Regards,

 

-Sergio A

 

Reply