Description
Lab board to connect almost anything to the web. This low cost solution uses a 3$ PIC16F628 microprocessor and a 15$ OpenWRT router.
15$ TP-Link WR703N router
Features
- 6 wire terminals for I/O and power/ gnd
- IR receiver
- 2 user defined switches
- Up to 6 status/debug led’s
- Mini USB connector for power
- Single sided PCB
- SMD microprocessor (PIC 16F628) with ICSP connector
- Measure wires for VCC, GND, SDA & SCL
Development
I have developed a lab board that connects to the serial port of a router running OpenWRT. This means that I can have a tiny stand alone device that controls various devices thru a web interface over Ethernet or WLAN. The PCB is using the same form factor as the low cost and tiny TP-Link WR703N router. I have modified the router so that the serial communication is available thru the micro USB port (see this post for details). The PCB can be made either using toner transfer, UV mask or milled with a CNC mill. I used the last option, giving me a PCB with drilled holes in less than 10 minutes. It took less than an hour to solder the components. Please note that a lot of components are 0603 size, so I recommend a good solder station with microscope. I used 1k resistors for the LEDs and as current protection for some I/O. This is a little bit too big for high speed serial communication, but it works for 9600 baud. I was thinking about making a voltage level conversion for the serial interface, since the data to and from the router is 3.3V and the PIC is running 5V. But for me it works great with just the resistors and internal protection diodes.
The single sided web access lab board
My first application for this board is a web controlled home automation system using 433MHz RF. But I think it can be used to a lot more…
Bill of Materials (BOM)
1x single sided breakout board (etch, mill or order) 1x PIC 16F62X 1x 5×1 0.1” pin header (preferably angled) 2x 0805 0.1uF decoupling cap 1x mini USB SMD connector 1x USB SMD connector 3x screw terminal (5mm pitch) 1x 0805 green power led (optional) 1x 0805 1k resistor (if power led is used) 6x 0805 red debug led’s (optional) 6x 0805 1k resistors (if debug led’s are used) 4x 0805 1k current limitng resistors 2x SMD switch (5.1×5.1mm) (optional) 1x miniature 4/8 MHz crystal (4.86mm pitch) (optional) 2x 0805 1-68pF decoupling caps (if crystal is used) 1x IR reciever module
Specification
Dimensions [mm]: 48 x 48
Version tracker
0.1 First version of PCB
Future No updates planned…
Documents
Rhino project file (2D lines)
2D export (.svg)
See also
- Serial communication using USB
- Software for web controlled home automation system (coming soon)
- Designing a PCB
- Milling a PCB
- CAM processing in HTML
Licensing

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.