mc for microcontroller
I have both Arduino and Raspberry Pi devices. I might expand into other microcontroller units.
I have my Bachelor of Electrical Engineering degree from University of Detroit Mercy class of 1996. I went into cyber security and network engineering. A few years ago on Facebook I saw an ad for an Arduino Starter Kit. I had a lot of fun with it so I added to my collection. I have 9 Arduino devices and now a Raspberry Pi 4 8GB 64-bit running Raspberry Pi OS 64-bit.
My goal of this page is to educate and mentor you in STEM. I will teach you Science, Technology, Engineering and Mathematics or STEM. I am starting with the definitions and information about each components. As I move more of my projects into each area, I will expand on why you use certain components and how to use them. Design choices will come into play. I am going to organize everything better in the menus.
I heard Raspberry Pi vs. Arduino being compared like Coke vs. Pepsi. Some say you can do more with a Raspberry Pi than an Arduino. As an engineer, I say, they are tools that have a purpose.
Comes in many types with different pin outs. You can get a them to build wearables to Mega Wifi. You can add shields on top to expand them. The nice thing is open the IDE and write the code and it runs. No fuss. You can connect them up with USB cables to program them. I purchased a 9V 1A power supply for mine. They come with a 9V battery cable.
They come with Analog and Digital GPIO pins. You can use them with 3.3V and 5V components. You can expand them with I2C, SPI and UART buses. I will be using the I2C bus because of all the cool components you can get for them. 4 pins: VCC, Ground, Data (SDA) and Clock (SCL). That is it. You address each component by soldering pins or jumpers. I love I2C because I hate wires. I started using shift registers.
I don’t like that the pins are not labelled. I bought it to build my 5 year old daughter a Minecraft server. After three attempts. I pulled out my Xbox 360 and put it on that. I wanted it to play on her tablet on a server I controlled.
I did some research and could put 32-bit Raspbian on it or go with Ubuntu 20.04.2 Raspi. I have no clue why Raspbian isn’t fully 64-bit by now. Arduino devices were ready to serve. I bought the Canakit version with case, fan, etc. It is cool, you have a HDMI on it. I read I can build a NAS with it. I saw someone put a weather station on it with a battery pack. They put them in weather proof cases in the ocean. It comes in many types with different pin outs. You can get a them to build wearables to Ethernet/Wifi. My first Raspberry Pi was the newest 64-bit 8GB Raspberry Pi 4. I put a type 10 256GB SD card that was recommended in it.
Pi has only 3.3V and digital pins on it. You can use a A-D converter and I can use the PWM pins to simulate analog.
It can do I2C but only at 3.3V. So you need a bi-directional logic level converter I2C bus. On one side Pi country 3.3V, ground, SDA, and SCL. On the other side Arduino country with 5V, Ground, SDA, and SCL
Raspberry Pi 5V
The 5v pins give direct access to the 5v supply coming from your mains adaptor, less power than used by the Raspberry Pi itself. A Pi can be powered directly from these pins, and it can also power other 5v devices. When using these pins directly, be careful and check your voltages before making a connection because they bypass any safety features, such as the voltage regulator and fuse which are there to protect your Pi. Bypass these with a higher voltage and you could render your Pi inoperable.