Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DMP 2024]: Sugar on Raspberry Pi #15

Open
8 tasks
walterbender opened this issue Apr 8, 2024 · 11 comments
Open
8 tasks

[DMP 2024]: Sugar on Raspberry Pi #15

walterbender opened this issue Apr 8, 2024 · 11 comments
Labels

Comments

@walterbender
Copy link
Member

walterbender commented Apr 8, 2024

Ticket Contents

Description

Sugar runs on RPi and we should take advantage of that to reach the Maker community. This project involves ensuring that Sugar runs w/o any issues; that it is packaged in a way that is suitable for inclusion on the Raspberry Pi operating system images. Also, there are any number of Sugar activities that could be enhanced by knowing some of the details of the RPi, such as Turtle Blocks, Measure, and Pippy, all of which could be tailored to take advantage of the sensors available on RPi.

GPIO is a great place to start. But access to other RPi IO, such as a joystick and other peripherals would also be good. These could also be integrated into the Sugar Toolkit and sugargame.

Goals & Mid-Point Milestone

Goals

  • [Sugar on RPi]
  • [Turtle Blocks extensions]
  • [Measure extensions]
  • [Pippy extensions]
  • [Documentation]
  • [Goals Achieved By Mid-point Milestone]
  • [Sugar on RPi]
  • [Turtle Blocks extensions]

Setup/Installation

Please refer to Sugar on RPi

Expected Outcome

Not just Sugar on RPi, but a rich integration with the sensor capabilities of the hardware into at least three activities: Turtle Art, Pippy, and Measure.

  • gpio input/output
  • buttons
  • LEDs
  • distance sensor
  • oLED displays

Acceptance Criteria

New Sugar image for RPi with:

  • Turtle Art with a RPi plugin and examples
  • Pippy with RPi examples
  • Measure extended to know about RPi sensors
  • Documentation on how cool it is.

Implementation Details

Each activity will need to be extended to take advantage of the rich sensor env. of RPi.

Mockups/Wireframes

Product Name

Sugar on RPi

Organisation Name

Sugar Labs

Domain

⁠Education

Tech Skills Needed

Debugging, Python

Mentor(s)

@walterbender @chimosky @Ale

Category

Configuration, Documentation, Maintenance, Testing

@spyder0010
Copy link

Hi @walterbender , I find your project very interesting and want to contribute to it too. I just needed to know if I require particular knowledge in any libraries or packages of python to work in this project (other than what's already mentioned) , also what else do you think will be great to know before contributing to this project?

@walterbender
Copy link
Member Author

@spyder0010 Some experience with RPi is a must. And you'll need to be able to write Python code to access the various sensors etc. And since the goal is Sugar integration, you'll need to become familiar with the Sugar Toolkit.

@AbhimanyuSamagra
Copy link

Do not ask process related questions about how to apply and who to contact in the above ticket. The only questions allowed are about technical aspects of the project itself. If you want help with the process, you can refer instructions listed on Unstop and any further queries can be taken up on our Discord channel titled DMP queries. Here's a Video Tutorial on how to submit a proposal for a project.

@Anupam4058
Copy link

Hi @walterbender, @chimosky, @Ale
I hope this message finds you well. I came across this Sugar on Raspberry Pi project for DMP 2024, and I'm very much interested in contributing in this project. and I'm eager to apply my skills in Python and my problem solving skills to this initiative.
Could you please share any prerequisites or specific steps I should follow to begin contributing? I'm keen on making a meaningful impact through this project and would love to discuss any potential ideas or areas where my contributions could be most valuable.
Thank you for considering my interest. Looking forward to your guidance and hoping to be part of this exciting endeavor

@walterbender
Copy link
Member Author

@Anupam4058 If you have access to a RPi device, then the first step would be to follow the instructions for installing Sugar. From there you can familiarize yourself with some of the activities, such as Turtle Art, from which you can begin to think about how to best leverage the RPi resources. (See https://github.com/sugarlabs/RPi-Docs)

@P-ragati
Copy link

I am interested in this exciting project as I had worked with Arduino, I want to learn more about your organization and want to contribute my creative thinking, problems solving and python skills.

@samyaksgupta
Copy link

hey @walterbender i was interested in this project since gsoc 24' couldn't participate in that due to some deadlines , i already have a RPI device, i have installed sucrose through the bash, i have connected my RPI through Remote Desktop for GUI to test out things, I am looking forward working under your guidance!

@P-ragati

This comment was marked as off-topic.

@IshaKg2512
Copy link

Hello, I have worked on RPi and Arduino earlier and would love to use my learnt skills on this project. Any advice on starting the project will be welcomed!

@walterbender
Copy link
Member Author

For everyone interested in this project, demonstrating some understand of both RPi and Sugar in your proposal is important.

@walterbender
Copy link
Member Author

walterbender commented Jul 12, 2024

Weekly Goals:

Week 1

  • Sync up goals with RPi team
  • Put what's already built in place (GPIO, OLED, buttons, & LEDs)

Week 2

  • Create an initial setup video for RPi
  • Explore the sugar environment and add some important keyboard shortcut keys (quick-show pinouts, tutorials, quick-disable SPI, I2C, etc)

Week 3

  • Update the TurtleArt RPi plugin that I built before the contribution period started
  • Start with tutorials: vid and docs both

Week 4

  • Add some more sensors (temperature & humidity sensor, distance sensor, delay)
  • Start building the Camera activity skeleton

Week 5

  • Build an activity to test/toggle the peripherals (GPIO, SPI, I2C, audio, cam, etc) on RPi

Week 6

  • Build a camera activity to utilize the camera module (v3 - tested with 5MP; a working model)

Week 7

  • Make the camera activity GUI better (icons, background color, full-screen preview, buttons, etc)
  • Fix bugs, and update docs.

Week 8

  • Add record feature to Camera activity (on a separate thread to not interrupt the preview since the camera can be acquired by only one thread at a time)
  • Add more sensors (servo motor, PWM output, DC motor)

Week 9

  • Build Gallery Activity to view photos.
  • Create a rpi-sensors-library repo and add all the sensors to it

Week 10

  • Add video preview to gallery activity with progress bar
  • Fix bugs and refactor some snippets of code

Week 11

  • Review and update documentation of all the activities.
  • Finally, add encyclopedic documentation for further development.

Week 12

  • Add contribution journey summary to DMP repo

@sugarlabs sugarlabs deleted a comment from 44yu5h Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants