Skip to content

ionoid-io-projects/workshop_traffic_lights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Making leds blink

Wiring

https://www.circuito.io/app?components=9443,9590,9591,9594,200000

traffic light

wiring

Code

1- Power your raspberry

You can achive it with connecting it to your pc trought the Micro USB Port of the raspberry pi

power

2- Connect to your raspberry pi

Using putty if you're on windows, Ssh if you're on a linux based os Follow the following instruction if you dont know how to connect to raspberry pi Connect to Raspberry Pi using Putty

3- Download Traffic light binary file

Assuming you're connected with... copy and past this command If you're using Raspberry zero

curl -O https://raw.githubusercontent.com/ionoid-io-projects/workshop_traffic_lights/master/bin/arm6/trafficLight

If you're using Raspberry 3 b

curl -O https://raw.githubusercontent.com/ionoid-io-projects/workshop_traffic_lights/master/bin/arm7/trafficLight

make it executable

chmod +x trafficLight

4- execute binary to make led blink

./trafficLight

How to stop the program

To quit or stop the program click on Ctrl+C

Congratulation.

Ressource Follow link below for pin connections https://projects.raspberrypi.org/en/projects/physical-computing/11

Releases

No releases published

Packages

No packages published

Languages