Bonescript webpages enhancement

Hi,
This is Tarang. I am an Electronics Engineering student at BITS Pilani,
India. I've been following the beagleboard community for quite a while and
I really think that I can contribute under a GSoC 2014 project. I am really
inspired by beagleboard.
I am part of a humanoid robotics project at college <http://www.acyut.com>,
because of which I was introduced to beagleboard and the world of embedded
electronics. I also have knowledge of programming microcontrollers, linux
and 8086, MIPS assembly which will help me(directly or indirectly) in
contributing to beagleboard.

I was going through the Ideas page and the current projects related to
them. Out of the projects I liked, I want to ask some things on the
following project,

BoneScript web pages with live-running examples and documentation<BeagleBoard/GSoC/Ideas-2023 - eLinux.org;

I was looking at the bone101 pages which has the bonescript guide.
The side bar at that page already links to certain demos which are
mentioned in the Ideas wiki page. I have tested some of those demos and
they work nicely on a beaglebone black.

I was thinking of extending the bone101 demos to interact with the
Internet(twitter, facebook etc.).

Great!

The Internet can serve as both an output(as a tweet, status, picture etc)
and as an inputs( User location, tweets/posts by a user whom you follow
etc.) for the beaglebone which will be interface with sensors and actuators.
This would enable beaglebone to be a powerful internet of things device
more accessible to everyone.

Doing something with interacting with the web as part of the
out-of-box-experience seems great to me. This has come up in discussions
with Adafruit, element14 and others as a desired feature. It seems to be it
should be implemented as some kind of "wizard" that walks you through the
various steps and then leaves you at the end ready to play with the API.

I am currently getting acquainted to bonescript to write my own bonescript
programs.

I wanted to know if I can propose a GSoC project in this domain?

Of course you can propose it. Ideally if you could attract another mentor
or two that would be best. Hanging out on #beagle and #beagle-gsoc is a
good way to meet potential mentors.

Also if possible, do let me know of things that must be done on enhancing
the already existing demos as well.

I think there isn't a clean enough presentation of what they are trying to
show in a way that makes a novice feel comfortable putting them together.
The current connect-status-bar is the most confusing aspect right now,
especially because it leaves people unsure about what is actually
happening. Making the connection between the web page and the board more
explicit --- and making it clear where what code is running --- would
really be helpful.

Also It would be great if you could give suggestions and other similar
projects which I could incorporate in my draft proposal.
I also have knowledge of assembly and looking at the Ideas, I think I
contribute to the Virtual Machine for PRU project too. It will be great if
you can provide some pointers towards that project too.

There were a few pointers on the wiki page. Can you check those out and
come back with questions?

Hi,
Thanks a lot for the feedback!
On the basis of that feedback, I want to propose some additional
information regarding my project proposal.

I aim to work on adding multiple Bonescript pages with examples for
interacting with hardware including sensors and actuators, this will result
in improvement of the current
bone101<http://beagleboard.org/Support/bone101/>site, a local copy of
which users are greeted to, when first using the
beaglebone black(angstrom out of the box). I have looked at the adafruit bbb
tutorials( <http://learn.adafruit.com/category/beaglebone>and performed
some) and the tutorial format there is brilliant. Although they are really
user friendly, their only drawback is they are python based and they dont
work directly on the browser.
The existing bone101 demos are better in this regard. The major task in
improving them is changing the way in which the code and information is
presented to the user.

The "wizard" like interface, mentioned by Jason, will be run in a browser
just like the current bone101. I will also develop code examples which
interact with popular web APIs like twitter, facebook, gmail, youtube etc.
Since these will be example based, users can use both the basic hardware
demos and these web demos to make applications according to their
requirements, specially those in the Internet of Things domain.
Also I would develop code examples where users can control devices
connected to the beaglebone remotely through various commands (maybe
through a tweet or free services like dweet.io, specifically meant for
this).

Demonstrating the use of standard capes out of the box will also be
included. Since there are so many capes out there It would be great if
anyone in the community can suggest what capes must be included in this.

All of this will use bonescript which is an extension to javascript and
will run through the browser too, making it easier for new learners.

I am also trying to work on the PRU so that I can get a better picture of
adding the PRU features to bonescript, and decide on whether to include
that in the project.

Please do let me know suggestions and feedback on the above idea,
additionally, I am also looking for people who can mentor me in achieving
my aims here at beagleboard,org.

Thanks!
Yours,
Tarang Shah

Hi,
This is Tarang. I am an Electronics Engineering student at BITS Pilani, India. I’ve been following the beagleboard community for quite a while and I really think that I can contribute under a GSoC 2014 project. I am really inspired by beagleboard.
I am part of a humanoid robotics project at college, because of which I was introduced to beagleboard and the world of embedded electronics. I also have knowledge of programming microcontrollers, linux and 8086, MIPS assembly which will help me(directly or indirectly) in contributing to beagleboard.

I was going through the Ideas page and the current projects related to them. Out of the projects I liked, I want to ask some things on the following project,

BoneScript web pages with live-running examples and documentation

I was looking at the bone101 pages which has the bonescript guide.
The side bar at that page already links to certain demos which are mentioned in the Ideas wiki page. I have tested some of those demos and they work nicely on a beaglebone black.

I was thinking of extending the bone101 demos to interact with the Internet(twitter, facebook etc.).

Great!

The Internet can serve as both an output(as a tweet, status, picture etc) and as an inputs( User location, tweets/posts by a user whom you follow etc.) for the beaglebone which will be interface with sensors and actuators.
This would enable beaglebone to be a powerful internet of things device more accessible to everyone.

Doing something with interacting with the web as part of the out-of-box-experience seems great to me. This has come up in discussions with Adafruit, element14 and others as a desired feature. It seems to be it should be implemented as some kind of “wizard” that walks you through the various steps and then leaves you at the end ready to play with the API.

I am currently getting acquainted to bonescript to write my own bonescript programs.

I wanted to know if I can propose a GSoC project in this domain?

Of course you can propose it. Ideally if you could attract another mentor or two that would be best. Hanging out on #beagle and #beagle-gsoc is a good way to meet potential mentors.

Also if possible, do let me know of things that must be done on enhancing the already existing demos as well.

I think there isn’t a clean enough presentation of what they are trying to show in a way that makes a novice feel comfortable putting them together. The current connect-status-bar is the most confusing aspect right now, especially because it leaves people unsure about what is actually happening. Making the connection between the web page and the board more explicit — and making it clear where what code is running — would really be helpful.

Also It would be great if you could give suggestions and other similar projects which I could incorporate in my draft proposal.
I also have knowledge of assembly and looking at the Ideas, I think I contribute to the Virtual Machine for PRU project too. It will be great if you can provide some pointers towards that project too.

There were a few pointers on the wiki page. Can you check those out and come back with questions?

Thanks a ton,
Tarang

Hi,
Thanks a lot for the feedback!
On the basis of that feedback, I want to propose some additional information regarding my project proposal.

I aim to work on adding multiple Bonescript pages with examples for interacting with hardware including sensors and actuators, this will result in improvement of the current bone101 site, a local copy of which users are greeted to, when first using the beaglebone black(angstrom out of the box). I have looked at the adafruit bbb tutorials(and performed some) and the tutorial format there is brilliant. Although they are really user friendly, their only drawback is they are python based and they dont work directly on the browser.
The existing bone101 demos are better in this regard. The major task in improving them is changing the way in which the code and information is presented to the user.

The “wizard” like interface, mentioned by Jason, will be run in a browser just like the current bone101. I will also develop code examples which interact with popular web APIs like twitter, facebook, gmail, youtube etc. Since these will be example based, users can use both the basic hardware demos and these web demos to make applications according to their requirements, specially those in the Internet of Things domain.
Also I would develop code examples where users can control devices connected to the beaglebone remotely through various commands (maybe through a tweet or free services like dweet.io, specifically meant for this).

Demonstrating the use of standard capes out of the box will also be included. Since there are so many capes out there It would be great if anyone in the community can suggest what capes must be included in this.

All of this will use bonescript which is an extension to javascript and will run through the browser too, making it easier for new learners.

I am also trying to work on the PRU so that I can get a better picture of adding the PRU features to bonescript, and decide on whether to include that in the project.

Please do let me know suggestions and feedback on the above idea, additionally, I am also looking for people who can mentor me in achieving my aims here at beagleboard,org.

Any more thoughts after looking at how Introduction to BeagleBoard.org is implemented.

Yes! I saw that site, I think there is an issue with the base-url, right now, which is throwing 404 errors for relative links. I will setup a similar gh-pages branch on my forked repo and try to clear that issue. I’ll let you know once I’m done.
Also, I think I the gh-pages of my repo will serve as a better way to test my ideas before pushing to the main repo(pull request).
I’ll be setting up the site by today(by about 2200 IST :slight_smile: ).
Thanks!

Yes! I saw that site, I think there is an issue with the base-url, right
now, which is throwing 404 errors for relative links. I will setup a
similar gh-pages branch on my forked repo and try to clear that issue. I'll
let you know once I'm done.
Also, I think I the gh-pages of my repo will serve as a better way to
test my ideas before pushing to the main repo(pull request).
I'll be setting up the site by today(by about 2200 IST :slight_smile: ).
Thanks!

Hi,
This is Tarang. I am an Electronics Engineering student at BITS
Pilani, India. I've been following the beagleboard community for quite a
while and I really think that I can contribute under a GSoC 2014 project. I
am really inspired by beagleboard.
I am part of a humanoid robotics project at college<http://www.acyut.com>,
because of which I was introduced to beagleboard and the world of embedded
electronics. I also have knowledge of programming microcontrollers, linux
and 8086, MIPS assembly which will help me(directly or indirectly) in
contributing to beagleboard.

I was going through the Ideas page and the current projects related
to them. Out of the projects I liked, I want to ask some things on the
following project,

BoneScript web pages with live-running examples and documentation<BeagleBoard/GSoC/Ideas-2023 - eLinux.org;

I was looking at the bone101 pages which has the bonescript guide.
The side bar at that page already links to certain demos which are
mentioned in the Ideas wiki page. I have tested some of those demos and
they work nicely on a beaglebone black.

I was thinking of extending the bone101 demos to interact with the
Internet(twitter, facebook etc.).

Great!

The Internet can serve as both an output(as a tweet, status, picture
etc) and as an inputs( User location, tweets/posts by a user whom you
follow etc.) for the beaglebone which will be interface with sensors and
actuators.
This would enable beaglebone to be a powerful internet of things
device more accessible to everyone.

Doing something with interacting with the web as part of the
out-of-box-experience seems great to me. This has come up in discussions
with Adafruit, element14 and others as a desired feature. It seems to be it
should be implemented as some kind of "wizard" that walks you through the
various steps and then leaves you at the end ready to play with the API.

I am currently getting acquainted to bonescript to write my own
bonescript programs.

I wanted to know if I can propose a GSoC project in this domain?

Of course you can propose it. Ideally if you could attract another
mentor or two that would be best. Hanging out on #beagle and #beagle-gsoc
is a good way to meet potential mentors.

Also if possible, do let me know of things that must be done on
enhancing the already existing demos as well.

I think there isn't a clean enough presentation of what they are
trying to show in a way that makes a novice feel comfortable putting them
together. The current connect-status-bar is the most confusing aspect right
now, especially because it leaves people unsure about what is actually
happening. Making the connection between the web page and the board more
explicit --- and making it clear where what code is running --- would
really be helpful.

Also It would be great if you could give suggestions and other
similar projects which I could incorporate in my draft proposal.
I also have knowledge of assembly and looking at the Ideas, I think I
contribute to the Virtual Machine for PRU project too. It will be great if
you can provide some pointers towards that project too.

There were a few pointers on the wiki page. Can you check those out
and come back with questions?

Thanks a ton,
Tarang

Hi,
Thanks a lot for the feedback!
On the basis of that feedback, I want to propose some additional
information regarding my project proposal.

I aim to work on adding multiple Bonescript pages with examples for
interacting with hardware including sensors and actuators, this will result
in improvement of the current bone101<http://beagleboard.org/Support/bone101/&gt;site, a local copy of which users are greeted to, when first using the
beaglebone black(angstrom out of the box). I have looked at the adafruit bbb
tutorials( <http://learn.adafruit.com/category/beaglebone&gt;and
performed some) and the tutorial format there is brilliant. Although they
are really user friendly, their only drawback is they are python based and
they dont work directly on the browser.
The existing bone101 demos are better in this regard. The major task in
improving them is changing the way in which the code and information is
presented to the user.

The "wizard" like interface, mentioned by Jason, will be run in a
browser just like the current bone101. I will also develop code examples
which interact with popular web APIs like twitter, facebook, gmail, youtube
etc. Since these will be example based, users can use both the basic
hardware demos and these web demos to make applications according to their
requirements, specially those in the Internet of Things domain.
Also I would develop code examples where users can control devices
connected to the beaglebone remotely through various commands (maybe
through a tweet or free services like dweet.io, specifically meant for
this).

Demonstrating the use of standard capes out of the box will also be
included. Since there are so many capes out there It would be great if
anyone in the community can suggest what capes must be included in this.

All of this will use bonescript which is an extension to javascript and
will run through the browser too, making it easier for new learners.

I am also trying to work on the PRU so that I can get a better picture
of adding the PRU features to bonescript, and decide on whether to include
that in the project.

Please do let me know suggestions and feedback on the above idea,
additionally, I am also looking for people who can mentor me in achieving
my aims here at beagleboard,org.

Any more thoughts after looking at how
Introduction to BeagleBoard.org is implemented.

Thanks!
Yours,
Tarang Shah

--
You received this message because you are subscribed to the Google
Groups "BeagleBoard GSoC" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to beagleboard-gsoc+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi,

I wasnt able to interact much on the list in the past week as I was a
little busy with my mid semester exams.
I was reviewing the idea and thinking of writing a proposal for it. After
looking at the Idea on the mailing list and Jason's suggestions, I plan to
include the following things,

As mentioned on the Beagleboard Ideas page - 25 webpages with
demonstrations using bonescript. This will include the following

   1. *Blink on-board LED*
   2. *Blink external LED*
   3. *Push button*
   4. *Potentiometer*
   5. *Joystick*
   6. LDR Interfacing
   7. *Ultrasonic Sensor*
   8. Infrared LED and photodiode(line detection)
   9. *PIR Motion Sensor*
   10. Piezo Buzzer
   11. *Analog Accelerometer(ADXL335)*
   12. LM35 Temperature sensor
   13. *Temperature and Pressure(BMP085)*
   14. LED Matrix
   15. *Servo Motor*
   16. DC Motor(Using an L293d Driver and an external supply for motor)
   17. I2C accelerometer+gyro(MPU6050)
   18. Accelerometer based sprite control.
   19. IoT 1 - Turn on an led by clicking a button on a
   webpage.(webpage-->dweet.io-->BBB)
   20. IoT 2 - Change a webpage by clicking a button attached to the
   BBB.(BBB-->dweet.io-->webpage)
   21. IoT 3 - Continuously Transmit temperature values to a webpage.
   (BBB-->dweet.io-->webpage) or socket.io
   22. IoT 4 - Post a tweet if the temperature goes above a predefined
   level.(BBB-->Twitter)
   23. IoT 5 - Sound buzzer on a new tweet by a predefined user.
   24. IoT 6 - Led indicator for new mail(gmail)
   25. IoT 7 - Flot demo on remote webpage.(socket.io)

Also a wizard interface has to be developed for usage of the above
examples.
Each of the project above will include

   1. Developing code
   2. Testing it on a BBB
   3. Developing the text material in a tutorial format
   4. Adding photos/videos with demonstrations
   5. Updating the website with the content

The ones mentioned in italics already have their pages but they need to be
redone. They will take comparatively less time than the others. So there
are 10 projects which are not from scratch and will probably take about 2
weeks and 15 from scratch which will take about 3 weeks for the non IoT and
about 4 weeks for the IoT based. I plan to give 1 week for developing the
wizard like interface.
With about 11 weeks from 19th May to August 11(Pencils down date), there a
1 week buffer. I plan to do most of the text and video documentation along
with code development. I think I can do this
Do let me know if you think this plan is good and also if it is just
enough,too less or too much for the GSoC. Also if you can review the
examples I have listed, it would be great. Let me know if you want to
include something specific.

Also it will be great if you can let me know what I must do for now with

respect to this project,

I've set up a github pages on my forked repo of bone101 too. Also
regarding the broken links on the github, I think fixing them will create
problems on the way the original page works, since we are having the same
code for the github pages and the main beagleboard.org/Support/bone101
page.

Thanks :slight_smile:

Tarang