Microcontroller and Single Board Computing

ESP

Project Ideas

Short description goes in this box.

Owner Fox.Build
Manufacturer
Espressif
Model ESP8266, ESP32
Serial #  
Product
Website
espressif.com
Instructions  
   
Size/Volume  

About

The ESP family of microcontrollers features the ESP8266 and the ESP32. They are available in a variety of different board configurations. They contain RISC processors and WiFi capability and can even act as WiFi access points.

Wikipedia has good descriptions of each:

Below are photos of several commonly available ESP boards.

ESP32
ESP32
ESP8266
ESP8266
ESP32 with OLED Display
ESP32 + OLED Display

Safety

  • Be careful not to exceed the input voltage of the ESP board you are using. Some boards require 5V input and some 3.3V.

Getting Started

The ESP boards are programmable using the Arduino IDE, which makes them very easy to tailor to specific applications.

Materials

Add information about materials used

Power and Speeds

Information about power and speed.

Tips and Tricks

Add other tips and tricks here

Notes

Add other notes here

Raspberry Pi

Project Ideas

Raspberry Pi Microcomputer Workbench

About

From RaspberryPi.org:

“The Raspberry Pi is a low cost, credit-card sized computer that plugs into a computer monitor or TV, and uses a standard keyboard and mouse. It is a capable little device that enables people of all ages to explore computing, and to learn how to program in languages like Scratch and Python. It’s capable of doing everything you’d expect a desktop computer to do, from browsing the internet and playing high-definition video, to making spreadsheets, word-processing, and playing games.”

There are multiple versions of the Raspberry Pi:

Safety

Important safety information.

  • The Raspberry Pi runs on 3.3 volts – be careful when interfacing it with 5 volt parts!

Getting Started

There are a lot of projects built with the Raspberry Pi. If you are looking for ideas there are a 20 ideas here.

Materials

Power and Speeds

See the details for the different version for power and speed details.

Tips and Tricks

Notes

Owner Fox.Build
Manufacturer
Raspberry Pi
Model Several
Serial #  
Product
Website
https://www.raspberrypi.org/
Instructions  
   
Size/Volume  

PIC

Project Ideas

PIC Overview

Microchip makes hundreds, or possibly thousands, of different flavors of PIC and dsPIC micro-controllers. They come in 8, 16, and 32 bits and offer a wide variety of different embedded peripherals, packaging options, processor speeds, and pricing. One of the main attractions of the PIC line is all the integrated circuitry available. This includes FLASH (for program), RAM (stack and variables), EEPROM (for persistent data), digital I/O, and many peripherals – comparators, A/D converters, D/A converters, OpAmps, serial I/o (UART, I2C, I2S, QSPI, SSC, USB, and CAN), PWM controllers, LCD drivers, Touch control interfaces, and timers. Not every chip contains all these options, but fortunately, Microchip provides an online selection tool: Microchip MCU Selector.

PIC Software Development Environment

PIC applications are typically developed using Microchip’s MPLABX Integrated Development Environment (IDE). MPLAB X is based on the NetBeans IDE (open sourced from Oracle) and runs on Windows, Mac OS, and Linux. MPLABX is installed on the laptops on the Micro-controller workbench (both Linux and Windows, so choose your favorite OS), or you can download your own copy from Microchip.com.

If you are new to PIC programming, check out the Step-by-Step PIC Programming page. It provides a number of “lessons” to get you started and show you how to interface to a wide range of peripherals.

Programming (Downloading) Environment Setup

Microchip makes some Demonstration/Evaluation Boards, but often it is cheaper and easier to just prototype the circuit you need on a standard prototype board.To help get people started there are a couple options at Fox Build:

  • A PIC12F508 (8 bit, 8 pin) based board with 2 LEDs and pads to connect up to 3 more output pins. These are pre-assembled boards that run on 6-14 volts AC or 7-20 volts DC, so it should be easy to find a wall wart power supply (or batteries) to run these.
  • A PIC18F4550 (8/16 bit, 40 pin) based PIC in a prototyping socket with a power LED and a single LED that can be controlled via a port pin on the chip. This option allows significantly more I/O and the PIC18F4550 supports numerous internal peripherals.

12f508 Board Top Side 12f508 Board Top Side 12f508 Board Bottom Side 12f508 Board Bottom Side

The PIC micro-controllers are generally not programmable (downloadable) via USB like an Arduino, so a special programmer is typically needed. There are several options that work:

  • PICkit 2 – PIC programmer
  • PICkit 3 – Newer version PIC Programmer
  • ICD 3 – PIC programmer and in-circuit debugger

Fox.Build has a PICkit 2 programmer which should work for most applications. Most of the PIC micro-controllers are programmable through a 5-wire interface that consists of Power, Ground, Program Enable, Program Clock, and Program Data. This interface is provided by all of the programmers listed above. When prototyping a PIC board it is easy to run these 5 signals to 5 sequential pins on the proto board and then connect straight to them from the connections coming out of the programmer.

To connect the 12F508 boards to the PICkit2 see Connecting the PICkit2 to the 12F508 boards. Be sure to hold the connector snugly in the board during programming – you may get connection errors otherwise. To connect the 18F4550 prototype boards to the PICkit2 see Connecting the PICkit2 to the 18F4550 prototype boards.

Once the PIC is connected to the programmer (such as the PICkit2) the device may be programmed by clicking the Make and Download button (the green down arrow pointing to an IC) in MPLABX.

Owner Fox.Build
Manufacturer
Microchip
Model Many
Serial # N/A
Product
Website
Microchip.com
Instructions  
Replacement
Cost
 
Size/Volume  

Arduino

Project Ideas

Arduino Microcontrollers

About

There are multiple flavors of Arduino:

  • Uno – 16 Mhz ATmega328 with 14 Digital I/O pins
  • Due – 84 Mhz AT91SAM3X8e with 54 Digital I/O pins
  • Mega – 16 Mhz ATmega2560 with 54 Digital I/O pins
  • Leonardo – 16 Mhz ATmega32u4 with 20 Digital I/O pins

Safety

Important safety information.

  • Keep fingers clear when operating either machine!

Getting Started

Arduino Lesson

How to program 4 Arduinos in 4 minutes.

  1. Turn on the HP Ultrabook and login with the Password Fox.Build.
  2. Open Arduino.
  3. Take the UNO on the left off the wall, and plug it it in to the computer with the USB ‘B’ cable.
  4. Open File->Examples->Basics->Blink
  5. Then select the board
  6. Tools-> Board->Arduino/Genuino UNO
  7. Check Tools/ Port and choose what ever port is showing.
  8. Click on the upload round button under the edit menu item. It is an arrow.
  9. Once it uploads the Uno should start flashing.
  10. Change the number in the program next to delay to what ever you want.
  11. This is the number of milliseconds the program waits while the LED is on or off.
  12. Click upload again and confirm the speed the LED flashes changes.
  13. Congratulations, you just completed an Arduino “Hello World”.
  14. Now lets do the other 3 boards.
  15. Return the UNO and take the little Nano next to it.
  16. Swap out the ‘B”‘ cable for the Mini cable on the left.
  17. Change the board with Tools->Board to Nano.
  18. Check the port again to make sure a port is available.
  19. Tools/ Port and choose whatever is there.
  20. Upload the program and change the delay again as you like.
  21. Wash and repeat for the ESP8266.
  22. Choose Tools/Boards -> Wemos D1 R2 and Mini (Way at the bottom.)
  23. Check the port and upload.

Wash and repeat for the Mega.

You have done it!

Materials

Sheet metals

Power and Speeds

Manual – limited by the person cranking

Tips and Tricks

Notes

Owner Fox.Build
Manufacturer
Arduino
Model Many
Serial #  
Product
Website
 
Instructions This page
   
Size/Volume