venerdì 21 dicembre 2012

FB-RaspBoard-A09 -- Scheda di interfaccia per Raspberry PI








Scheda di interfaccia per Raspberry PI con a bordo:
- 1 Display LCD 16x2
- 1 Relè
- 4 Pulsanti
- 4 Led
- 1 Connettore Uart
- 1 Connettore PMOD 6 pin con segnali SPI
- 1 Sensore di temperatura
- 3 Connettori Rj12 per la connessione dei sensori LEGO NXT






LISTA COMPONENTI


Part Name Descrizione Value Q.tà Codice Farnell Cod. RS-Components Cod. Mouser
P1, P2, P3, P4 OMRON SWITCH 10-XX
4 1555982 378-6375 TL1105F160Q
J_SSP1, J_SSP2, J_SSP3 AMP connector RJ11 555165-1
3 2112505 615-4260 538-43860-0020
LED0, LED1, LED2, LED3 Resistenze Verde 3mm 4 1652494 654-2932 604-WP132XPGC
R5 Trimmer 10k 1 1227539 473-473 652-3319P-1-103
X4, X6 Mini-Combicon 2.50mm 2polig MPT_05/2-2,54
2 3041359 220-4260 651-1725656
IC2 MCP9804 MCP9804 1 1825061 703-7923 579-MCP9804-E/MS
R2 Resistor 0603 120
1 740-8909 740-8909 301-120-RC
R3, R10, R11, R12 Resistor 0603 330 4 740-8931 2073472 667-ERA-3AED331V
R1, R4 Resistor 0603 4.7K 2 2130911 213-2367 301-4.7K-RC
R6, R7, R8, R9 Resistor 0603 470 4 2073508 740-8947 667-ERA-3AED471V

Strip Header Femmina 36pin
1 9728856 488-1724 517-929850-01-36-RA

Strip Header Maschio 36pin o 40pin
1 9729038 156-134 649-77311-401-36LF
P1, P2, RST_BTN IInterruttore tattile 6x6x4.3mm 160gf
4 1555982 378-6375 TL1105F160Q

Distanziale – dado M3
4 1419447 483-0502

Distanziale esagonale ottone M3 F-M 10+6mm
4 1466826 221-128 855-R30-3000602
LCD1 LCD 16x2
1 2062135 532-6470 71-L016N2DNGGET-E90
T1
NPN Transistror
BC846
1 1081227 484-2268 512-BC846CMTF
T2
PNP Transistror
BC857
1 725-8587
512-BC857BMTF
X2
Micro-Match Femmina 4pin PCB
MICROMATCH-4
1 148507 341-7669 571-7-215079-4
X1
Micro-Match Femmina 6pin PCB
MICROMATCH-6
1 148519 341-7675 571-72150796

Micro-Match IDC 4pin MICROMATCH-4 2 7-215083-4 341-7394571-7-215083-4

Micro-Match IDC 6pin MICROMATCH-6 2 7-215083-6 341-7401571-7-215083-6
D1
DIODE-DO214AC
S1G R2
1 7277938 652-7523821-S1GL
K1
ULTRA LOW PROFILE 2 AMP. POLARIZED RELAY NAiS
TK1-5V
1 178-2028 1852988 769-TK1-5V

PCB
1





Software Pyton per controllo:
# Installazione della libreria Python RPi.GPIO
wget http://pypi.python.org/packages/source/R/RPi.GPIO/RPi.GPIO-0.4.1a.tar.gz
tar zxf RPi.GPIO-0.4.1a.tar.gz
cd RPi.GPIO-0.4.1a
sudo python setup.py install
cd ..
sudo rm -rf RPi.GPIO-0.4.1a/
rm RPi.GPIO-0.4.1a.tar.gz

- CharLcd.py
- Led.py
- Puls.py
- GPIO_test1.py

Controllo della scheda in c:

#installazione della libreria "C library for Broadcom BCM 2835 as used in Raspberry Pi"
wget http://www.open.com.au/mikem/bcm2835/bcm2835-1.14.tar.gz
tar zxvf bcm2835-1.14.tar.gz
cd bcm2835-1.14
./configure
make
sudo make check
sudo make install

#compilazione del programma di test ed esecuzione
sudo gcc -o test -l rt test.c -l bcm2835 led.c puls.c lcd.c
./test

Riferimenti
- Raspberry PI model b schematics 
- BCM2835 ARM Peripherals - Raspberry Pi
- RPi Low-level peripherals
- Raspberry Pi P5 Header
- C library for Broadcom BCM 2835 as used in Raspberry Pi- WiringPi library
- Relay Technical Information - Panasonic Electric Works Europe AG
 
Progetti
- The One Button Audiobook Player

- Raspberry pi loves Sensors and LEDs
- Raspberry Pi PCF8563 Real Time Clock (RTC)
Pandora's Box - An Internet Radio player made with a Raspberry Pi!
- 16×2 LCD Module Control Using Python
- Drive a 16x2 LCD with the Raspberry Pi

Nessun commento:

Posta un commento