Have Some Serious Fun with PingPong-CDC!

Does anyone here the ping-pong lovers? Well, do you know that playing this game is no an easy task, as you need to have the speed, skills and sharp mind if you want to beat your opponent off!

If you one of the ping pong fans but you just don’t want to sweat a lot here, then would you mind to build a PingPong-CDC?

This PingPong-CDC project is a very simple USB frequency hopping spread spectrum RF modem or also known as FHSS. Basically, the modem is based on the PIC18F2550 and the Semtec XE1205 RF module. However, this module doesn’t include any MAC or protocol layer like other modules did!

The main purpose of this project is to demonstrate the correct ways to write a FHSS MAC layer and use the USB feature to interface it with a PC through CDC and WinUSB. It might sounds complicated to you but it wasn’t!

For your information, it’s easy to change the software to experiment with different protocols, since the protocol is not a hard-wired type. In addition, a utility for pairing and configuring modems also has been included as well for your own ease!

So, after you’ve done with the project, it’s time to have some serious fun with it.

Read

It’s Ping Pong Time!

Are you a Ping Pong lover? Would you mind to play the Ping Pong all day long? Oops, hold on a second! What I tried to mean here is the PingPong-CDC, which it’s needs to use frequency hopping techniques to create a bidirectional link, but not the real Ping Pong sport that you making you sweat lol

This PingPong-CDC project is a homebrew USB frequency hopping spread spectrum RF modem (FHSS). Basically, the modem is based on the Microchip PIC18F2550 and the Semtec XE1205 RF module.

The module doesn’t include any MAC or protocol layer and that’s what this project tries to implement. The main purpose of this project is to demonstrate how to write a FHSS MAC layer and apply USB into this project to interface it with a PC through CDC and WinUSB!

The non hard-wired feature has making the protocol becoming easier to change or modify the software to experiment with some of the different protocols. Beside that, a utility for pairing and configuring modems is included as well.

Since this is a simple to develop electronic project, it won’t wasting you too much of time! Hope you’re enjoy the project and have some fun with it.

Read

It’s an USB Audio Streamer V1.0 and Not a Steamer!

Do you have the idea to create a USB sound card, which is based on a PIC interface? Today, you have the chance to learn to develop an USB Audio Streamer V1.0, or it is a microchip PIC based USB sound card.

For this project, the hardware part is based on all Microchip, and the software part uses a modified version of Microchip USB framework. The main objective of this custom interface is for programming the device serial number and upgrading the firmware.

Hardware Part

The Microchip PIC18F2550 USB processor is used as the sound card purpose. The processor is clocked at 48MHz, where it is the maximum rate for this processor. The microcontroller is being connected via the SPI port to the Microchip MCP4822 12bit D/A converter. The separate port is being used in the project to control the volume and enable it to run inside the processor at a different priority level.

Software Part

The main software part that consist in the USB audio streamer are the audio card firmware, the card INF file for the custom interface, a C++ library and a command line utility. You can simply download the source code here.

Hope you guys will enjoy this project!

Read

PIC18F2550 based harmonic distortion meter

This simple device, designed by Wichit Sirichote, measures the quality of AC voltage. The device measures 3rd harmonic which is used to find the distortion value comparing to fundamental frequency.

PIC_harmonic_distortion_meter.jpg

 

Device calculates DFT of signal which is captured via step down isolation transformer and 10-bit ADC. Testing showed that clean sine wave gives less than 0.5% of distortion, while square wave gives about 33%. Project description includes detailed measurement theory outline and practical examples as well. Project is built on test board which was developed for general purposes. Source code is available for download.

Read

Spectrum analyser mod for PC

This mod is based on PIC18F2550 and WG24064A 240×61 graphical LCD with T6963 controller.

T6963_USB_spectrum_analyser.jpg

 

Download eagle schematics and firmware files to flash. To feel full power of this mod also download Winamp Open Source LCD plugin. This mod works only under Win2k and Win XP.

Read

Next Page »