Semáforos para modelismo - Traffic lights for scale models

Semáforos para modelismo - Traffic lights for scale models

O projecto desta semana teria sido muito útil quando era pequenito e brincava com carrinhos mas é destinado a pequenas maquetas e modelismo.

 Este sistema de semáforos baseia-se nos reais que se encontram nas estradas portuguesas.

Além dos semáforos para os automoveis inclui também os semaforos para os peões sem esquecer os botões para os peões carregarem.

O microcontrolador utilizado foi o 16F88 e praticamente todos os pinos foram utilizados. Existe um terceiro botão para entrar no modo de manutenção fazendo os semaforos piscarem as luzes amarelas até que um dos botões dos peões seja premido.

Os primeiros ensaios foram feitos numa placa experimental.

This week project would have been very useful when i was little and played with cars but is intended for small models and modeling.

  The traffic light system is based on the real who are on Portuguese roads.
In addition to the traffic lights for the car also includes the traffic lights for pedestrians without forgetting the buttons for pedestrians.
The 16F690 microcontroller was used and almost all pins have been used. There is a third button to enter into the maintenance mode making the traffic lights flash the yellow lights until one of the pedestrians buttons is pressed.
The first tests were carried out on an experimental board.

 

Photobucket

 

A simulação foi feita no software Proteus. Para a simulação não me preocupei com componentes secundários como condensadores e resistências pois o objectivo era apenas testar o código do microcontrolador.

Aqui fica um pequeno video que inclui a simulação.

The simulation was done in Proteus software. For the simulation i did not bother with secondary components such as capacitors and resistors because the aim was just to test the microcontroller code.

Here is a small video that includes the simulation.

 

 

Depois de todos os ensaios concluidos, passei á construção dos semáforos. Além dos leds de 5mm coloridos, recortei placa cartonada e palhinhas de plastico.

After concluded all the tests, i started to build the traffic lights. I used some 5mm LEDs, carton board and plastic straws.

 

Photobucket

 

As plaquinhas foram perfuradas e os leds foram colocados. Os pernos negativos dos leds são soldados juntos pois ficam com a massa comum.

The led panels were drilled and the LEDs were placed. The LEDs cathode pins are soldered together since they all connect to the ground.

 

Photobucket

 

Os pernos dos leds são cortados excepto os do led verde pois vão servir para segurar a plaquinha á palhinha.

All led pins are cutted short except for the green one because it will help to hold the straw in place.

 

Photobucket

 

Os fios ficam escondidos por dentro da palhinha. Na foto abaixo ve-se o pormenor da base e da passagem dos fios.

The wires and held inside the straw. The picture bellow shows the detail of the base and the wires going through.

 

Photobucket

 

 Depois de todos os semáforos construidos, fez-se um pequeno cruzamento em cartolina e colocou-se os semáforos. Na foto abaixo ve-se o sistema concluido, apesar de ainda estar montado numa placa experimental.

After getting all traffic lights completed, i made a small road cross with black cardboard and placed the lights. In the picture below we can see the completed system, although still mounted on an experimental board.

 

Photobucket

 

Embora apenas tenha construido um semáforo por rua, o circuito suporta todos os semáforos que compõem qualquer cruzamento.

Para finalizar não podia deixar de colocar um pequeno video do projecto :)

Although i only built one traffic light for each street, the circuit supports all the lights for both lanes.
Finally here is a small video of the real project :)