View Single Post
  #3   Spotlight this post!  
Unread 05-08-2016, 09:46
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,340
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Roborio Master to Raspberry Pi Slave I2C

Quote:
Originally Posted by nickbrickmaster View Post
Question: Why?

I would just use Ethernet and communicate over sockets. Make a simple Socket program in Python and use that to control the Pi.

That's way easier than reprogramming the Pi to be something it isn't naturally - an I2C slave.
UDP sockets are extremely easy to set up and use between the two. It will prevent overloading the RoboRio with data packets and potentially causing it to start missing control packets. Bad things happen when control packets are missed! (Watch 2073 at 53 sec.)
Another simple alternative is to set up the Pi as a USB attached device.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote