Online PIC programmer

From openPicus Wiki
Jump to: navigation, search

Contents

Introduction

This is a Flyport Pic Programmer based on the Flyport Wi-Fi and Proto Nest made for my final paper’s graduation. I wanted to allow the programming of a microcontroller remotely, using Wi-Fi network and/or internet, transferring much of processing to the browser.

Bill of materials

1 Flyport Wi-Fi module
1 Proto Nest
1 PIC16F877A
8 leds
1 zenner diode 3.3v
1 diode 1N4004
1 transistor 2n3904
8 1k resistors
1 100R resistor
1 10k resistor
1 4k7 resistor
1 1uF electrolytic capacitor
2 22pF ceramic capacitors
1 4MHz crystal

Implementation

HARDWARE The prototype board was made only for tests, it is simple but contains all that is needed to test the project. To comunicate the flyport module with the prototype board was required a voltage divider because of the voltage difference of the used microcontrollers.

SOFTWARE The software consists a webserver and interface to write a microcontroller in prototype board using a bootloader. The interface uses a javascript API of HTML5 called FileReader to read the HEX file on browser and format the file in packages. The transfer of packages to de flyport module is made through AJAX calls. Before send first package, the prototype board is reseted and a serial message was sent “C1h” to the bootloader starts the write process. Each package sent the bootloader response “K” if the package were wrote with sucess.

Schematic

PrototypeBoard.jpg

Personal tools
Namespaces

Variants
Actions
START HERE
DEVELOPMENT
HARDWARE INFO
RESOURCES
PHASED OUT
Toolbox