Card detect and write protect pins are not part of SD card, but part of SDcard connector. They are listed below, and are same for both communications. Looking to buy a micro SD card but don't know which one to get? Here's our guide on buying the perfect SD card. Toyota TNS510 Western Europe 2012-2013 (PZ445-SW333-0D) image+SD Card Number. How To: Read CID on SD card. Richard Blanchard May 24, 2012 Flash Storage, Nexcopy Inc., Test Equipment, USB Duplicator, USB Tutorials. How To Read CID on SD card. Indeed this the way to get it. It is funny that my Pi0 has the same data (serial) as above example. There is no diferentiator between my PI0 serial and the one. This project explains how to interface the SD card with an AVR microcontroller. In this project an ATMEGA16 microcontroller is used. The microcontroller runs on 5V. WRT5. 4GL Dual Serial Port and SD Card Mods. WRT5. 4GL Dual Serial Port and SD Card Mods January 2. Introduction The Linksys WRT5. GL is a great router. It runs a version of Linux and is very hackable. Since it's open source, a number of third- party firmware versions have sprung up which add signficant functionality beyond what the stock firmware provided. In addition to the software improvements, several hardware modifications can also be done to this router. Two of the most popular are to add dual serial ports as well as an SD card. After these modifications, the router can be used to control external electronics (like in my wifi robot project), and the SD card can be used to add gigabytes of storage capability. Dual Serial Port Mod Since the soldering in this mod is not very difficult, this is a good mod to attempt if you're just starting out in electronics and are looking to get some soldering experience. The electronics part is not too difficult, but the result can be very useful to control external electronics or just to have a serial console. There are mechanical case modifications that are required as well, which makes this mod a bit more tricky than just a soldering project. Remove the 'void warranty' sticker! Unscrew the two wifi antennas. The front blue faceplate snaps apart from the black body. It takes some force to seperate them, but they will come apart. Place your thumbs on the blue legs while holding the black body and push on on the blue faceplate to seperate them. After the casing has been removed, remove the screws holding the circuit board to the plastic bottom so that the router PCB is free. The header pinout is as follows: Electrical Modifications. The router uses 3. V/GND for it's serial line voltage levels. We need to use a line level convertor that converts the 3. V/GND to the +/- 1. V standard for RS2. Technically, the right chip to use for this project is a MAX3. I've used both the MAX2. MAX2. 33 chips and they work fine as well. You could use any one of these 3 chips. Currently (January 2. Digikey. com, a MAX3. USD in a DIP package, a MAX2. USD, and a MAX2. 33 is $7. The MAX2. 33 is nice because no external capacitors are required (1 decoupling cap is recommended). There are a few variations of these chips, so check the datasheet for your specific part to confirm pin numbers and capacitor values. Maxim has a great samples program. I've been able to get free samples from them for all of these parts. Just remember, use their parts when your widgets go in to production. I recommend using wires about 2. It's fine to power the router while it is out of the case, but make sure there are no metal bits lying on your work surface that could short out the board. After confirming that both serial ports are functioning correctly, clean up your wiring and solder your circuit to a prototyping board. I find that twisting related pairs of wires cleans things up considerably. Zip- ties are another option. Mechanical Modiciations. If you don't have the correct tools to cut nice holes out of plastic, I've found that using the side of a drill bit (in a drill) works well as a make- shift cutting tool for cutting these holes. The DB9 connectors will (just) fit through the hole, so you can solder the wires before installing the connectors. For attaching the connectors to the router case I grabbed some screw connectors from an old video card, a lock washer, and a #4- 4. Using the video card screw connectors allows you to properly screw in serial cables to your DB9 connectors. To secure the circuit, I bolted it to the top of the router. There's plenty of room for both the router PCB and the new serial circuit. After the connectors are installed, it's a good idea to label the connectors TTS/1 and Console (or TTS/0). Software. The process described here will test both serial ports using X- WRT, a Linux distribution for the WRT5. GL that has a nice web interface. Follow the instructions for installing the openwrt- wrt. WRT5. 4GL. The exact firmware image is used is here. These serial ports should work fine in other distrbutions as well, but X- WRT is the only one I'm going to cover here. After installing the firmware image, access the web interface (by default: http: //1. The first screen will ask you to set a new password. Set this password and remember it! To test TTYS/0 (console): 1. Connect a serial cable from the console DB9 connector to your PC. Open a hypterminal connection using the settings shown (or use whatever terminal software you'd like).(1. N1). 3. You should see a bunch of kernel messages. Hit enter at the terminal and you should see a screen that looks like the one below. Connect a null modem cable between the TTS/1 DB9 connector and your PC. Open a hypterminal connection using the settings shown (or use whatever terminal software you'd like).(9. N1) 3. SSH in to the router (username 'root' and the password you set earlier) (Putty is a good SSH client for Windows). Enter the command: #. Confirm that you see 'Hello World!'.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
March 2019
Categories |