tag:blogger.com,1999:blog-1371590922062461722.comments2024-02-15T05:25:48.329+00:00Random TutorUnknownnoreply@blogger.comBlogger177125tag:blogger.com,1999:blog-1371590922062461722.post-89371302753187214222019-04-30T02:00:51.743+01:002019-04-30T02:00:51.743+01:00Re R2.
If you assume about 20mA through the IR LED...Re R2.<br />If you assume about 20mA through the IR LED, then voltage drop (Vce-sat) is very small - say about 0.08V.<br />Voltage drop across the IR led should be about 1.4V (depending on the model).<br />So R2 = (3.3-.08-1.4)/.02 A = 91 Ohms.<br />You could use a 100 Ohm resistor without issues.<br />Without it, the current through the LED and transistor are not controlled. Yes it works for a while if you're lucky.<br />RegardsAnonymoushttps://www.blogger.com/profile/03643728778670748715noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-20683300072178004472018-10-15T14:52:55.251+01:002018-10-15T14:52:55.251+01:00I have download your tutorial but after running fl...I have download your tutorial but after running flask run it shows the glob error:<br /> conflist.extend(glob.glob(conf+".d/*.conf")) #open lircd.conf.d comfig directory<br />NameError: global name 'glob' is not defined<br /> Please provide me solution for this<br /><br />ajay dhamdehttps://www.blogger.com/profile/00506781278694827305noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-55318264849973292492018-02-22T14:33:12.495+00:002018-02-22T14:33:12.495+00:00Thank you for this tutorial.
ceneoThank you for this tutorial. <br /><a href="http://www.ceneo.pl/" rel="nofollow">ceneo</a>Marcinhttps://www.blogger.com/profile/13136264694033215328noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-38762461078878553802016-05-03T10:48:27.569+01:002016-05-03T10:48:27.569+01:00Need some help. I understand that we can use RPi a...Need some help. I understand that we can use RPi as a universal remote. The quesiton i am having is, if you need to control devices in your home, you would setup RPi in one place and need to control all the devices from there. Whereas, one of the requirement is to have the IR Transmitter to be close to the electric gadget. <br /><br />How we could achieve to have the RPi installed in one central place and have all devices get the IR Transmitter to control the electric equipment.sandyhttps://www.blogger.com/profile/10484346765637187620noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-11585951836544338572016-04-27T09:34:31.191+01:002016-04-27T09:34:31.191+01:00hi, how can i send the string value through wirele...hi, how can i send the string value through wireless locally?Anonymoushttps://www.blogger.com/profile/14941928200775151981noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-70010205661080328462015-09-22T01:17:56.753+01:002015-09-22T01:17:56.753+01:00Thanks for share JamesThanks for share JamesEduardo Demartini Giacominihttps://www.blogger.com/profile/14502604230548050546noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-78170753250642004152015-05-23T18:33:56.734+01:002015-05-23T18:33:56.734+01:00hello james,
Great tutorial i'm going to try ...hello james, <br />Great tutorial i'm going to try this this weekend<br /><br />can you please tell the ideal value for R2 resistor ? Davinder Singh https://www.blogger.com/profile/10684023334502972029noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-87972184966120632492015-04-25T21:33:22.156+01:002015-04-25T21:33:22.156+01:00Hi,
thank you for sharing this helpful code.
I a...Hi, <br />thank you for sharing this helpful code.<br /><br />I am trying to customise the remote control image for each remote, i.e. different remotes have different buttons :) <br />I modified remote.py with the code below, it will try to load a control_.html and if it does not finds it then the default control.html is used. This works for me, I appreciate your opinion.<br /><br /><br />@app.route("/device/")<br />def device(device_id=None):<br /> d = {'id':device_id}<br /> try:<br /> return render_template('control_' + device_id + '.html', d=d)<br /> except: <br /> return render_template('control.html', d=d)nicohttps://www.blogger.com/profile/15885060329819183991noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-69260356244861854182014-12-30T17:50:31.207+00:002014-12-30T17:50:31.207+00:00A couple of questions:
1. How's the battery li...A couple of questions:<br />1. How's the battery life compared to Yosemite?<br />2. Do you have a list of the working and non-working hardware?<br /><br />PS. Awesome guide BTWbaldrailershttps://www.blogger.com/profile/07414467792192665145noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-9625455566847259372014-10-07T18:24:32.001+01:002014-10-07T18:24:32.001+01:00Hello,
I had a problem if anyone could assist me ...Hello,<br /><br />I had a problem if anyone could assist me with please.<br />In the 5.1 section of the instructions (editing the rEFI.conf); I managed to edit the first two piece of lines shown above however I am unsure where to place the code <br />"fs0: load ext4_x64.efi" &<br />"fs0: map -r"<br /><br />also the banner piece of code for the boot screen doesn't seem to take effect. At the moment I have placed it right at the bottom of the conf file. <br /><br />Could anyone please help me with the 5.1 section especially.<br />Thanks in advance.Anonymoushttps://www.blogger.com/profile/01630021265116448685noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-77020121767096004882014-09-17T11:14:15.360+01:002014-09-17T11:14:15.360+01:00It should work for the Intel GPU. I've only ma...It should work for the Intel GPU. I've only managed to get hybrid graphics working with the Nvidia GPU.<br /><br />The touchpad is a little sensitive for my liking, but works okay.Jameshttps://www.blogger.com/profile/12140007130958015743noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-36033672774148291032014-08-11T16:01:35.873+01:002014-08-11T16:01:35.873+01:00Hello there! This seems to be a great guide compar...Hello there! This seems to be a great guide compared to the more official one: https://help.ubuntu.com/community/MacBookPro11-1/Saucy#Installation :)<br /><br />A couple of questions, I have a Macbook pro 11.1 with 13 inch screen WITHOUT any Nvidia chipset, instead there is an Intel GPU on it, will this guide work for that? Another, how good touchpad functions does Ubuntu has compared to OSX? The touchpad is lovely on this laptop compared to the Windows laptop I used before :)hobs0nhttps://www.blogger.com/profile/04238889373694323950noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-57620585465796444752014-06-23T10:06:41.760+01:002014-06-23T10:06:41.760+01:00I'm working on something similar foto payudara...I'm working on something similar <a href="http://goo.gl/IjYZdE" rel="nofollow">foto payudara</a> , and I just wanted to be clear on something. When you replied to a previous post about the"from lirc.lirc import Lirc" line, you said to update the firmware. I've gotten LIRC running and have used a Git-Hub module python3-lirc to interface with with python (but without an IRsend command). With just the base LIRC install (and dependencies) and updated firmware, should I be able to import lirc into python3?jambuhttps://www.blogger.com/profile/04435394996693207796noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-29536536523231523392014-06-16T01:39:10.731+01:002014-06-16T01:39:10.731+01:00Hi,
I'm trying to write simple IR receiver co...Hi, <br />I'm trying to write simple IR receiver code using pylirc in python but the function " Pylirc.nextcode(1)" always returns None !! What can i do ? <br /> <br />PS: I made a test and everything is good, the terminal and the shell in python can detect the pressed button.<br />Abosriaahttps://www.blogger.com/profile/15190197770777684080noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-75292919690873932072014-05-16T14:14:49.461+01:002014-05-16T14:14:49.461+01:00The graphical upgrade from 13.10 to 14.04 worked f...The graphical upgrade from 13.10 to 14.04 worked fine for me - I just have home directory encryption, not full disk encryption (if that makes a difference).<br /><br />I'm using the nouveau driver and that works fine on the retina screen (especially with the new "Scale menus and title bars" option in the display settings in 14.04). However, I've found that connecting to an external display no longer works for me - I get a black screen.<br /><br />I'd like to try the Intel driver, as you have done. I tried that on 13.04 and found that I just had a black screen. Thanks for the tip.<br />Jameshttps://www.blogger.com/profile/12140007130958015743noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-50622120505023284702014-05-11T22:51:03.519+01:002014-05-11T22:51:03.519+01:00Here are some notes from my installation on a MacB...Here are some notes from my installation on a MacBookPro10,1 (same approach as you):<br /><br />I was not able to upgrade graphically smoothly from 13.10 to 14.04: the screen went blank at some stage (but the computer was up and running since I was able to connect to it through ssh, but found no way to get screen access back). Thus I was forced to reinstall from scratch.<br /><br />During installation I was able to activate wifi networking by choosing 3rd part devices drivers. Unfortunately after the first reboot the drivers are not loaded anymore. I thus was forced to connect via a wired USB-ethernet dongle just in order to install theses drivers again. That sounds a bug of ubiquity to me.<br /><br />I need the suspend to RAM feature to work. The xorg nouveau driver seems not to support it. I thus needed to deactivate the nvidia discrete card and let the integrated card manage the display alone. To do that I installed the gfxCardStatus (use http://gfx.io/downloads/gfxCardStatus-2.2.1.zip and no more recent version) on MacOS X and choose the "Integrated Card Only" state. After that the `/sys/kernel/debug/vgaswitcheroo/switch` file may be used to switch the nvidia card completely off.<br /><br />I used full encrypted partition for swap and `/srv` (where all my data are really stored), I choose to reuse them after the first boot by re-creating the `/etc/crypttab` file and modifying the `/etc/fstab`.<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-88233961446080032272014-05-02T16:26:22.096+01:002014-05-02T16:26:22.096+01:00THANK YOU!!!!! Ive been trying for 4 hours now and...THANK YOU!!!!! Ive been trying for 4 hours now and this finally workedJames Donald Harringtonhttps://www.blogger.com/profile/05678284853955288699noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-83485108747574279952014-04-23T07:26:49.055+01:002014-04-23T07:26:49.055+01:00Iv installed the necessary packages of lirc for py...Iv installed the necessary packages of lirc for python. Instead of sending a pulse from the cmd, i cannot figure out the syntax or program itself to run it as a code. pls help me outAnonymoushttps://www.blogger.com/profile/06712337055288207859noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-16458339998104385972014-04-16T15:44:04.453+01:002014-04-16T15:44:04.453+01:00According to step 5.1. which line should i change ...According to step 5.1. which line should i change with new command? Anonymoushttps://www.blogger.com/profile/15939166335514974152noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-19547086508952831222014-03-28T13:09:40.359+00:002014-03-28T13:09:40.359+00:00Thanks. I already fixed it by downloading the need...Thanks. I already fixed it by downloading the needed packages to a usbdrive and installing them.Anders Rønningenhttps://www.blogger.com/profile/13091461881880473903noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-86244574290191133132014-03-28T12:44:39.034+00:002014-03-28T12:44:39.034+00:00Check the comments on my previous blog post as the...Check the comments on my previous blog post as there are a couple of solutions mentioned there (http://randomtutor.blogspot.co.uk/2013/02/installing-ubuntu-on-retina-macbook-pro.html):<br /><br />Solution 1:<br />sudo apt-get --reinstall install bcmwl-kernel-source<br /><br />Solution 2:<br />So, when you're going through the first few pages of the ubuntu installer, the wifi will be broken, but select the install 3rd part apps and proceed. It will then ask you to connect to a network, and after a few seconds the wifi driver seems to kick into gear and fix itself. From here, connect to your network, go back a page, and select both external installation options. After it installs the wifi should work out of the box.<br />Jameshttps://www.blogger.com/profile/12140007130958015743noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-75265751612911155932014-03-22T16:06:01.336+00:002014-03-22T16:06:01.336+00:00Thanks. Worked well for me, and refind 0.7.8 manag...Thanks. Worked well for me, and refind 0.7.8 managed to boot Ubuntu without any config changes. My only issue is that I do not seem to have the network drivers I need.Anders Rønningenhttps://www.blogger.com/profile/13091461881880473903noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-30090403111865282352014-03-21T03:28:31.899+00:002014-03-21T03:28:31.899+00:00Nice.Nice.Kim Floreshttps://www.blogger.com/profile/09918417824387398722noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-87694918176816667862014-03-12T13:59:21.129+00:002014-03-12T13:59:21.129+00:00I'm using 13.10 and a rMBP 10.1.I'm using 13.10 and a rMBP 10.1.Jameshttps://www.blogger.com/profile/12140007130958015743noreply@blogger.comtag:blogger.com,1999:blog-1371590922062461722.post-14687089710807277512014-03-11T10:07:24.301+00:002014-03-11T10:07:24.301+00:00Thanks for the guide. May I ask which rMPB model a...Thanks for the guide. May I ask which rMPB model and which Ubuntu version you are on? I'm going for rMPB10.1 and Ubuntu 13.10, and hope that is a working combination.Anders Rønningenhttps://www.blogger.com/profile/13091461881880473903noreply@blogger.com