Pages

Thursday, December 30, 2010

Electronics Concepts


Microprocessor programming, IDE resources, Concepts, etc

AVR Studio- Howto create a project
http://www.robotgames.net/atmel/GNU_C/Tutorial/tutorial.htm

Using digitial pins (pull up/down, etc)
http://www.arduino.cc/en/Tutorial/DigitalPins

Arduino Bootloader (burning, hacking, etc)
http://arduino.cc/en/Hacking/Bootloader?from=Main.Bootloader
http://www.penjuinlabs.com/blog/?p=64

Arduino Stepper Motor
http://www.arduino.cc/en/Tutorial/Stepper
http://arduino.cc/en/Reference/StepperStep

H-bridge circuit
http://www.robotroom.com/HBridge.html

----
XBee wireless microcontroller resources
----
http://www.instructables.com/id/Changing-Xbee-Baud-Rates/

16 channels with 65K addresses per channel
http://www.makingthings.com/documentation/tutorial/xbee-wireless-interface

Different iterations/revs have different features- I believe that the lowest may be limited to peer-to-peer

---
IR communication with Microprocessor
---

Arduino example with code to generate carrier frequency
http://www.gumbolabs.org/2010/05/29/radioshack-infrared-receiver-arduino/

Blimpduino beacon
http://diydrones.com/profiles/blog/show?id=705844%3ABlogPost%3A39610&page=3

Control Arduino with Remote Control
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?action=print;num=1210243556

Arduino- creating a carrier frequency
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1222208507

Pololu beacon/transceiver developement board
Note that you need a PIC programmer and it does not come with the IR Receivers
http://www.pololu.com/catalog/product/704

555 Circuit to generate an IR carrier frequency
Don't forget the 50 555 circuits also has a similar circuit
http://jap.hu/electronic/infrared.html

Arduino Pulse Out (wiring) to generate square wave of specific frequency
http://wiring.org.co/reference/pulseOut_.html

Beacon project
http://www.robotishappy.com/2009/12/beacon-locating-robot-powered-by-arduino-and-ir-transceiver/

Triangulation
http://www.drtak.org/teaches/UCD/book/book/node115.html


---

Arduino Frequency Counter
http://interface.khm.de/index.php/lab/experiments/arduino-frequency-counter-library/

Robot Contests and Ideas


Robotics and Microprocessor Resources

Component suppliers
http://www.jameco.com
http://www.mouser.com
http://www.digikey.com

Robots, sensors, components
http://www.pololu.com
http://www.robotshop.com
http://www.parallax.com
http://www.sparkfun.com
http://www.adafruit.com/

Local Colorado Springs Resources
OEM
Volker (not sure if they'll sell)
Scrap yard (not sure if they'll sell)

Ideas, Forums, Blogs
http://www.gorobotics.net/
http://www.robotreviews.com/
http://www.robotcafe.com/ (competitions, education, organizations, etc)
http://www.robot-forum.com/robotforum/
http://www.avrfreaks.net/

Periodicals
http://www.servomagazine.com

MISC
http://www.servomagazine.com/media-files/700/RoboResources-0507.pdf

Suppliers that I've not yet purchased from
http://www.robotmarketplace.com (very promising) Great per foot prices on silicone wire and servo wire
http://www.excitron.com/ (stepper controllers, etc)
http://www.trossenrobotics.com/
   
Random ideas
http://ardrone.parrot.com/parrot-ar-drone/dev/developers (from Aaron B)
http://www.asap.unimelb.edu.au/bsparcs/exhib/omp/bgrnd/rangefinder.htm (Optical range finder)
http://www.navweaps.com/index_tech/tech-078.htm (Optical range finder)
http://www.instructables.com/id/Musical-Greeting-Card/

Possible Gears, Belts, Pullies Sources
http://www.qtcgears.com/RFQ/default.asp?gclid=CMqWkeWKgKYCFQQFbAodEDV8oQ
http://www.google.com/search?hl=en&client=safari&q=gears+belts+sprockets&aq=f&aqi=&aql=&oq=&gs_rfai=
http://www.bbman.com/
https://sdp-si.com/eStore/
http://www.wmberg.com/
http://blog.makezine.com/archive/2010/06/make_your_own_gears.html (Gear Making Concepts)

Simulators
http://www.robotcafe.com/dir/Software/Simulators/
http://www.robotbasic.org

View all posts or backup blog content


How to generate an IR beacon frequency with a microprocessor

Received by email from JL Blankenship

// F_CPU tells util/delay.h our clock frequency
//#define F_CPU 8000000UL // Orangutan frequency (8MHz)
#define F_CPU 20000000UL // Baby Orangutan frequency (20MHz)
#include
#include
uint16_t i;
void delayms( uint16_t millis ) {
while ( millis ) {
_delay_ms( 1 );
millis--;
}
}

int main( void ) {
DDRD |= 1 << DDD0; // set LED pin PD1 to output
DDRD &= ~(1 << DDD2); // set D2 to input
while ( 1 )
{
for(i=1;i<556;i++) // 10ms of 56K signal
{
PORTD &= ~( 1 << PORTD0 ); // LED off
_delay_us(9); // delay 9 microsec
PORTD |= 1 << PORTD0; // LED on
_delay_us(9); // delay 9 microsec
}
if (PIND & (1< _delay_us(100); // beacon 1
else
_delay_us(200); // beacon 2
}
return 0;
}

Friday, December 17, 2010

Picnik.com good online photo/design editor (photoshop, ps, gimp)


Check it out.  It was recommended in a bigcommerce.com video.  Looks quite good for the price... free.


Monday, December 13, 2010

c++ hello world

// hello.cpp
#include <iostream>
using namespace std;
int main()
{
    cout << "Hello World!" << endl;
    cout << "Welcome to C++ Programming" << endl;

}

g++ test.cpp
   or
gcc -lstdc++ test.cpp