Weknow

From Noisebridge
Revision as of 23:54, 16 March 2012 by Jerkey (talk | contribs)
Jump to navigation Jump to search
Large standards based tests.gif

WeKnow - Noisebridge collective knowledge bank

Noisebridge is affiliated with many knowledgable people in many disciplines. We should categorize and standardize these disciplines so that it is possible for anyone in our community to evaluate themselves against the totality of knowledge in a given discipline.

Simply put, we should make lists of what people know, so that anyone can learn it. This will happen because people will discover where they're at relative to others in the Noisebridge community, and will be able to decide to who learn from, or whether they should offer themselves as a teacher.

Disciplines of knowledge in WeKnow

Following are the different topics covered by WeKnow, with links to the knowledge we have on them.

Arduino

  1. How do you put a program onto an Arduino (or Boarduino)?
  2. What is the basic difference between an actual "Arduino" and a Boarduino?
  3. What three types of input/output pins does an Arduino have?
  4. What three software calls (subroutines) are used in the Blink program?
  5. What Hardware (Microcontroller) is most commonly used in an Arduino?
  6. What can be controlled or activated or communicated by its output pins?
  7. What can be input/sensed with its input pins?
  8. What kinds of subsystems can an Arduino easily be connected to?
  9. What is the easiest way to use the Timer in an Arduino?
  10. What can Interrupts be used for?
  11. How do you set up a hardware interrupt subroutine?
  12. How do you configure Timer2 to output a 40KHz squarewave on a pin?

Soldering

Electronic Components

Replicators and MakerBots

Sewing

Cooking

Version Control

  • Push a local repo created on your laptop to your server.

Example in git

  • Change the commit message of your last commit.

Example in git

  • Undo all uncommitted changes and switch to the latest committed revision. Then, restore the local uncommitted changes.

Example in git

Answers

Here are the answers to the questions above. If you disagree with the answers, add your comments to the answers but please don't delete knowledge without talking to other editors.

Arduino Answers

  1. Connect the Arduino to the computer with a USB cable, or connect your Boarduino using an FTDI or similar cable, make sure its serial port is recognized (you may have to download drivers), then, using the Arduino software program click "Upload" (or use a fancy commandline method under unix).
  2. The actual "Arduino" has a USB serial interface on-board, so it plugs into the computer with just a USB cord. A Boarduino has six pins which include power and serial data, and connects to the computer through a USB-to-serial converter cable like the "FTDI cable" or equivalent. Also a Boarduino is cheaper.
  3. An Arduino has regular Digital pins, Analog pins (can also be used as digital pins) and PWM pins (can be used with analogWrite or Timer stuff)
  4. Blink (the example program) uses pinMode, digitalWrite, and delay.
  5. An Arduino or Boarduino is most likely to use an ATMEGA328, second to the ATMEGA168 chip.
  6. Output pins can light LEDs, make speakers make sounds, activate transistors or optocouplers, and the Serial TX pin can send 8-bit data.
  7. Input pins can detect logic high/low levels, can interface with buttons or switches connected to ground (if the chip's pull-up resistor enabled), and Analog Input pins can measure voltages up to 5v to ten bits of resolution. The Serial RX pin can recieve 8-bit data.
  8. Arduinos can easily connect to a SecureDigital memory card, various Ethernet shields, Real-Time clock chips, PS2 keyboards, Liquid Crystal Displays (LCDs), anything with an I2C or SPI or Serial interface, R/C Hobby servos, and many other things.
  9. The easiest ways to use the hardware Timer of an Arduino include using the millis() function, or delay() function, or analogWrite() function.
  10. Interrupts be used to trigger a subroutine when an input pin goes high, goes low, or changes state, or when a hardware timer overflows.
  11. The easiest way to set up a hardware interrupt subroutine is using the attachInterrupt() function. The hard way is to name the subroutine according to the AVR Vector Name (google it) and then enable the interrupt using register bits. Don't forget to clear and set the Global Interrupt Enable flag in your subroutine.
  12. You can't do this with the setPwmFrequency() function without changing the CLKPR bits from the default Arduino setting.


Soldering Answers

Electronic Components Answers

Replicators and MakerBots Answers

Sewing Answers

Cooking Answers