Cm11a raspberry pi


Switch Editions? Channel: The Raspberry Pi Hobbyist. Mark channel Not-Safe-For-Work? Are you the publisher?

Claim or contact us about this channel. Viewing all 60 articles. Page 1 Page 2 Page 3. Browse latest View live. It's Chrismas 37mm fireworks July! My Raspberry Pi has finally arrived. I logged on and entered "startx" to begin the graphical interface.

Binding for X10 CM11A

Gave it a test drive. The processing power is on the low side but still pretty good. A powerful graphics chip makes p HD video possible.

I am impressed. The command line via SSH is used to build it. My next post will describe the hardware interface I an building - serial port, 8 inputs, 6 relay outputs. Prototyping the serial port interface. The most useful of these are the serial port pins 8 and 10, which are transmit and receive for an RS serial port. By default this port will output diagnostic messages during boot and then provide a user login.

The configuration is 8 bits, no parity, 1 stop bit, no hardware handshaking, at baud. I need to use this serial port to interface to my X10 system via a CM11A computer interface module. That can be a topic for several future posts. First lets cover some important facts about RS and voltage levels. The Pi uses levels that are 0V to represent a zero and 3. Thus, a level converter is required to create this interface.

The MAX series of chips was designed for this exact purpose. These pins connect directly to the microprocessor without any protection. You can destroy the Universe if you wire something wrong. Maybe not that dire, but you get the idea. You may get away with interfacing directly with the GPIO pins I know I have but even if your circuit is designed perfectly, accidents still happen.

Something can fall across the circuit board and short things out. So it is wise to protect your Pi. I am building an interface that will connect to hard-wired alarm circuitry. That means lots of lines running lots of places and just that many more opportunities for bad things to happen. This protection is also a good idea since a lot of people using the Pi will likely be from the younger and less experienced crowd.

Here are some of the options for protecting a logic circuit.The USB serial driver currently supports a number of different USB to serial converter products, as well as some devices that use a serial interface from userspace to talk to the device.

When the device is connected and recognized by the driver, the driver will print to the system log, which node s the device has been bound to. ConnectTech has been very forthcoming with information about their device, including providing a unit to test with.

Subscribe to RSS

The driver is officially supported by Connect Tech Inc. Only when the device tries to connect to the host, will the device show up to the host as a valid USB device.

The driver cleans up properly when the device is removed, or the connection is canceled on the device. This means that in order to talk to the device, the sync button must be pressed BEFORE trying to get any program to communicate to the device. This goes against the current documentation for pilot-xfer and other packages, but is the only way that it will work due to the hardware in the device. The system log should tell you which port is the port to use for the HotSync transfer.

This is true for all OS version 3. See the kernel system log for information on which is the correct port to use. If after pressing the sync button, nothing shows up in the system log, try resetting the device, first a hot reset, and then a cold reset if necessary. Some devices need this before they can talk to the USB port properly.

Devices that are not compiled into the kernel can be specified with module parameters. For any questions or problems with this driver, please contact Greg Kroah-Hartman at greg kroah. Most devices supported by ActiveSync are supported out of the box. For others, please use module parameters to specify the product and vendor id. Once this is done, you can transfer files, backup, download email etc. This driver is only one of a set of components required to utilize the USB connection. Omit the proxy server part; Linux is quite capable of forwarding packets unlike Win Now start up PIE and browse away.

You can also try soft-resetting your PDA before attempting a connection. Other functionality may be possible depending on your PDA. Use at your own risk. Fairly simple device. Firmware is homebrew. For any questions or problems with this driver, please contact Brian Warner at warner lothar. Single, Dual and Quad port adapters - driver uses Keyspan supplied firmware and is being developed with their support.

Other character lengths and parity setups are presently untested. Contact the maintainer if you require this functionality. For any questions or problems with this driver, please contact Hugh Blemings at hugh misc. Please report both successes and troubles to azummo towertech. It has been improved since that previous form to support dynamic serial line settings and improved line handling.

The driver is for the most part stable and has been tested on an smp machine. Most devices using chipsets under the CY family should work with the driver. As long as they stay true to the CY usbserial specification.

The Earthmate starts out at 8N1 by default… the driver will upon start init to this setting. As far as I can tell it supports pretty much every sirf mame4droid chd download as documented online available with firmware 2.How can I listen for data on AMA0 in the console without any other scripts?

Need to stop OS from using the serial port as described in the post. Feel free to use nano in place of vi as the editor. Hopefully not binary data, and line feeds or a lack of them can be a problem to readablility.

Press Ctrl-C to stop If you want a full terminal emulator on the console, you could use minicom. If you are on X you could use gtkterm. Hy, Could you explain more about the purpose of the capacitors? That is the typical MAX chip and does need capacitors. In reality, it will typically only produce around 9V. The chip uses a circuit called a "charge pump" to achieve this. Capacitors are needed to store the additional charge required for this circuit.

MAX chips are intended for 5V circuits. Since the Raspberry Pi is a 3. Also, some versions use external 1uF caps while others use 0. Check the data sheet for whatever chip you use to be sure you have it right.

Using larger caps than required is OK. And the MAX chip needs to be powered from the 3. However, the data pins are 3. Dear Ted, thanks for this manual - this works just beautifully, especially thanks for the schematics. Best regards! I will wait I've just written a neat little Bash script to automate the task of disabling the RPi's serial console, enabling it to be used as a regular 3.

X-10 CM11A ActiveHome Serial Computer Interface NEW X10

I find connecting two Raspberry Pi, that between 10 and 50 percent of echos go missing this way, am I doing something wrong? Hi, I'm trying to do this on a Pi with Xbian installed.Anonymous read-only acccess is available to everyone.

Would you like to post user support requests or other messages, please consider opening an account on GitHub. HEYU is a text-based console program for remotely controlling lights and appliances in the home or office.

Heyu uses the CM11A computer interface to send and receive X10 control signals over the AC power lines to modules which can turn On, Off, or Dim attached lamps or appliances.

It can store a schedule of timed events in the CM11A memory for execution when the computer is turned off or disconnected. Maintain a record of the state On, Off, Dim level of modules based on received or transmitted X10 signals. A variety of different lamp and appliance module types are supported as well as specialty modules like RCS-compatible thermostats and remote thermometers, and shutter motor controllers. Execute scripts or commands based on received or transmitted X10 powerline or RF signals and the recorded states of modules.

Upload schedules of timed events and macros to the CM11A memory for operation without a computer. Events may be scheduled for execution at local clock times or relative to the times of daily Dawn or Dusk. Schedules may be uploaded for the calendar year, or alternatively for a period beginning on the current date and extending a year into the future. Event dates and times are automatically adjusted for Leap Years and periods of Standard and Daylight Time. With an optional CM17A device, transmit X10 RF signals to a transceiver for conversion to power line signals possibly on a separate branch of the AC lineor to an X10 RF receiver connected to a different computer.

Heyu is developed and maintained under Linux. It plugs into an AC socket and connects to the computer via an RS serial port. It has a clock with battery backup and a 1 KB non-volatile memory for stored timers and macros. This device can receive X10 RF signals from standard, entertainment, and security remotes and sensors. Heyu developers respond to bug reports and feature requests to some extent posted on Heyu Issues at GitHub.

If acceppted by the Heyu User Community, members of the Community may start receiving and responding to Heyu as well as X10 and Home Automation questions and problem reports as before.

New releases of Heyu will be announced there. Current activities can be followed on the Heyu project page at GitHub.

Some old development related information can still be found on Heyu development space at Assembla site. Introduction HEYU is a text-based console program for remotely controlling lights and appliances in the home or office. Control multiple CM11A interfaces connected to different serial ports on the same computer. Operating Systems. Website Copyright Charles W.Saturday, December 22, Analog Interface. The capability to read analog inputs is a feature that is greatly missed on the Raspberry Pi, but I agree with the decision to omit this capability in order to keep the price down.

Besides, if they did include an analog interface, many would complain that it isn't adequate for their purpose. How many input channels do you need?

NJ Hackerspaces

What resolution? What throughput rate? Fortunately, there are many analog input chips that use the SPI or I2C bus, making it almost trivial to add analog inputs to the Pi. Add a bi-directional logic level converter and some connectors and you're ready to go. The level converter is on my main interface board which provides two SPI bus connectors.

The analog interface is a simple board which includes a connector for SPI, the MCP chip, a jumper to choose the analog reference, and screw terminals for the inputs. I ended up adding several more screw terminals connected to 5V in order to power thermistors.

The SPI serial bus is full duplex, but the way it works may seems odd to a programmers point of view. It makes perfect sense if you understand how the hardware works.

You may be familiar with how full duplex works on an RS line: data can be sent and received at the same time, but independently. That independence is due to the fact that RS is an asynchronous protocol.

Homeseer x10 control software

SPI is a synchronous protocol; meaning everything is driven by a clock pulse. At the same time data bits are being read in on the MOSI line. The number of bits out is the number of bits you will read back in. This means that you may have to write more bits than expected for a given command and you may read bits that are unused. Fortunately, we don't have to worry much about the ugly details at the lower level.

Here is the source code for a program that I used when testing and calibrating sensors. The easy way to get it loaded is to used the "gpio" utility that comes with the WiringPi library. Just enter gpio load spi and the drivers will be loaded and ready to use. Tuesday, December 4, Dual power supplies is the way to go.Internet of Things Stack Exchange is a question and answer site for builders and users of networked sensors and control devices in the contexts of smart homes, industry automation, or environmental sensors.

It only takes a minute to sign up. Connect and share knowledge within a single location that is structured and easy to search. HEYU is a text-based console program for remotely controlling lights and appliances in the home or office. Heyu uses the CM11A computer interface to send and receive X10 control signals over the AC power lines to modules which can turn On, Off, or Dim attached lamps or appliances.

It can store a schedule of timed events in the CM11A memory for execution when the computer is turned off or disconnected. Thanks to tutorials by Corey MurnaghanI was able to integrate my existing elaborate x10 home lighting system with Amazon Voice Control.

Introduction: Homey - Home Automation

I then replicated it twice for my parents, and a sibling. I have Python scripts that follow the heyu log files to generate alarms. Other scripts use heyu for control. Sign up to join this community. The best answers are voted up and rise to the top. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Learn more. Asked 4 years, 3 months ago. Active 1 year, 10 months ago.

Viewed times. Improve this question. Amit Vujic Amit Vujic 1 1 gold badge 8 8 silver badges 17 17 bronze badges.Catch up on stories from the past week and beyond at the Slashdot story archive. I was actually thinking of going with X once, but the advertising became so annoying that when I finally saw the stuff for sale in a local store I changed my mind and decided to boycott the product instead.

Over 10 million signal packets were tested in over homes across America. A near-perfect success rate of over No, really. A long time ago I lived in an apartment court. About 40 units around a swimming pool. One time I took my X10 controller and sent the "All lights on" code to each of the 16 house codes. After a particular house code, I heard a woman scream in terror. At the top of her lungs. Really dramatic. It's like any other field of hackery: if njoi dealer want its benefits, even those you dream up, you'll tweak it until it delivers.

I'm somewhat hard to wake up at the best of times. Not good when there are kids to be gotten up, fed and clothed and off to catch the schoolbus on time. I use a combination of cron and X10 stuff to turn on lights before the alarm clock so I'm almost awakethen play WAV sounds as timing chimes ygopro mobile a Morse countdown to when each schoolbus is due to go by.

In the evening, the same. A year later I ripped it all out and threw it away. The crap was just too flaky -- the ones that didn't go totally Tango Uniform would change state spontaneously at totally random times.

Changing addresses didn't help at all. For example, you can't fade-up the lights on a home theater room if they were turned off. They first must "pop" to full brightness then fade down. There are complicated ways around this, but they really isn't worth it. There are now 2-way X10 devices. What does the community think? There may be more comments in this discussion. Without JavaScript enabled, you might want to turn on Classic Discussion System in your preferences instead.

Do you develop on GitHub? You can keep using GitHub but automatically sync your GitHub releases to SourceForge quickly and easily with this tool so your projects have a backup location, and take advantage of SourceForge's massive reach. Paul Carver writes " Smarthome has been advertising Insteon for a while now, but I haven't bought any of it, yet. I've accumulated a fair amount of X10 products over the years, including Smarthome branded signal boosters, signal couplers, noise blockers, and troubleshooting tools.

Even so, I'm pretty much fed up with X Nothing I've bought has succeeded in making my X10 system more than 'just barely acceptable' and 'better than nothing but not by much'. A Google search for Insteon doesn't turn up much other than their own advertisements and a couple of vaguely positive but not detailed reviews.

Is this new technology going to take off? The system will be built around an "old" Raspberry Pi Model B Rev 2 connected to a CM11A serial computer interface and an undetermined. Raspberry Pi ($35). SD Card; Power adapter (I use a cell phone charger) · X CM11A ActiveHome Serial Computer Interface ($30) · USB Serial. The serial to USB converter delivered with the CM11a is supported by the raspberry PI already. If you have multiple USB devices please also.

Heyu uses the CM11A computer interface to send and receive X10 control signals over the AC power lines to modules which can turn On, Off, or Dim attached lamps. I have BWS Systems ha-bridge installed on my Raspberry Pi allowing me to control my X10 devices with an Amazon Echo.

You can read my post about how I made. IMPORTANT! As of Febthis plugin is no longer supported by HST. Support is now provided by mfisher on the HomeSeer Forum. This version has been tested. Raspberry Pi B+ & Homeseer Pi X (CM11a) not working Thanks very much Barry. Was that consistently better on the CM11A over several tests? I have a CM11A.

The following command sets up the heyu_relay daemon and initializes the CM11A interface. This can take seconds so please wait until it. I would like to keep using in my Raspberry Pi based OpenHAB system.

Cm11a (X10 controller) - Bindings | openHAB (works with openHAB. Both seem to turn on and off lights OK. But, if connected to Raspberry Pi running Homeseer code it will only acknowledge the controller that sent out the 2 sets. Buy Original CM11A Computer Interface OEM Replacement Serial Cable CM11A-CBL: Serial Cables - ✓ FREE DELIVERY possible on eligible purchases.

Running Openhab2 on headless Ubuntu 14; Plugged CM11a into USB port via serial I have heyu on one Pi and OpenHAB on another so I haven't tried running. The level converter is on my main interface board which provides two SPI bus My CM11a works fine with just Tx, Rx, and GND connected.

Many of the GPIO pins on the Pi have other special uses. port to interface to my X10 system via a CM11A computer interface module. I am running OpenHAB 2 on a Raspberry Pi 3. I have 2 Belkin USB-Serial adapters (ttyUSB0 on my CM11a, and ttyUSB1 on my CM17a Firecracker). I'm running a similar system (x10, Heyu, CM11a, Raspberry Pi, and Bluelava as a frontend.) I'm kind of surprised that there's no module for. Heyu uses the CM11A computer interface to send and receive X10 control signals over the AC power lines to modules which can turn On, Off, or Dim attached.

I use the CM11A to allow an Amazon Echo Dot to control X10 devices in my home. Just set up a Raspberry Pi 3B with full Raspbian OS, heyu, and HABridge. To make it simple let us have cm11a connected to RP. (How?) Then connect the RR to the power line and use my remote to control it(HR12A). Many of the GPIO pins on the Pi have other special uses. I need to use this serial port to interface to my X10 system via a CM11A computer interface.