I think this point is well made. To do this kind of application where you want the display to tell the truth about the outside world, you surely would not want to do frequency calculation anyway on a multitasking OS. This probably needs to be farmed out to some preprocessor/mcu circuit.redhawk wrote:Timing is going to be a big issue the PI doesn't have an RT clock or timing chips so calculating the frequency would be problematic if not inaccurate.
Heres some of my tuts, using assembly macros to make a basic/arduino like language for bare metal coding.TonyD wrote:Are they any good wiki references or blogs showing how to "bare metal" program on the RPi?
Your welcome TonyDTonyD wrote:Thanks DexOS, I'll check them out
Yes, i am Forth fan too, in the x86 ver of my OS there was a "retroforth" started http://retroforth.org/Hugh Jarse wrote:Interesting project. Made me think about doing this for Forth for some reasonDexOS wrote: Heres some of my tuts, using assembly macros to make a basic/arduino like language for bare metal coding.
Why bother there are plenty of cheap scopes out there with USB interfaces, that would be cheaper than the parts for a one off.rooster wrote:I have a number of things I am looking to do with the RPi, they all involve measuring external voltages.
These voltages may be 240 V or mV, static or time varying.
Any experts out there able to design a circuit that would take an external voltage, step it up/down to an appropriate level (maybe via a x10, x100 etc switch), pass through an AD converter to the GPIO? I'm sure I can write the software to make a nice oscilloscope trace out of the results.