Go to advanced search

by moallen
Tue Apr 02, 2013 5:05 pm
Forum: Automation, sensing and robotics
Topic: TTL Serial Camera
Replies: 34
Views: 19300

Re: TTL Serial Camera

Your RPi should be OK if you can see what you type when tx and rx are jumpered. If you're going to go for a different camera, here's the one I'm on the waiting list for: http://www.mcmelectronics.com/product/28-17733 I think MCM is supposed to have it in stock in 14 more days. This is the one design...
by moallen
Tue Apr 02, 2013 2:12 pm
Forum: Automation, sensing and robotics
Topic: TTL Serial Camera
Replies: 34
Views: 19300

Re: TTL Serial Camera

feroze: Here's a few more things to try. If you have a USB/FTDI/TTL adapter, you can use it to try a different serial port with your RPi. I just now successfully tested and ran my camera on it. This would eliminate whether or not your RPi's standard serial port is causing a problem. My RPi recognize...
by moallen
Tue Apr 02, 2013 3:06 am
Forum: Automation, sensing and robotics
Topic: TTL Serial Camera
Replies: 34
Views: 19300

Re: TTL Serial Camera

hmm... it sure sounds like your outdoor version of this camera works differently than mine. I've been looking around for a Linux serial terminal emulation program that can send & receive frames or blocks of data in various formats. That's what we need to test the camera from the RPi like I've tested...
by moallen
Mon Apr 01, 2013 11:29 pm
Forum: Automation, sensing and robotics
Topic: TTL Serial Camera
Replies: 34
Views: 19300

Re: TTL Serial Camera

Check out this protocol sheet: http://www.adafruit.com/datasheets/VC0706protocol.pdf in hexadecimal 86 is 0x56 and 118 is 0x76 which match send and receive protocols. in checkReply() its looking for r = [118, 0, 38, 0] but it tries to match it with r = [86, 0, 38, 0] whats going on? btw I have the ...
by moallen
Mon Apr 01, 2013 11:18 pm
Forum: Automation, sensing and robotics
Topic: TTL Serial Camera
Replies: 34
Views: 19300

Re: TTL Serial Camera

Have you tried to communicate with the camera from a Windows computer? For example, using their VC0706 COMM tool? It's complicated but would also be a good way to test the camera. Here's the tests I did using another com program RealTerm (also from Windows). I used it because it's easier to send str...
by moallen
Mon Apr 01, 2013 11:11 pm
Forum: Automation, sensing and robotics
Topic: TTL Serial Camera
Replies: 34
Views: 19300

Re: TTL Serial Camera

I just reread through your posts and have a couple questions. Did you go ahead and disable getty and kernel console output on ttyAMA0? BTW, that won't affect SSH or VNC. It only disables a direct console connection. I use SFTP, SSH and VNC all the time with my RPi's. Also, have you verified your RPi...
by moallen
Mon Apr 01, 2013 1:12 pm
Forum: Automation, sensing and robotics
Topic: TTL Serial Camera
Replies: 34
Views: 19300

Re: TTL Serial Camera

I might be reading your post incorrectly, but it sounds like you have the camera's Tx connected to the RPi's Tx and the camera's Rx connected to the RPi's Rx. If that's the case, be sure to reverse Tx and Rx. In other words, the camera's transmit data on Tx needs to go into the RPi's receive data pi...
by moallen
Fri Feb 22, 2013 6:30 pm
Forum: Automation, sensing and robotics
Topic: Bit Streams
Replies: 0
Views: 360

Bit Streams

Been trying to wrap my head around something... Let's say we have a stream of bits transmitted by a 433.92mhz device, and my goal is to replicate it using a 433.92mhz transmitter controlled by a computer program. If feed the original signal into Audacity (an audio capture/analysis program), I see a ...
by moallen
Fri Feb 22, 2013 1:20 am
Forum: Automation, sensing and robotics
Topic: ArduinoCommand - Raspberry PI --> Arduino
Replies: 24
Views: 19384

Re: Piwi : 433.92 Mhz Arduino <-> Raspberry PI

Geoff: [quote="Hoagie"]Here's my code to dump out the time spent in the high and low states. From this, you can estimate the timing values needed in the reading code. Could you be more specific about how to use the dumptime values to adjust your rfin code above? I'm receiving codes from a Woods Wire...
by moallen
Thu Feb 14, 2013 10:39 pm
Forum: Automation, sensing and robotics
Topic: TTL Serial Camera
Replies: 34
Views: 19300

Re: TTL Serial Camera

The Gertboard isn't required at all. I have one so I try to use it to protect the RPi's GPIO pins. But sometimes I don't bother to connect it, if it's not already hooked up. Not sure about video. Haven't tried that on the RPi yet. It did work ok when I had the camera connected to my regular laptop. ...
by moallen
Tue Feb 12, 2013 4:35 pm
Forum: Automation, sensing and robotics
Topic: Home Energy Monitor & Control System
Replies: 1
Views: 3287

Re: Home Energy Monitor & Control System

I won't post it here, because it's part of the Phidget interface connected to my RPi. But if you are interested in how I added remote control of my fireplace's gas logs to my RPi home energy monitor & control system and the Python code, check it out here: http://allenmlab.blogspot.com/2013/02/home-e...
by moallen
Tue Feb 12, 2013 2:27 pm
Forum: Automation, sensing and robotics
Topic: Temp Sensor
Replies: 5
Views: 1153

Re: Temp Sensor

I've been thinking of getting a couple of those. Keep us posted on how well it works with the RPi.
by moallen
Mon Feb 11, 2013 2:44 pm
Forum: Automation, sensing and robotics
Topic: Home Energy Monitor & Control System
Replies: 1
Views: 3287

Home Energy Monitor & Control System

This post describes the conversion of my home energy monitor & control system from a Windows computer over to my RPi. It had been running fine for about 4 months, logging and charting data, but I just had to find out if my RPi could handle the same workload. First my utility room - this part of the ...
by moallen
Fri Feb 08, 2013 2:42 am
Forum: Automation, sensing and robotics
Topic: Optoisolators and the GERT Board enquiry???
Replies: 3
Views: 646

Re: Optoisolators and the GERT Board enquiry???

If you connected an optoisolator to any of the Gertboard's buffered pins or open collector outputs, the RPi would still have to tell the Gertboard what to do with those lines. The GB does have a separate Atmega328 that could be programmed to make decisions much the same as if you connected an Arduin...
by moallen
Fri Feb 08, 2013 2:28 am
Forum: Automation, sensing and robotics
Topic: Analog Light Sensor - SPI Interface
Replies: 3
Views: 4960

Re: Analog Light Sensor - SPI Interface

That's an interesting idea. The MCP3002 and 3008 can operate on a supply voltage of 2.7 to 5.5 volts. So, I suppose you could power it with the RPi's +5V and monitor RPi's +3.3V. I believe its digital ouput is not affected by its supply voltage level, as long as the supply stays .5V above what it is...
by moallen
Fri Feb 08, 2013 2:11 am
Forum: Automation, sensing and robotics
Topic: Analog Temperature Sensors
Replies: 0
Views: 1692

Analog Temperature Sensors

This case study uses the Raspberry Pi's SPI interface to communicate with a MCP3008 Analog to Digital converter IC chip which has a pair of TMP36 temperature sensors connected to its CH0 and CH1 inputs. The MCP3008 converts the TMP36's DC voltage (analog) output into a number (digital) which is read...
by moallen
Fri Feb 08, 2013 2:06 am
Forum: Automation, sensing and robotics
Topic: 8 Channel 12 Bit A/D Converter
Replies: 3
Views: 2817

8 Channel 12 Bit A/D Converter

The small prototyping area on the Gertboard is an ideal location to mount a MCP3008 analog to digital converter IC chip. Both +3.3V and ground are nearby, as well as access to the incoming SPI interface pins. The MCP3008 is a low cost 8 channel 10 bit analog to digital converter with a SPI interface...
by moallen
Fri Feb 08, 2013 1:56 am
Forum: Automation, sensing and robotics
Topic: TTL Serial Camera
Replies: 34
Views: 19300

TTL Serial Camera

For this test I am using Adafruit's VC0706 TTL serial camera. These are intelligent and impressive little cameras. The interface consists of just 3 wires; Tx, Rx and Gnd. Although the camera itself requires +5V, the interface functions at +3.3V levels making it ideal for connecting to a RPi. The def...
by moallen
Fri Feb 08, 2013 1:49 am
Forum: Automation, sensing and robotics
Topic: USB WebCam
Replies: 0
Views: 1507

USB WebCam

I have tested 2 different type cameras on my RPi; a USB WebCam and a TTL Serial camera. In this post I'll briefly discuss using a USB WebCam with my RPi. I have tried a couple different Gigaware USB webcams. One is model 25-1177, 1.3MP webcam with a built-in Mic. The other is a model 11A10. It's a 2...
by moallen
Fri Feb 08, 2013 1:34 am
Forum: Automation, sensing and robotics
Topic: Motion Sensor - Digital Input with Interrupt
Replies: 0
Views: 836

Motion Sensor - Digital Input with Interrupt

While there are library modules (wiringPi and RPi.GPIO for example) available that handle interrupts, I have taken a more direct approach for this test and used the poll function in the GPIO facility in Linux. http://allenconnections.com/rpi-images/motion-sensor/motion-sensor-1.jpg For the sake of c...
by moallen
Fri Feb 08, 2013 1:23 am
Forum: Automation, sensing and robotics
Topic: Motion Sensor - Digital Input
Replies: 0
Views: 2320

Motion Sensor - Digital Input

The Parallax #555-28027 (Radio Shack 276-135) motion detector is an ideal sensor for use on the RPi. It is a PIR (Passive Infra-red) device that can operate on a supply voltage 3 - 6 volts. As long as a +3.3V supply voltage is used, it will output +3.3V when it senses motion and won't require a leve...
by moallen
Fri Feb 08, 2013 1:13 am
Forum: Automation, sensing and robotics
Topic: 16 Channel 12 Bit PWM/Servo Driver - I2C Interface
Replies: 8
Views: 12509

16 Channel 12 Bit PWM/Servo Driver - I2C Interface

One of the features missed on the RPi by Arduino and other micro-controller users are PWM output pins. The RPi does have 1 PWM output pin, but even it is shared by the audio system. It should be noted that PWM outputs are really not appropriate for a computer running Linux, Windows or any other high...
by moallen
Fri Feb 08, 2013 12:57 am
Forum: Automation, sensing and robotics
Topic: RFID Reader - UART Interface
Replies: 1
Views: 9703

RFID Reader - UART Interface

In this lab test we have connected a Parallax #28140 RFID reader to our RPi using a serial connection. The reader outputs a RFID tag's ID as a 12 ASCII character serial string when the tag is placed near it. Connections and programming are fairly simple to accomplish. http://allenconnections.com/rpi...
by moallen
Fri Feb 08, 2013 12:42 am
Forum: Automation, sensing and robotics
Topic: 4 Digit 7 Segment Display - I2C Interface
Replies: 4
Views: 4882

4 Digit 7 Segment Display - I2C Interface

Adafruit's 4-Digit 7-Segment display with its companion HT16K33 backpack is the focus of this post. This display requires just 4 wires, including +3.3VDC and Gnd. The other 2 wires are used by its I2C interface consisting of the SDA and SCL signals. As seen in this photo, +3.3VDC and Gnd are supplie...
by moallen
Fri Feb 08, 2013 12:27 am
Forum: Automation, sensing and robotics
Topic: Analog Light Sensor - SPI Interface
Replies: 3
Views: 4960

Analog Light Sensor - SPI Interface

One of the first things a hardware oriented person is going to want to use with the RPi is an analog sensor. What? The RPi doesn't have any analog inputs? Not to worry. For little more than $2.30 a couple analog input channels can be added to the RPi's GPIO pins. For this test, I interfaced a 2 chan...

Go to advanced search