python_arduino_projects
python_arduino_projects copied to clipboard
Arduino programs written in Python using Pyfirmata
Arduino UNO R3
These programs can used for any Arduino UNO
Connect circuit according to the sunfounder arduino
Before connecting the circuit verify the pins with code and link
PROJECTS
DIGITAL_DICE: This is a fun project where you use python to generate a random number to display on 7 segment display

Programs to start your arduino projects
Basic programs
ard_test
This is used to test the voltage of your arduiino
blinkled
The program blinks led after a specified time delay
switch_led
This is used to turn on led using a button
led_pot
Get the readings of your potentiometer

led_pwm_controlled
The programs increases and decrease the brightness of led using pwm pin
![]()
DC_motor_cont/fan
Control the direction and speed of your dc motor using arduino
please check your code properly before running it. I lost my first motor to the improper code
RGB_led
Control RGB led using arduino

flowing_led
Turn on leds one after the other and simultaneously turning off your previous led
Tkinter_led
Turn on and off your led using tkinter(python GUI)
Tkinter_led_cont
Control multiple LED lights using Tkinter

(there's a little problem in it but the programs still runs andd performs its task if someone finds a solution let me know)
7segmentdisplay
Using this display numbers from 1 to 6

You can add more numbers and letters according to the pin diagram and apply it for many uses
rotary_encoder
This program tells the angular displacement of the rotary. It converts angular position to analog/digital output signal
Accelerometer ADXL335
The ADXL335 is a complete 3-axis acceleration measurement system. It can be used for tilt-sensing and measure acceleration of gravity
