Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Troubleshooting / Re: Send more than a byte on USB on: April 01, 2006, 02:20:09 am
Yes, it's about sending almost strings, knowing where is the beginning, where is the end. Hmm, yeah, the delay(10) is an option. Also, this is an option too :

void printNewLine() {

I mean almost string because I want to send (and receive !!) :
 * an int as a selector
 * let say a double (two bytes) would be ok
 * an end of line (or a pause)

There must be a universal way to do this in the microcontrollers' world. :-)
2  Forum 2005-2010 (read only) / Troubleshooting / Send more than a byte on USB on: March 14, 2006, 12:46:46 pm

I need to send more than a byte to my computer via USB. My Arduino is interfaced to Pure Data. There are 2 reasons why I would need more than a byte to store data :

  • I need selectors : I am gonne route the informations if it is this or that sensor that sends it
  • I need more precision, especially that the analog pins are 10 bits !

So, I thought I would define 0x0000 as a EOF long code. The first char that wouldn't be 0x0 would be a message, but then, what if I want to send 0? This issue must have been discussed somwhere else. Thanks,

3  Forum 2005-2010 (read only) / Interfacing / Re: Arduino + PHP on: April 14, 2008, 07:51:06 pm
Hi !
Socket (network) communication is pretty easy in PHP. You might need to be root, or something, though.  ;D

4  Forum 2005-2010 (read only) / Troubleshooting / Re: Best rechargeable battery setup for Arduino BT on: August 28, 2008, 05:09:24 pm
It seems like recharging a battery is pretty straightforward. Just apply a DC voltage to the battery : plug +Vcc to Vcc, and GND to GND. We need a diode that makes sure the current only goes from the supply's +Vcc to the battery's +Vcc. That's it.

Now, I am currently looking at a 5V DC/DC converter to get 5V out of pretty much any voltage, it seems. With 2 AAA it should work. The Minty Boost from Lady Ada uses a LT1302. See and,C1,C1003,C1042,C1031,C1060,P1029

Though, this setup wouldn't last very long. It is a very nice IC for a small circuit that doesn't use much current, or is not intended to last so long. Also, note that a 7805 5V voltage regulator does heat up when used with a voltage of 7V or more. A DC/DC shouldn't create heat. It think it also doesn't burns Amperes-hours, which makes it a better solution than a 7805.



5  Forum 2005-2010 (read only) / Troubleshooting / Best rechargeable battery setup for Arduino BT ? on: August 14, 2008, 03:47:54 pm
Hi !
I just want to know what is the best battery setup for the Arduino BT. I want rechargeable batteries. The Arduino BT expects 5V pretty much... Should the ideal solution use a 7805 voltage regulator ? a DC-DC converter ? 9V batteries ? A very big 6V battery ?

My setup should be easily rechargeable using a DC power cable and a switch, for instance. It is for an art installation that uses a Arduino BT. The battery should be recharged every day, or so.

Thanks !
6  Forum 2005-2010 (read only) / Troubleshooting / which servomotor ? on: March 14, 2006, 05:30:40 pm

I was wondering I someone had a servomotor to recommand for using it with the Arduino ? Are there any that would simply work with the PWM outpins ? I am looking for an inexpansive one. smiley

thanks !!
7  Forum 2005-2010 (read only) / News / ANN: The Tween library (0.1 test) on: May 18, 2008, 08:35:32 pm
I just released version 0.1 test of the Tween class/library for Arduino.
It helps creating PWM ramps.

It can run on AVR and UNIX as well.
Any comments or contribution welcome.
Still misses many equations implementations. It is a port of Robert Penner's easing equations.
It might duplicate existing effort. Please tell me if so.

Download from:

Alexandre Quessy
8  Forum 2005-2010 (read only) / News / Re: Pduino - arduino firmware + matching Pd object on: June 22, 2006, 03:58:14 am
Yeah ! Rock on.

This is the the perfect tool for anything using a computer. Then, we still can program specifc firmwares for when we want to do stuff that won`t use a computer.

Let`s make it better and port it to other softwares. (but PD is my favorite)


9  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: 'midi in" project.... on: August 24, 2006, 09:40:17 am
It is a bit off-topic, but I was wondering if anyone had a schema to interface an Arduino with a MIDI out port. This way, we could send data to a computer using not so many resources as when we use the serial port emulation.

An other interesting project would be to interface it with an Ethernet port. Then, it could be powered over Ethernet, and send and receive data.

USB is good, but Ethernet and MIDI can be very interesting too. But this is getting much off-topic.  smiley-wink
10  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Pulse heart sensor? on: August 23, 2006, 05:36:37 pm
Hi !
I want to do the same thing.

Maybe a LED and a light sensor. (with a voltage divider) Also, we could use a sound sensor like on this page :

Then, we would need to measure the analog in over time, and record peaks frequency using something like the Metro library.

11  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: play sound files with arduino on: September 18, 2006, 01:28:52 pm
Use Pure Data.

It is free and very easy. Use SimpleMessageSystem with readansyf~ or something.

12  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Battery power for arduino on: August 20, 2006, 11:58:55 pm
5V and ground inputs : do you mean the 21mm jack ?

Otherwise, could we plug it in the POWER 5V and GND holes ?

I think the easiest thing I could do would be to solder a battery socket with a 21mm jack. :-)
13  Forum 2005-2010 (read only) / Frequently-Asked Questions / Re: Battery power for arduino on: August 20, 2006, 06:27:05 pm
So, if 7.5 Volts is Ok, what about the Intensity ?

Would a normal 9 Volts battery be Ok ? If so, I guess I would need to modify a 2.1mm power chord and solder it with a 9V battery socket ?
Pages: [1]