Arduino IRC Bot using python

Sorry for the blurriness! Be patient. This is a demonstration of a script I wrote using python which acts as a bridge between an IRC channel and your serial port (in this case, the arduino). In this scenario, I have…

Arduino IRC Bot using python

Source

0
(0)

Sorry for the blurriness! Be patient.

This is a demonstration of a script I wrote using python which acts as a bridge between an IRC channel and your serial port (in this case, the arduino). In this scenario, I have the arduino set up with an led and a potentiometer. The bot software has signed on using the nick ‘arduino’ and I am getting my friend ‘redguts’ to send it messages all the way from Houston. The bot listens to the entire room’s conversation but it doesn’t respond until you address it by it’s name, in this case, ‘arduino: xxmssgxx’. It then reads the command and responds accordingly. You could also set it up to speak at will. For instance, if you programmed your arduino to detect when a certain event happens, say the temp in the room goes above a certain value, it can tell the IRC Channel without being queried. Or even set up private chats. I am not releasing the source this week but you can send me a private message if you are desperate and have python/arduino skills.

** Finally, get the code here http://blog.datasingularity.com/?p=148 **

0 / 5. 0

Leave a Reply

Your email address will not be published. Required fields are marked *