Show Posts
Pages: [1] 2
1  Forum 2005-2010 (read only) / Interfacing / Re: Arduino + Accelerometer and Graphing on: May 21, 2010, 01:50:59 pm
I've got a processing app the graphs acc data from the wii chuck attached to an arduino - you're welcome to it:

http://www.jfernsler.com/blog/?p=29
2  Forum 2005-2010 (read only) / Interfacing / Arduino + Applescript quick fix... on: January 18, 2007, 02:38:05 am
So, tonight I wanted to know if someone was trying to IM me while I was in the other room (important stuff, you know...). Searching for arduino/applescript stuff didn't turn up too much other than people searching for the same in a few forums or blog posts. And, not that this is especially smart of me, but I thought I'd post it here anyway. I based my arduino code off of the serial_comm_basic sketch just w/ a little more fun flash fadiness. Then I found the todbot.com arduino-serial command line tool:

http://todbot.com/blog/2006/12/06/arduino-serial-c-code-to-talk-to-arduino/

at which point it becomes very easy.. in Applescript do something like this:

do shell script "/Applications/arduino-0007/serialCommand/arduino-serial -b 19200 -p /dev/cu.usbserial-0B2 -s H"

and that's it. You can process info, create UIs, even read in info from arduino using shell commands like that in applescript and applescript studio.

I downloaded iCAR (iChat Auto Reply) and executed the applescript from there (it also does shell commands, but I didn't realize that until after I did this).

So, yeah, not rocket science, but if you're looking for a quick and dirty Applescript / Arduino combo - that may work for you.

Thanks..

-Jeremy
3  Forum 2005-2010 (read only) / Development / Re: Turn Arduino into an ISP programmer on: February 14, 2007, 02:53:22 pm
hmm... Frustrating. I have a project I'd like to pursue that includes both i2c and an LCD which fills the atmega8 just by including libraries.. ergh.

Was the reason for not being able to burn bootloaders w/ the arduino board a monetary or technical decision?

-jf
4  Forum 2005-2010 (read only) / Development / Re: Turn Arduino into an ISP programmer on: February 13, 2007, 07:26:49 pm
Has anyone accomplished this on Mac OS X?

I've got the boards hooked up correctly and the stk500 firmware uploaded correctly to the first Arduino. However when I run the burn command (after the correct (I believe)) modifications I got a constant Device Not Responding type of message.. Actually I think it's Programmer Not Responding.

I don't know if that's because the icsp isn't working or if there is an incompatibility between the stk500 firmware and mac os x?

I would really like to get a atmega168 burned w/ the 168 flavor arduino bootloader... The extra space would be very welcome. However, like I said... it's just not working.

Any insight or anybody being successful at this would be great to hear. It seems clear, but something just isn't meshing.

I've also tried avrdude 5.2 as per a suggestion I found online - as it was supposed to be more compatible w/ os x.. but no dice there either.

Anyway, thanks for any help rendered, I appreciate it.

-Jeremy
5  Forum 2005-2010 (read only) / Development / atmega168 bootloading.. on: January 30, 2007, 11:34:44 am
So, just to summarize, there's no way to burn a bootloader on an atmega168 using the arduino board? Even though right in the menu it says "Burn Bootloader" when the atmega8 is selected? Why is that there? Why does it not work? I have a couple 168's from a friend and would like to use them as an arduino.. but I have no avr programmer. Is that functionality impossible to build for a serial device?

I've only seen parallel programmers - but having a mac, I don't have a parallel port. Is there a homemade serial/usb progammer one can build?

I'd like to use the programmed chip in standalone projects - does this mean that technically i would have to buy an arduino board each time? I don't want to use the board w/ some projects - just the chip. I guess I was thinking I'd be able to slap a new chip in, burn the bootloader and begin again w/ a new chip.. wash, rinse repeat...

so, is there a programmer I can build for my mac? heh.

-JF
6  Forum 2005-2010 (read only) / Interfacing / Re: voltage remapping? on: July 20, 2009, 02:08:58 pm
so by applying 3v to the aref pin, that's the value that the analog in is checked against? Then it's a matter of setting the refns bits to understand that it's 3v in or to at least check against the ref? Am I following this correctly?

Basically I've got a sensor giving me 0-3v based on it's reading.. if the ref voltage of the analog in is 5v, then I'm only using 2/3rds of the potential resolution of the input. I'd like this reading to be as accurate as possible so either I get my reading coming in to be 0-5v or I drop the ref voltage somehow to 3v. Though now that I'm saying that, it will limit me in the future if I have additional 5v sensors attached to the arduino...which may happen.

so would this just be done w/ an amplifier, like an lm386?

Sorry for the basic nature of these questions, I'm much more of a software hack than the nitty gritty hardware action...

Thanks!
-jf
7  Forum 2005-2010 (read only) / Interfacing / voltage remapping? on: July 20, 2009, 01:00:52 pm
I'm looking for a circuit that could map 0-3v to 0-5v to take more advantage of the arduino's analog in resolution. Where/what/how could I find such a thing?

Thanks!

-Jeremy
8  Forum 2005-2010 (read only) / Interfacing / Re: i2c and a Dallas RTC Anyone?? on: January 25, 2007, 02:00:48 pm
yeah, I thought the same thing - maybe use Processing to send the current time.. but then I wondered how often I would actually be doing that... then hard coded it into the app and tried to time up upload/execution of it..

So yeah.. I wish that the Wire lib didn't take as much space.. What are you using the straight C++ for?

I'm working on a sunrise clock for myself since I have a tendancey to stay up late trying to learn this stuff and have a difficult time getting up in the morning.. It's oddly circular, this project...

-JF
9  Forum 2005-2010 (read only) / Interfacing / Re: i2c and a Dallas RTC Anyone?? on: January 25, 2007, 01:30:07 am
ah.. not wrecked. Just got reset somehow ... I reset the time and it's running like a champ again. Now just waiting for bigger chips and some digits.. smiley
10  Forum 2005-2010 (read only) / Interfacing / Re: i2c and a Dallas RTC Anyone?? on: January 24, 2007, 03:50:47 pm
nice!

I'm working on a 2 digit clock, myself.. Unfortunately I may have just somehow wrecked my ds1307 - also on a carrier board from sparkfun..

lately when I make a request for data from it, it gives me junk data. I'm not sure how I would have wrecked it, but it certainly appears as such.

I also just ordered the atmega168 so I can use i2c and an LCD in a sketch... currently you can just BARELY do it before you're out of space. Making a request and putting it up on the LCD raw leaves me w/ like 4 bytes.

I also think my code for culling the digits is a little fat. I'll try to post it up once I get home...

-JF

11  Forum 2005-2010 (read only) / Interfacing / i2c and a Dallas RTC Anyone?? on: January 04, 2007, 04:12:32 pm
Has anyone used the new i2c functions in the arduino 006 or 007 to read a dallas DS1307 real time clock? How would I go about implementing something like that in code and spitting out the time over the serial port? What Pins should things be hooked to and how would I use the Wire lib to call the time in from the clock chip?

Thanks!

Any direction would be of great help...

-Jeremy
12  Forum 2005-2010 (read only) / Interfacing / Multiple RGB Leds? on: January 22, 2007, 11:49:42 am
I was wondering if it was possible to somehow control multiple RGB LED setups in a similar manner to doing multiple 7-segment displays by switching the cathode on down the line. My stumbling block comes when I would want to set the first color - Sink the cathode, Set each of the PWMs, Then Sink the next Cathode and Set the PWMs etc.. down the line. I haven't actually implemented it yet, but I feel as though my colors would all be incorrect since I would basically have the PWM settings from the first before I switch them over to the next..

Is there any way to say, in one command, Pin 2 set to high, pin 9 to 128, pin 10 to 64 and pin 11 to 255? Ideally I'd like to control as many RGB leds as digital Pins..

can this even be done w/ the stock arduino or is there a led driver that I would find really interesting? heh...

Thanks!

-Jeremy
13  Forum 2005-2010 (read only) / Interfacing / Logging Solar Power... on: September 19, 2006, 01:02:03 pm
Hello,

I've got a small solar cell and the arduino board. I would like to find which window in my apt has the best chance at placing a solar charger for phones, ipods and other devices we have. What would be the best way to use the cell I have w/ the arduino to measure voltage and current and store several days worth of readings? Even more ideal would be to plot those readings somehow aftwards and have the arduino operate on its own. I would like to place it in several windows, log the info over a few days and compare the graphs from each to see which would be best...

Any suggestions or starting points?

-Jeremy
14  Forum 2005-2010 (read only) / Interfacing / 12v PWM? on: September 03, 2006, 02:43:43 pm
Hello,

I've got the arduino board and a few of the LED light bars from Sparkfun. These are the bars w/ 3 bright LEDs packaged up w/ limiting resistors and protection diods --- they absorb 30mA at 12volts. So, I've got 6 of these things I'd like to control w/ the arduino with full dimming ability.. I've been away from basic electronics long enought to not be sure how to approach this. Any help would be greatly appreciated.

Would I use a mosfet to take the load controlled off of the PWM port of the arduino board? How exactly should I go about this?

Thanks!!

-JF
15  Forum 2005-2010 (read only) / News / Re: Arduino 0006 released. on: November 07, 2006, 09:06:32 am
ahh.. think it's just a square wave output from the device. I don't belive it's necessary at all. Thanks for the info!
Pages: [1] 2