Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

PWM (Pulse Width Modulation) controls speed and frequency constantly. It works by varying ON and OFF -pulses. A simple PWM need an inverter chip, diodes, trimpot, and capacitor to work. Its main use is to control the power that is supplied to electrical devices (mostly motors).


 Blinking the LED
-light

1.) Download metroGPIO.py

 2.) Download tst.py

 3.) Download WinSCP

 4.) Move the files to Raspberry

 Turn off Raspberry Pi

 Attach Buffer Board

 Attach LEDs and wires to bread board

 Turn on Raspberry

 Run a python program tst.py as a super user (sudo)

 Create a new file "led.py"
 Define the blinking frequency into the file. 

HelloWorld!!!.jpg 

Moottoritpyorivat.jpg

BlinkingTheLED.jpg

 This is the code you can use to control the robot via internet: HTML.pngHTML2.png

This is the code that links Python code to the internet page: MacrosForHTML.png

This is the remote control code: RemoteControl.pngRemoteControl2.png

This is the code that you can program a track into: Track.pngTrack2.png 

Info

Content by Label
showLabelsfalse
max5
spaces~kaisaran
sortmodified
showSpacefalse
reversetrue
typepage
labelskb-how-to-article