Was the assignment "understand the problem and write a program to solve it", or was it "find an answer somewhere on the web and copy it without understanding anything"?
I'll expand a little on what scotty101 said. The accelerometer cannot measure speed. What it measures is change of speed, that is, acceleration. You have to integrate that over time in order to get the present speed relative to the speed you had when you started integrating. That will accumulate err...
"data logging" is a huge category. Nobody can tell you how to do "data logging". Start with a defined problem, and you can get lots of hints about what to use and how to use it.
Another way is to run them in separate terminals or x-terms. That way their outputs don't get mixed up and it's less confusing to run them than when you use "command1 & command2" in one terminal.
I don't have my pi available now, and somebody will probably give you exact info on this-- but you might try this: search for a phrase from the message in all files under /etc, for example grep -r a_word_from_the_message /etc If you find it, you can probably figure out how to alter that file. Tip: s...
I like nano, especially my personal version of it, but does anybody know how to avoid the annoying slow-down that it exhibits when displaying far down in a long file, with syntax highlighting turned on? I guess the problem is that every time it needs to re-write the screen, it starts at the top of t...
I made a C program that lets you measure the temperature via all three sensors on the sense hat, plus the CPU, with ability to exercise most of the options that exist. They all get different results. I have not tried comparing vs. "known" temperature. It will be some time before I can look at this a...
I am taking little baby steps with this and trying to explore all aspects of the problem. Consequently I have not yet gotten around to the humidity and pressure. With the help of the datasheet you should be able to adapt my code to read those things. My equipment is packed in a moving pod and it wil...
So you seem to be trying to make one Pi use a LED to send to the other Pi, which picks up the signal by using a photodiode. I think you need to wire up the photodiode with the usual transconductance amplifier and put the output of that into a comparator to discriminate between background and LED sig...
Check out http://experix.sourceforge.net . It's a calculator that runs scripts, and it understands some concepts not usually included in calculators, such as threads, USB device operation, timing, general file operations and lots of other stuff. It uses a stack that holds many different kinds of thi...
I recall finding it fairly confusing to work with that document, but I put together a program that operates a PWM-controlled linear motor on the Gertbot. You can find my stuff at [url]https:experix.sourceforge.net[/url] in the Download files section. Get the latest experix distribution and look at s...
I made example programs that operate the LED matrix; get joystick input; and monitor temperature reported by the pressure sensor, temperature/humidity sensor, accelerometer and CPU. Find it in https://experix.sourceforge.net . Click Dowload source files and information , select sense-hat , download ...
I got a USB-1608G from [url]http:www.mccdaq.com[/url] and have done some development with it and somewhat tested its limits concerning turn-around when loading a new DAC signal. They also have ethernet-connected models. These things are a bit pricy, but really convenient to use. You can hook up 16 a...
I don't understand the question. I looked up USB HID in wikipedia, and it speaks of standards for human interface devices such as keyboards and mice. Certainly you can use those with a Raspberry Pi. If there is a specific not-so-common thing that you want to use I can only suggest checking whether i...
Thanks for the tip, drgeoff. I'll try doing that. Could be quite a bit faster, but maybe not as easy to get a bunch of different results out of one picture. (I can FT the picture, manipulate that various ways and inverse-FT those to get different filters, sizes, etc.) I looked up some articles on FI...
Do you mean, software that lets you talk to them via internet (I'm sure you can find that), or something you can connect to the Pi to get the sound (I would look for some sort of USB sound card), or a project that addresses the problem of making the dogs pay attention (there, I can't offer any advic...
Looks like it might be worth trying. From the website you linked: Linux: Works like standard USB mouse Automatically starts working when plugged in! Tapping, Double Tapping, Vertical Scrolling, right tap, drag n drop No drivers, downloads or discs needed I have a keyboard-touchpad combo that came wi...
Your accelerometer on the projectile will give you the deceleration due to air drag (if it is sensitive enough), and it might tell you about rotation (you might want to use magnetometer readings to help sort that out), and you might get a big reading sometimes from hitting a bird.
The sense-hat (astro-pi) uses SPI for talking to the MCU (or AVR as it is also called) and I2C to talk to the pressure sensor, temp/humidity sensor and accelerometer/gyroscope/magnetometer. I am developing a set of header files, documentation aids and test/example programs for this. You can find it ...
I don't know whether framebuffer drivers have any built-in knowledge of non-square pixels. But assuming they do not, consider this: if you make a 1920x1080 pixel screen that is 3 inches by 3 feet, your 1920x1080 framebuffer will happily fill that up and you get a really skinny tall picture with ever...
"chrt" allows your process to wake up whenever it wants to, preempting all normal tasks. The man page speaks of selecting the scheduling policy and priority, with choices SCHED_OTHER, SCHED_FIFO, SCHED_RR, SCHED_BATCH, SCHED_IDLE, SCHED_RESET_ON_FORK for the policy. It does not say anything about w...