ClsHack:Computer Security Blog    

[ARDUINO] How-To Start on Ubuntu/ GNU/Linux


And I'm happy to announce that today on the blog will also deal with Arduino as well as ioio and security.
Da wikipedia:

Arduino is a popular open-source single-board microcontroller, descendant of the open-source Wiring platform,designed to make the process of using electronics in multidisciplinary projects more accessible. The hardware consists of a simple open hardware design for the Arduino board with an Atmel AVR processor and on-board input/output support. The software consists of a standard programming language compiler and the boot loader that runs on the board.
Arduino hardware is programmed using a Wiring-based language (syntax and libraries), similar to C with some simplifications and modifications, and a Processing-based integrated development environment.

I put below a pdf with a simple guide to start planning arduino on ubuntu:

DOWNLOAD PDF How-To Start on Ubuntu/ GNU/Linux
The commands are however very simple:
sudo apt-get install gcc-avr avr-libc
It:

if you use the USB port to dialog, you should add yourself to the group ‘dialout’ in order to have write permissions on that port: sudo usermod -aG dialout

The code for a turn on a LED every second is the following:

= int ledPin 13;                 // LED connected to digital pin 13
void setup()
{
  pinMode(ledPin, OUTPUT);      // sets the digital pin as output
}
void loop()
{
  digitalWrite(ledPin, HIGH);   // sets the LED on
  delay(1000);                  // waits for a second
  digitalWrite(ledPin, LOW);    // sets the LED off
  delay(1000);                  // waits for a second
}

A po’ in utilitarian link:

http://arduino.cc / en / Guides / HomePage

http://arduino.cc/en/Main/Software

http://www.pluggy.me.uk/arduino-ubuntu/

Hello to the next :D

Related posts:

  1. [Metasploit]Sun Java Web Start Plugin Remote Code Excution
  2. [UBUNTU/LINUX] Automatic INSTALL :D
  3. [CVE 2010-3856]GNU C library,Linux Kernel Privilege Escalation Vulnerability
  4. Lots of FREE programs for Linux UBUNTU
  5. LINUX Install ubuntu with wubi on windows in 10 minutes

This entry was posted on Tuesday, February 7th, 2012 at 1:57 pm and is filed under Arduino. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

  • http://www.r-gate.net/ Mohamed Tair

    Really interesting infos,
    i use ubunto 11.04,
    thanks ^^

  • http://www.r-gate.net/ Mohamed Tair

    Really interesting infos,
    i use ubunto 11.04,
    thanks ^^

  • Pingback: [Teensy] How-To Start on Ubuntu/ GNU/Linux