I hate to add complexity to your idea. but you will find a valuable market if you design the system to block license plate from being captured at the same time. This will increase your customer base 200 fold. That is how they do it here, sell cops detectors, and sell drivers detector detectors. I a...
There are definitely issues that impede the learning: lack of diagrams for some of the hardware unavailability of source code and interface info on the GPU lack of descriptions for functions and ioctls in the drivers and on and on That said, I have not seen anything that gives you a more well-rounde...
What can be learned from a fossilized Pi? I'm thinking, flood it with mud, compress it slowly until it all turns into a rock, and then see if you can detect the Pi in there by ultrasound or X-rays or something.
Is i2c enabled and sense-hat installed? If you install i2c-tools, what does i2cdetect -y 1 say? Thanks! indeed, i2c-tools was not installed. Maybe it ought to be part of the default installation, or at least noted in the sense-hat documentation. Also RTIMULibDrive11 needs 'sudo'. I strace'd RTIMULi...
This looks like more trouble than using an ADC. And with a 8-input ADC you could (depending on battery design) probably monitor all of the intermediate voltages in a stack of cells and/or the separate stacks in a parallel arrangement, to get a much more detailed view of battery health.
I tried to run RTIMULibDrive11 as described in the link you gave me. It does this: Settings file not found. Using defaults and creating settings file Failed to open settings file for saveFailed to open I2C bus 1 Failed to open SPI bus 0, select 0 Failed to open SPI bus 0, select 1 No IMU detected Us...
jbowler wrote:
To make it worse I believe recent builds of Linux 3.17 have a bug on the B (at least) which cause time drift, maybe a few seconds in 24 hours.
John Bowler
bump update: Feb 26 2016 I have made the second post relative to this. I has a LED framebuffer demo, a demo that reads /dev/input/event files (including the joystick), and a demo that explores temperature measurement via the three devices on sense-hat and the /sys file. Also, annotated header files ...
You seem to be worrying about the hardware, whether it is correctly transmitting the bytes that your program sends to the UART. If that is the case, something like what you say would be the way to go. If you want to verify the program's output, you could accompany each UART data write with a store-d...
I wrote a C program that exercises the LED matrix. Results: Writing values 0x0006 to 0x001f into the framebuffer makes blue lights come on, with increasing intensity. Likewise, (0x000c to 0x003f)<<5 makes green light, and (0x0006 to 0x001f)<<11 makes red light, and OR'ing any of these together makes...
An AC motor is built for current reversing its direction every 1/120 of a second (or whatever frequency it is made for). That is not at all the same as PWM, but a H-bridge connected to PWM output does give you control over current direction, so maybe you can do that. It might need a lot of experimen...
For convenience in removing the sense hat, would it be safe to extend that camera-cable slot over to the board edge? Then I wouldn't need to unplug and re-attach the camera, which is a bit of a delicate operation.
If I am to judge the contest (which I am most emphatically not) I cannot award the prize to Heater because he has not 'recovered' the energy; he as merely observed it. To recover the energy, to me, means using it do do some work. Maybe the contest needs more clear rules, but they must be careful not...
Do you mean that the display devices should have their brightness and maybe color adjusted according to the ambient light? Maybe you could use photodiodes with color filters (and of course appropriate amplifiers and ADC) to measure the light. Or get an image from the camera, convert to bitmap format...
exe code in included files is a useful technique and there's nothing wrong with having it run in multiple processes simultaneously as long as there are no conflicts over resources such as files, GPIO, etc. If it's a re-entrant function not using such resources, no problem. It can even use static var...
The best, and maybe only, reason to make a library is that you might have multiple programs or processes using the same functions. Then the library saves you the trouble of duplicating code in different programs, which uses more memory and creates more opportunities for bugs to creep in through fail...
Maybe it is better to use a USB stick or hard drive, with filesystem constructed in the best way for lots of little files. Putting them there will save wear on your SD card and make the files much easier to archive and access from another machine, by moving the drive there, should you want to do that.
The heat pipe would keep the sensor temperature much closer to the temperature at the other end of the pipe, minimizing the effect of warm components near the sensor. It's the same principle as the heat pipe you find attached to the CPU in a laptop, except that one is about removing heat produced by...
It's too bad the peripheral section doesn't seem to have a pulse counter. But it shouldn't be hard to find or design something you can use for that. It would be much more accurate and reliable than trying to service an interrupt on each pulse.
This is slightly off-topic, but when (not 'if') the battery starts to under-perform, it is possible/feasible to find out which cell has gone bad and replace it? Or should one assume they are all getting too old? I thought about this after somebody showed me his electrified bicycle with heavy and pro...
You have a loop with usleep calls in it. That's an OS call, meaning process suspension and all that. You can't get the kind of tight timing that you want, doing it like that. How about using a PWM output to control the brightness?
The Pi isn't suitable for constructing a supercomputer in the sense of a collection of closely linked CPUs, but how about making a 'supercomputer' for problems designed to run over a network? I'm thinking SETI, protein folding, prime number searching and other endeavors where each node gets a proble...
In case you are talking about PWM via a serial-port connected device such as the Gertbot, that can be speeded up about 7-fold by doing all the serial-port manipulations in user-space rather than by read and write calls on the /dev file. I can send you info if you want to try it.