Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
280 commits
Select commit Hold shift + click to select a range
a8549f0
Fixing more links
MarkAYoder Sep 2, 2019
5d74bdb
Fixing more links
MarkAYoder Sep 2, 2019
4684acb
Resizing images
MarkAYoder Sep 2, 2019
9f35fb3
Resizing images
MarkAYoder Sep 2, 2019
4b12782
Still resizing
MarkAYoder Sep 2, 2019
4f7e500
Still resizing
MarkAYoder Sep 2, 2019
c64e80f
Resizing images
MarkAYoder Sep 2, 2019
969977b
Resizing images
MarkAYoder Sep 2, 2019
0c95cf1
Resizing images
MarkAYoder Sep 2, 2019
531a5b1
Resizing images
MarkAYoder Sep 2, 2019
9451665
Typo
MarkAYoder Sep 2, 2019
19d66b4
Fixing typos
MarkAYoder Sep 2, 2019
0019a14
Merge branch 'master' of https://github.com/MarkAYoder/cloud9-examples
MarkAYoder Sep 2, 2019
c154444
Added code to stop servo when done
MarkAYoder Sep 3, 2019
e25abf3
Removed individual READMEs
MarkAYoder Sep 3, 2019
777e40d
Moved jpg, png and fzz to images
MarkAYoder Sep 3, 2019
9da2860
Switched from var to const
MarkAYoder Sep 3, 2019
12fb28f
Switch from var to const
MarkAYoder Sep 3, 2019
b69bb39
Updated
MarkAYoder Sep 3, 2019
c4c4db9
Fixed links
MarkAYoder Sep 3, 2019
b74d5d4
More fixing
MarkAYoder Sep 3, 2019
ecc6585
Merge pull request #14 from MarkAYoder/master
jadonk Sep 3, 2019
9da5e08
tidl: WIP
Sep 3, 2019
4ebc61c
Merge branch 'master' of https://github.com/beagleboard/cloud9-examples
Sep 3, 2019
1362ee9
Created .wor-in-progress
Sep 3, 2019
823f379
Merge branch 'master' of https://github.com/beagleboard/cloud9-examples
Sep 3, 2019
8667f30
c9.ide.preview.markdown: cloned from upstream
Sep 3, 2019
e1792f3
c9.ide.preview.markdown: fix to work as local plugin
Sep 3, 2019
ab5e4e4
More work-in-progress
MarkAYoder Sep 3, 2019
4773b84
Merge branch 'master' of https://github.com/beagleboard/cloud9-examples
MarkAYoder Sep 3, 2019
0ac8a88
More work-in-progress
MarkAYoder Sep 3, 2019
b231b29
Updating READMEs
Sep 3, 2019
bffecf1
More READMEs
Sep 3, 2019
dc20a29
More READMEs
Sep 3, 2019
d514bf1
Adding links
Sep 3, 2019
0fee7e9
Updated README
Sep 3, 2019
7f1ad6c
One more README
Sep 3, 2019
4752436
One more README
Sep 3, 2019
3baddc7
markdown plugin: hack some relative link support
Sep 5, 2019
cb242ca
Introduction.md: advises you to upgrade for now
Sep 5, 2019
46b775e
Update Introduction.md
jadonk Sep 5, 2019
0bddf70
Update Introduction.md
jadonk Sep 5, 2019
de2d270
Update Introduction.md
jadonk Sep 5, 2019
0a4e085
markdown: fix images
Sep 5, 2019
5474292
bone101: remove server dependency
Sep 5, 2019
2f3afe5
plugin: add node-red
Sep 5, 2019
c43911d
Add About.md
Sep 5, 2019
6afae3e
Update About.md
jadonk Sep 6, 2019
d23da34
Update About.md
jadonk Sep 6, 2019
d61cbb9
Update About.md
jadonk Sep 6, 2019
c27223d
Update About.md
jadonk Sep 6, 2019
5d01685
Update About.md
jadonk Sep 6, 2019
dcec8ce
Adding LCD display
MarkAYoder Sep 6, 2019
4f10267
Added path to README.md
Sep 6, 2019
858de49
Merge branch 'master' of https://github.com/beagleboard/cloud9-examples
Sep 6, 2019
8ff69ba
Adding SPI example
Sep 6, 2019
7033f64
LCD TFT via SPI and framebuffer example
Sep 6, 2019
3e04f1a
Added P9_26's gpio #
Sep 7, 2019
4ae4663
Switched to P9_31a
Sep 7, 2019
b832d2e
Added i2cTemp.py
Sep 10, 2019
ac648e7
Added python examples
MarkAYoder Sep 10, 2019
6b830c8
Added
Sep 11, 2019
3d2287c
Switched to Black
MarkAYoder Sep 11, 2019
e09ba00
Merge branch 'master' of https://github.com/beagleboard/cloud9-examples
MarkAYoder Sep 11, 2019
d2e90c9
Cleaning comment
Sep 11, 2019
9e1534d
Merge branch 'master' of https://github.com/beagleboard/cloud9-examples
Sep 11, 2019
6691b20
Split to sensors and displays
MarkAYoder Sep 17, 2019
d4d8b8e
Added displays/images
MarkAYoder Sep 17, 2019
db29815
Added borisLED.jpg
MarkAYoder Sep 17, 2019
a8ecb31
Rotated
MarkAYoder Sep 17, 2019
f4a3716
.gitignore: ignore .so and .c9/.nakignore
Sep 18, 2019
89cd447
Fix run button for TIDL mjpg-streamer
Sep 18, 2019
219e1d6
Hacks during video recording
Sep 18, 2019
4767f1d
Merge plugins
Sep 19, 2019
8faf162
Configure preview URL
Sep 20, 2019
9aa279c
Fix preview and add mjpg-stream
Sep 20, 2019
d30024e
Hacking
Sep 20, 2019
997d635
Add a hack to load Intro
Sep 20, 2019
906abf6
Fixed mjpg-stream and working on the runner
Sep 20, 2019
5943b62
Fix to work with ti-tidl package
Sep 21, 2019
809efef
Start C66 directory
Sep 23, 2019
f7ccf59
Add TIDL readme
Sep 23, 2019
0ee0af1
TIDL README.md: execution notes
Sep 23, 2019
7e6a833
Moved from 5V to 3.3V
Sep 23, 2019
d9d3f33
Switched LV-MaxSonar to 3.3V
MarkAYoder Sep 23, 2019
f75e8c9
Will loading show?
Sep 24, 2019
142cbff
TIDL: segmentation WIP
Sep 24, 2019
d8e9cbd
TIDL: classification: switch from 2 DSPs to 4 EVEs
Sep 24, 2019
924267f
TIDL: classification: Add 1 DSP
Sep 24, 2019
f999b80
Update README.md
jadonk Sep 24, 2019
3608c6a
Merge branch 'master' of https://github.com/beagleboard/cloud9-examples
Sep 24, 2019
a35d41d
plugin: try to prevent opening old vfs
Sep 25, 2019
7682381
TIDL: classification: try adding pipeline processing
Sep 25, 2019
4d8d8e9
TIDL: update README.md
Sep 25, 2019
0b581ef
Renumbered bus
Oct 10, 2019
4bbb982
Fixed bus number
Oct 10, 2019
7e110d2
Merge branch 'master' of https://github.com/beagleboard/cloud9-examples
Oct 16, 2019
2103880
TIDL: classification: undo errand code
Oct 23, 2019
40f8201
Merge branch 'master' of https://github.com/beagleboard/cloud9-examples
Oct 23, 2019
06be96e
TIDL: segmentation: move to WIP directory for now
Oct 23, 2019
948fc17
Initial commit
Ainsfei Oct 28, 2019
db6df8e
add
Ainsfei Oct 28, 2019
7e49d38
add
Ainsfei Oct 28, 2019
052980c
add
Ainsfei Oct 28, 2019
5633d82
add
Ainsfei Oct 28, 2019
6132c4a
add
Ainsfei Oct 28, 2019
9914ab2
add
Ainsfei Oct 28, 2019
f766446
add
Ainsfei Oct 29, 2019
9c36e4c
add
Ainsfei Oct 29, 2019
d2917cc
add
Ainsfei Oct 29, 2019
9ef9eab
AI: WIP: input.js: try using some pins configured as GPIO even with t…
Oct 31, 2019
47f7bd7
Update README.md
jadonk Nov 12, 2019
b135461
internalLED.js: remove bonescript
Jan 24, 2019
950e02c
pushbutton.js: remove bonescript
Nov 29, 2019
9754070
added lesson4
Hansen0314 Dec 5, 2019
09b7fe0
added lesson5
Hansen0314 Dec 6, 2019
ec433e9
fixed device setup
Hansen0314 Dec 6, 2019
a0385d1
added Check if the driver of codec install successfully
Hansen0314 Dec 6, 2019
e7aedf0
added try-except of reading and writing file
Hansen0314 Dec 6, 2019
a13becf
fixed adc don't get
Hansen0314 Dec 6, 2019
971fbd3
added more information of checking
Hansen0314 Dec 6, 2019
d50ca80
newed image
Hansen0314 Dec 9, 2019
34fab95
fixed lesson3 can not exit problem
Hansen0314 Dec 9, 2019
7d20d23
added note
Hansen0314 Dec 9, 2019
bb1d89c
PocketBeagle/Grove: add Control_the_Light.py
Dec 11, 2019
7388393
Update README.md
jadonk Nov 12, 2019
56a6df1
WIP: Grove
Dec 20, 2019
93d8af1
add plugin todos
Jan 2, 2020
5672df5
Merge remote-tracking branch 'grove/master'
Jan 10, 2020
5474cf2
Move Grove files
Jan 10, 2020
ec4b3aa
Grove: remove full path on images
Jan 10, 2020
979051e
Update Kit.md
jadonk Jan 10, 2020
c79ce0d
Grove: move
Jan 10, 2020
d2b7340
Revert "Grove: move"
Jan 10, 2020
7318043
Grove: spelling of PocketBeagle
Jan 14, 2020
3e496aa
Grove: fix alsactl command
Jan 15, 2020
2e40968
Grove: partial update merge
Jan 15, 2020
a3e6941
Grove: remove all emdash
Jan 15, 2020
a4ca9bc
Grove: more partial merge
Jan 16, 2020
860893f
Grove: complete updates from current Seeed repo
Jan 16, 2020
ae30e51
Grove: start workshop-handouts.md
Jan 16, 2020
b5a997b
Grove: use Seeed rainbow and isolate I/O code
Jan 16, 2020
757e59f
Grove: workshop-handouts.md: different pagebreak
jadonk Jan 16, 2020
ab02424
Grove: just use horizontal lines for now
Jan 16, 2020
bdf36fe
Grove: add LCD and USR3 LED examples
Jan 17, 2020
b2d3246
Grove: add LCD to Control_the_Light.py
Jan 17, 2020
7603ce3
Merge branch 'master' of https://github.com/beagleboard/cloud9-examples
Jan 17, 2020
5f24e56
Grove: hacking
Jan 17, 2020
dc54e6a
Grove: Button.py created
Jan 17, 2020
4eebed7
Grove: added Captouch.py (broken)
Jan 17, 2020
7faf480
Grove: WIP
Jan 17, 2020
a3692d7
added OK-Beagle
Hansen0314 Jan 17, 2020
3b7dba1
added Lesson1,2 of Grove
Hansen0314 Jan 19, 2020
23b41c9
fixed Lesson2
Hansen0314 Jan 20, 2020
c348a4f
Update README.md
Hansen0314 Jan 20, 2020
3bd84c7
added 1~8 Lesson
Hansen0314 Jan 20, 2020
d6262cb
added Lesson 1~8
Hansen0314 Jan 20, 2020
70089eb
Merge Lesson1 of Grove
Hansen0314 Jan 20, 2020
972aa73
fixed bug of Lesson-8.Hello-Kitt-AI
Hansen0314 Jan 24, 2020
ce50657
Merge pull request #21 from hansonCc/master
jadonk Jan 27, 2020
4922bfc
Grove: oh the bloat!
Jan 27, 2020
96d89af
PocketBeagle/pru: add bitflip
Jan 27, 2020
4848718
TechLab: WIP rgbLEDrpmesg.pru0.c
Jan 27, 2020
585cc68
PocketBeagle/pru/bitflip.arm.c: work with dt patch from zmatt
Jan 29, 2020
7bce79f
PocketBeagle/pru/bitflip.arm.c: use correct symlink
Jan 29, 2020
85fe903
PocketBeagle/TechLab: add rpmsg example
Jan 29, 2020
13f87a7
PocketBeagle/pru/pruspeak: WIP
Jan 30, 2020
a478ed8
fixed Path of Ok_Beagle.py
Hansen0314 Jan 31, 2020
9b27240
PocketBeagle/TechLab: some PRU fixes
Feb 2, 2020
6a19278
Grove: move setup instructions separate
Feb 2, 2020
e94ea20
Grove: merge Seeed updates
Feb 3, 2020
2949966
Grove: untested cleanup
Feb 3, 2020
5dcc002
merging beagleboard-master
Hansen0314 Feb 3, 2020
1a65de9
merging
Hansen0314 Feb 3, 2020
560f806
merging
Hansen0314 Feb 3, 2020
06ef73e
Merge branch 'beagleboard-master'
Hansen0314 Feb 3, 2020
f014c5f
Become to suggested structure
Hansen0314 Feb 4, 2020
b03483a
modify the name of speaker
Hansen0314 Feb 5, 2020
9dfcf81
added comment of Accelerometer.py
Hansen0314 Feb 5, 2020
9c22c20
added comment
Hansen0314 Feb 5, 2020
532b088
added tlv320aic3104.conf.txt
Hansen0314 Feb 5, 2020
751a7c5
move Grove to .work-in-progress,move copyright to LICENSE file that i…
Hansen0314 Feb 6, 2020
441e85c
restore the README of Grove
Hansen0314 Feb 6, 2020
993ff6a
remove blank at end line of .py
Hansen0314 Feb 6, 2020
d86da26
Encapsulation InstallDTBO to install DTBO file
Hansen0314 Feb 6, 2020
5797202
added ReinstallModule function in Shell.py
Hansen0314 Feb 6, 2020
92eee7d
Set file path to variable
Hansen0314 Feb 6, 2020
14e5662
fixed authority of /tmp/scale in ToneGenerator.py
Hansen0314 Feb 6, 2020
f809d52
fixed mpr121 data path
Hansen0314 Feb 6, 2020
70dd898
fixed path name error
Hansen0314 Feb 6, 2020
92e852d
rm bash.exe.stackdump
Hansen0314 Feb 6, 2020
ab19f50
rm LICENSE of Grove
Hansen0314 Feb 6, 2020
bc23575
Merge pull request #22 from Hansen0314/master
jadonk Feb 6, 2020
5634668
Catch up with v2020.01
Feb 6, 2020
43700b3
Missed in last commit
Feb 6, 2020
2c7f65b
Merge pull request #2 from beagleboard/master
Hansen0314 Feb 7, 2020
bd98780
rm makefile in Grove
Hansen0314 Feb 7, 2020
bef7099
Change the usage of global
Hansen0314 Feb 7, 2020
5685fed
fixed the tlv320aic3104.state.txt's path
Hansen0314 Feb 7, 2020
4154be2
update content of Kit.md
Hansen0314 Feb 7, 2020
7dddf80
fixed SetText of LCD
Hansen0314 Feb 7, 2020
ffd5b09
fixed global variable
Hansen0314 Feb 7, 2020
b8f5786
added timer to display LCD
Hansen0314 Feb 7, 2020
a11d8bf
Reduce the whitespace
Hansen0314 Feb 7, 2020
f11909d
Merge pull request #23 from Hansen0314/master
jadonk Feb 7, 2020
ffd709d
Change Keywords to Ok_Beagle
Hansen0314 Feb 8, 2020
f339852
Merge pull request #24 from Hansen0314/master
jadonk Feb 9, 2020
4cf59c3
Grove: move out of WIP
Mar 2, 2020
09b00dc
Move Grove directory
Mar 27, 2020
5d02bfb
Update TIDL mjpg-streamer port to 8090
Mar 27, 2020
081e36a
Copy runners to override defaults
Mar 27, 2020
455cdfd
Remove reference to PRU libdrivers
Mar 27, 2020
ff94862
Remove usage of VPE in running TIDL examples
Mar 27, 2020
026376a
modify dtverlays to dtoverlays
RobertCNelson Mar 23, 2020
895a6fe
rm speaker wiki in Ok_Beagle.py
Hansen0314 Mar 31, 2020
c612089
fixed cannot find Ok_Beagle.pmdl error
Hansen0314 Mar 31, 2020
cf62394
Merge pull request #29 from Hansen0314/master
jadonk Apr 1, 2020
bad2bee
mv hd44780 seeed-hd44780
Hansen0314 Apr 1, 2020
b9b7216
Merge pull request #30 from Hansen0314/master
jadonk Apr 1, 2020
57c4070
tidl: Makefile: copy "Remove usage of VPE in running TIDL examples"
RobertCNelson Apr 1, 2020
85014db
tidl: Makefile: nuke /tmp/cloud9-examples/classification.tidl.so on c…
RobertCNelson Apr 1, 2020
aace8ea
Try using C++14
Apr 1, 2020
74b5ba9
AI/TIDL: try to cast return in constexpr to int
Apr 1, 2020
89bf1eb
AI/TIDL: get rid of constexpr
Apr 1, 2020
2d6fb37
common/Makefile: enable -fPIC for buster
RobertCNelson Apr 1, 2020
72fbb9f
AI/TIDL: list the correct projects available
Apr 1, 2020
45e1dcf
AI/TIDL: list the correct projects available
Apr 1, 2020
beac14b
Add branch status to README.md
Apr 7, 2020
6ca8641
Merge pull request #1 from beagleboard/master
Hansen0314 Apr 29, 2020
55ea027
update: photo of PocketBeagle Grove
Hansen0314 Apr 29, 2020
e3fb06f
add: Plug wifi dongle of lesson8
Hansen0314 Apr 29, 2020
cb834f2
fix: language error
Hansen0314 Apr 29, 2020
a2ddb82
Merge pull request #34 from Hansen0314/master
jadonk May 5, 2020
d2611d9
correct sensors link and add displays link
lorforlinux May 9, 2020
7c87504
Merge pull request #37 from lorforlinux/master
jadonk Jun 9, 2020
d21d21d
Switched to /dev/remoteproc/pruss...
Jun 8, 2020
eb2bb35
Updated Black's /dev/remoteproc
Jun 8, 2020
ca7613a
Makefile: remove Starterware
jadonk Jun 9, 2020
ef60152
Added pins that are preconfigured on the AI for the PRU
Jun 10, 2020
839e214
Added so we can use PRU1_1
Jun 10, 2020
b0c9c2f
Remove bonescript from PocketBeagle fadeLED.js example
daschachter Jun 12, 2020
9a3f56e
TechLab: update README for newer images
Jun 15, 2020
d1e1d95
Grove handouts WIP
May 3, 2020
ab843c0
Convert source to asciidoc
May 3, 2020
e83b24a
TechLab: working on asciidoc handouts
Jun 15, 2020
eed6500
Fixed GPIO0 address
Jun 3, 2020
463b46d
Merge pull request #2 from beagleboard/master
Hansen0314 Sep 4, 2020
b1d9f0c
mv:Ok_Beagel to Ok_Beagle
Hansen0314 Sep 4, 2020
f8c6638
Merge pull request #48 from Hansen0314/master
jadonk Sep 4, 2020
579ae29
Update README.md
jadonk Sep 4, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
656 changes: 656 additions & 0 deletions .c9/plugins/beagle.bone101/github-markdown.css

Large diffs are not rendered by default.

2,547 changes: 2,547 additions & 0 deletions .c9/plugins/beagle.bone101/markdown.html

Large diffs are not rendered by default.

509 changes: 409 additions & 100 deletions .c9/plugins/beagle.bone101/plugin.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions .c9/plugins/beagle.bone101/remarkable.min.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
],

"info" : "Started $project_path: $file_name\nFile path: $file_path\nFile: $file\nArguments: $args\nFile name: $file_name\nFile extension: $file_extension\nFile base name: $file_base_name\nPackages: $packages\nProject path: $project_path\nProject name: $project_name\nHostname: $hostname\nHostname path: $hostname_path\nURL: $url\nPort: $port\nIP: $ip\nCommand: $command\nPython: $python\nPython path: $python_path",
"env" : {},
"selector": "^.*\\.c$",
"env" : { "MYPORT": "$port" },
"selector": "^.*\\.c",
"$debugDefaultState": false
}
13 changes: 13 additions & 0 deletions .c9/plugins/beagle.bone101/runners/C++ (simple)
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Create a custom Cloud9 runner - similar to the Sublime build system
// For more information see https://docs.c9.io/docs/custom-runners
{
"cmd": [
"make", "-f", "/var/lib/cloud9/common/Makefile",
"TARGET=$file_base_name", "$args"
],

"info" : "Started $project_path: $file_name\nFile path: $file_path\nFile: $file\nArguments: $args\nFile name: $file_name\nFile extension: $file_extension\nFile base name: $file_base_name\nPackages: $packages\nProject path: $project_path\nProject name: $project_name\nHostname: $hostname\nHostname path: $hostname_path\nURL: $url\nPort: $port\nIP: $ip\nCommand: $command\nPython: $python\nPython path: $python_path",
"env" : { "MYPORT": "$port" },
"selector": "^.*\\.c",
"$debugDefaultState": false
}
3 changes: 3 additions & 0 deletions .c9/project.settings
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
}
}
},
"preview": {
"@url": "http://$C9_HOSTNAME:8080"
},
"python": {
"@path": "/usr/lib/python3.7/dist-packages:/usr/local/lib/python3.7/dist-packages",
"@version": "python3"
Expand Down
13 changes: 13 additions & 0 deletions .c9/runners/C or C++ (Beagle Makefile).run
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Create a custom Cloud9 runner - similar to the Sublime build system
// For more information see https://docs.c9.io/docs/custom-runners
{
"cmd": [
"make", "-f", "/var/lib/cloud9/common/Makefile",
"TARGET=$file_base_name", "$args"
],

"info" : "Started $project_path: $file_name\nFile path: $file_path\nFile: $file\nArguments: $args\nFile name: $file_name\nFile extension: $file_extension\nFile base name: $file_base_name\nPackages: $packages\nProject path: $project_path\nProject name: $project_name\nHostname: $hostname\nHostname path: $hostname_path\nURL: $url\nPort: $port\nIP: $ip\nCommand: $command\nPython: $python\nPython path: $python_path",
"env" : { "MYPORT": "$port" },
"selector": "^.*\\.c",
"$debugDefaultState": false
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.out
*.so
.c9/state.settings
.c9/metadata/
.c9/.nakignore
93 changes: 93 additions & 0 deletions About.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
![](extras/images/beagleboard-logo.svg)
# About [BeagleBoard.org](https://beagleboard.org/about)

BeagleBoard.org is a registered trademark of the BeagleBoard.org Foundation,
a US-based 501(c)3 tax-exempt non-profit corporation with a focus on education
on using and creating open source software and hardware and fostering
open source collaboration.

# Current board members

* Jason Kridner
* Drew Fustini
* Robert Nelson
* Mark Yoder
* Kipp Bradford

# Thanks to our contributors
Significant contributions have come from the BeagleBoard.org, Linux and other
open source developer communities as well as Texas Instruments and other
technology suppliers. This location is meant to capture some of their names
and contributions.

* Gerald Coley - designs of all Beagles up to BeagleBoard-X15
* Khasim Syed Mohammed - brainstorming and debug
* Steve Kipisz - debug
* Joel Fernandes - debug
* Koen Kooi - kernel and distro support on all Beagles up to BeagleBone Black
* Pantelis Antoniou - dynamic overlays
* Mans Rullgard
* Matt Porter
* Cathy Wicks - GSoC, blog, manuals, university engagements
* Bill Mills
* Nishanth Menon
* Tom Rini
* David Anders - Bacon Cape
* Michael Welling
* James Strawson - librobotcontrol, Robotics Cape,
* Matthijs van Duin - show-pins.pl, udev rules, #beagle
* Cody Lacey
* Erik Welsh - BeagleBone Blue layout, BeagleBone Black Wireless debug
* Charles Steinkuehler - machinekit, cape-universal*
* Trammell Hudson - ledscape
* Anuj Deshpande
* David Lechner
* Robert P. J. Day
* Andrew Henderson
* Baozhu Zuo
* Vlad Ungureanu
* Víctor Mayoral Vilches
* Henner Zeller
* Andrew McPherson
* Derek Molloy
* Vaishnav M A
* Parthi
* Dick Hollenbeck
* William Hermans
* John Syne
* Maxim Podbereznyy
* Josh Datko
* Shabaz Yousaf
* Matt Ranostay
* Vagrant Cascadian
* Elias Bakken
* Matt Richardson
* David Scheltema
* Steven Barrett
* Mirko Denecke
* Patrick Poirier
* Damjan Marion
* Tim Kientzle
* Frank Hunleth
* Justin Cooper
* David Planella
* Yiğit Yüce
* Thomas Freiherr
* Brian Cooke
* John Seamons
* Bill Mar
* Grégoire Gentil
* Eric Stackpole
* Jack Armitage
* Jessica Calloway
* Philip Parker
* Alejandro Erives
* Gerard Andrews
* Hunyue Yau
* Zubeen Tolani
* Kumar Abhishek
* Ravi Kumar Prasad
* Victor Meyerson
* Steve Sakoman

TODO: Please help with the above list
2 changes: 2 additions & 0 deletions BeagleBone/AI/.work-in-progress/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Issues/TODO
* bonescript needs porting to the AI
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
// Setup:
// See:
////////////////////////////////////////
var b = require('bonescript');
const b = require('bonescript');

var inputs = ["P8_9", "P8_10", "P8_11", "P8_12", "P8_15", "P8_16",
const inputs = ["P8_9", "P8_10", "P8_11", "P8_12", "P8_15", "P8_16",
"P8_33", "P8_35", "P8_38",
"P9_11", "P9_17", "P9_18", "P9_19", "P9_20",
"P9_22", "P9_25", "P9_27", "P9_29", "P9_42"];
Expand Down
37 changes: 37 additions & 0 deletions BeagleBone/AI/.work-in-progress/fadeLED.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/usr/bin/env node
////////////////////////////////////////
// fade.js
// Fades the LED wired to P9_14 using the PWM.
// Wiring: P9_14 connects to the plus lead of an LED. The negative lead of the
// LED goes to a 220 Ohm resistor. The other lead of the resistor goes
// to ground.
// Setup:
// See:
////////////////////////////////////////
const b = require('bonescript');
const LED = 'P9_14'; // Pin to use
var step = 0.02; // Step size
const min = 0.02, // dimmest value
max = 1; // brightest value
var brightness = min; // Current brightness;

b.pinMode(LED, b.ANALOG_OUTPUT);
setTimeout(doInterval, 200); // work-around to wait for PWM permissions

console.log('Hit ^C to stop');

function doInterval(err, x) {
if(err) {
console.log('err = ' + err);
return;
}
setInterval(fade, 20); // Step every 20 ms
}

function fade() {
b.analogWrite(LED, brightness);
brightness += step;
if(brightness >= max || brightness <= min) {
step = -1 * step;
}
}
36 changes: 36 additions & 0 deletions BeagleBone/AI/.work-in-progress/input.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin/env node
////////////////////////////////////////
// input.js
// Responds to changes on P8_18 via a callback.
// Wiring: Connect P8_18 to P8_14 with a 1kOhm resistor.
// Setup:
// See:
////////////////////////////////////////
const b = require('bonescript');

const outputPin = "P8_14";
const inputPin = "P8_18";
const ledPin = "USR3";
const mydelay = 250;
var state = b.LOW;

console.log('Please connect ' + inputPin + ' to ' + outputPin +
' with a 1kOhm resistor');
b.pinMode(inputPin, b.INPUT);
b.pinMode(outputPin, b.OUTPUT);
b.pinMode(ledPin, b.OUTPUT);

b.digitalWrite(outputPin, b.LOW);
b.attachInterrupt(inputPin, setLED, b.CHANGE);

toggle();

function setLED(x) {
b.digitalWrite(ledPin, x.value);
}

function toggle() {
state = (state == b.LOW) ? b.HIGH : b.LOW;
b.digitalWrite(outputPin, state);
setTimeout(toggle, mydelay); // Waut a bit, and then toggle again
}
60 changes: 60 additions & 0 deletions BeagleBone/AI/.work-in-progress/input2.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
#!/usr/bin/env node
////////////////////////////////////////
// input2.js
// Responds to changes on P8_19 and P9_16 via callbacks.
// Wiring: Connect P8_19 to P9_14 with a 1kOhm resistor
// Connect P9_15 to P9_16 with a 1kOhm resistor
// Setup:
// See:
////////////////////////////////////////
const b = require('bonescript');

const outputPin = "P9_14";
const inputPin = "P8_19";
const outputPin2 = "P9_16";
const inputPin2 = "P9_15";
const ledPin = "USR3";
const ledPin2 = "USR2";
const mydelay = 100;
const mydelay2 = 33;
var toggleState = b.LOW;
var toggleState2 = b.LOW;

console.log('Please connect ' + inputPin + ' to ' + outputPin +
' with a 1kOhm resistor');
console.log('Please connect ' + inputPin2 + ' to ' + outputPin2 +
' with a 1kOhm resistor');
b.pinMode(inputPin, b.INPUT);
b.pinMode(outputPin, b.OUTPUT);
b.pinMode(ledPin, b.OUTPUT);
b.pinMode(inputPin2, b.INPUT);
b.pinMode(outputPin2, b.OUTPUT);
b.pinMode(ledPin2, b.OUTPUT);

b.digitalWrite(outputPin, b.LOW);
b.digitalWrite(outputPin2, b.LOW);
b.attachInterrupt(inputPin, inputHandler, b.CHANGE);
b.attachInterrupt(inputPin2, inputHandler2, b.CHANGE);

toggle();
toggle2();

function inputHandler(x) {
b.digitalWrite(ledPin, x.value);
}

function inputHandler2(x) {
b.digitalWrite(ledPin2, x.value);
}

function toggle() {
toggleState = (toggleState == b.LOW) ? b.HIGH : b.LOW;
b.digitalWrite(outputPin, toggleState);
setTimeout(toggle, mydelay);
}

function toggle2() {
toggleState2 = (toggleState2 == b.LOW) ? b.HIGH : b.LOW;
b.digitalWrite(outputPin2, toggleState2);
setTimeout(toggle2, mydelay2);
}
13 changes: 5 additions & 8 deletions BeagleBone/AI/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@

Learn more at https://beagleboard.org/ai.

# Directories

* tidl - Learn how to use the built-in embedded machine learning accelerators.
* pru - Learn how to use the on-board ultra-low latency PRU microcontrollers.

# Issues/TODO
* bonescript needs porting to the AI
* analog in isn't working
Directory | Learn how to use the ...
---------- | -----------
[tidl](tidl) | built-in embedded machine learning accelerators.
[pru](pru) | on-board ultra-low latency PRU microcontrollers.
[c66](c66) | on-board digital signal processors.
34 changes: 34 additions & 0 deletions BeagleBone/AI/analogInCallback.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/usr/bin/env node
////////////////////////////////////////
// analogInCallback.js
// Reads analog in on P9_36 and prints it via a callback.
// Wiring: Attach the outer pins on a variable resistor to P9_32 and P9_34.
// Attach the wiper (middle pin) of the resistor to P9_36.
// Setup:
// See:
////////////////////////////////////////
const b = require('bonescript');

const inputPin = "A3";

console.log('Hit ^C to stop');
b.analogRead(inputPin, printStatus);

function printStatus(err, x) {
if(err) {
console.log('Got error: ' + err);
return;
};
process.stdout.write(inputPin + ': ' + (x*100).toFixed(1) + '%, ' + (1.8*x).toFixed(3) + 'V \r');
b.analogRead(inputPin, printStatus);
}

// Bone | Pocket | AIN
// ----- | ------ | ---
// P9_39 | P1_19 | A0
// P9_40 | P1_21 | A1
// P9_37 | P1_23 | A2
// P9_38 | P1_25 | A3
// P9_33 | P1_27 | A4
// P9_36 | P2_35 | A5
// P9_35 | P1_02 | A6
37 changes: 37 additions & 0 deletions BeagleBone/AI/analogInOut.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!/usr/bin/env node
////////////////////////////////////////
// analogInOut.js
// Reads analog in on P9_36 and adjusts the PWM on P9_14.
// Wiring: Attach the outer pins on a variable resistor to P9_32 and P9_34.
// Attach the wiper (middle pin) of the resistor to P9_36.
// P9_14 connects to the plus lead of an LED. The negative lead of the
// LED goes to a 220 Ohm resistor. The other lead of the resistor goes
// to ground.
// Setup:
// See:
////////////////////////////////////////
const b = require('bonescript');

const inputPin = "A3";
const outputPin = "P9_14";

console.log('Hit ^C to stop');
b.pinMode(outputPin, b.ANALOG_OUTPUT);
setTimeout(loop, 200); // work-around to wait for PWM permissions

function loop() {
var value = b.analogRead(inputPin);
process.stdout.write(inputPin + '-->' + outputPin + ': ' + (value*100).toFixed(1) + '% \r');
b.analogWrite(outputPin, value);
setTimeout(loop, 10);
}

// Bone | Pocket | AIN
// ----- | ------ | ---
// P9_39 | P1_19 | A0
// P9_40 | P1_21 | A1
// P9_37 | P1_23 | A2
// P9_38 | P1_25 | A3
// P9_33 | P1_27 | A4
// P9_36 | P2_35 | A5
// P9_35 | P1_02 | A6
Loading