Posts | Comments

Planet Arduino

Archive for the ‘Rapsberry Pi’ Category

May
03

Controlling an Arduino through a Rapsberry Pi webserver

arduino, ATMEGA2560, i2c, Rapsberry Pi, Server, webserver Comments Off on Controlling an Arduino through a Rapsberry Pi webserver 

by bajdi.com:

I’ve been looking for ways to control my Service droid robot, my Service droid robot has an ATmega2560 (with Arduino bootloader) and a Raspberry Pi. My goal is to control it over wifi. But I wanted to start with some more simpler things first. I’ve recently found some python code on letsmakerobots.com that lets me sent data over I2C from a Raspberry Pi to a micro controller.

Before getting this to work you need to configure I2C on the Raspberry Pi. Adafruit has written a nice guide how to do this. I also installed the python-SMBus package: sudo apt-get install python-smbus.

Controlling an Arduino through a Rapsberry Pi webserver - [Link]



  • Newsletter

    Sign up for the PlanetArduino Newsletter, which delivers the most popular articles via e-mail to your inbox every week. Just fill in the information below and submit.

  • Like Us on Facebook