phib3r_0ptik
New Member
Hi,
I am in the process of making a project that involves communicating with an iPod from a picaxe 08M.
I have successfully made an interface, which works with my computer, and an AVR. I am now trying to get it to work with the picaxe. It requires a 9600 baud rate, then hexdecimal commands. I am using the following code:
setfreq m8
pause 900
sertxd($FF, $55, $03, $02, $00, $01, $FA)
sertxd($FF, $55, $03, $02, $00, $00, $FB)
When I connect it to a serial terminal (on the computer) it transmits identical signals to the AVR and the computer, but when I connect it to the iPod nothing happens. I have double-checked the connections, and tried connecting the AVR in place of the Picaxe, which works fine. When I put an LED across the TX and GND it blinked for both the AVR and the Picaxe, but I noticed that it was less bright from the picaxe. I have a feeling this could be related to the problem, but as I do not have a lot of experience with this, or proper testing equipment (no oscilloscope )
Does anyone have any suggestions or advice on how to get it to work?
Any help would be greatly appreciated. Thanks.
I am in the process of making a project that involves communicating with an iPod from a picaxe 08M.
I have successfully made an interface, which works with my computer, and an AVR. I am now trying to get it to work with the picaxe. It requires a 9600 baud rate, then hexdecimal commands. I am using the following code:
setfreq m8
pause 900
sertxd($FF, $55, $03, $02, $00, $01, $FA)
sertxd($FF, $55, $03, $02, $00, $00, $FB)
When I connect it to a serial terminal (on the computer) it transmits identical signals to the AVR and the computer, but when I connect it to the iPod nothing happens. I have double-checked the connections, and tried connecting the AVR in place of the Picaxe, which works fine. When I put an LED across the TX and GND it blinked for both the AVR and the Picaxe, but I noticed that it was less bright from the picaxe. I have a feeling this could be related to the problem, but as I do not have a lot of experience with this, or proper testing equipment (no oscilloscope )
Does anyone have any suggestions or advice on how to get it to work?
Any help would be greatly appreciated. Thanks.