Tag Archives: python


Raspberry Pi FM transmitter

Do you know you can make your Raspberry Pi play your favorite music over an FM radio with a very little effort? Yes, all you need to make this FM radio transmitter is a Raspberry Pi, an SD card, a power supply, and a small piece of wire to serve as antenna. You can load your audio files into the SD card and choose your transmission frequency in the commercial FM band. The PirateRadio.py python script generates frequency-modulated radio waves on the Raspberry Pi GPIO pin 4, which are injected into air with a short wire connected to it.

Raspberry Pi FM transmitter

Raspberry Pi FM transmitter

Arduino-Python based multiple servo control

This tutorial describes how to control multiple servos with an Arduino module interfaced to a PC through serial port. The application program on the PC is written in Python script that gives control commands to the Arduino module. The Arduino module receives the commands through its serial input and then moves each servo to its commanded position.

The hardware part consists of an Arduino module, four JR Sport ST47 standard servos, and a breadboard to prototype the circuit.

Read more