Editing
Weknow
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== 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 === # 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). # 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. # 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) # Blink (the example program) uses pinMode, digitalWrite, and delay. # (a) An Arduino or Boarduino is most likely to use an ATMEGA328, second to the ATMEGA168 chip. (b) Typically an 8-bit AVR although other architectures may be used, such as the ARM Cortex-M3 (Leaf Maple board from Seeed Studio). # (a) Output pins can light LEDs, make speakers make sounds, activate transistors or optocouplers, and the Serial TX pin can send 8-bit data. (b) Outputs can drive anything that responds to an electrical signal. If the signal required is greater than the voltage or amperage a pin can deliver, some external logic such as transistors may be required. # 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. # 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. # The easiest ways to use the hardware Timer of an Arduino include using the millis() function, or delay() function, or analogWrite() function. # Interrupts be used to trigger a subroutine when an input pin goes high, goes low, or changes state, or when a hardware timer overflows. # 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. # 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 ===
Summary:
Please note that all contributions to Noisebridge are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
Noisebridge:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Request account
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Dig in!
Noisebridge
- Status: MOVED
- Donate
- ABOUT
- Accessibility
- Vision
- Blog
Manual
MANUAL
Visitors
Participation
Community Standards
Channels
Operations
Events
EVENTS
Guilds
GUILDS
- Meta
- Electronics
- Fabrication
- Games
- Music
- Library
- Neuro
- Philosophy
- Funding
- Art
- Crypto
- Documentation/Wiki
Wiki
Recent Changes
Random Page
Help
Categories
(Edit)
Tools
What links here
Related changes
Special pages
Page information