Show Posts
Pages: [1]
1  Using Arduino / Microcontrollers / Re: Arduino firmware on AT90USB82 on: April 17, 2013, 05:23:28 pm
Coding Badly:  The dev board actually has all of the pins in use, I would have to modify it a bit -- It should have all of the pins broken out.

Hiduino:  That would be assembly code, correct?  I could do that, but writing the code I have in mind in assembler would proabaly be harder than just building a Leonardo-compatible.
2  Using Arduino / Microcontrollers / Arduino firmware on AT90USB82 on: April 17, 2013, 04:04:30 pm
Sorry if this is the wrong place...  Anyways, I have a development board with an AT90USB82 chip.  IS there any way to flash the Arduino bootloader and firmware onto it?
3  Using Arduino / Interfacing w/ Software on the Computer / Re: Processing input emulation on: October 05, 2012, 09:06:12 pm
I have the hardware side totally working at this point, the only problem is mouse emulation.
I am pulling both pins up, then hooking the two leads from the DC motor to them. When I spin the motor, which I am using as a makeshift encoder (kludgy, yeah, but I don't have an optical encoder, and it fits perfectly), one pin gets pulled down, and the serial output is (pin1 - pin2), so it outputs the difference between them. Pulling them up is to keep them from floating and randomly scrolling tiny amounts.
A "linear webpage scroller" is like http://www.instructables.com/id/Spinner-Jog-Wheel-Inside-of-a-VCR-Head/, but linear instead of circular. You know, for ebooks and long webpages.
4  Using Arduino / Interfacing w/ Software on the Computer / Re: Processing input emulation on: October 05, 2012, 08:25:46 pm
I was planning on using the built-in pin-by-pin control. However, I decided to simplify this and just transmit the motion over serial.
void setup()
The Arduino code:
Code:
void setup()
{
  Serial.begin(9600);
  pinMode(A0, INPUT);
  pinMode(A1, INPUT);
  digitalWrite(A0, HIGH);
  digitalWrite(A1, HIGH);
}

void loop()
{
  int voltin0 = analogRead(A0);
  int voltin1 = analogRead(A1);
  Serial.println(voltin0 - voltin1);
  delay(5);
}
I haven't written the Processing code yet.
5  Using Arduino / Interfacing w/ Software on the Computer / Processing input emulation on: October 05, 2012, 12:09:18 am
As one of my first Arduino projects, I plan to turn the carriage (Is that what it is called? the slidey thing) from an old CD drive I got hold of into a linear webpage scroller. The motor that used to control it seems to be a simple DC motor, and is geared to the carriage. I plan to use Firmata and Processing to get the voltage from the two leads from the motor, and use Processing to emulate a hardware scroll wheel. ANy advice?
Pages: [1]