Skip to content

AndreTeixeira1998/Scara_Robot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SCARA ROBOT with ATMEGA328P

Building and running screen -l /dev/ttyACM0 -s 9600 killall screen

Dependencies

  • make
  • binutils-avr
  • avr-libc
  • avrdude
  • gcc-avr

Compiling

make

The default make task builds an Intel HEX file, led_blink.hex, which can be uploaded to the Arduino Uno.

Uploading

sudo make upload

Flashes led_blink.hex to the Arduino Uno, which is assumed to be connected and available on /dev/ttyACM0.

Watching

A status LED should be visibly blinking on the Arduino. However, this program also sends a message via the USB serial connection every time the LED blinks.

One way to interact via the serial connection is with CuteCom.

  1. Install CuteCom (sudo apt-get install cutecom)
  2. Run CuteCom as root (sudo cutecom)
  3. Set "Device" to /dev/ttyACM0 "Baud rate" to 9600
  4. Click "Open Device"

You should be able to see output from the program running on the Arduino being streamed to the display area (the string "Blink!" is printed each time the LED blinks).

Note: Make sure you close the device in CuteCom before running sudo make upload.

References

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published