[MinnowBoard] Outreachy contribution for MinnowBoard

Anna Liao aliao22 at gmail.com
Fri Mar 18 07:30:34 UTC 2016


Hi John,

So I would think this would be a simple UDP receiver class.

# Receive UDP packets

import socket

class udp_rcv(object):
    def __init__(self, ip, port):
        self.ip = ip
        self.port = port

    def receive(self):
        sock = socket.socket(socket.AF_INET, # Internet
                             socket.SOCK_DGRAM) # UDP
        sock.bind((self.ip, self.port))

        while True:
            data, addr = sock.recvfrom(1024) # buffer size is 1024 bytes
            print "received message:", data


I was thinking more about more examples I would add.  Definitely the
suggestions:


   - Basic blinking LED (using off the shelf LEDs)
   - Temperature or Humidity sensor, motion sensor
   - PWM control


A few ideas I had for more examples are:
- Minnow with webcam, also maybe posts to twitter or Instagram.  For
example, a nice view.
- Minnow with LCD number display, perhaps paired with a Belkin WeMo to
display energy consumption
- Photo resistor paired with motion detector for automated light and/or
temperature control.
- motion detector and webcam for wildlife camera
- Something to highlight the graphics capability of Minnow, perhaps attach
to monitor or display?
- Other projects that can highlight the board's capability and the lures

Let me know how this sounds.  I think this will be really fun to work on!

Anna


On Tue, Mar 15, 2016 at 9:33 PM, Anna Liao <aliao22 at gmail.com> wrote:

> Hi John,
>
> Thanks for the suggestion!  I will take a look at this more this weekend.
> Looks like fun!
>
> Anna
>
> On Tue, Mar 15, 2016 at 6:24 PM, John 'Warthog9' Hawley <
> warthog9 at eaglescrag.net> wrote:
>
>> Howdy!
>>
>> So the best place to start is with the code itself, which can be found
>> at https://github.com/MinnowBoard/fishbowl-notebooks.  I'd recommend
>> digging into the code and taking a look at what it does.  Specifically
>> things like the Calamari class:
>>
>>
>> https://github.com/MinnowBoard/fishbowl-notebooks/blob/master/Calamari.ipynb
>>
>> which implements a quick explination of some of the things you can do
>> with the Calamari lure ( http://wiki.minnowboard.org/Calamari_Lure ).
>> The iPython notebook stuff builds on some another repo:
>>
>> https://github.com/MinnowBoard/minnow-maker
>>
>> which in turn has the Calamari python driver:
>>
>>
>> https://github.com/MinnowBoard/minnow-maker/blob/master/pyDrivers/calamari.py
>>
>> (as well as the ADC driver for the potentiometer that's attached to the
>> spi ADC
>>
>> https://github.com/MinnowBoard/minnow-maker/blob/master/pyDrivers/calamari_adc.py
>> )
>>
>> If you are looking to get something committed, the best place might be
>> to take a look for something to extend the functionality to do something
>> novel or more useful.  Considering most folks don't have hardware, I'd
>> suggest taking a look at extending something like
>>
>> https://github.com/MinnowBoard/minnow-maker/blob/master/pyDrivers/rgb.py
>>
>> and possibly adding some additional functionality there, possibly a
>> function to cycle through the color wheel (since the values could be
>> checked for that.  There's also a few "# WRITEME" tags in the code, but
>> that might be difficult to develop without some hardware to test against.
>>
>> There's always things that could be added in
>>
>> https://github.com/MinnowBoard/fishbowl-notebooks
>>
>> particularly
>>
>>
>> https://github.com/MinnowBoard/fishbowl-notebooks/blob/master/broadcast_ip.py
>>
>> which we've used (in the past) to act as a mechanism to discover what
>> the IP address of the board is, and I'm sure there's some things there
>> we could be doing either on the broadcasting, or even writing up a
>> simple receiver since I don't believe we have one fully available yet.
>>
>> - John 'Warthog9' Hawley
>>
>> On 03/15/2016 12:07 PM, Anna Liao wrote:
>> > Hello!
>> >
>> > I'm interested in applying to Outreachy Round 12 with a contribution for
>> > MinnowBoard.  I'm thinking the ipython project since I'm familiar with
>> > python and ipython.
>> >
>> > What is the best way to make a contribution?
>> >
>> > Thanks,
>> > Anna
>> >
>> >
>> > _______________________________________________
>> > elinux-MinnowBoard mailing list
>> > elinux-MinnowBoard at lists.elinux.org
>> > http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
>> >
>>
>> _______________________________________________
>> elinux-MinnowBoard mailing list
>> elinux-MinnowBoard at lists.elinux.org
>> http://lists.elinux.org/mailman/listinfo/elinux-minnowboard
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elinux.org/pipermail/elinux-minnowboard/attachments/20160318/833ec4ad/attachment.html>


More information about the elinux-MinnowBoard mailing list