Show Posts
Pages: [1] 2
1  Development / Suggestions for the Arduino Project / Bug/Request: Line numbers in the editor! (to correspond with error messages) on: June 01, 2012, 12:00:09 pm
It's a little absurd that there are compiler errors that produce line numbers, but we can't see line numbers in the editor.  smiley
2  Forum 2005-2010 (read only) / Bugs & Suggestions / Re: Default Input Pins to HIGH on: September 10, 2009, 09:45:20 pm
i don't know about that, udo.  i'm trying firmata for the first time and floating pins seem to be wreaking havoc.  the example i'm using is watching the state of all of the pins all of the time, and they're constantly changing whenever i touch the board.

3  Forum 2005-2010 (read only) / Bugs & Suggestions / Missing image on the Standalone Arduino page on: September 26, 2008, 08:29:32 pm
Hey, the image that used to appear on the Standalone Ardunio page in the playground ( is missing.  It looks like the image file that was being hosted has disappeared.  The text references the image so it kind of needs to be fixed.  It seems like it would be much better to have the image hosted on the server so this doesn't happen again in the future - how can we make that happen?  

I have a copy of the image that I had saved on my computer a long time ago.  If worse comes to worst, I'll host it and change the link but again.. seems like it would be better on the actual server to avoid probs in the future.

4  Forum 2005-2010 (read only) / Development / Re: Arduino bundle for TextMate on: October 01, 2007, 09:08:06 am
If anyone is using TextMate to write straight C code using avr glibc, this might help:

Good luck,
5  Forum 2005-2010 (read only) / Troubleshooting / Re: Programmer is not responding: Other simple cau on: November 16, 2006, 04:28:11 pm
Just in case I'm not the only one to be caught out by it, I'll draw attention to a far simpler cause of this "programmer is not responding" error:

When the GUI says "RESET the board right before exporting", it means press reset and then export immediately.  Do NOT wait on the board appearing to "come back to life" - by then the upload opportunity will have passed.

Dear God, thank you.  I've been hunting all over the web trying to solve this and it really is the fault of the documentation that I've read, I guess.  Nothing that I read made it clear that I was to upload before the bootloader was booted again.  Hopefully some of the (many) others out there with this error can solve it by just changing their sequence of steps.  Thanks a lot.

6  Forum 2005-2010 (read only) / Interfacing / Re: analog in to 4 bit LCD driver on: December 05, 2006, 01:45:07 pm
hey neill,

thanks a lot for the info - sorry it took so long to take another stab at it.
i definitely did not have RW tied low so i made that change and your random fruit example is working now!
you can add this device to your HCL i guess.  smiley  (at least, it works with one of the two display lines)

also, being new to datasheets (and microcontrollers, and electronics, and...), i'm having a hard time figuring out how to get the backlighting for this thing to work.  the datasheet is sort of confusing to me - it seems like I can use pins 1&2 *OR* 15&16 *OR* the two pads on the side of the display?  

also, it seems to say that it wants 4.2V for the backlight.  i had read somewhere that i could use the ~.7V voltage drop of pretty much any diode to get me in that range from our normal 5V.  my multimeter is saying that i'm at 5.06V without a diode and 4.8V with the diodes i've tried - a little too high?  maybe i've already fried the backlighting because i think i may have given it the 4.8V while i was playing around -  i remember seeing backlighting for a moment at some point.  smiley

thanks again for the help,
7  Forum 2005-2010 (read only) / Interfacing / Re: analog in to 4 bit LCD driver on: November 17, 2006, 12:39:35 pm
I was able to get the LiquidCrystal library to work okay with this:

Since it only works with 1 of the 2 lines, I wanted to try the LCD4Bit library instead.
(and of course I'd like to use less pins)

The example doesn't work - I haven't changed any of the wiring but looking at the code,
it seems that it uses the same pines as LiquidCrystal.

Anyone else used this specific display or am I out of luck with LCD4Bit?

Thanks for any info,
8  Forum 2005-2010 (read only) / Interfacing / Re: use arduino to control a Nintendo with SPI on: November 30, 2008, 08:22:45 pm
I'd skip SPI and just bit-bang it.  Or you might try using an actual shift register - just to make the software simpler and the whole thing a little easier to troubleshoot?

9  Forum 2005-2010 (read only) / Interfacing / NESpad - Nintendo joystick library for Arduino on: October 01, 2007, 08:28:18 am
FYI, I created libraries for Arduino that let you interface with a Nintendo or Super Nintendo joystick.  It's not all that complicated, but the joysticks use a shift register to send the button and joystick states serially.  This library takes care of that communication so you can easily find out the state of the game pad.  There are some interesting possibilities since some Nintendo joysticks have features like Turbo and Slow Motion and there are accessories for things like wireless joysticks using RF.  All of these things can be found at thrift stores pretty cheaply, so I think this could come in handy.

You can download it here:

Let me know if you have any problems with it.  One thing I'll probably do if someone asks for it is make the NESpad object take the pin numbers as an argument.. this would (a) allow you to use multiple joysticks at the same time by creating multiple NESpad object instances using different pin numbers and (b) keep you from having to edit the line in the C source if you use different pin numbers than I've hard coded.

This is a quick test that I did to show that the library works - a MIDI controller using an NES Advantage joystick as the input device:

Good luck!
10  Forum 2005-2010 (read only) / Interfacing / Re: Simplest way to interface with an MP3 player? on: March 03, 2007, 11:49:14 am
I bought two last week.. haven't gotten them just yet.

It seemed like a better solution than the ipod for this case.
I couldn't find a dirt cheap ipod - everyone wants to buy them to fix em so even ones with cracked screens, broken hold buttons, broken earphone jacks, etc go for more than a VMUSIC1.
Also, it will draw less power and after this piece is taken down, I'll be able to use the VMUSIC for things other than playing music because of its writing capabilities.
Lastly, it's smaller than an ipod and that size difference actually matters for this application.

BTW, there's an article about using the VMUSIC1 to make an mp3 player in NUTS & VOLTS this month.

11  Forum 2005-2010 (read only) / Interfacing / Re: Simplest way to interface with an MP3 player? on: February 21, 2007, 11:09:30 am
That's cool - it would be really nice for this project and it looks like it's available now but there's not enough technical info about it yet.. the datasheet just has a diagram of the board.  The website says that it uses the VDIF command set (presumably with some extra commands like PLAY or something) but the VDIF docs don't have the VMUSIC1-specific commands in there yet.  Someone on the avrfreaks forums said he got one already but now he's finding the same thing - there are no docs.
12  Forum 2005-2010 (read only) / Interfacing / Re: Simplest way to interface with an MP3 player? on: February 07, 2007, 06:00:48 pm
Interesting.. I made an amplifier with the LM386 last week (my first real from-scratch project i guess) and it was pretty loud with a 5" speaker that I used.  And that was with the volume pot very low and using the minimum gain!  In this case, the speakers will be small so it should definitely work.  
13  Forum 2005-2010 (read only) / Interfacing / Re: Simplest way to interface with an MP3 player? on: February 07, 2007, 12:59:00 pm
That first link gives the details on the remote control and this one shows the pinout of the dock connector:

(it's in this month's issue of Nuts and Volts also)

As far as I can tell, the serial pins are TTL (that's always 5v right?).  Pin 18 is 3.3V, USB power is at 5V and the firewire power is actually 12V.  

I'm hoping that I can connect the firewire +12V/GND pins to the 12V battery that's going to be in the sculpture (i'm sure it's not that simple right?).  Use the serial pins to communicate from the arduino over the serial pins at TTL levels and finally hijack the audio out lines to go to several speakers on the sculpture. Not sure if I'm making sense but it seems logical to me?

Also, related to the audio out lines going to several speakers - I'm going to try it but maybe you all know already.. I was planning on building simple LM386 amplifiers for that output and I'm wondering if I would split the audio outputs and send that to say 5 separate simple amplifiers for 5 different speakers?

14  Forum 2005-2010 (read only) / Interfacing / Re: Simplest way to interface with an MP3 player? on: February 06, 2007, 06:26:30 pm
Thanks, I knew I saw something like that somewhere before.  I'm in the process of getting a hold of an ipod and if I come up with a neat library for controlling all of the ipod features via the rx/tx pins in the ipod dock connector port i'll post it.  Shouldn't be too hard, even for a complete mc novice like me.  smiley
15  Forum 2005-2010 (read only) / Interfacing / Re: Simplest way to interface with an MP3 player? on: February 06, 2007, 12:19:55 pm
awesome thanks for the TTL info and also for the daisy link.  good to know about that player but it's way out of my budget considering  there's a 10% chance that weather or vandals could keep me from retrieving the parts of this public piece after its 6 month stay outdoors.  if i can get an ipod for < USD$20 i wouldn't cry if i didn't get it back.  smiley

Pages: [1] 2