Saturday, November 12, 2011

Android + Raspberry Pi + Microcontroller = Intelligent gadgets with everything possible

1. What is Rapsberry Pi?

I have always wanted to talk about my favorite thing of the year: the cheap tiny linux PC - Yes, the Raspberry Pi!

It will be avaiblable soon by the end of the year 2011, let's hope.

Size: same as a credit card (for model A, even smaller, like a pen)

Price: 25 dollars

It is a full linux PC on which we can install Ubuntu, or even play Quake smoothly.



2. Why is Raspebrry Pi so interesting for DIY Phone Gadgets?


Android = Gorgeous user Interface, portable telecommunications services and the Internet of things everywhere with you

Raspberry Pi = Cheap, smart, tiny linux PC that can be powerful brains of any intelligent gadget and easily uses the USB port to add Microcontrollers like Arduino to control any motor or light or whatever sensors

Conclusion: Every project that combines Android and Raspberry Pi can make a powerful gadget.

3. How to make DIY Phone Gadgets combining Rasperry Pi and Android?


Mode 1. Android as a standalone remote control and Raspebrry Pi as a part of the gadget.


There are two possible types of communications:

a. Short range low delay communication


We can plug USB WiFi or Bluetooth dongles on Raspberry Pi, connecting it to the Arduino or whatever microcontroller, and use Android to interact with it.

Typical examples can be home automation gadgets such as an NFC lock or an intelligent airconditionner, showing user interface on the Android phone. WiFi toys with augmented reality feature can be interesting too. In UAV, you can connect Raspberry Pi to ArduPilot, and do some near real-time telemetry and video feedback via WiFi to be displayed on the Android phone, seamlessly working with Google Maps.

b. Cloud communication

We can connect the Raspberry Pi powered gadget to the Internet, and use Android to "chat" with it from everywhere in the world.

An example that I can imagine would be a surveillance robot with USB camera at home (of course its brain is the tiny Raspberry Pi). While the robot is wandering at home, we can chat with it on Google Talk using our Android phone from another end of the world. The QoS on some 3G or 4G networks can be good enough to support video chat and voip. Android will use XMPP, Web RTC or whatever promising or classical Internet protocols to interract with the gadget.

Mode 2. Android and Raspberry Pi together as a part of the gadget.

This mode takes advantage of the Android's built-in software and hardware (GPS, sensors, WiFi, bluetooth, etc) and the advantage of Raspberry Pi's good hardware extensitivity (because it is a linux PC with USB 2.0 OTG ports).

In this mode, the Android is directly connected to Raspberry Pi using a USB cable, just as it is connected to any PC. So ADB and USB tethering can be great protocols to help realizing fast bidirectional communication.

An example can be a sophisticated RC controller with many physical buttons and joysticks, and of course Android's large touch screen. You can download many different Android applications for this gadget, or add different 2.4Ghz radio modules. So there is a both a greater software and hardware flexibility compared to the classical radio controls from different manufacturers.

Mode 3. Installing Android on Raspberry Pi...And make cheap gadgets.


This seems a bit difficult for now because higher versions of Android are demanding in terms of hardware capabilties.

3. What can be done to help developers of DIY Phone Gadgets?


The idea is to buid up some good libraries in Raspberry Pi that can work with a special microcontroller such as Arduino, while supporting different types of connections with Android. The ultimate purpose is to provide a simple and single way to develop, instead of always developing on different platforms and trying to figure out how to bridge.

I really like the way how projects like IOIO and Amarino integrate the electronics programming in Android development. If Raspberry Pi can provide such a platform to handle PWM, UART etc while easily supporting WiFi dongles, and it is so cheap, why not?

4. Limitations of using Raspebrry Pi in DIY Phone Gadgets


Unfortunately, as Raspeberry Pi is so tiny and squeezes all cool things into a small board, there are not enough I/O pins for hardware developers. This is what is better considered on the more expensive BeagleBone. However, we can always connect a cheap Arduino board to it and it's all done easy and clean. Remember it is a PC and it is USB-friendly. For those of you who are curious about the I/O on Raspberry Pi, please read the official WiKi:

http://elinux.org/RaspberryPiBoard#General_Purpose_Input.2FOutput_.28GPIO.29.2C_I2C.2C_I2S.2C_SPI

There are approximately 16 spare GPIOs, which on the Alpha board are brought out to 1.27mm pin-strip. Voltage levels are 3v3. The connector choice is deliberately annoying to connect to directly; there is no over-voltage protection on the board so the intention is that people interested in serious interfacing will use an external board with buffers, level conversion and analog I/O rather than soldering directly onto the main board. It brings 2x I2C (3v3), I2S and an SPI (3v3) interface out to the same connector. It supports one slave interface for I2C and one for SPI. The UART has four PINs: 3.3V, GND, TX and RX. Kernel boot messages go to this UART at 115200bps.

Good ideas are happily discussed on Raspberry Pi Forum here:
http://www.raspberrypi.org/forum?mingleforumaction=viewtopic&t=1158
or in IOIO User Group here:
http://groups.google.com/group/ioio-users/browse_thread/thread/d23be2c908a9d5ae/be8101778a202a52

70 comments:

  1. It is my understanding that the raspberry pi can not run Ubuntu, as there isn't a version compiled for use on the arm processor that will work well with the limited ram.

    ReplyDelete
  2. It can run anything it has the power and compatibility to run. I suggest you run your own Ubuntu if one isn't available.

    ReplyDelete
  3. can it be programmed to walk the dog.count me in

    ReplyDelete
  4. Raspebrry Pi is one of the greatest phone gadget I have ever seen.It is most useful gadget for smartphone. Today most of the people uses smartphone that's why this geeky gadgets is really an important gadgets for them.

    ReplyDelete
  5. I as of late ran over your online journal and have been perusing along. I thought I would leave my first remark. I don't recognize what to say with the exception of that I have delighted in perusing. Decent blog. I will continue going by this site frequently. FtiOS Download

    ReplyDelete
  6. I might want to thank you for the endeavors you have made in composing this article. I am trusting the same best work from you later on also. Much appreciated... Tinyumbrella Windows

    ReplyDelete
  7. I might want to thank you for the endeavors you have made in composing this article. I am trusting the same best work from you later on too. Much obliged... TutuHelper Download

    ReplyDelete
  8. This article is an engaging abundance of instructive information that is fascinating and elegantly composed. I recognize your diligent work on this and thank you for this data. You have what it takes to get consideration. Delta Emulator

    ReplyDelete
  9. TutuApp APK iOS Free Download Latest Version 2019 Best Version Free! here And Also more...
    TutuApp
    TutuApp Download
    Snaptube PC Windows
    Tubemate

    ReplyDelete



  10. Tutu Helper is the one of the best ios,android App store to get the tons of free app

    and game. Here the latest version of TutuApp of free.
    Tutu Helper Apk
    TutuApp free
    tutuapp pokemon go

    ReplyDelete
  11. Whatsapp plus is one of the best mod app for official whatsapp for free, get unlimited features of

    whatsapp plus for free. Here Click to download the latest version whatsapp plus apk.
    WhatsApp Plus APK
    WhatsApp Plus Download

    ReplyDelete
  12. WorkingOnHerThesisJuly 7, 2020 at 12:10 PM

    I CAN'T THANK YOU ENOUGH WITH THIS AMAZING IDEA. THANK YOU THANK YOU THANK YOUUUUU. YOU ARE A GENIUS

    ReplyDelete
  13. My partner and I stumbled over here coming from a different website and thought I may as well
    check things out. I like what I see so now i'm following
    you. Look forward to exploring your web page again.
    Here is my web site 안마

    ReplyDelete
  14. I blog frequently and I truly thank you for you work and wondering how you managed this blog so well. It’s so remarkable thato through this valuable 스포츠사이트검증

    ReplyDelete
  15. Spot on with this write-up, I seriously fee substance and composed well for a change. It's pleasant to see that a few individuals still see
    먹튀사이트

    ReplyDelete
  16. Spot on with this write-up, I seriously feel this web site mais je dois bien admettre que je suis 놀이터검증업체 admiratif de tous tes dessins.

    ReplyDelete
  17. Thank you for sharing your thoughts. I really appreciate your I live in a different country than you 토토사이트보증업체

    ReplyDelete
  18. my own blog and would like to find out where u got this from. 검증사이트목록 I look forward to your kind cooperation.

    ReplyDelete
  19. Your post has really helped me a lot best by introducing verification and verification companies. 토토사이트보증업체

    ReplyDelete
  20. Its like you learn my mind! You appear to grasp a lot approximately this,
    such as you wrote the e book in it or something. I believe that you just could do with
    some % to drive the message house a bit, but instead of that, that is great blog.
    A fantastic read. I will certainly be back.

    my website; 부산오피

    ReplyDelete
  21. Your site has great material. I assume it was an excellent chance to alter my mind once more after reading this short article. I'm creating like you. Would certainly you such as to see my message and also request responses? 바카라사이트

    ReplyDelete


  22. Th?s is my first time pay a quick visit at here and i am truly pleasant to read all at one place. 오피월드



    ReplyDelete
  23. great & nice articles with a lot of information to read...great people keep posting and keep updating people..thank you , Hello, this is very useful material. You can read information about Turkey eVisa online. Turkey e Visa is an electronic visa that allows travel into Turkey.

    ReplyDelete
  24. Wonderful website. Plenty of helpful information here. 릴게임

    ReplyDelete
  25. You need to take part in a contest for one of the best
    sites online. I’m going to highly recommend this web site. 카지노

    ReplyDelete
  26. I am very impressed with your writing I couldn’t think of this, but it’s amazing! I wrote several posts similar to this one, but please come and see!Click Me Here 경마사이트

    ReplyDelete
  27. Thank you for some other informative blog. Where else could I get that type of information written in such an ideal means? I have a mission that I’m just now working on, and I have been at the look out for such information. 먹튀검증 It helped me a lot. If you have time, I hope you come to my site and share your opinions. Have a nice day.


    ReplyDelete
  28. Thanks for the blog filled with so many information. Stopping by your blog helped me to get what I was looking for. Now my task has become as easy as ABC. 안전놀이터


    ReplyDelete
  29. I ve recently been thinking the very same factor personally lately. Delighted to see a person on the same wavelength! Nice 토토커뮤니티순위

    ReplyDelete
  30. Appreciate it for this post, I am a big fan of this website would like to keep updated. 토토추천사이트

    ReplyDelete
  31. Nice information, valuable and excellent design, active listeners and 안전토토사이트 meetings deadlines as an imperative.

    ReplyDelete
  32. never know how much you make my day happier and more complete. 메이저사이트
    There are even times when I feel so down but I will feel better right after checking your blogs

    ReplyDelete
  33. I like your blog. i ma happy to read your blog its very informative and your blog is really good and impressive you made it 토토검증사이트

    ReplyDelete
  34. Thank you so much for such a well-written article. It’s full of insightful information. Your point of view is the best among many without fail.For certain, It is one of the best blogs in my opinion. 먹튀검증


    ReplyDelete
  35. is one very interesting post. 메이저사이트I like the way you write and I will bookmark your blog to my favorites.


    ReplyDelete
  36. Succeed! It could be one of the most useful blogs we have ever come across on the subject. Excellent info! I’m also an expert in this topic so I can understand your effort very well. Thanks for the huge help. 안전놀이터


    ReplyDelete
  37. 안전놀이터추천November 27, 2021 at 1:31 AM

    I am very impressed with your writing안전놀이터추천 I couldn't think of this, but it's amazing! I wrote several posts similar to this one, but please come and see!


    ReplyDelete
  38. It has a good meaning. If you always live positively, someday good things will happen. 메이저사이트Let's believe in the power of positivity. Have a nice day.


    ReplyDelete
  39. Cloud Computing has been the stage for emerging technologies and an increase in career opportunities for both fresher and professional.
    Cloud Computing Course Fees in Bangalore

    ReplyDelete
  40. That's a really impressive new idea! casino api It touched me a lot. I would love to hear your opinion on my site. Please come to the site I run once and leave a comment. Thank you.


    ReplyDelete
  41. First of all, thank you for your post. 온카지노 Your posts are neatly organized with the information I want, so there are plenty of resources to reference. I bookmark this site and will find your posts frequently in the future. Thanks again ^^


    ReplyDelete

  42. Very informative blog! There is so much information here that can help thank you for sharing.
    Data Science Syllabus

    ReplyDelete
  43. The information you have posted is very useful and knowledgeable. Thanks for sharing.
    Business Analytics Course in Jaipur

    ReplyDelete
  44. I was impressed by your writing. Your writing is impressive. I want to write like you.파워볼사이트 I hope you can read my post and let me know what to modify. My writing is in I would like you to visit my blog.


    ReplyDelete
  45. Your posts are always informative. This post was a very interesting topic for me too. 파워볼사이트 I wish I could visit the site I run and exchange opinions with each other. So have a nice day.


    ReplyDelete
  46. I hope you can help me. I've been thinking about this for a long time, but I'm not getting it resolved.온카지노


    ReplyDelete
  47. Great info.. Thank you If you are transiting through Kenya to your destination, then you can apply online for Kenya transit visa through online Kenya e vias application

    ReplyDelete
  48. Here’s your chance to present an impressive CDR and garb some big opportunities in your engineering career in Australia. Hire our professional CDR writer today; we are just a call away.

    ReplyDelete
  49. Really impressed! Information shared was very helpful Your website is very valuable. Thanks for sharing..
    Business Analytics Course in Bangalore

    ReplyDelete
  50. Thank you. I authentically greeting your way for writing an article. I safe as a majority loved it to my bookmark website sheet list and will checking rear quite than later. 일본야동

    Please visit once. I leave my blog address below
    한국야동
    일본야동

    ReplyDelete
  51. Yes i am totally agreed with this article and i just want to say that this article is very nice and very informative. 중국야동넷

    Please visit once. I leave my blog address below
    야설
    중국야동넷

    ReplyDelete
  52. Business Processes Customer service impact leads to have an enjoyable and easy experience with clients

    ReplyDelete
  53. Acadecraft is the platform that brings you such tailor-made e-learning solutions which offer you fantastic content options with the experience of premier services. It is sure to help you to exhilarate their business processes. This is the place for you to enhance customer engagement and make them stop and read your content.
    K-12 Services
    assessment development solutions

    ReplyDelete

  54. Very nice job... Thanks for sharing this amazing and educative blog post!
    Data Science Training in Chandigarh

    ReplyDelete
  55. I got to this amazing site not long ago. I actually captured with the piece of resources you have got here. Thanks for making such wonderful blog page.
    Business Analytics Course in Indore

    ReplyDelete
  56. I really enjoyed reading this fantastic blog.. do us citizens need a visa for azerbaijan? Foreign travelers who wish to travel to Azerbaijan need to apply for e visa to Azerbaijan online that provide the fast and secure visa services.

    ReplyDelete
  57. It is a great pleasure to read your message. It's full of information I'm looking for and love to post a comment that says "The content of your post is amazing". Excellent work.

    Business Analytics Course in Ernakulam

    ReplyDelete
  58. This is a great inspiring blog.You have shared really very helpful information thank you.
    Data Scientist Course in Amritsar

    ReplyDelete
  59. Hello, I am Albert. This is an excellent article blog, How to apply for India visa online? You can apply for an online e visa India 2022 within 5 to 10 minutes. You can get your India Visa within 3 to 5 business days. Read more information about Visa on our India Visa Blog

    ReplyDelete

  60. I'm writing on this topic these days,
    블랙잭사이트

    This post is really magnificent.
    블랙잭사이트

    ReplyDelete
  61. If you search for quality Taxation law assignment help then come to our website because our experts can provide you with the top-notch Taxation law assignment help so that you do not lag behind in the race.

    ReplyDelete
  62. Regularly writing blogs, I'm thrilled with the exceptional quality of your content. The article has sparked my interest significantly. I have bookmarked your website to stay updated with fresh content on a weekly basis and subscribed to your RSS feed for instant updates. " is Indian e visa open, allowing tourists and business travelers to apply online efficiently. Check eligibility and process your application swiftly to explore India's rich heritage and culture."

    ReplyDelete
  63. I couldn't stop reading your post! Your writing is both captivating and insightful. Each word drew me in deeper, and I found myself nodding along with your ideas. I especially appreciated your attention to detail—it made the reading experience all the more enjoyable. Looking forward to your next piece.

    ReplyDelete
  64. The combination of Android, Raspberry Pi, and microcontrollers opens up endless possibilities for creating intelligent gadgets that can automate and simplify our daily tasks. Whether it's home automation, robotics, or IoT devices, this tech trifecta enables the development of powerful and adaptable solutions. For those juggling multiple responsibilities, like preparing for exams while working on such projects, it can be overwhelming. In such cases, you can always hire someone to take lsat or explore services that let you focus on your innovations while others take my exams for me . Balancing both worlds can be challenging, but these resources can make it easier to stay on track.

    ReplyDelete
  65. In the world of tech, combining Android with Raspberry Pi and microcontrollers opens up a realm of possibilities for creating intelligent gadgets. From home automation systems to custom-built robots, the integration of these technologies allows for innovative and versatile solutions. However, just as these technologies offer endless opportunities for creating and optimizing devices, managing academic and professional tasks can also be challenging. For those struggling to balance tech projects with their studies, consider exploring options such as " pay someone to do my online exam" or seeking help if you need someone to "pay someone to take my teas exam ." These solutions can provide the support you need to focus on your tech innovations without compromising your academic goals.

    ReplyDelete

Disqus for DIY Phone Gadgets