raspberrypi expansion module

Request new hardware or ideas for the controller
User avatar
Posts: 5350
Joined: Fri Jul 20, 2012 9:42 am
PostPosted: Fri Oct 05, 2012 4:22 pm
That would make RA the best thing in the universe!!!

Posts: 33
Joined: Thu Sep 20, 2012 2:34 am
PostPosted: Fri Oct 05, 2012 8:23 pm
I would be willing to give this a try. I am a Linux guy in my day job.

Before I bought the RA I was looking at the PI and thinking hmm, a Linux single board computer (with Ethernet and HDMI) would make one heck of a reef controller. I would take the wired Ethernet over WiFi any day.

As it as ARM based it will have way more horsepower for doing the heavy lifting to and from the net than the AVR in the RA. As well all your favourite scripting languages are already available in the package manager (Python, Perl, Java, etc.).

Posts: 12273
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Fri Oct 05, 2012 8:50 pm
Cool.
So basically, the first thing we need is to have some sort of java or any other application that would read UART and send it straight to the portal server. This would take care of sending data to server.
This is the easy part.
The more complex part would be incoming data. When someone connects to PI, we need the webserver to relay messages to RA over UART too.
So, let's say PI webserver is using 192.168.0.100 and port 2000 and you browse http://www.192.168.0.100:2000/ What PI needs to do is send GET / to RA via UART, read the response from RA and relay the reply to the browser.
Do you think you would be able to get this part done?
Roberto.

Posts: 33
Joined: Thu Sep 20, 2012 2:34 am
PostPosted: Sat Oct 06, 2012 3:33 am
I have put myself on the waiting list for a PI at Adafruit.

No need to wait for the PI though. It is a long weekend here, so I will build a small Linux box to start testing with and we can move to the PI once it is available. Hopefully with a working glue layer already to go.

Posts: 33
Joined: Thu Sep 20, 2012 2:34 am
PostPosted: Sat Oct 06, 2012 3:49 am
Anyone know the pinout for the TTL UART port on the RA? I assume it is 5V rather than 3.3V? I was just thinking that connecting my FTDI board to the RA might be the easiest method of gaining access to test some stuff.

Posts: 13
Joined: Fri Oct 05, 2012 11:01 am
PostPosted: Sat Oct 06, 2012 7:40 am
dcartier wrote:Anyone know the pinout for the TTL UART port on the RA? I assume it is 5V rather than 3.3V? I was just thinking that connecting my FTDI board to the RA might be the easiest method of gaining access to test some stuff.


http://elinux.org/Rpi_Low-level_periphe ... .28GPIO.29

The production Raspberry Pi board has a 26-pin 2.54 mm (100 mil)[1] expansion header, marked as P1, arranged in a 2x13 strip. They provide 8 GPIO pins plus access to I²C, SPI, UART), as well as +3.3 V, +5 V and GND supply lines. Pin one is the pin in the first column and on the bottom row. [2]
GPIO voltage levels are 3.3 V and are not 5 V tolerant. There is no over-voltage protection on the board - the intention is that people interested in serious interfacing will use an external board with buffers, level conversion and analog I/O rather than soldering directly onto the main board.
User avatar
Posts: 2744
Joined: Fri Mar 18, 2011 6:20 pm
Location: Illinois
PostPosted: Sat Oct 06, 2012 8:40 am
dave and i started on something that would interface a computer to the controller via the serial interface. feel free to look through it and use the code if you want.

https://github.com/curtbinder/rawebserver

it may be helpful or not. doesn't matter to me if you use it, just trying to help prevent you from reinventing the wheel if possible. :)

Posts: 12273
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Sat Oct 06, 2012 8:47 am
Yes, UART on RA is 5V.
Roberto.

Posts: 133
Joined: Tue May 08, 2012 8:16 am
PostPosted: Mon Oct 22, 2012 11:47 am
This should take care of that problem

https://www.sparkfun.com/products/8745?
Image

Posts: 121
Joined: Wed May 30, 2012 10:44 pm
PostPosted: Mon Oct 22, 2012 2:07 pm
So, when will it be in the store? I'll sell my beer cans and order one! ;-)
Image
PreviousNext

Return to Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron