ATmega8 is the interface between the control of the signals/railway switches and the communication to rpi-central in a model railroad project
-
-
communication via SPI
-
connected Pins:
ATmega 8 PCB | | RF12 ------------: |:-----:| :--- 3.3V | ----> | VDD PD2 | <---- | NIRQ MOSI | ----> | SDI GND | ----> | GND MISO | <---- | SDO CLK | ----> | SCK SS | ----> | nSEL
-
Goal: a self-made model railroad which can be controlled via a PC
- Train components and casings are 3D printed
- PCB self-made
- Central Raspberry Pi connected to WIFI
- Communication from RPi-central to the signal-towers via RF12 chip TRX433S
- MySQL database hosted on Raspberry Pi
- Signal towers are controlled by an ATmega8 which is connected with a RF12 chip (see signaltower project)
- Another Raspberry Pi with a camera module is in every train which is connected via a 3G dongle to the internet (see RPi-train project)