- USB ( plug it to any computer)
- Ethernet ( plug it to the internet)
- SD card ( save and read all data you will need)
A video showing the project:
Just to give a head start see some of the things i have done so far with this board:
- An Touch keyboard, usable as a standard USB keyboard.
- A Video Game ( pong and snake games) , with TV output, and connection to a PC Keyboard ( the old PS/2 ) for control.
- Picture frame, reads pictures form the SD card and show them on the TV.
- Controling a 5 volt LCD and some leds, with just 3 wires ( the MCU is 3.3V)
- Web server, where you can see some status of the board as temperature, the position of a Pot and a Button, control some leds and the LCD ( all this from the internet)
- the right side of a soldering iron
- program in c ( just the basics)
- programing PICs in assembler ( I've been stuck here for a long time, but it isn't needed)
- how to make a PCB
- a little bit electronics
web-server-on-a-business-card-part-2 ( thank you HACKADAY)The idea of controlling something trought the internet was really nice, so i bought the chip. But when i was delivered classes started. One Year later, i started to read a promising book:
I was the 24F, i started right away. Breadboard, wire-mess, and the first programs were running. But as i advanced in the book i felt the need for a PCB. Hackaday project was my base, but i wanted i little bit more. An USB connector, and some pins fore expansions.The WEBSD board was born.
After I developed some extra boards to plug. If i want to do a new thing with the board, just design a simple expansion board.
Follow the next pages to see more about the project. Project files are annexed on this page.
Step 1: Main Board
The main board was been based on the hackaday project. It's name come from the two main thing on it:
- WEB - Internet connection
- SD - The memory card
Layout was easy because of the PPS (Peripheral Pin Select) feature of this family. I allows the I/O of the digital peripheral to be assigned to almost any pins. But i was low on the pin count, but squeezed 4 pins out of it for expansions.
Power is done by a small power supply rated for 5v 500mA ( a standart 7805 PS). I do not chose USB power because of the current draw by the Ethernet chip.
To put all the connectors on one side , and to keep a small size, a double layer board was needed. i got addicted by smd parts, they can be faster to solder, and there is no need to drill so many holes in the board. Unfortunately i didn't bought the Smd version of the ENC28j60 so it is a DIP part.
The MCU choice was simple, i wanted to learn to use the 24F family, USB was a nice feature to explore, SOIC package (QFN packages still frightens me). So i just pick the one with the biggest program memory.
The ICSP programming connector is for the pickit2 footprint, i is used also as a rs232 serial port. You can see the communications using the terminal provided with the pickit2 or with a external serial port ( allows for more speed)
Part-list ( with mouser reference) :
|3||red||LEDCHIPLED_0805||LED1, LED2, LED3|
|8||0.1uF||C-EUC0805||C2, C4, C6, C7, C9, C10, C11, C12|
|4||49R9 1%||R-EU_R0805||R8, R9, R10, R11|