Show Posts
Pages: [1]
1  Forum 2005-2010 (read only) / Interfacing / Re: Melexis SMBus IR Thermometer - NFI on: September 14, 2010, 06:07:54 am

i have tried the codes too, but no output appear at all. i think it is stuck in the i2cmaster. even the printf doesnt work at all but when i remove the i2cmaster.h and comment out the unnecessary codes-left only the prints--it works. so i believe it is caaused by the i2cmaster.h

anybody could help?
i guess every1 is having the same problems too

thank you
2  Forum 2005-2010 (read only) / Interfacing / interfacing BLUESMIRF with arduino on: October 07, 2010, 02:06:28 pm
hi guys,

i am having difficulty with interfacing BLUESMIRF GOLD with arduino. the amount of resource on the net on bluesmirf is depressing and not completely accurate i believe. one of the few i found is:

i have tried setting up everything according to this tutorial. i use bloseleil software for bluetooth connection and 115200 baudrate for the bluesmirf(both set on the arduino0021 and processing side, and the com port on the device manager).

 i believe this is the correct baud rate as previously it was 9600 and the light does not on. but now when i press the red button on the processing program, the light ON.however, when i try to  press another button, message saying "error inside serial.write()" appears in the processing display. it is always like that, i can only press once and when i try to press anything else again, then the error message comes out.

when the error happens, it points out to the "port.write('H');" or "port.write('L');" depending on the button on the second instance i press. is that something wrong with the processing serial? or my setup.

it took me 3 days to reach to this point to set up the bluesmirf, why cant sparkfun just make a complete 2 page guide on how to set up the bluesmirf with arduino and processing.why they got to lose? i am pretty dissapointed on their support on their bluesmirf. i believe what i am facing is faced by many others that bought bluesmirf too. hope this article could help.
3  Forum 2005-2010 (read only) / Interfacing / Re: READ Radio control car inputs with arduino on: August 31, 2010, 03:19:55 am
no worries man, it pretty useful too, i wont know if you didnt mention, thanks guys for the advices.

man interupt is pretty complex but i will give it a try after trying readanalog and pulsein. i dont have the time to try out yet today cos i am still waiting stuff.

oya, what i need to read is 2 channel from the receiver which is the  pulseout to the ESC and pulseout to steering servo from the receiver.

i am going to try it with arduino duminelove first then if i succeed i gonna replace it with smaller footprint chip - arduino mini pro that i can fit onto the car.

i believe i can control the steering servo and motor ESC with PWM of 1.2ms-1.5ms. however, my problem is to read the inputs (channel 1 for the ESC and channel 2 for the steering servo) from the receiver.

simply put, i need to have the arduino as the middleman between the receiver and (motor esc, steering servo).
so whatever pulses come out of the receiver have to go through the arduino first but the RC car has to be able to operate as NORMAL(meaning i can control and run it as default with the transmitter with no negligible bottlenecks or variations).

guys ,can you tell me how to upload pictures here, it tried pressing insert image but only words came out. i got the schematic that i can show.

4  Forum 2005-2010 (read only) / Interfacing / Re: READ Radio control car inputs with arduino on: August 30, 2010, 12:13:11 pm
heloo, thank you guys for the replies

actually the big picture of my project is " radio control car with roll-over detection". microcontroller with IMU to be integrated with the radio control car system(receiver, ESC and steering servo).man,i cant paste pictures here can i? if not it would be easier since i have the rough schematic. anyway part of the objective is to be able to read the RC receiver inputs.

i came across an idea of either using pulsein(which i am not sure at all it will work) or use analogread(to read voltage value straight from the receiver)(i believe that pwm generated from the receiver is simply a varying voltage perhaps 0v-5v that could be read in the arduino then i can output exactly the same voltage to the motor ESC, what do you guys think? i am going to try this idea today).

i want to try the interrupts you suggested but i really do not know at all about it, any references or sample code?

thanks guys

5  Forum 2005-2010 (read only) / Interfacing / READ Radio control car inputs with arduino on: August 29, 2010, 09:59:31 am
halo people,

i am making a project where it involves an RC car(i am using traxxas 1/16 e-revo) and integrated with arduino.

the idea is this: the car would normally be run with the provided radio control transmitter. i want the arduino to be able to read the pulse input (perhaps i can use pulse in -advice me!!) from the RECEIVER of the radio-control. when the arduino acknowledge the pwm from the transmitter to receiver, then the arduino can send the corresponding PWM to the ESC(electronic speed control) then to the motor. i want the arduino to have the capability to read the input i press from the radio control transmitter which is sent to the receiver.

when the arduino can read the inputs, i believe i can do hell lots of manupulating of the RC behaviour with the arduino. (this is one of the main of obstacle of my project). anybody has suggestions?

oya one, just wanna this is the rough idea without any pulses manupulation(so take input from receiver and output to the ESC)
can i use the code like this:

"pulsein (read from the receiver) = pulsout(write to the ESC-motor)"

therefore, it will act exactly the same as the default radio control function but with the arduino as the middleman and able to read what is happening.
thank you in advance

RC - robotic freak
Pages: [1]