Re: raspberrypi expansion module
Posted: Mon Aug 26, 2013 10:07 pm
I am able to upload sketch to an UNO over the RPi's GUIO UART. I am also able to send and receive serial information between the two over the same connection.
It would seam to me if I had the webpage that is running on the RA Wifi card I could setup up on the RPi's web server and have some PHP or Python to do the translating between the to. If this is the case then the RPi could be used as a Wifi card replacement with out loose of portal or phone use functions.
To program the UNO I have to hold down the reset till avrdude start to upload. This will not work for remote uploads to the RA. I have learned that the chip is reset before upload data generally by a DTR pin on arduinos. Is this what the CTR pin on the RA is for? If so we should be able to adapt one of the RPi GPIO pins to do the job, like is is shown herehttp://www.deanmao.com/2012/08/12/fixing-the-dtr-pin/ Would I need a logic level shifter for this pin too?
With this done one would be able to upload sketch from anywhere. The trouble I see with this is that the RA likes to be reset after a sketch. Best idea I got for this is to have the PRi controls a relay that sits on the communication cable. We could have a block with the relay sit between 2 communication cables, and use it to power the RPi. I think this solution could be used to do the programming reset too.
I have been doing most of my base work on an UNO because my RA is running my reef...
Please tell me your thoughts and what I am missing.
It would seam to me if I had the webpage that is running on the RA Wifi card I could setup up on the RPi's web server and have some PHP or Python to do the translating between the to. If this is the case then the RPi could be used as a Wifi card replacement with out loose of portal or phone use functions.
To program the UNO I have to hold down the reset till avrdude start to upload. This will not work for remote uploads to the RA. I have learned that the chip is reset before upload data generally by a DTR pin on arduinos. Is this what the CTR pin on the RA is for? If so we should be able to adapt one of the RPi GPIO pins to do the job, like is is shown herehttp://www.deanmao.com/2012/08/12/fixing-the-dtr-pin/ Would I need a logic level shifter for this pin too?
With this done one would be able to upload sketch from anywhere. The trouble I see with this is that the RA likes to be reset after a sketch. Best idea I got for this is to have the PRi controls a relay that sits on the communication cable. We could have a block with the relay sit between 2 communication cables, and use it to power the RPi. I think this solution could be used to do the programming reset too.
I have been doing most of my base work on an UNO because my RA is running my reef...
Please tell me your thoughts and what I am missing.