Compare Arduino Raspberry Pi

Arduino:

Arduino is a microcontroller, which means it is a special purpose computer that runs one program at a time, over and over again. Some examples of microcontrollers are microwave oven controller (brain behind the keypads), TV controller which talks to TV remote. Most of the microcontrollers are propitiatory devices. But Arduino is an open source platform which helps engineers to build and prototype their projects (also great community support for knowledge sharing). Arduino hardware is open-source, programming language to interact with hardware is open-source, software to develop the program is open-source. https://www.arduino.cc/en/Main/Products has the details of all types of boards available through Arduino platform. Arduino Uno (Rev3) is one of the famous boards which has 14 digital Input/Output pins and 6 Analog pins. One can connect Arduino Uno to a laptop and using the Arduino software, they can program it to read and write data to various electronics components. Since it is an open-source, many 3rd party vendors have enhanced the basic board hardware and software libraries but at the same time maintain the compatibility with base platform.

References:

https://www.arduino.cc/en/Guide/HomePage

https://learn.sparkfun.com/tutorials/choosing-an-arduino-for-your-project/all

https://www.makerspaces.com/arduino-uno-tutorial-beginners/

https://www.amebaiot.com/en/ameba-arduino-getting-started/ (has wifi, nfc and custom libraries which can push data to IoT platform)

Raspberry Pi:

Raspberry Pi is a general purpose single board computer with the ability to run multiple programs. One can use various Operating System software in this computer though mostly linux based open-source versions are available with greater community support. Since the hardware uses Broadcom SoC, it may not come under open-source but the Pi foundation maintains low cost and affordable for education purposes. https://www.raspberrypi.org/products/ has all the products related to Pi. Similar to Arduino, Raspberry Pi also enables engineers to build and prototype their projects (also great community support for knowledge sharing) but provides more flexibility and helps to evaluate complex solutions with ease. Orange Pi Pc Plus (http://www.orangepi.org/) is an open source hardware SoC which supports open source operating system like Android and Linux. Raspberry Pi has 17 Input/Output pins for integrating with electronics components. Pi lacks good support for interfacing with analog devices (lacks Analog to Digital conversion circuit). Pi has I2C and SPI interfaces though. There are couple of methods outlined in the reference links which may help. IoT applications can be developed using Pi with ease compared to Arduino.

References:

https://www.raspberrypi.org/help/

https://www.allaboutcircuits.com/projects/building-raspberry-pi-controllers-part-5-reading-analog-data-with-an-rpi/

http://www.gadgetexplained.com/2016/05/4-ways-to-get-raspberry-pi-to-read.html

Cost:

Arduino Uno sells around USD 20 and the 3rd party boards based on Arduino sells much cheaper than that, some boards with wifi sells around USD 25. Similarly, Raspberry Pi Zero W sells for USD 10 (without wireless, it costs USD 5). Adding a 40 pin GPIO connector, 5V 1.2A micro usb power supply and USB-TTL cable (for using with computer) comes around USD 20 as total cost. So, cost may not be a deciding factor because they are very close.

Technical specifications and software usages are totally different between these two devices except the similarity of input / output pins for connecting to electronics components.

IoT:

Arduino platform may be a good option for a low power IoT solution. There are 2 mostly used chips (ESP8266 and ESP32). ESP8266 is older than ESP32. ESP32 has Bluetooth capability along with WiFi as well as dual core. Both can work well with Arduino IDE, WiFi and cloud providers connectivity for data transfer. Depends on IoT project needs, one can pick a board with either ESP8266 or ESP32. One can connect ESP8266 to AWS IoT using Mongoose OS. On the other hand, Raspberry Pi also provides enormous support for IoT due to the single board computer nature. ESP8266 with Arduino board version 2.5, one can connect to AWS IoT using Arduino sketch (I have given the steps I have followed here in github link – https://github.com/erbabu/esp8266awsiot).

References:

http://nothans.com/measure-wi-fi-signal-levels-with-the-esp8266-and-thingspeak

https://makeradvisor.com/best-esp8266-wi-fi-development-board/

https://makeradvisor.com/esp32-development-boards-review-comparison/

https://www.instructables.com/id/How-to-Use-BluetoothBLE-With-ESP32/

https://aws.amazon.com/blogs/apn/aws-iot-on-mongoose-os-part-1/

https://github.com/erbabu/esp8266awsiot

Suggested progression:

Github:

Feel free to checkout my ESP8266 based project shared in Github. https://github.com/erbabu/ESP8266ServerWeatherOLEDRGB/

Following are the goals of this project.

  1. Program ESP8266 using Arduino IDE
  2. Understand programming Common Anode RGB LED using 3 GPIO pins
  3. Read weather data for my city using OpenWeather API (HTTP client) and display current datetime, current weather and 3 day forecast in OLED display (SSD1306)
  4. Run HTTP web server in ESP8266, control RGB LED using the web page running in ESP8266 via desktop browser / mobile phone browser

Checkout my experience in connecting ESP8266 with AWS IoT using Arduino IDE Sketch. https://github.com/erbabu/esp8266awsiot

Conclusion:

I like the review and suggestions given in this article. https://raspberrytips.com/raspberry-vs-arduino/

My take: If your need is for electronics prototyping and simple two step tasks like read sensor value and report, then go with Arduino, rest please prefer Raspberry Pi because it serves as multi-purpose low cost computer with many uses.

Advertisements
Posted in Education, Technology, Tips & Tricks | Tagged , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

USA Tourist Attractions – Seattle

Seattle is the largest city in the Pacific Northwest region of North America. It is in the west coast of USA (Washington state – WA) and well connected with flights from all over the world. Bellevue, Redmond, Kirkland, Renton, Everett are its neighboring cities. Some of the local companies in and around Seattle are Alaska Airlines, Amazon, Boeing, Costco, Expedia, F5 Networks,  Microsoft, Nintendo, Nordstrom, Starbucks, and T-Mobile. Seattle is the home of sports teams like Huskies (University of Washington football), Seahawks NFL, Mariners MLB, Sounders MLS, Storm WNBA

Seattle gets more rain in Nov, Dec and Jan months compared to other months in the year (occasionally gets snow). More than 200 cruise ships brings one million+ cruise passengers per year and makes Seattle port a busy one in the country. Sea-Tac (SEA) airport is one of the top 10 busiest airports in USA.

There are many indoor and outdoor attractions in and around Seattle for tourists to explore all through the year. Seattle city pass will give a good idea of top attractions.

Outdoor attractions:

Seattle waterfront; Space Needle and Seattle Center area attractions; Pike Place Market and its near by famous shops like first Starbucks store, Le Panier, Piroshky shop; Seattle Great Wheel; Woodland park zoo; Amazon sphere and Amazon go market; Snoqualmie falls; San Juan islands; Ballard Locks; Bainbridge island ferry ride for seeing Seattle skyline and glimpse of Seattle water; Seattle parks and beaches; short hikes near one of the I-90 exits from exit 20 till Snoqualmie pass.

Indoor attractions:

Boeing museum; Boeing future of flight; check out the Seattle museums list and pick your favorite; Seattle theater plays; Great Wolf Lodge or Wild waves (water based theme park); Family fun center; Casinos (Snoqualmie, Tulalip); Pacific Science Center; Glass museum; Seattle Aquarium; Smith Tower

Shopping:

Seattle Premium Outlet, Westlake Center, Pacific Place, University Village, Northgate mall, Bellevue square, Alderwood mall, South center mall, Northbend factory outlet, Auburn outlet collection mall

Canada: Canada’s British Columbia state is in the border of WA state. Vancouver and Victoria are two famous day-trip destinations for tourists to Seattle.

Vancouver – Stanley Park attractions, Capilano suspension bridge, Grouse mountain, attractions on the way to Whistler like Britannia Mine Museum and Sea to Sky Gondola

Victoria – Butchart garden, Royal BC museum, Fairmont Empress hotel, Parliament buildings, Butterfly garden, Bug zoo, Beacon Hill Children’s farm

Resources:

http://www.seattle.gov/cityarchives/seattle-facts/city-symbols

https://www.citypass.com/seattle

https://seattle.findwell.com/greater-seattle/

https://www.tripadvisor.com/Tourism-g60878-Seattle_Washington-Vacations.html

https://www.yelp.com/city/seattle

https://en.wikipedia.org/wiki/Seattle

https://en.wikipedia.org/wiki/List_of_museums_in_Seattle

https://www.portseattle.org/maritime/cruise

https://www.portseattle.org/sea-tac

https://www.wheretraveler.com/seattle/19-seattles-best-water-parks-pools-and-splash-pads

http://www.seattleandsound.com/beaches.html

http://www.pikeplacemarket.org/directory

https://www.seattle-theatre.com/

https://www.wta.org/

https://seattle.curbed.com/maps/best-seattle-day-hikes-trails

https://www.seattlemag.com/article/14-best-places-hike-pnw

http://seattletravel.com/activities/rainy-day-activities/

Posted in Travel | Tagged , , , , | Leave a comment

Olympic National Park attractions

Olympic National Park is located in the North West corner of WA, USA (Northwest region, Olympic Peninsula – Pacific Ocean, Hood Canel, Strait of Juan de Fuca).

Hurricane Ridge

For WA and OR state people, this is one of the famous tourist attraction in Summer (Memorial day – Labor day). Following are the reference links which will give a very good idea of what to be expected and choose based on one’s taste.

Following are the places which are there very near to national park though it is not usually recommended for a short trip because it takes a good amount of time to see these places.

Long Beach and Cape Disappointment – https://www.tripadvisor.com/Attractions-g58566-Activities-Long_Beach_Washington.html
Ocean Shores – https://www.tripadvisor.com/Attractions-g58648-Activities-Ocean_Shores_Washington.html

If possible, visit Astoria, located near the border of WA and OR.

Astoria – https://www.tripadvisor.com/Attractions-g60806-Activities-Astoria_Oregon.html

 

Posted in Tips & Tricks, Travel | Tagged , , | Leave a comment

Tiki Intranet

Posted in Technology | Tagged , , | Leave a comment

PMP exam tips

FYI – I am not new to Project Management because I work as Project Manager (Technical) in a software company and I have more than 10+ years of software experience. So, my experience may not match with yours.

PMP is something I was aiming for a long time. I was hesitant to take the exam because of couple of reasons – out of touch with learning for writing an exam, high exam fees, considerably long learning hours to pass the exam in first attempt.

Though I am aware of PMP for 10+ years, I have made my first attempt in 2012 (registered for PMI membership but dropped off the idea after couple of months). It was the time when PMBOK 5th edition was released. With the help of my company, finished an online course and got the required 35 PDU. But couldn’t spend enough time, so dropped the idea.

After that I had a feeling of giving one more attempt late last year. So, searched for online courses to get 35 PDU. Looked for some in-person classes in my city. Compared to in person, online was cheaper. I was able to get a udemy 35 PDU course (PMI REP provider) for ~1% of the in person class cost. Bought the course but took my own sweet time to finish the course. Talked to couple of friends, they suggested to pay the fees and block the date so that I will not drop like last time 🙂 Good suggestion, so registered for PMI after new year like a new resolution and submitted the required details to PMI. Since I am already working as a project manager and the Udemy course completion satisfied all the pre-req for the application. Got approval from PMI to proceed.

Like last time, I am in the similar boat as exam change to new edition. I looked for a Saturday to book the exam (little shy to take OOF for exam) and blocked a day this month. This triggered anxiety because the price is $400+ on top of PMI membership. Retake is another $200+. So, slowly reviewed the udemy course contents and was taking quizzes. My office travel time is ~1hr from my house. So, I got less time everyday for studying for the exam. Pressure mounted on me in the last 10 days which made me to work in a different way which helped me a lot. That is what I have listed down.

Tips:

  1. Have an aim to pass the exam not just to appear for exam. This is more important.
  2. Out of 47 processes (I have taken PMBOK 5th edition based exam), ~12 processes contribute more than 60% of the questions (Initiation, Closing, Execution). So, memorize the ITTO of these.
  3. PMP math cheat sheets (FV, EV*, Communication Channels, PTA, Critical Path)
  4. Charts and tools – why do we have to use, when to use, which process does it belong to
  5. Quiz / Questions – do as many questions you can take (free, paid). Understand the options given in the questions so that you can understand the concepts on the go.
  6. 4 hrs exam – keep an eye on time (aim to do 60 questions per hour so that you will have some time for review). If you are running slow, have a plan to decide fast on some questions if you feel that you need to think a lot.
  7. I got many questions in risk and close (what do you do in this situation, lessons learned related, etc.).

References:

https://www.pmi.org/certifications/types/project-management-pmp

https://www.scribd.com/document/364412602/CAPM-PMP-Cheat-Sheets

https://edward-designer.com/web/pmp/ (good notes; there are several such notes sites)

https://www.simplilearn.com/pmp-exam-prep-free-practice-test

https://www.udemy.com/pmp-pmbok6-35-pdus/ (I have used 5th Edition)

https://www.udemy.com/project-management-professional-pmp-practice-tests/

https://www.udemy.com/pmp-exam-training-project-selection-methods-in-detail/

–Several free PMP questions (beginner, advanced level) in youtube


Read other people experiences from web / facebook:

1. Joseph’s Udemy Course and Cram course
2. Joesph’s 3 X100 questions
3. Simple Learn 200 Questions
3. Rita Book all chapter(only started this two weeks before exam and realized what i was missing)
4. PMBOK for only clarifications.
5. Few more Sample questions from mobile apps
6. ITTO Game on my phone
7. Saket Bansal Videos (This was a big help to clear how the processes are linked)


Few Android apps like Exam Mentor, PMP exam Prep


 

Posted in Education, Technology | Tagged , , | Leave a comment

TechKB

It is becoming difficult to keep track of small but good timely tips I come across. Apart from me, few more may get benefit of this. So, listing down for compiling aspect.

IE11 – YouTube was not playing in IE11. Looked for the details in internet and found out that if I change a setting in IE11, it works. IE11 – Internet Options – Advanced tab –  Accelerated graphics – ‘enable’ the option to use software rendering instead of GPU rendering.

iPhone photos copy to PC was having some issues. It was throwing error as ‘a device attached to the system is not functioning’. Upon searching and attempting several tips, only the info given in this website helped (keep original format while transferring photos from iPhone to PC). https://www.guidingtech.com/fix-device-attached-to-the-system-is-not-functioning-error-iphone/

 

Posted in Technology, Tips & Tricks | Leave a comment

MacOS Windows bridge

I had couple of Windows based USB drives (NTFS format). When I got my mac, I wanted to use those for transferring files between Mac and Windows using USB. By default, Mac will allow to read contents from NTFS based drives but it won’t allow to write to it. Came across couple of websites to do that. But there is a way to enable this ‘beta’ / non-GA method to write into such NTFS drives.

In terminal windows, type the following command.

sudo nano /etc/fstab

Add the following line after getting the drive name and save it (^o then <enter> then ^x). You can add more lines – one per drive.

LABEL=<replace drive NAME> none ntfs rw,auto,nobrowse

Note: If drive name has space in between, replace space with \040   For instance, if the label is “USB DISK”, the Name to enter in fstab file will be: “USB\040DISK”.

References:

https://askmacos.com/writing-ntfs-disk-macos-hight-sierra-previous-version/

http://macdrug.com/write-ntfs-drive-macos-sierra/

Posted in Technology | Tagged | Leave a comment