hi guys how are you?
i was asking how could i control the start here version with a remote control or by the mobile i need an explanasion for how to do it and should i change the programe code for that ?
thanks:)
hi guys how are you?
i was asking how could i control the start here version with a remote control or by the mobile i need an explanasion for how to do it and should i change the programe code for that ?
thanks:)
You’ll want to use the IR
You’ll want to use the IR commands IRIN and IROUT for this. You need to buy a 38KHz infrared receiver and an infrared LED that matches the wavelength of the receiver (like 940nm). The bot will use the IR receiver unit and the IRIN command to detect signals sent by the LED using IROUT. It will send Sony TV codes that get saved to a byte variable (b0 or b1, etc).
You will find more detailed description of the IRIN command on page 125 of the PICAXE User Manual 2 and IROUT is on page 127. There is more info about the commandsthan I care to retype for you
You will indeed need to change some code around. You need to insert the check for an infrared signal somewhere in the repeating loop of the program. I don’t know exactly what you want to do with your remote control. Your coding will be dependent on your application.