User Tools

Site Tools


chumby:hackerboard

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

chumby:hackerboard [2010/08/28 20:49]
ladyada
chumby:hackerboard [2016/01/28 18:05]
Line 1: Line 1:
  
-====== About! ====== 
- 
-This page is a collection of mini-tutorials on doing stuff with the Chumby Hacker Board (for brevity we will refer to it as the CHB)! The CHB is a cool single board Linux computer that has much of the same hardware as the famous Chumby One. Its great for people who are experienced with Linux and want to have the power of a full computer with audio and video while at the same time getting all the peripherals of a microcontroller such as analog-to-digital conversion, PWM outputs, sensors, bit twiddling, and broken-out GPIOs! 
- 
-While we think that the CHB is a fairly easy-to-use SBC having a pre-installed OS on the included uSD card, and ready drivers for the peripherals,​ its not designed for beginners! The board is best used by those with previous Linux experience: the good news is you don't have to have another Linux computer to set up the CHB but you should have familiarity with shells, scripting, gcc, make, dmake, etc. We also suggest having had some poking around with microcontrollers such as BASIC Stamp, Arduino, AVR, PIC, 8051, etc. So that when we say "​i2c"​ and "not 5v tolerant I/Os" you can follow along 
- 
-**The CHB is not in any way officially supported by [[http://​www.chumby.com/​|Chumby Industries]]! Chumby has generously offered a [[http://​forum.chumby.com/​viewforum.php?​id=20|Forum]] and [[http://​wiki.chumby.com/​mediawiki/​index.php/​Chumby_hacker_board|Wiki]] where they will try to share information but there is absolutely no hand-holding tech support or guarantee that the CHB will meet your project needs. Please do not contact Chumby directly either by email or phone for help with your CHB. If you have questions, please post to their forums to receive help from others and the occasional assistance from a CHB developer.** ​ 
- 
-====== Powering the Chumby Hacker Board ====== 
- 
-===== Power jack ===== 
- 
-{{:​chumby:​chumbypsp_med.jpg|}} 
- 
-The Hackerboard requires a **regulated 5VDC** power supply, positive tip, via a [[http://​search.digikey.com/​scripts/​DkSearch/​dksus.dll?​Detail&​name=CP-035D-ND|3.5mm OD, 1.4mm ID barrel jack]] (sometimes referred to as a 3.8mm or 4mm connector). [[http://​search.digikey.com/​scripts/​DkSearch/​dksus.dll?​Detail&​name=CP3-1003-ND|To connect you will need a matching plug, such as this]]. We suggest [[http://​www.adafruit.com/​index.php?​main_page=product_info&​cPath=46&​products_id=276|a regulated switching supply]] with over 1000mA output capability. The power required by the board itself is not that high (100mA? //check this//​) ​ but if you plug in a Wifi dongle into the USB port, or an LCD into the LCD expansion port, the power required can easy climb to a 1000 mA. Since the connector is the same as those used in the PSP, you can use [[http://​www.adafruit.com/​index.php?​main_page=product_info&​cPath=46&​products_id=276|PSP power supplies and chargers]]! 
- 
-Under no circumstances should you power the device with anything higher than 5V, you will destroy it! 
- 
- 
-===== Lithium battery ===== 
- 
-**Needs factchecking** 
- 
-The board can also use a lithium ion/polymer battery for power. The board even has a built-in lipoly charger! (is it activated by default? what charge rate?) 
- 
-If powering from a lipoly, the chip will boost it to 5V to supply power to one of the USB port s(the top one, on the same side as the power jack) but not to the other two.  
- 
-====== Connecting with TTL serial ====== 
- 
-The chumby has a four-pin, 3v level TTL serial connection port running at **115.2 Kbps**. You **cannot** just connect this to your computer'​s serial port, parallel port or USB port without a converter. We think the best way to connect is using an [[http://​www.adafruit.com/​index.php?​main_page=product_info&​cPath=33&​products_id=70|FTDI cable]] which can be easily modified. 
- 
-===== Make the cable ===== 
- 
-{{http://​www.ladyada.net/​images/​ybox2/​propcable33v.jpg?​500|http://​www.ladyada.net/​images/​ybox2/​propcable33v.jpg}} 
- 
-You **must** use a 3.3v logic level FTDI cable, look for the letters "​3V3"​ or similar on the cable. We also suggest checking with a multimeter that the voltage on the logic pins (everything but Red) is no higher than 3.3V. 5V logic will damage the chumby board, and it would be a shame if it broke before you got to have some fun! 
- 
-Also, make sure you have an adapter thats a cable, so that you can move around the pins 
- 
-{{http://​www.ladyada.net/​images/​ybox2/​propcablestart.jpg?​500|http://​www.ladyada.net/​images/​ybox2/​propcablestart.jpg}} 
- 
-Use tweezers to lift up the black connector tabs 
- 
-{{http://​www.ladyada.net/​images/​ybox2/​propcableremovewire.jpg?​500|http://​www.ladyada.net/​images/​ybox2/​propcableremovewire.jpg}} 
- 
-Then gently pull out the wires 
- 
-{{http://​www.ladyada.net/​images/​ybox2/​propcablepullout.jpg?​500|http://​www.ladyada.net/​images/​ybox2/​propcablepullout.jpg}} 
- 
-{{http://​www.ladyada.net/​images/​ybox2/​propcableremoved.jpg?​500|http://​www.ladyada.net/​images/​ybox2/​propcableremoved.jpg}} 
- 
-Repeat! 
- 
-{{http://​www.ladyada.net/​images/​ybox2/​rawcable.jpg?​500|http://​www.ladyada.net/​images/​ybox2/​rawcable.jpg}} 
- 
-Rearrange the wires as shown, so you have Black (GND) then a space, Orange (TX) and Yellow (RX). You can clip the unused pins or cover them with heatshrink. They wont be used. Just make sure you don't have the conductive pins accidentally touch your Hacker Board!!! 
- 
-{{:​chumby:​chumbyftdi.jpg?​500|:​chumby:​chumbyftdi.jpg}} 
- 
-===== Connect ===== 
- 
-{{http://​www.ladyada.net/​images/​arduino/​rebootdriver.jpg}} 
- 
-Plug in your FTDI cable, and install any drivers. See our instructions for driver installation for [[http://​www.ladyada.net/​learn/​arduino/​lesson0-win.html|Windows]],​ [[http://​www.ladyada.net/​learn/​arduino/​lesson0-mac.html|Mac]] and [[http://​www.ladyada.net/​learn/​arduino/​lesson0-lin.html|Linux]] 
- 
-Once the driver is installed, verify the COM or tty port. For example, the COM port for our FTDI cable is COM34 (we have a lot of FTDI cables!). Open up a Serial Terminal program and connect to that COM or tty port at 115.2Kbps without hardware handshaking 
- 
-{{:​chumby:​termconnect.gif|}} 
- 
-Connect a 5V regulated supply into the chumby and your FTDI cable so that the black wire lines up with the **GND** labeled pin 
- 
-{{:​chumby:​serialconnect.jpg?​500|:​chumby:​serialconnect.jpg}} 
- 
-You should see the following on your terminal: 
- 
-{{:​chumby:​serialboot.gif|}} 
- 
-Hit return a few times to get the shell! 
- 
-{{:​chumby:​firstshell.gif|}} 
/home/ladyada/public_html/wiki/data/pages/chumby/hackerboard.txt · Last modified: 2016/01/28 18:05 (external edit)