[Sugar-devel] Measure Activity
James Cameron
quozl at laptop.org
Wed Apr 7 18:15:38 EDT 2021
Voltage and resistance sense features of Measure activity main branch
head can only be tested with hardware that supports a DC mode on the
audio input jack, and consequently ASLA.
Raspberry Pi 4 does not have an audio input jack; you can see from the
schematics that the A/V JACK has the input pin 2 grounded, and only
the output pins available, and they are buffered as outputs by U5.
https://www.raspberrypi.org/documentation/hardware/raspberrypi/schematics/rpi_SCH_4b_4p0_reduced.pdf
So you can't test all existing features using a Raspberry Pi 4.
Raspbian has many low-speed inputs that could be used to implement a
new feature similar to the existing features, but the underlying API
would likely be different. Someone looking to implement those will
need to familiarise with relevant kernel modules and user-space data
acquisition modules.
For implementing in Javascript, you'll need to find how to write
against an API for low-level hardware access. I don't know of one. I
doubt it will be possible without making the resulting program
specific to a particular model of computer, and that is unlikely to be
interesting to Sugarizer project.
On Mon, Apr 05, 2021 at 10:45:27PM +0530, Aditya sinha wrote:
> Hi everyone. I hope you are doing good. I went through the Sugar Measure
> Activity. I found the voltage and resistance sense features. I am currently
> using Sugar on Raspberry Pi 4. I want to know how should I test this features
> and any suggestions on how to implement them in Javascript. I did not find any
> information regarding these features on GSOC Ideas page.
>
> Regards
> Aditya Sinha
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
--
James Cameron
https://quozl.linux.org.au/
More information about the Sugar-devel
mailing list