I have played with linux on many architectures before including PPC, Hitachi, MIPS, PA-RISC and Sparc so I figure I had better have a go at ARM too.
Apart from playing around, I plan to create a light controller module for my garden lights. This will require some hardware hacking which is always a bit of fun but my main plan is to bring it together with some fancy software.
In previous projects I have interfaced with GPIO and I2C to run door controllers and read swipe cards (Mostly on the WRT54G).
I could not find accurate instructions for getting I2C going on the rpi so here are my instructions for users for raspbian:
Install some tools
# apt-get install i2c-tools
edit /etc/modprobe.d/raspi-blacklist.conf and comment out the line
i2c-bcm2708
I don't know why it comes as blacklisted.
edit /etc/modules and add the lines
i2c-bcm2708
i2c-dev
This will make sure the drivers are loaded during the boot.i2c-dev
create a file /etc/udev/rules.d/99-i2c.rules and add the line
SUBSYSTEM=="i2c-dev", MODE="0666"
This will give all users access to the i2c devices. You could instead set the owner or group but the rpi is not normally being used as a multi-user deviceNow you can test these changes without a reboot:
modprobe i2c-bcm2708
modprobe i2c-dev
udevadm trigger
ls -l /dev/i2c*
ls -l /dev/i2c*
And you should see output like this (Your date will be different):
crw-rw-rwT 1 root i2c 89, 0 Nov 18 22:36 /dev/i2c-0
crw-rw-rwT 1 root i2c 89, 1 Nov 18 22:36 /dev/i2c-1
crw-rw-rwT 1 root i2c 89, 1 Nov 18 22:36 /dev/i2c-1
If that works, reboot and run the ls again. The devices should be there and have world read/write permissions.
Now, to connect up some hardware and show that it works. Look for a new blog soon.
Thanks for posting this! Did not know about 99-i2c.rules, and the ability to have those permissions set on boot.
ReplyDeleteI recommend reading it to the end. Rita
ReplyDeleteThe information you shared is very helpful to us. friv 4 school
ReplyDeleteRaspberry Pi 3 supports I2C communication. ... In this post, we will make a simple I2C demonstration with Raspberry Pi3 as a single master and two Arduino UNO devices as slaves. So this will be a single master, two slave setup--Click here
ReplyDeleteAmazing post! tralas Vilniuje more
DeleteVery good post . I certainly love this ưdownload. Keep writing!
ReplyDeleteThank you for sharing this relevant content.
ReplyDeleteroofrepairathens.com
great site information, I am having an issue with the mother board of my mini computer.And I don't know how to fix it. Feels great I have this information.
ReplyDeletehttps://minneapolisstpaulrealtor.com
Glad that I found this Website
ReplyDeleteGla to know that! traliukas Vilniuje
DeleteCheck everything right here here
ReplyDeleteAmazing and really impressive! Thanks!
ReplyDeleteseo services here
great site information, Glad that I found this! Plumber Near Me
ReplyDeleteI think this information that you have shared with us is really worth sharing. Thank you for this. - Best Dumpster Rental
ReplyDeleteWow, these are actually great information about Linux. I am actually doing a dual boot up and I hope that this information that you've just shared is also going to work on my computer. Thank you again, landscapinginelpaso.com
ReplyDeleteSo that's how it is fixed. Thanks for this, we will use this on our site here: www.poolbuildernaplesfl.com
ReplyDeleteThis comment has been removed by the author.
ReplyDeleterecently switched to linux! I'm really dumbfounded and I don't know which is which. Thanks for sharing this. Cheers from us at generalcontractoringreensboronc.com.
ReplyDeleteThis comment has been removed by the author.
ReplyDeletelinux is a good place to start out programming. Yes, Linux actually is an OS that is good for complex work such as programming. Cheers from roofingwarwickri.com.
ReplyDeleteDuring the printer establishment, numerous user see the 'Epson Printer WiFi Setup Failed' message springing up on the screen. The error message showing up on the screen demonstrates that your Printer Wi-fi setup is flopped because of some specialized difficulty. Luckily, a user can undoubtedly manage issues with basic apparatuses. Epson printer wifi connection problem On the off chance that your printer is also showing you the 'Epson Printer WiFi Setup Failed' message on the screen, you can continue with the directions referenced in the guide and fix your concern. Along these lines, on the off chance that you would prefer not to return to your old-wired association, peruse and adhere to the guidelines. Assuming you are stressing associating your Epson printer to the remote organization, we will assist you with doing that. Here you can figure out how to set up an Epson printer remotely with no outer assistance. In the wake of introducing the product furnished with your new printer, you can go before setting up your printer to work remotely user WLAN network. This availability doesn't need links and it offers arrangement without the capability of network disappointment. brother printer MFC L2750DW setup
ReplyDeletegoogle 1018
ReplyDeletegoogle 1019
google 1020
google 1021
google 1022
This comment has been removed by the author.
ReplyDeleteGreat information. Thank you for sharing!
ReplyDelete- https://www.sanjosetruckingcompany.com/car-transport-auto-transport-san-jose/
I appreciate the information on this website. I like it. Thanks for sharing! By the way, please visit our website to avail an affordable GMB services for your website.
ReplyDeleteI can't wait to see that post. Anyway, I'm really interested of using a Linux OS in one of my computers. I just hope someone could help me install such. In the meantime, please visit www.carpetcleaningelpasotx.net and avail the best carpet cleaning services that we offer to residents and business owners in El Paso, TX.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThank you so much for the amazing information. - https://www.auroraillandscaping.com
ReplyDeleteTo be honest, I'm not really familiar with the Linux system but I'm willing to learn. Can someone share here some resources regarding the basics of it? In the meantime, feel free to visit https://roofingnorthernbeaches.com.au/gutter-repairs/ and learn as to when you need professionals to repair your home's gutter.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteGreat information. Thank you for sharing this wonderful information. I love it! - https://www.normantreecare.com
ReplyDeleteI really love this wonderful information.
ReplyDeletehttps://www.pittsburghpressurewash.com
I've never used Linux before, but I'm considering installing it on an old laptop that I already have. I just want to hope that the Raspberry Pi 2C works on my end. I'm crossing my fingers. Anyway, are you searching for a cleaning service in West Auckland? Please have a look at this page and learn how this firm can assist you.
ReplyDeleteLinux is an open source. It's free but I haven't tried using such OS yet. Anyway, thank you for sharing this info and please click here and find out how you can generate leads to help grow your business.
ReplyDeleteGreat Blog.
ReplyDeletebest surveyors near me
Haven't tried using a Linux system yet but I would definitely consider this O.S. if that happens. Anyway, thank you for sharing this information and please visit www.tileandgroutcleaningprosgoodyear.com/ if you need the best tile and grout cleaning services in Goodyear AZ.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteI hope that there's more information to come. By the way, please do visit our website to know more about our affordable home painting services around Des Moines, IA. Here's the link: https://www.desmoinespainters.com/house-painters.html . Thanks!
ReplyDeleteI found this very useful. Thank you.
ReplyDeletehttps://www.landscapeah.com/
Interesting information. I hope to have more information like this to come. By the way, do anyone wants to have affordable but best tree services in Rapid City? Check it out.
ReplyDeleteThanks for the amazing information. I hope that there's more to come. By the way, please do visit our website to know more about our affordable deck building services in Fort Collins. Here's the link: fortcollinsdeckbuilders.com. Thanks!
ReplyDeleteThank you so much for this amazing opportunity to have this kind of information. I hope that there's more to come. By the way, please do visit our website to know more about our affordable landscaping services in Montgomery. Thanks!
ReplyDeleteYoure so cool! I dont suppose Ive read anything like this before. So nice to find somebody with some original thoughts on this subject. realy thank you for starting this up. this website is something that is needed on the web, someone with a little originality. useful job for bringing something new to the internet!
ReplyDeleteCcin.ne
Information
Click Here
Visit Web
Wow the article you give us is amazing, no wonder many people want to read this. decking contractors
ReplyDeleteReally a great addition. I have read this marvelous post. Dovanos vaikams
ReplyDeleteI agree with your way of thinking. Thank you for sharing. kanalizacijos valymas
ReplyDeleteI love your posts! Thanks for contributing the best blog in an approachable, down to earth way. metalines spintos
ReplyDeleteVery nice article, I enjoyed reading your post, very nice share, I want to twit this to my followers. Thanks!. tinklapiu kurimas
ReplyDeleteThis is really nice that you have put this out here. I am reading your other articles as well! I hope you could write more. voyance audiotel annecy
ReplyDeleteWell we really like to visit this site, many useful information we can get here. kebulo dazymas
ReplyDeleteI am really impressed with the information you provide in your post. Dovanos vaikams
ReplyDeleteResources like the one you mentioned here will be very useful to me! I will post a link to this page on my blog. car recovery near me
ReplyDeleteI feel really happy to have seen your website and look forward to so many more entertaining times reading here. tralo paslaugos
ReplyDeleteVery nice article, I enjoyed reading your post, very nice share
ReplyDeleteฟิล์มกรองแสง อุบล
Excellent information on your site, thanks for the platform to allow us make comments. Jung jungikliai
ReplyDeleteThis is a great post. I like this topic.This site has lots of advantage.I found many interesting things from this site. It helps me in many ways.Thanks for posting this again. credit repair gastonia nc
ReplyDeleteI enjoyed the post you shared here, and thank you for sharing it with us.
ReplyDeletepower washing bradenton fl
Thanks for sharing this with us like the post you shared here. pressure washing sarasota fl
ReplyDeleteMes esame patikima technine pagalba kelyje Vilniuje 24/7 ir siūlome kokybiškas, nebrangias transporto pervežimo paslaugas. Musu patyrė specialistai pasiruošę padėti Jums netgi sunkiausioje situacijoje. Vertiname pasitikėjimą ir malonų bendravimą, tada galima pasiekti geriausią įmanomą rezultatą pačiu efektyviausiu keliu. Traliuko paslaugos kurios jūsų nenuvils!
ReplyDeleteThis Article is Awesome. It’s help me a lot, Please keep up your good work. We always with you and Waiting for your new interesting articles.
ReplyDeletesienu griovimas bute
This is a fantastic website , thanks for sharing.
ReplyDeleteclose protection services
You're providing such a valuable resource, and you're giving it out for free. I enjoy reading blogs that recognize the importance of providing a valuable resource for free.airbnb cleaning palm beach
ReplyDeletePlease keep up the good work, and I eagerly await more of your fantastic blog postings. boat towing fort lauderdale
ReplyDeleteReally great content. Thanks for sharing with us! airbnb cleaning boca raton
ReplyDeleteI love all the content on this site.
ReplyDeleteorlando sprinkler repairs
Thanks for the content of this post. all the best! Professional piano movers
ReplyDeleteGood!
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteYou are an awesome writer. I am grateful for this content. Please call us if you are looking for house painter in Mount Pleasant.
ReplyDeleteAlways nice to read this kind of post. For anyone looking for house painter eau claire, don't hesitate to call us.
ReplyDeleteAlways nice to see this. This is something worth reading. Come and find out more about our coli life insurance
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteThis idea is great and I totally agree with this post. Greetings from our interior painter in New Braunfels.
ReplyDeleteRaspberry Pi I2C is a nice detail and it help us to find the best information that we need. When I found the best plumbing in hermitage pa I saw amazing services that can provide the results.
ReplyDeleteThis is nice to ready and we are learning so much. For medicare field marketing organization visit us at https://medicarefmo.org/
ReplyDeleteThe matter and content are amazing. Thank you for sharing. All the best from our medicare advisors group
ReplyDeleteOur best lab grown diamonds are affordable and the cut is amazing. Your fiance will love this. You can check more at our engagement ring proposal.
ReplyDeleteWe serve greater Nashville while striving to achieve the best result at a competitive price. We are a full-service welding operation equipped to handle residential and commercial jobs. We can fabricate, repair or adapt, with extensive experience in gates, fences, railings, window guards and customization to trailers, vehicles and equipment. nashville welding
ReplyDeleteThis is amazing. Kudos and learn more from our best fmo for medicare
ReplyDeleteWhat an interesting and amazing mindset. Cheers from our short term health insurance plans
ReplyDeleteMy stuck door problem was solved precisely by reading this article. The methodical approach made it simple to comprehend. I strongly suggest it! door repair chicago
ReplyDeleteGlad to check this blog, I found this very informative content. Keep it up! bathroom plastering
ReplyDeleteGreitas ir patogus sprendimas! Pasinaudokite ir gaukite pinigų per kelias minutes!
ReplyDeletestudentu paskolos
Raspberry Pi I2C is the best for us to find the services that are bringing the right solutions. It is good for the users who need help. Also, to get this blog post with its amazing content, we can see how many ideas you are sharing here.
ReplyDeletePlease visit us to learn more about our aca marketplace plans
ReplyDeleteThis is a highly recommended blog. Tree Service Venice FL
ReplyDelete