Archive for the ·

electronics

· Category...

More DealExtreme

Comments Off

A few months ago I listed what I’d bought and looked at on the Hong Kong based site DealExtreme. Here’s another overview, with more electronics and random stuff.

Ordered

Double-Sided Glass Fiber Prototyping PCB Universal Board (12-Piece Pack)Double-Sided Glass Fiber Prototyping PCB Universal Board (3 x 7 / 5-Piece Pack)Prototype Universal Printed Circuit Board Breadboard - Green + Silver3mm & 5mm Light-emitting Diode - Green + Red + Yellow (100-Piece Pack)Breadboard Jumper Wires for Electronic DIY (65-Cable Pack)4 Channel 5V High Level Trigger Relay Module for Arduino (Works with Official Arduino Boards)2-Channel Relay Shield Module for Arduino (Works with Official Arduino Boards)AMS1117 5V Power Supply ModuleEmolux 62mm Multi-Coated UV Lens Filter - BlackSound and Music Activated Multi-Mode Flashling EL Hearts T-shirt - M (3*AAA)Silica Gel Reusable Moisture-Proof Bead Desiccant - BlueMale + Female DC Power Converter Connector Adapters w/ Terminal Blocks For CCTV Camera (Pair)Universal Heavy Duty 6F22 9V BatteryDSTE NB-7L Replacement 7.4V 1200mAh Battery for Canon G10 / G11 - G12 / SX30 IS - Grey1/4Universal Aluminum Alloy Straight Flash Bracket for Camera - BlackUniversal Aluminum Alloy Tripod Bracket for Speedlight / Camera- BlackUniversal Handheld Jar OpenerWhite Magic Beans with Assorted Messages (10-Pack Growing Plant)Genuine Acecamp 2429 20L Outdoor Water Resistant Dry Bag - Yellow1000mA Car Cigarette Powered USB Adapter/Charger (DC 12V/24V)DIY 433MHz Wireless Receiving Module for Arduino - Green433MHz Wireless Transmitter Module Superregeneration for Arduino - GreenDIY 16-Key AD Keypad Module - Blue4 x 4 Matrix Switch Module - GreenES-71 II Lens Hood for CanonMini Prototype Printed Circuit Board Breadboard for Arduino (5 PCS)Ceramic Capacitor for DIY Electronic Circuit - Red (270-Piece Pack)Solderless Breadboard with 400 Tie-Point (White)USB to RS232 Serial Port Adapter (Transparent Green)Freaduino Soil Humidity Sensor for Arduino - WhiteDouble-Sided Glass Fiber Prototyping PCB Universal Board (3 x 7 / 5-Piece Pack)DIY HR-202 Humidity Detection Sensor Module - BlueAluminum Alloy Straight Hot Shoe Flash Bracket for Camera - BlackFlash Diffuser for Canon 580 EX / EX II / YongNuo YN560 / YN565 Speedlite (3 PCS)HT RJ45 RJ11 Cable TesterStainless Steel 1/4Mini USB 2.4GHz 150Mbps 802.11b/g/n WiFi Wireless Network Card Adapter - BlackUSB 2.0 2.4GHz 802.11b/g/n 150Mbps WiFi/WLAN Wireless Network AdapterUltra-Mini Nano USB 2.0 802.11n 150Mbps Wifi/WLAN Wireless Network Adapter6.3V 3300uf Aluminum Motherboard Capacitors (20-Piece Pack)DIY ZIF DIP IC Socket Set - Green (8 PCS)Solder Tip Refresher3-Pin Triode Transistor for DIY Project - Black (20 x 10-Piece Pack)Aluminum Electrolytic Capacitor for DIY Project (120-Piece Pack)DisplayPort DP Male to HDMI Female Adapter Cable - Black (15CM)Gold Plated 1080i HDMI V1.3 M-M Connection Cable (1M-Length)11x12 132-Panel Brain Teaser Magic IQ BallMicro USB To HDMI MHL Adapter - Black Gold Plated HDMI Male to DVI 24+1 Female Adapter62mm Digital Camera Lens Cover Digital Camera Lens Cover/Cap with Strap for Canon (62mm)

Interesting

Sound and Music Activated Velcro Spectrum VU Meter EL Visualizer T-shirt - Black (Size-L/4 x AAA)RM3 Hex KeyFlat Point Hex Key Screwdriver Set for Electronics DIY (8-Piece Set)RM2 Hex KeyRegal Tools 7-Piece Hex Keys Set7-Piece Set Hex Key Wrenches (0.7~3mm)Replacement Power Supply AC Adapter for Laptops - Black (5.5*2.1mm Plug Size)DIY CC1101 433MHz Wireless Transceiver Module for Arduino (2 PCS)8-Channel 5V Relay Module Shield for Arduino (Works with Official Arduino Boards)8 Channel Relay Module Extension Board for ArduinoDIY 4 x 4 16-Key Numeric Keypad - Black20 x 16 Double-Sided PCB Prototype Board for Arduino (Works with Official Arduino Boards)S1305 8-in-1 Gradual ABS Lens Filters + Lens Mount + Ring Set for 72mm Lens Camera - BlackMystery Speed Controller Pentium-30A for Brushless Motors (300/450 R/C Helicopters)FLYING 30A BEC Electronic Speed Controller for Brushless Motors (ESC)A2208-12T 1500KV Outrunner Brushless Motor1.6Prototype Universal Printed Circuit Board Breadboards - Green + Brown (10-Piece Pack)Prototype Universal Printed Circuit Board Breadboards - Yellow (10-Piece Pack)Prototype Universal Printed Circuit Board Breadboard - Golden (10-Piece Pack)4-Channel Relay Shield Module for Arduino (Works with Official Arduino Boards)Sound and Music Activated Velcro BEAT Spiral Dots EL Visualizer T-shirt - Black (Size-L/4 x AAA)37-in-1 Sensor Module Kit for Arduino (Works with Official Arduino Boards)9000 2.2RD32 720P 5MP Wide Angle Waterproof Action Video Camera with 8-LED White Light/AV Out/TF - YellowRD32 5.0 Mega Pixels HD 720P Waterproof Action Video Camera with 8-LED - Red (TF)1080P CMOS 5MP Sports Waterproof Digital Video Camera w/ 4x Digital Zoom/TV-Out/HDMI/SD (1.5UnisCom VP+309 Mini 1.1Transcend 8GB SDHC SD Card (Class 10 High Speed)3.3V / 5V Power Supply Module for MB102 Breadboard - BlackPower Black Wings Module Breadboard Adapter for Arduino (Works with Official Arduino Boards)MB102 Breadboard Power Supply Module for Arduino (Works with Official Arduino Boards)Power 3.3V / 5V Supply Module for MB102 Bread BoardFC-21 Power Expansion Board Module w/ Switch + Light Indication - Blue + BlackO-Shape Twin Flash Bracket for Macro Photography - BlackHigh Capacity 9800mAh Rechargeable External Battery - BlackFlexible 2-Mode Blue Light EL Strip (DC 12V/3M-Length)Rechargeable 9000mAh Li-ion Emergency Power Battery for Camcorder/Walkie Talkie/Camera + More12V 6800mAh Rechargeable Portable Emergency Power Li-ion BatteryPortable 6800mAh Emergency Rechargeable Battery Pack (EU Plug)12V 1800mAh Rechargeable Portable Emergency Power Li-ion Battery for CCTV Devices12V 6000mAh Rechargeable Portable Emergency Power Li-ion Battery12V 4800mAh Rechargeable Portable Emergency Power Li-ion BatteryPortable Dapper Stage Red/Green Laser Light Show - Blue + White (2 x AAA)Protective Plastic Case for 2.5Protective Plastic Case for 3.550mW Green + 100mW Red Laser Stage Lighting Projector with IR Remote + Tripod (100V~240V AC)Nano V3.0 for Arduino (Works with Official Arduino Boards)USB to RS232 Adapter Cable (1M-Length)RS232 Serial Port Express Card Adapter - Blue + Black + SilverPL2303HX Converter USB to TTL USB to COM Cable Module- Black (1m)Plastic Imine Membrane Screw Insulation Coat - White (1000 PCS)DIY 3mm Iron Hexagon Nut - Silver (200 PCS)2A Ceramic Tube Fuse Set (100-Piece Pack / 6 x 30mm)RGB LED Strip Control Box w/ IR 24-Key Remote Control (DC 12V)44-Key IR Remote Controller for LED Light Strip - WhiteStylish Anti-Slip Shoulder Strap for Canon DSLR Camera - RedMini Portable Metal Flash Holder Mount for Camera - BlackL-Shape Flash Bracket for Camera (2-Piece Set)Fotomate 250mm Movable Range 2 Way Macro Focusing Rail Slider433MHz 4-Channel Wireless Flash Trigger (1 x 12V 23A + 2 x AAA)433MHz 4-Channel Wireless Flash Trigger (1 x 12V 23A + 2 x AAA)Plastic Buckle Clip for High Power 220V SMD 3528 LED Flexible Strip - Transparent (10 PCS)DIY HR-202 Humidity Detection Sensor Module - Blue6490 DHT11 Humidity Temperature Sensor Module - Blue20 x 80mm Double-Sided PCB Prototype Boards (25 PCS)Double-Sided Glass Fiber Prototyping PCB Universal Board (10 x 16)Double-Sided Glass Fiber Prototyping PCB Universal Board (7 x 9)Electrical Bakelite Circuit Board (5x7cm/10-Piece)DS1307 I2C RTC DS1307 24C32 Real Time Clock Module for Arduino (Works with Official Arduino Boards)XL7105-SY DIY 2.4GHz A7105 NRF24L01 Wireless Module for Arduino (2 PCS)2.4GHz NRF24L01+ Wireless Communication Module for Arduino (2 PCS)DIY DS18B20 Stainless Steel Temperature Sensor Probe - BlackDHT21/AM2301 Capacitive Digital Temperature & Humidity Sensor - BlackENC28J60 Ethernet Module for Arduino (Works with Official Arduino Boards)HR31 Humidity Sensor Module for Arduino (Works with Official Arduino Boards)NRF905 Wireless Communication Transmission Module for Arduino (Works with Official Arduino Boards)2 Channel 4 Pins NC Type Shock Switch Sensor ModuleVibration Alarm Sensor Module for Arduino (Works with Official Arduino Boards)BMP085 Altimeter Atmospheric Pressure Module for Arduino (Works with Official Arduino Boards)Human Body Touch Sensor Module for Arduino (Works with Official Arduino Boards)DS1302 Real Time Clock Module with Battery CR2032DS18B20 Temperature Sensor - Black + SilverMicro SD Card Storage Memory Board Module for Arduino (Works with Official Arduino Boards)Digital Vibration Switch Sensor Module for Arduino (Works with Official Arduino Boards)Tilt Switch Sensor Module for Arduino (Works with Official Arduino Boards)3-Pin Light Sensor Module for Arduino (Works with Official Arduino Boards)DHT22 2302 Digital Temperature Humidity Sensor for Arduino (Works with Official Arduino Boards)DS18B20 Digital Temperature Sensor Module for Arduino (-55~125C)IR Receiver Module Wireless Remote Control Kit for Arduino (1 x CR2025)5V Relay Module for Arduino (Works with Official Arduino Boards)DHT11 Digital Temperature Humidity Sensor Module for Arduino (Works with Official Arduino Boards)Hall Effect Magnetic Sensor Module for Arduino (Works with Official Arduino Boards)MMA8451 3-Axial Triaxial Digital Accelerometer Module3-Axis Digital Gyroscope Sensor Module for Arduino (Works with Official Arduino Boards)

Disclaimer: All links are redirected to dx.com with my affiliated ID.

Comments Off

Tablet, tablet on the wall…

Comments Off

Tablet, tablet on the wall, what’s the cheapest of them all? That question comes up from time to time, so here’s the cheapest I could find at Deal Extreme. Please see the customer reviews for each product for details. And remember, you get what you pay for. At that price, it will work, run the browser and basic apps, but don’t expect “the gadget of the year”.

4.3″ Resistive Screen Android 4.0$43

7″ Capacitive Screen Android 4.1$62

10.1″ Capacitive Screen Android 4.0$169

Comments Off

DealExtreme

Comments Off

DealExtreme / dx.com is a Hong Kong gadget site with thousands and thousands of China products of all kinds, often at very competitive prices. Every order is free of shipping charges, even if you buy a $1 item. It makes it easy to order and forget. The only downside is the shipping time, which sometimes can be around three to four weeks; some things might arrive earlier, though.

Here are the items I’ve bought for myself and others so far, followed my wish list, or list of items which might be interesting. The order list can be download in CSV form, while the wish list had to be scraped. For what it’s worth, here is a small Python script which does that, plus a bash script for HTML rendering of image links and product descriptions.

The Python script uses WebDriver / Selenium, and install for that goes:
sudo apt-get install python-pip
sudo easy_install selenium

Orders

Genuine Acecamp 2429 20L Outdoor Water Resistant Dry Bag - Yellow1000mA Car Cigarette Powered USB Adapter/Charger (DC 12V/24V)DIY 433MHz Wireless Receiving Module for Arduino - Green433MHz Wireless Transmitter Module Superregeneration for Arduino - GreenDIY 16-Key AD Keypad Module - Blue4 x 4 Matrix Switch Module - GreenES-71 II Lens Hood for CanonMini Prototype Printed Circuit Board Breadboard for Arduino (5 PCS)Ceramic Capacitor for DIY Electronic Circuit - Red (270-Piece Pack)Solderless Breadboard with 400 Tie-Point (White)USB to RS232 Serial Port Adapter (Transparent Green)Freaduino Soil Humidity Sensor for Arduino - WhiteDouble-Sided Glass Fiber Prototyping PCB Universal Board (3 x 7 / 5-Piece Pack)DIY HR-202 Humidity Detection Sensor Module - BlueAluminum Alloy Straight Hot Shoe Flash Bracket for Camera - BlackFlash Diffuser for Canon 580 EX / EX II / YongNuo YN560 / YN565 Speedlite (3 PCS)HT RJ45 RJ11 Cable TesterStainless Steel 1/4Mini USB 2.4GHz 150Mbps 802.11b/g/n WiFi Wireless Network Card Adapter - BlackUSB 2.0 2.4GHz 802.11b/g/n 150Mbps WiFi/WLAN Wireless Network AdapterUltra-Mini Nano USB 2.0 802.11n 150Mbps Wifi/WLAN Wireless Network Adapter6.3V 3300uf Aluminum Motherboard Capacitors (20-Piece Pack)DIY ZIF DIP IC Socket Set - Green (8 PCS)Solder Tip Refresher3-Pin Triode Transistor for DIY Project - Black (20 x 10-Piece Pack)Aluminum Electrolytic Capacitor for DIY Project (120-Piece Pack)DisplayPort DP Male to HDMI Female Adapter Cable - Black (15CM)Gold Plated 1080i HDMI V1.3 M-M Connection Cable (1M-Length)11x12 132-Panel Brain Teaser Magic IQ BallMicro USB To HDMI MHL Adapter - Black Gold Plated HDMI Male to DVI 24+1 Female Adapter62mm Digital Camera Lens Cover Digital Camera Lens Cover/Cap with Strap for Canon (62mm)

Interesting

Portable Dapper Stage Red/Green Laser Light Show - Blue + White (2 x AAA)Protective Plastic Case for 2.5Protective Plastic Case for 3.550mW Green + 100mW Red Laser Stage Lighting Projector with IR Remote + Tripod (100V~240V AC)Arduino Compatible Nano V3.0USB to RS232 Adapter Cable (1M-Length)RS232 Serial Port Express Card Adapter - Blue + Black + SilverPL2303HX Converter USB to TTL USB to COM Cable Module- Black (1m)Plastic Imine Membrane Screw Insulation Coat - White (1000 PCS)DIY 3mm Iron Hexagon Nut - Silver (200 PCS)2A Ceramic Tube Fuse Set (100-Piece Pack / 6 x 30mm)RGB LED Strip Control Box w/ IR 24-Key Remote Control (DC 12V)44-Key IR Remote Controller for LED Light Strip - White24-Compartment Free Combination Plastic Storage Box for Hardware Tools / GadgetsRemovable Dividers 40-Compartment Plastic Storage for Small Gadgets36-Compartment Free Combination Plastic Storage Box for Hardware Tools / GadgetsEKB-108 Plastic Battery Box for 10 x AA / AAA - Translucent WhiteStylish Anti-Slip Shoulder Strap for Canon DSLR Camera - RedMini Portable Metal Flash Holder Mount for Camera - BlackL-Shape Flash Bracket for Camera (2-Piece Set)Aluminum Alloy Straight Hot Shoe Flash Bracket for Camera - BlackFotomate 250mm Movable Range 2 Way Macro Focusing Rail Slider1/4433MHz 4-Channel Wireless Flash Trigger (1 x 12V 23A + 2 x AAA)433MHz 4-Channel Wireless Flash Trigger (1 x 12V 23A + 2 x AAA)Plastic Buckle Clip for High Power 220V SMD 3528 LED Flexible Strip - Transparent (10 PCS)DIY HR-202 Humidity Detection Sensor Module - Blue6490 DHT11 Humidity Temperature Sensor Module - Blue20 x 80mm Double-Sided PCB Prototype Boards (25 PCS)Double-Sided Glass Fiber Prototyping PCB Universal Board (10 x 16)Double-Sided Glass Fiber Prototyping PCB Universal Board (7 x 9)Electrical Bakelite Circuit Board (5x7cm/10-Piece)Double-Sided Glass Fiber Prototyping PCB Universal Board (3 x 7 / 5-Piece Pack)DS1307 I2C RTC DS1307 24C32 Real Time Clock Module for Arduino - BlueXL7105-SY DIY 2.4GHz A7105 NRF24L01 Wireless Module for Arduino - Green (2 PCS)2.4GHz NRF24L01+ Wireless Communication Module for Arduino - Green (2 PCS)433MHz Wireless Transmitter Module Superregeneration for Arduino - GreenDIY 433MHz Wireless Receiving Module for Arduino - GreenDIY DS18B20 Stainless Steel Temperature Sensor Probe - BlackDHT21/AM2301 Capacitive Digital Temperature & Humidity Sensor - BlackENC28J60 Ethernet Module for Arduino - WhiteHR31 Humidity Sensor Module for Arduino - BlueNRF905 Wireless Communication Transmission Module for Arduino2 Channel 4 Pins NC Type Shock Switch Sensor ModuleVibration Alarm Sensor Module for Arduino - BlackBMP085 Altimeter Atmospheric Pressure Module for ArduinoHuman Body Touch Sensor Module for Arduino - Black + BlueDS1302 Real Time Clock Module with Battery CR2032DS18B20 Temperature Sensor - Black + SilverMicro SD Card Storage Memory Board Module for ArduinoArduino Compatible Digital Vibration Switch Sensor ModuleArduino Tilt Switch Sensor Module - BlackArduino Compatible 3-Pin Light Sensor Module - RedArduino Compatible DHT22 2302 Digital Temperature Humidity SensorDS18B20 Digital Temperature Sensor Module for Arduino (-55~125IR Receiver Module Wireless Remote Control Kit for Arduino (1 x CR2025)Arduino 5V Relay Module - Blue + BlackDHT11 Arduino Compatible Digital Temperature Humidity Sensor ModuleFreaduino Soil Humidity Sensor for Arduino - WhiteHall Effect Magnetic Sensor Module for Arduino (DC 5V)MMA8451 3-Axial Triaxial Digital Accelerometer ModuleArduino 3-Axis Digital Gyroscope Sensor Module - Blue

Comments Off

Home Automation on 433.92 MHz with Arduino

1 comment

Last year I wrote about my plans with the RF Link Transmitter, Receiver, and Everflourish home automation system seen in the pictures below. The idea was to replace the remote with my own system, and control the switches using the RF transmitter and an Arduino. However, the problem was to first decode the bespoke message sent from the remote so I could reproduce it. Initially, I was concerned that the RF receiver was giving a too noisy signal; only reading its value from the Arduino and printing to Serial.out did not yield anything useful. It was not before I took the Arduino out of the loop, and connected the receiver directly to a oscilloscope that things started to look more promising.

On the oscilloscope, I could see the message very clearly. Now I just had to write it down, and analyse the code for all different buttons and remotes. Here the problem was that each button sends a rather long message, 52 bits in total, and the old oscilloscope I tried did not have much memory to store recordings to. Also, it wasn’t mine, so was not so convenient to access and work with. Enter the real break-through of this story: Dave Houston brilliant idea and post about a poor man’s oscilloscope – your sound card! He works with various X10 systems himself, and has more interesting information on his site. For the sound-card hook-up, any audio-wire will do; if using a stereo wire and mono recording, figure out which side is which, add some resistors (39k and 10k was suggested; I ended up with one 1 k Ohm and another at 100 Ohm, which worked just as well). David also points out that the line-in should be used, rather than the microphone plug.

The next bright idea came from Ray, who has done exactly the same project as I wanted to do, but with a different remote control system. He shows how the open source audio tool Audacity can be used to record and analyse the message. I found that Audacity also had a neat feature in that you could add a Label Track, that made it easy to write down the code, and later export it, as seen below.

The screenshots below show a recorded signal in Audacity, first at an overview, then zoomed in, labelled, and finally marking the length of each segment. Notice in the first picture how there is a lot of noise before the remote button is pushed, but that it is very clear where a signal comes in (repeating four times). Also, as seen from the second picture, the signal is strong and clear, without much noise as all, which speaks for the quality of the RF receiver, I guess. In the third picture, the segments has been labelled; see below for how to extract that, and further details about the code.

Click on the pictures for larger versions.

Each of the remote control systems have their own proprietary encoding for the messages sent, and the Everflourish system I have has a very different code from Ray’s Stanley equipment. Each bit in the message is expressed by a high with varying length followed by a low of common length. In the last picture above, these segments have been labelled, and as can be seen, the long high is twice the length of the short (50 vs. 25 samples) while the low space is at 30 samples. That’s using a sample rate of 44100 Hz. Ray points out that you can zoom all the way in, and count the individual samples. Another way is to use the unit selection in Audacity (at the bottom of the window), and select the highest precision unit “hh:mm:ss + samples”, and then select the area of one segment. The start and end timing is then shown at the bottom of the window, and it’s a matter of simple subtraction to find the length. Much easier than counting 50 samples.

For the Everflourish code, only the highs matter then, so I recorded one button, cut out the relevant message, copy/pasted it to a new Audacity project, added a Label Track as seen from the menu above (Tracks -> Add New -> Label Track) and went through and labelled the highs with 0 for short and 1 for long. That was just an arbitrary choice. Once done, the new project was saved with a descriptive name of the remote and button, and the labels could be extracted from the XML project file with something like this. (As a bonus, the digits are split into 4-bit nibbles.)

cat remote1_button2_off.aup | grep label.*title | cut -d '"' -f 6 | tr -d '\n' | sed "s/\([01]\{4\}\)/\1 /g"

Below, the messages from three different remotes (with 4 + 4 + 8 = 16 buttons) are listed, but in the interest of space and simplicity, only some are shown. From this I conclude that only a few parts of the message are consistent between the different remotes. First, it always starts with a 0-nibble. The ON and OFF buttons are consistent and reversed across all buttons. Beyond that, it’s hard to tell what is encoded. There is possibly a marker in the middle, at the seventh nibble, marked in gray, but it could be a coincidence. The third nibble is also the same for all three remotes. As can be seen, the two first remotes share data in the first part, and one could be led to believe that this was a common preamble, but this must be rejected when looking at the third advanced remote.

That seems to go against what is assumed in the the source code from TellDus. There they assume a “house” and “unit” (button) key on the last nibbles before the on/off code, but that does not match what I see across my remotes. There seems to be nothing identifying a specific remote, but rather all buttons are unique, and there is possibly some kind of general batch (as opposed to unique serial) number at the beginning of the message.

Simple 4 button remote

1 - OFF : 0000 0110 0101 1010 1001 0110 0110 1001 0101 1010 1010 0101 0101
1 - ON  : 0000 0110 0101 1010 1001 0110 0110 1001 0101 1010 1010 1010 1010

2 - OFF : 0000 0110 0101 1010 1001 0110 0110 1001 0110 0101 0101 0101 0101
2 - ON  : 0000 0110 0101 1010 1001 0110 0110 1001 0110 0101 0101 1010 1010

3 - OFF : 0000 0110 0101 1010 1001 0110 0110 1001 1001 0110 0110 0101 0101
3 - ON  : 0000 0110 0101 1010 1001 0110 0110 1001 1001 0110 0110 1010 1010

Simple 4 button remote

1 - OFF : 0000 0110 0101 1010 1001 0101 0110 1001 0101 0110 1001 0101 0101
1 - ON  : 0000 0110 0101 1010 1001 0101 0110 1001 0101 0110 1001 1010 1010

2 - OFF : 0000 0110 0101 1010 1001 0101 0110 1001 0110 1000 1000 0101 0101
2 - ON  : 0000 0110 0101 1010 1001 0101 0110 1001 0110 1000 1000 1010 1010

3 - OFF : 0000 0110 0101 1010 1001 0101 0110 1001 1001 1010 0101 0101 0101
3 - ON  : 0000 0110 0101 1010 1001 0101 0110 1001 1001 1010 0101 1010 1010

Advanced 8 channel remote

1 - OFF : 0000 1010 0101 0101 0101 1010 0110 0101 0101 0110 0110 0101 0101
1 - ON  : 0000 1010 0101 0101 0101 1010 0110 0101 0101 0110 0110 1010 1010

2 - OFF : 0000 1010 0101 0101 0101 1010 0110 0101 0110 1001 1001 0101 0101
2 - ON  : 0000 1010 0101 0101 0101 1010 0110 0101 0110 1001 1001 1010 1010

Determining the length of each segment to be sent is done by looking at the sample rate. I used 44100 Hz, so the duration in micro seconds for the 30 sample space segment is 30 / 44100 * 1000000 = 680 µs. For the short 25 sample high, it is 567 µs, and double or 1134 µs for the long. When sending the message, I did not need to subtract anything from that, as Ray mentioned in his post. It is worth noting the initial high before the start of the message, and also at the end. Furthermore, it both starts and finishes with a low space, so whatever for-loop you create, one of these will be before or after. However, what is intriguing, is that all this can be reversed. That is, switch HIGH and LOW in the code, and the switches will still react. I’m guessing this is a robustness measure designed into the Everflourish system, but I have to admit that goes beyond my RF knowledge.

Finally, it’s worth mentioning the All On or All Off buttons. They simply send a series of messages for each of the buttons, repeating each button message four times before moving on to the next. When using the single on/off buttons, the message is also repeated four times for a short click.

And that’s all for now. I expect to round this project up with a post on the complete system, including communication from the computer, and some kind of Android application as a remote. Other ideas include auto-triggering the lights when detecting a pre-defined Bluetooth device, and possibly switching off in the absence of any device. Possibly some programmed behaviour during holidays, and pre-set configuration for certain situations, e.g. “movie setting”, “dinner time”, etc.

Revell Coaxial Helicopter

1 comment

I got my first helicopter this week, a Revell “Big One Pro” Coaxial 3 channel 2.4 GHz. At 100 Euros and only 3 channels, I was warned by the sales clerk that it was merely a toy, however, what are these models for if not to play with?

This model is so similar to the Double Horse 9053 Volitation, that I am assuming it is just re-braned by Revell. As far as I understand, the Double Horse line is made by Shuang-ma.

Comparing it to my AR.Drone which broke down last year, it has several interesting properties and features: Overall, I am impressed by the simplicity yet robustness of the frame construction, mechanics and electronics. Most of the frame is in what I assume is aluminium or magnesium, with a few parts of plastic in between. It feels solid, which a number of crashes have proved. The controller / main board is refreshingly simple, but also modular in the sense that motors and LEDs are JST plugged rather than soldered. Only the battery connector and power switch is soldered directly onto the board. This looks very promising as a platform to experiment with.

Apart from the basic electronic components, there are only three interesting chips: The radio receiver; what I assume is the main chip (designated 9118) and a vertically mounted chip, some kind of gyro maybe? Compared to the AR.Drone, refreshingly simple. Shuang-ma charges $15 for a replacement board, and they seem to be available many other places as well.

The battery is a 7.4 V 1300 mAh 2 sell LiPo, with brand name Tianpeng. Revell sells a spare one for 22 Euros, but I found a similar at DealExtreme for $10.5 so ordered that. Then Hobby King has a 1000 mAh for $3.5 so could try that as well.

Finally, the two main motors are designated 9093. I cannot see any make, but they look similar to this Syma Dragonfly. It would be interesting to find more specs on those.

So, I’ve been given a lot of praise. Are there any down-sides? Well, yeah. First, the plastic hull or shell is of the most fragile kind. After the first flight and crash, there was already a crack. And on the second day a big piece came off. So now I’ve used all the electrical tape I could find and taped it all together. It doesn’t look so nice, but at least it will not crack so easily. I considered removing the hull altogether, however it does protect the LiPo from taking a direct hit in a crash, which is probably good enough reason for keeping it. Once I get into changing a lot of batteries, I might reconsider that, though.

Speaking of batteries again. Five minutes flight time a couple of times a day is not too much fun. In fact, it is rather poor. As mentioned, I’ve already ordered more, but I wonder if it would be possible to combine some for a bit longer flight time as well.

Finally, on negative notes, the axis for the lower rotor come loose quite often, after a few crashes. I just have to tighten the two screws attaching the lower gear, but is still a bit annoying. Maybe there’s a better solution to that.

Overall, I think it was a good buy. Had some fun already, and hoping for plenty of more. Then there are several potential projects and thinking to get into, and repairs to make.

Raspberry Pi launched

Comments Off

The $25/35 Raspberry Pi matchbox computer finally launched today, after much anticipation, impatience and extremely clever marketing. In the last few days, their web servers have been overwhelmed by the people hitting re-fresh to know when the device will go on sale. When it finally did, both distributor web sites melted. The 10k units produced were sold out before lunch.

So, if you’re like me, and did not get a device this time around, you might want to join the support group over at Slashdot. There you will find people crying like kids who missed Santa. If it was kids, that would be one thing, but some of these crying guys actually have jobs. Amazing. Then there was one guy who had missed the weekly, or almost daily articles and didn’t know what this stampede was about. I guess he didn’t get one either.

Well, there will be more of these devices, and then some bugs might even be ironed out.

Comments Off

Geeky watches

Comments Off

Douglas Adams had something against digital watches, always criticizing the ape descendants for thinking they were neat. Well, I have to admit I rather like them. As a 8-year old, I spent the better part of a year saving up for my first Casio. However, at some point in the 90s, they seem to have goon out of fashion. Which is a shame, because there are some really nice geeky looking watches around now.

Take these from Sparkfun, for example: The “Solder : Time Watch Kit” to the left is, as the name suggests, a solder kit you put together yourself, to create a fun looking digital watch. Complete with resistors and ICs on display, which is a PIC microcontroller. To the left is the Arudino (ATMega328) based Sparkfun version; “BigTime Watch Kit“. Again you have to solder yourselves, but it is intended as a beginner’s kit, so everything are nice big through-hole components, which there are only a few of.

However, if DIY watches isn’t your cup of tea, you can always go for ThinkGeek’s selection. Here there is a lot of good looking geekery to choose from, including a DIP-switch controlled watch, a binary watch, or if you want to go simple maybe a sundial ring (possibly for the next steam punk gathering).

Comments Off

RF Communication on 433.92 MHz

3 comments

I recently got a Sparkfun order on my door, so it’s time to play. In the box was a RF Link Transmitter, and Receiver. They are sold as 434 MHz radio wireless links. Others talk about 433 MHz. To be precise, it’s 433.92 MHz. That matters, because if you search for that number, you will find the so called home automation systems using that frequency, including X10, Everflourish, and many others. My plan then, is to build something similar to the TellStick from TellDus, which control these devices from my computer. Connect that up to an Android app, and I could control my lights and other appliances from any mobile phone.

First things first, though. Hooking up the bits was easy, following these two similar tutorials. Using the VirtualWire Arduino library v1.5 (1.6 released at the time of writing) by Mike McCauley (download version 1.5) transmitting data was a breeze. The library includes example code for transmitter and receiver, simply upload and go. Note that the transmitter data should be connected to pin 12 on the Arudino, and the receiver on pin 11 on the other. Data was received loud and clear, without errors. Mike’s library is well written, and covers several important aspects of RF communication, including a dedicated protocol, CRC handling, robust encoding over the air, baud rate, and to top it off, an easy to use API.

Now, of course when using my Everflourish nothing happened. Which was a good sign; it did not interfere with the Virtual Wire transmission. That remote is using a different protocol to talk to the light switches. Luckily, it has already been reversed engineered and the source code is available from TellDus. It will probably take some time to get this working. Meanwhile, some pictures.

Raspberry Pi: A €30 Computer

Comments Off

A few days ago,  Raspberry Pi announced that they had gotten Quake 3 running on their ARM computer. Furthermore, their FAQ estimates the networked model will cost $35 and be released at the end of this year. There is also an interview in the Guardian.

Provisional specification

  • 700MHz ARM11
  • 128MB or 256MB of SDRAM
  • OpenGL ES 2.0
  • 1080p30 H.264 high-profile decode
  • Composite and HDMI video output
  • USB 2.0
  • SD/MMC/SDIO memory card slot
  • General-purpose I/O
  • Optional integrated 2-port USB hub and 10/100 Ethernet controller
  • Open software (Ubuntu, Iceweasel, KOffice, Python)
  • The device is powered by an external AC adapter, and the Model A consumes around 1W at full load.
  • The device should run well off 4xAA cells.

Comments Off

Solar-Powered Charging Station

Comments Off

Here’s an older article from the Loudoun County Aeromodelers Association in Virginia, US, describing in detail how they planned and installed a solar-powered charging station for their electric RC planes. Their calculations and decisions made for interesting reading, and the result seems thorough.

They’re using a single solar panel, connected to four 6V / 220Ah golf cart batteries. On Saturdays and Sundays the club use the storage batteries as power source for charging their LiPo batteries for the plans. During the rest of the week, the storage battery is recharged by the solar panel.

Comments Off

Bad Behavior has blocked 307 access attempts in the last 7 days.