tag:blogger.com,1999:blog-12913358.comments2023-08-27T05:12:10.999-07:00PRNG: Pseudo Random Noise GeneratorGreghttp://www.blogger.com/profile/02475017701402788075noreply@blogger.comBlogger200125tag:blogger.com,1999:blog-12913358.post-86926752241104622292020-02-03T11:09:28.479-08:002020-02-03T11:09:28.479-08:00Thanks! Read and commented. Much appreciated, Scot...Thanks! Read and commented. Much appreciated, Scott!Greghttps://www.blogger.com/profile/02475017701402788075noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-77701873569819854462020-02-02T02:28:12.065-08:002020-02-02T02:28:12.065-08:00Note: Early morning tiredness led to a typo: "...Note: Early morning tiredness led to a typo: "Hey Greg. I am impressed with this but i have some commentary: https://fuzzyblog.io/blog/hardware/2020/02/01/belt-suspenders-and-possible-overcomplications-in-home-control.html that you might want to consider."Scott Johnsonhttps://www.blogger.com/profile/14200681331646190266noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-48493308046271222942020-02-02T02:27:14.959-08:002020-02-02T02:27:14.959-08:00Hey Greg. I am impressed but this but i have some...Hey Greg. I am impressed but this but i have some commentary: https://fuzzyblog.io/blog/hardware/2020/02/01/belt-suspenders-and-possible-overcomplications-in-home-control.html that you might want to consider.Scott Johnsonhttps://www.blogger.com/profile/14200681331646190266noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-45874086881523555532015-10-08T15:42:16.838-07:002015-10-08T15:42:16.838-07:00You'd think that the state of the art would...You'd think that the state of the art would've advanced a bit, eh?Daniel Rallhttps://www.blogger.com/profile/01327669435982855171noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-76834675615192421162015-08-27T05:11:56.963-07:002015-08-27T05:11:56.963-07:00Thanks for the awesome research, Carl!! Very helpf...Thanks for the awesome research, Carl!! Very helpful, and much appreciated for sharing your tips.<br /><br />I hope this helps @idreamincode, too.Greghttps://www.blogger.com/profile/02475017701402788075noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-3985473646173821042015-08-26T12:06:26.094-07:002015-08-26T12:06:26.094-07:00Using:
Raspberry Pi 2 Model B
Python 2.7
python-sm...Using:<br />Raspberry Pi 2 Model B<br />Python 2.7<br />python-smbus<br />i2c-tools<br /><br />I was having problems with a device that required combined (repeated start) mode operation to work. After flailing around for a couple of days (getting smarter about I2C, Python, R-Pi and Linux), I found the information on this site:<br />http://ciaduck.blogspot.com/<br />Lastly, the MPL3115A2 requires a proper repeated start command in it's I2C communication. Raspberry Pi doesn't do this out of the box, but there is a kernel module that can be enabled to make it perform repeated start correctly. Run the following commands to enable repeated start on the Pi:<br /><br />sudo su -<br />echo -n 1 > /sys/module/i2c_bcm2708/parameters/combined<br />exit<br /><br />More details about the repeated start problem can be found here:<br />http://www.raspberrypi.org/forums/viewtopic.php?f=44&t=15840&start=25<br /><br />After setting the contents of the file from āNā to āYā, my device started working, with the scope showing that the Stop command was no longer being issued in the middle of the read_word_data(addr, cmd) instruction.<br /><br />Anonymoushttps://www.blogger.com/profile/18418970725805748183noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-67242664592585441242015-06-15T15:58:03.347-07:002015-06-15T15:58:03.347-07:00Do you know if the Raspberry Pi 2 has this same is...Do you know if the Raspberry Pi 2 has this same issue with the I2C Repeated Starts?idreamincodehttps://www.blogger.com/profile/02953810127700895342noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-4302583270483683682015-04-11T06:38:48.880-07:002015-04-11T06:38:48.880-07:00Hey @Possumkeys ... I suspect bitrot. I'm bett...Hey @Possumkeys ... I suspect bitrot. I'm betting the dependencies have updated in the past two years since I worked on this. I'll be getting back to it, soon, and will merge/fix.<br /><br />I welcome any pull requests to fix this issues.Greghttps://www.blogger.com/profile/02475017701402788075noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-8053481777290463402015-04-11T03:53:30.114-07:002015-04-11T03:53:30.114-07:00I keep getting errors with DllAvUtil.h, such as ::...I keep getting errors with DllAvUtil.h, such as ::av_get_channel_layout has not been declared, in DllAvFormat.h, ::url_feof has not been declared and so on. ALl this is during inclusion in BitstreamConverter.hPossumkeyshttps://www.blogger.com/profile/02535705868084118062noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-20295165667368326812015-04-11T03:21:06.882-07:002015-04-11T03:21:06.882-07:00I keep getting errors with DllAvUtil.h, such as ::...I keep getting errors with DllAvUtil.h, such as ::av_get_channel_layout has not been declared, in DllAvFormat.h, ::url_feof has not been declared and so on. ALl this is during inclusion in BitstreamConverter.hPossumkeyshttps://www.blogger.com/profile/02535705868084118062noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-70015944106788531462015-03-17T02:09:29.856-07:002015-03-17T02:09:29.856-07:00Thank you, Chris and Toby for the kind words!Thank you, Chris and Toby for the kind words!Greghttps://www.blogger.com/profile/02475017701402788075noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-67209556406439319732015-03-16T06:30:04.898-07:002015-03-16T06:30:04.898-07:00Greg, I've always been impressed by your work ...Greg, I've always been impressed by your work and am grateful for the service that Google provided these past ten years. SourceForge was a clunky mess back then and having a clean slate to store open projects was an invaluable thing that you & Google gave to the community. Thanks for seeing the problem and doing something about it.Anonymoushttps://www.blogger.com/profile/12884247586308941319noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-23899190448558780132015-03-14T14:17:37.686-07:002015-03-14T14:17:37.686-07:00Thanks to you and to Chris for setting this up. Yo...Thanks to you and to Chris for setting this up. You are an inspiration!<br />- Chris MattmannUnknownhttps://www.blogger.com/profile/02537926121134825114noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-41971946274971929752015-01-17T08:37:07.832-08:002015-01-17T08:37:07.832-08:00I've also noticed that troubling trend at Ars....I've also noticed that troubling trend at Ars. Climate change is an area I admittedly have little knowledge of, and ordinarily I'd enjoy coverage from a site like Ars since I'd expect high quality content from them. But when I see a coordinated effort from the staff to shut down discussion, I know they've jumped the shark.Anonymoushttps://www.blogger.com/profile/12884247586308941319noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-62489349107331681472015-01-15T04:14:55.817-08:002015-01-15T04:14:55.817-08:00I'm disappointed with Ars right now, so no... ...I'm disappointed with Ars right now, so no... I don't want to link to their site :-/Greghttps://www.blogger.com/profile/02475017701402788075noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-42591747221218219612015-01-15T04:13:34.208-08:002015-01-15T04:13:34.208-08:00Is there a link?Is there a link?geirhttps://www.blogger.com/profile/12105366957068404592noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-57000712895988018432014-08-17T04:51:49.090-07:002014-08-17T04:51:49.090-07:00I think if you look at the simplicity of programmi...I think if you look at the simplicity of programming model that an arduino offers as well as the cheapness that an arduino min pro (reportedly $2.50 each on ebay) and then the performance predictability that a microcontroller offers, I think this is a great plan. Not so sure about using i2c at the house level (I'd think more in terms of a polling or push architecture where each device is regularly sending status over http to a local central server). <br /><br />Haven't had the time yet to look at your http work but I'd be certain that its solid.Scott Johnsonhttps://www.blogger.com/profile/14200681331646190266noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-26412953409801336572014-08-15T01:26:05.220-07:002014-08-15T01:26:05.220-07:00Very cool stuff!
I'm currently building some ...Very cool stuff!<br /><br />I'm currently building some hardware control system, and the Arduino seems a bit underpowered. For this project I decided to try out BeagleBone Black, which has a full Linux stack running on. I'm able to write code in Python to control various GPIOs, and everything is accessible over a web server using Tornado.ovidiuhttps://www.blogger.com/profile/09465864461707661035noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-77095206531648352962014-03-13T12:38:32.952-07:002014-03-13T12:38:32.952-07:00Thanks for the help! Seems like I'm trying to ...Thanks for the help! Seems like I'm trying to do the same thing as you - create a "control path" for omxplayer where I can have better external control of it - like even being able to specify/switch/*fade* videos while in-play. To make matters a (whole lot) worse - I'm trying to <i>cross compile</i> omxplayer. :-O<br />Anonymoushttps://www.blogger.com/profile/10625480513214641668noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-63936831216882358192013-11-21T09:18:49.732-08:002013-11-21T09:18:49.732-08:00Thanks for the fork. Like everyone else, I found i...Thanks for the fork. Like everyone else, I found it just worked.<br /><br />I'm working on remote control of OMXPlayer, and having trouble with seek consistency. See http://ncvp.co.uk/pivpr/<br /><br />Any suggestions?<br /><br />- Nickncvphttps://www.blogger.com/profile/01408705661141639647noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-38885869811592080722013-10-21T16:18:46.592-07:002013-10-21T16:18:46.592-07:00Needed to install libfreetype6-dev to resolve ft2b...Needed to install libfreetype6-dev to resolve ft2buiild.h dependency (in SubtitleRenderer.h itself #included by OMXPlayerSubtitles.cpp).<br /><br />Other than than, sweet ride.<br /><br />Much appreciated! Joejtheathhttps://www.blogger.com/profile/17915589124874134345noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-64961264712272281132013-10-21T16:15:20.821-07:002013-10-21T16:15:20.821-07:00Hi Greg,
Thank you for posting this - very helpfu...Hi Greg,<br /><br />Thank you for posting this - very helpful! First compile resulted in a build error, SubtitleRenderer.h (included by OMXPlayerSubtitles.cpp) includes ft2build.h which wasn't present so needed to install libfreetype6-dev to resolve the reference.<br /><br />Other than that, sweet ride.<br /><br />Planning to put a socket front-end on this.<br /><br />Best, Joejtheathhttps://www.blogger.com/profile/17915589124874134345noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-9002765293497790712013-09-29T05:49:55.835-07:002013-09-29T05:49:55.835-07:00Hey Greg, I thought you might be interested in thi...Hey Greg, I thought you might be interested in this idea as well. On some new sailboats, they no longer run electrical wiring from a circuit breaker box to the switch in question. They now run a main trunk to an area and have the breakers electronically controlled. It she's a lot of wire and weight. Here is an article with more info on the concept.<br />http://www.sailmagazine.com/best-boats-2012-southerly-49<br />ehay2khttps://www.blogger.com/profile/16441654620820540390noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-60923788302828518172013-08-14T11:39:37.985-07:002013-08-14T11:39:37.985-07:00Will do! I'm going to keep blogging about all ...Will do! I'm going to keep blogging about all the systems, and publishing the code and hardware. And yeah... lots of sysadmin'ing and tweaking. But I see that as just another fun project to work on :-) ... it will smooth out over time.Greghttps://www.blogger.com/profile/02475017701402788075noreply@blogger.comtag:blogger.com,1999:blog-12913358.post-77869051022324712242013-08-14T10:55:56.404-07:002013-08-14T10:55:56.404-07:00man. on the one hand, i love all the integration p...man. on the one hand, i love all the integration plans for your new house. they totally inspire me to do something similar. on the other hand, i hate sysadmining in general (and thus most consumer tech, sadly), and having to do it for so many parts of my house sounds like my personal version of hell. sigh. maybe i should hire an in-home sysadmin. :P<br /><br />can't wait to hear more about the progress!Ryanhttps://www.blogger.com/profile/09088492341819589797noreply@blogger.com