Fine Tune Arduino / Raspberry Pi Web Controlled i2c Robot


hi;

i have posted couple of threads around forum , have received has helped me build robot.

here not yet finished instructable:
http://www.instructables.com/id/raspberry-pi-web-controlled-autonomous-robot/

it raspberry pi / arduino hybrid, arduino (nano at-mega328p) drives motors, ultrasonic sensor , servo sensor mounted on. nano connected raspberry pi slave receiving commands via i2c serial interface. raspberry pi acts i2c master , serves web page using webiopi on control panel control robot wirelessly on wifi. robot has usb web camera mounted on streams video using mjpg-streamer @ 20fps control panel web page.

i have changed sketch code robot has timer function puts autonomous mode if not receive commands after given time period , detects movement (not confirmed working yet).

problems / required upgrades
what need is:
1. forward , backwards works fine (could little more incremental) need fine tune turning left , right, when clicking left or right robot spins 180 degrees, how adjust (in arduino sketch).

2. debugging how serial messages in sketch appear on web page, later may pushed onboard lcd panel.

3.  autonomousmode , auto_navigate modules in sketch have been created without external assistance , may wrong? such sending serial data pi when movement detected, code on python end play audio message has not yet been added.

i appreciate of arduino sketch questions thought i'd throw out there.

thanks

i have created repository on github hold code big post here.
here link:
https://github.com/jonnyalpha/hammerstein

this first time using github let me know if have set wrong?

quote
via i2c serial interface.
is i2c or serial? can't both.

quote
if not receive commands after given time period
you mean "within given time frame"?

quote
1. forward , backwards works fine (could little more incremental)
what "a little more incremental" mean?

quote
but need fine tune turning left , right, when clicking left or right robot spins 180 degrees, how adjust (in arduino sketch).
what "clicking left or right" mean?

quote
2. debugging how serial messages in sketch appear on web page
whatever application reading serial data needs make happen (whatever means). serial monitor application can't.



Arduino Forum > Using Arduino > Programming Questions > Fine Tune Arduino / Raspberry Pi Web Controlled i2c Robot


arduino

Comments