Devices needed

The Raspberry Pi

The Raspberry Pi features
  • SoC: Broadcom BCM2837
  • CPU: Quad Core ARM Cortex-A53, 1.2 GHz
  • RAM: 1GB LPDDR2 (900 MHz)
  • Networking: 10/100 Ethernet, 2.4 GHz 802.11n WiFi
  • Storage: micro SD
  • Ports: HDMI, 4*USB2.0, Ethernet, Camera, Serial Interface, Display Interface
Here is a photo of the processor card:

raspberry.png

It is better to use a plastic case for protection:

case.png

In addition to the processor board itself we need a 5V, 2.5 A power supply with micro USB connector

powerSupply.png

and a micro SD card for storage. This card will hold the operating system and all the user and system files.

sd.png

In order to access external devices like our sensors a series of interfaces are available:
  • general purpose I/O pins (GPIO)
  • standard tx,rx serial interface
  • I2C instrumentation bus
  • SPI interface
These interface pins are available on a 40 pin flat cable connector and are made accessible to the experimenter on a bread board through the cobbler (the red PCB with the 40 pin flat cable connector). In contrast to the photo a longer breadboard must be used in order to have enough space for the sensors.

cobbler.png

Now, all we need in addition are the sensors themselves and some connecting cables:

hc-sr04.png

The HC-SR04 ultra-sonic distance sensor


The TCS3200 colour sensor

Most of the bread board wires will be male-male, however a few male-female wires are also needed to connect the TCS3200. I bent one row of pins such that they can easily be inserted into the bread board making the TCS3200 board stand vertically. In this case we need the male-female wires to connect the upper row of pins with the bread board.

male-male bread board wires

male-female bread board wires

Even though not strictly necessary for the final project we will also use an RGB LED. This will be used in an intermediate step where we will display the color read from the TCS3200 color sensor on this RGB LED.

simple rgb LED with common cathode
current limiting resistors on board

LilyPad tri-color LED, common anode
current limiting resistors on board

Since the Raspberry Pi GPIOs all work on 3.3V, the HC-SR04 as well as the TCS3200 however work with TTL (5V) logic, we need a level converter to bring down the sensor signal levels from 5V to 3.3V. This can be done either with a voltage divider using 2 resistors or with this level converter

-- %USERSIG{TWikiAdminUser - 2018-01-21}%

Comments


 

I Attachment Action Size Date Who Comment
GY-31.pngpng GY-31.png manage 76 K 08 Mar 2018 - 08:26 UnknownUser  
case.pngpng case.png manage 42 K 21 Jan 2018 - 16:21 AdminUser  
cobbler.pngpng cobbler.png manage 42 K 21 Jan 2018 - 16:21 AdminUser  
colorSensor.pngpng colorSensor.png manage 50 K 21 Jan 2018 - 16:15 AdminUser  
fm-wires.pngpng fm-wires.png manage 196 K 08 Feb 2018 - 12:08 UnknownUser  
hc-sr04.pngpng hc-sr04.png manage 50 K 21 Jan 2018 - 16:15 AdminUser  
levelConverter.pngpng levelConverter.png manage 55 K 08 Feb 2018 - 11:50 UnknownUser  
lilyPad.pngpng lilyPad.png manage 152 K 07 Mar 2018 - 17:10 UnknownUser  
powerSupply.pngpng powerSupply.png manage 28 K 21 Jan 2018 - 16:21 AdminUser  
raspberry.pngpng raspberry.png manage 229 K 21 Jan 2018 - 16:15 AdminUser  
rgbLED-1.pngpng rgbLED-1.png manage 128 K 06 Mar 2018 - 13:13 UnknownUser  
rgbLED.pngpng rgbLED.png manage 153 K 08 Feb 2018 - 11:50 UnknownUser  
rgbLED_smd.pngpng rgbLED_smd.png manage 144 K 06 Mar 2018 - 13:13 UnknownUser  
sd.pngpng sd.png manage 10 K 21 Jan 2018 - 16:21 AdminUser  
tcs3200.pngpng tcs3200.png manage 199 K 06 Mar 2018 - 13:13 UnknownUser  
wires.pngpng wires.png manage 109 K 21 Jan 2018 - 16:21 AdminUser  
This topic: AFNOG > WebHome > DevicesNeeded
Topic revision: 08 Mar 2018, UliRaich