Tags:
create new tag
view all tags

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

-- TWiki Admin User - 2018-01-21

Comments


Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng GY-31.png r1 manage 76.3 K 2018-03-08 - 08:26 UliRaich  
PNGpng case.png r1 manage 42.1 K 2018-01-21 - 16:21 TWikiAdminUser  
PNGpng cobbler.png r1 manage 42.4 K 2018-01-21 - 16:21 TWikiAdminUser  
PNGpng colorSensor.png r1 manage 50.0 K 2018-01-21 - 16:15 TWikiAdminUser  
PNGpng fm-wires.png r1 manage 196.1 K 2018-02-08 - 12:08 UliRaich  
PNGpng hc-sr04.png r1 manage 50.9 K 2018-01-21 - 16:15 TWikiAdminUser  
PNGpng levelConverter.png r1 manage 55.9 K 2018-02-08 - 11:50 UliRaich  
PNGpng lilyPad.png r1 manage 152.8 K 2018-03-07 - 17:10 UliRaich  
PNGpng powerSupply.png r1 manage 28.8 K 2018-01-21 - 16:21 TWikiAdminUser  
PNGpng raspberry.png r1 manage 229.6 K 2018-01-21 - 16:15 TWikiAdminUser  
PNGpng rgbLED-1.png r1 manage 128.6 K 2018-03-06 - 13:13 UliRaich  
PNGpng rgbLED.png r1 manage 153.9 K 2018-02-08 - 11:50 UliRaich  
PNGpng rgbLED_smd.png r1 manage 144.1 K 2018-03-06 - 13:13 UliRaich  
PNGpng sd.png r1 manage 10.3 K 2018-01-21 - 16:21 TWikiAdminUser  
PNGpng tcs3200.png r2 r1 manage 199.3 K 2018-03-06 - 13:13 UliRaich  
PNGpng wires.png r1 manage 109.3 K 2018-01-21 - 16:21 TWikiAdminUser  
Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r5 - 2018-03-08 - UliRaich
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback