Αναζήτηση

Powered By Blogger

Feb 18, 2013

High-power LED grow light – a build log

High-power LED grow light – a build log:
The product being tested on animals
The product being tested on animals
To make my growing season preparations more high tech I built a grow light with more than 25000 lumens light output while spending less than US$300. During the build I posted pictures/short notes on Makers, Hackers, Artists and Engineers Google+ community and received a lot of questions concerning LED choice, drivers, build of materials and construction details. This article is intended to answer these question and hopefully generate others – please don’t hesitate to ask!
The goal of this project was to produce a decent grow light for personal indoor gardening – mainly starting vegetables for subsequent transplanting outside some time in May and possibly extending the grow season in the autumn. While trying to determine necessary light output I realized that good numbers are impossible to find. By reading numerous indoor gardener’s forums I learned that people are having good results with light sources ranging from household-type compact fluorescent bulbs to high pressure sodium street lights. After analyzing pros and cons of all available light sources I decided to use high-power white LEDs. Here’s why:
  • They are low-voltage devices therefore they are much safer to work with than HID/fluorescent light sources. Low-voltage (<60V) LED drivers are also inexpensive
  • They are efficient as grow lights. Photosynthesis in plants occurs differently under different wavelengths of light; the “good” light is known as Photosynthetically active radiation (PAR). White LED emits most of its light in PAR – out of all light sources it produces most “PAR lumens” per unit of electricity used to produce these lumens. In addition, LED outputs all its light from one side therefore a light fixture doesn’t need a reflector.
  • They can last long time. LED manufacturers specify 50000 hours at some pretty high emitter temperature (75-85C) – it’s 11.4 years if lights are on 12 hours a day. At the end of 500000 hours a LED maintains 70% of its light output. The main factor here is temperature of the LED – if it is kept lower than specified the LED will last longer (and produce more light, see below).

As I mentioned before, it was difficult to determine the necessary light output of the fixture I was about to build. For this reason, I started to look at available power supplies first. After browsing through offerings on eBay, Aliexpress and electronics components supplier’s sites I sized my supply at 300W – the power is good and the cost is not excessive. The representative supply is Meanwell model S-320-48. The price is ~US$70 for a genuine one and ~US$30 for a clone. Dealing with clones is involving – at the very least, you’ll need to a) inspect a power supply inside (involves non-destructive removal of warranty stickers, requires finesse), b) test for load and ripple ( requires some pretty specific equipment, like 300W dummy loads), c) burn-in for a couple of days under full load (difficult to do safely in residential setting unless you have an empty 2 car garage), and d) undo the deal if you’re unhappy with one of the previous steps. Buying/returning on the Internet takes time; I suggest not buying from China – transit times are too long. I had to return 2 supplies; the third one turned out to be a genuine Meanwell with a cut-off sticker – for the price of a clone.
A 300W power supply can drive 250 – 280W of LEDs. At present, high-power LEDs are available in 2 flavors – single emitter and multi-LED modules. The big advantage of a single emitter is low price per unit. However, they are harder to work with – to build a 270W light out of 3W LEDs you will need 90 emitters each requiring 2 mounting holes, 180 drilled and tapped holes in total. Also, they come soldered on so-called “star” heatsinks with uncertain thermal characteristics – thermal conductivity of tin is 3.5 times lower than aluminum therefore thermal resistance between an emitter and its heatsink highly depends on the thickness of solder layer under the LED which no one seems to even attempt to control. In addition to this some “LED mounters” use lead-based solder which has even lower thermal conductivity – 5 times lower than aluminum. Another big disadvantage of single emitter LEDs is that it is hard to get a genuine one. Most mounted LEDs sold to me as “Cree” or “Bridgelux” were fake – I have about 30-40 pieces of each name bought from different places. What is interesting is that all Luxeons I have (another 50 pieces) are genuine. Lastly, single emitter LEDs are about twice as expensive per watt – 45W Cree CXA011 from the brightest bin costs US$15.23 at Mouser whereas mounted “Generic 3W Epistar” at stevesleds.com sells for $1.85 (prices at the time of writing), and if we start comparing lumens per watt (assuming that we can reliably determine real lumen output from generic emitter) the difference will become even larger.

CXA2011 on a heatsink
CXA2011 on a heatsink


Now that we know that multi-emitter modules are the way to go let’s take a look at what’s available. Chinese make decent modules (search eBay for ’30W white led bead’ to see these good looking products mounted on hefty aluminum bases measuring ~45mm across). I have used them in my past projects – they work well and they are easy to drive, typical forward voltage at 1A being ~34V. The problems with Chinese products are a) the quality is unknown – you can get decent product or a piece from rejects bin, and b) the real characteristics of the device are unknown. After looking further and comparing watts per dollar, lumens per watt and whatnot, I decided to go with Cree CXA2011 module ( Link to the datasheet ). The main reason to pick up this particular module was ease of mounting. The second reason was price. Lastly, the module is available from established US suppliers in manufacturer’s packaging therefore the probability of getting a fake is low. Picture on the right shows the module bolted to a heatsink by a pair of #4-40 screws. My grow light uses 6 of these. CXA2011 has several color temperatures and light output variations, the full part number of ones that I use is ‘CXA2011-0000-000P00J050F’.
I wanted to keep my LEDs as close to ambient temperature as possible. This means I needed forced-air heatsink. The one on the picture is Rosewill RCX-Z80-AL AMD CPU cooler designed for 70W load. It is available from many places for ~US$7.00. It is many times cheaper than “specially made for LED” heatsinks and it works very well. I learned from the reviews that the included fan is good for two years.
An advantage of having a grow light with fans is that air movement in a grow room is beneficial for the plants and 6 fans produce pretty decent wind – strong but not excessive. The disadvantages of having a fan is a) extra current consumption and extra power supply, b) noise, and c) extra maintenance. However, since convectional cooling is not possible anyway I would need to learn how to deal with them.
After mounting a module using Arctic Silver 5 thermal interface material and running it at 1A (the maxumum allowed by a manufacturer) I measured 1C temperature difference between the case of the module and the heatsink surface right next to it. Anywhere else the heatsink measured 22C which was ambient temperature at the moment. It was probably possible to have 2 LEDs per heatsink and still get good dissipation but at the end I decided to just have one.


Meanwell LDD-100H LED drivers
Meanwell LDD-100H LED drivers


Up to this point I did all my tests using bench power supply. I learned that at 1A the forward voltage of the module is close to 48V while the datasheet showed slightly less than 46V. It also means that the power consumption is 48W instead of specified 45. I don’t know how this extra power increases light output so I will continue using datasheet numbers for light. I also know that LED forward voltage increases slightly with temperature therefore I need a LED driver which will go over 48V at 1A. The one I picked is Meanwell LDD-1000H. Picture on the left shows 3 drivers mounted on a protoboard. The driver needs at least extra 3V on the input so I tuned up the power supply output to 55V.
When all major components are specified it is possible to calculate the price. Here is a list:
  • Power supply, 48V, 312W, Meanwell S-320-48 or similar. $30 for “similar”
  • Cree CXA2011-0000-000P00J050F 45W LED modules, 6x$15.23 = $91.38
  • Meanwell LDD-1000H 1A 52Vout max. LED driver. 6x$11.52 = $69.12
  • Rosewill RCX-Z80-AL AMD CPU cooler. 6x$6.99 = $41.94
The total for the main ingredients is $232.44. The price for miscellaneous small pieces such as fasteners, aluminum angle, polycarbonate, solder, connectors, etc. is hard to estimate (I just have all this lying around); it is still safe to assume that total is going to be $260 – $280 depending on what you have on hand already.
Couple other notes about pricing. First, it is possible to negotiate prices on eBay. Many sellers provide “Make offer” button which you need to use wisely – do not try to offer $5 for $30 power supply since your offer will likely be declined without further discussion. It is much better to offer $20 initially and then add a little during each round. It is also possible to discuss (and lower) shipping charges.
Second, it is easy to scale down this light – just use smaller number of LEDs. You will need to account for other pieces too – a single combination of LED, driver and heatsink costs ~US$35. In my opinion, the smallest number which makes sense is 3.

The structure
The structure


The construction of the light is very simple. The most tedious task is drilling/tapping holes in heatsinks and two 22″ 1/4 aluminum angle pieces. After the main structure (pictured on the right) is put together LEDs with wires soldered on are mounted on the heatsinks. After that it is necessary to cover the LEDs with a piece of transparent plastic to protect the lens – I used 0.118″ polycarbonate. The drivers are mounted on the sides of the structure, 3 on each side. LED wires are soldered to the drivers and zip-tied to the angle pieces. Finally, fans are mounted on heatsinks and wired together. They are powered from their own 12V 1A wall wart at the moment; I’m planning to add a step-down converter to power them from the same 48V supply which still has some power to spare.

Bottom side
Bottom side


Next two pictures show construction details. First picture shows LEDs mounted on heatsinks, wire routing and transparent protective LED covers – again, very important pieces! Second picture offers view from the top showing fans as well as LED drivers mounted on the sides.
I don’t own a photometer so I need to estimate light output from numbers in the datasheet. First thing to do is to determine the working temperature of the module. The datasheet states effective thermal resistance junction to case being 0.4C/W, which means that at 48W the die will be ~20C warmer than the case. I am assuming that all energy in the LED is converted to heat, which is very conservative. Early illumination-grade LEDs converted about 10% energy to light, modern ones are close to 20%. For 20% the temperature rise will be 15C. Now, the measured difference between case and heatsink (given earlier) is 1C – let’s just forget about it since it doesn’t make any difference. Another measured temperature is ambient in my small grow room where this light has been deployed for several days – 30C. Adding 20 and 30 together gives 50C – this is the temperature of the LED die during operation.
We can continue going through numbers in the datasheet or we can take a shortcut by looking at the following presentation, which gives output of 3480 lumens per module at 45W and 85C. This means my light puts out 23040 lumens (page 7). Since my emitters run colder I’m getting more light. How much more? If we refer to the datasheet again (page 5) and analyze flux vs temperature relation we will see that at 50C the light output rises by roughly 10%, which means my light outputs more than 25000 lumens – 25344, to be exact. The difference is equal to 0.6 light output of a LED module; it can be seen that heatsink fans pay for themselves – they consume 12W but add (or save) 27W!
Top
Top
The light has been in operation for several days – too early to notice any effect on plants (and I just started my seeds so I don’t even have any above-ground growth at the moment). However, I noticed that it gives just slight temperature rise in my very small grow room and produces nice breeze. In addition, it is easy to build and safe to operate. Needless to say, I’m very pleased with the result.
Oleg.

Feb 8, 2013

nRF24L01 2.4GHz Radio/Wireless Transceivers How-To


nRF24L01 2.4GHz Radio/Wireless Transceivers How-To


Having two or more Arduinos be able to communicate with each other wirelessly over a distance opens lots of possibilities:
  • Remote sensors for temperature, pressure, alarms, much more
  • Robot control and monitoring from 50 feet to 2000 feet distances
  • Remote control and monitoring of nearby or neighborhood buildings
  • Autonomous vehicles of all kinds

These are a series of 2.4 GHz Radio modules that are all based on the Nordic Semiconductor nRF24L01+ chip. (Details) The Nordic nRF24L01+ integrates a complete 2.4GHz RF transceiver, RF synthesizer, and baseband logic including the Enhanced ShockBurst™ hardware protocol accelerator supporting a high-speed SPI interface for the application controller. The low-power short-range (200 feet or so)Transceiver is available on a board with Arduino interface and built-in Antenna for less than $3! See it here.

Link to nRF24L01+ Data Sheet. 

Tutorial 15 for Arduino: GPS Tracking



Tutorial 15 for Arduino: GPS Tracking



This was easily the most time I’ve spent producing an Arduino Tutorial. I’ve been sporadically walking around NYC with this GPS for weeks as I’ve tweaked the code and gotten it just right. If it wasn’t obvious from the title, this tutorial will teach you how to use an arduino paired with a GPS Module and an SD Card Module to log your latitude and longitude over the course of a day. As a bonus, I’ll also show you how to easily overlay this data onto a map using services like Google Earth and Google Fusion Tables. I added a short “history lesson” to this episode to explain how GPS came to be; it’s the first time I’ve done that, so please let me know if you like the extra knowledge. Grab some popcorn and your Arduino, because this tutorial is pretty long – GPS is complicated! The schematics, programs, parts list, sample data, and important links are available for below.
I used the tinyGPS library to decode the NMEA GPS Data. Cooking-Hacks generously supplied both the GPS shield andSD Card shield that I used in this tutorial.

You can download the files associated with this episode here: Arduino Tutorial 15 Files

Source materials for all my arduino tutorials can be found in my github repository.
GNU GPL LicenseDistributed under the GNU General Public (Open-Source) License.
Please Attribute and Share-Alike.
This video can also be viewed at element14.com.



Flora Wearable Ultimate GPS Module



https://www.adafruit.com/products/1059


FLORA GPS boards…:
Adafruit 578

FLORA GPS boards…

UPDATED PRODUCT – Adafruit Ultimate GPS Breakout – 66 channel w/10 Hz updates

UPDATED PRODUCT – Adafruit Ultimate GPS Breakout – 66 channel w/10 Hz updates:
Window-275

UPDATED PRODUCT – Adafruit Ultimate GPS Breakout – 66 channel w/10 Hz updates. New! Version 3 comes with the latest module which has external antenna support and Pulse-Per-Second output
We carry a few different GPS modules here in the Adafruit shop, but none that satisfied our every desire – that’s why we designed this little GPS breakout board. We believe this is the Ultimate GPS module, so we named it that.
It’s got everything you want and more:
  • -165 dBm sensitivity, 10 Hz updates, 66 channels
  • 5V friendly design and only 20mA current draw
  • Breadboard friendly + two mounting holes
  • RTC battery-compatible
  • Built-in datalogging
  • PPS output on fix
  • >25Km altitude
  • Internal patch antenna + u.FL connector for external active antenna
  • Fix status LED
…all for under $40!
The breakout is built around the MTK3339 chipset, a no-nonsense, high-quality GPS module that can track up to 22 satellites on 66 channels, has an excellent high-sensitivity receiver (-165 dB tracking!), and a built in antenna. It can do up to 10 location updates a second for high speed, high sensitivity logging or tracking. Power usage is incredibly low, only 20 mA during navigation.
Best of all, we added all the extra goodies you could ever want: a ultra-low dropout 3.3V regulator so you can power it with 3.3-5VDC in, 5V level safe inputs, ENABLE pin so you can turn off the module using any microcontroller pin or switch, a footprint for optional CR1220 coin cell to keep the RTC running and allow warm starts and a tiny bright red LED. The LED blinks at about 1Hz while it’s searching for satellites and blinks once every 15 seconds when a fix is found to conserve power. If you want to have an LED on all the time, we also provide the FIX signal out on a pin so you can put an external LED on.
Window-1-160
Two features that really stand out about version 3 MTK3339-based module is the external antenna functionality and the the built in data-logging capability. The module has a standard ceramic patch antenna that gives it -165 dB sensitivity, but when you want to have a bigger antenna, you can snap on any 3V active GPS antenna via the uFL connector. The module will automatically detect the active antenna and switch over! Most GPS antennas use SMA connectors so you may want to pick up one of our uFL to SMA adapters.
The other cool feature of the new MTK3339-based module (which we have tested with great success) is the built in datalogging ability. Since there is a microcontroller inside the module, with some empty FLASH memory, the newest firmware now allows sending commands to do internal logging to that FLASH. The only thing is that you do need to have a microcontroller send the “Start Logging” command. However, after that message is sent, the microcontroller can go to sleep and does not need to wake up to talk to the GPS anymore to reduce power consumption. The time, date, longitude, latitude, and height is logged every 15 seconds and only when there is a fix. The internal FLASH can store about 16 hours of data, it will automatically append data so you don’t have to worry about accidentally losing data if power is lost. It is not possible to change what is logged and how often, as its hardcoded into the module but we found that this arrangement covers many of the most common GPS datalogging requirements.
We’ve tested this version of the Ultimate GPS in a high-altitude balloon, and it kept fix up to 27km!
Window-2-84
Comes with one fully assembled and tested module, a piece of header you can solder to it for breadboarding, and a CR1220 coin cell holder. A CR1220 coin cell is not included, but we have them in the shop if you’d like to use the GPS’s RTC
Tech specs:
  • Satellites: 22 tracking, 66 searching
  • Patch Antenna Size: 15mm x 15mm x 4mm
  • Update rate: 1 to 10 Hz
  • Position Accuracy: 1.8 meters
  • Velocity Accuracy: 0.1 meters/s
  • Warm/cold start: 34 seconds
  • Acquisition sensitivity: -145 dBm
  • Tracking sensitivity: -165 dBm
  • Maximum Altitude for PA6H: tested at 27,000 Meters
  • Maximum Velocity: 515m/s
  • Vin range: 3.0-5.5VDC
  • MTK3339 Operating current: 25mA tracking, 20 mA current draw during navigation
  • Output: NMEA 0183, 9600 baud default
  • DGPS/WAAS/EGNOS supported
  • FCC E911 compliance and AGPS support (Offline mode : EPO valid up to 14 days )
  • Up to 210 PRN channels
  • Jammer detection and reduction
  • Multi-path detection and compensation
Breakout board details:
  • Weight (not including coin cell or holder): 8.5g
  • Dimensions (not including coin cell or holder): 25.5mm x 35mm x 6.5mm / 1.0″ x 1.35″ x 0.25″
Get started in a jiffy: wire up 3-5VDC to the VIN pin, GND is common ground, and listen on the TX pin for 9600 baud data. Then run our example sketch which will allow you to quickly set the update rate and select which NMEA sentences you want to have spit out. We also have a nice fancy library for GPS usage, with background parsing and can set and query the built in GPS logging capability (called LOCUS). A full tutorial is also available, which has tons of information about the module, how to use the data logger and more
In stock and shipping!

Updated tutorial: TTL Serial Camera

Updated tutorial: TTL Serial Camera:
196
Updated tutorial: TTL Serial Camera @ The Adafruit Learning System.
This tutorial is for our new TTL serial camera module with NTSC video output. These modules are a nice addition to a microcontroller project when you want to take a photo or control a video stream. The modules have a few features built in, such as the ability to change the brightness/saturation/hue of images, auto-contrast and auto-brightness adjustment, and motion detection.
Learn more.

Automatic Raspberry Pi board revision detection: model A, B1 and B2 #piday #raspberrypi @Raspberry_Pi

Automatic Raspberry Pi board revision detection: model A, B1 and B2 #piday #raspberrypi @Raspberry_Pi:
VariousPi
Now that there are a range of Pi (and Frank declares “Now that I know how many there are, it kind of makes me want to collect them all”) resources like his chart of revision codes are handy to plan for differences from model to model for your software and hardware solutions. From Raspberry Alpha Omega:

When the raspberry Pi model A was announced a few days ago, I ordered one straight away. With three different models of raspberry Pi now available (or four, if you count the red Chinese variant), working out the capabilities of the board is becoming increasingly important. It’s vital for anyone involved in making hardware or software for other people to use, and it’s even pretty important for personal projects – you never know when you might want to use your hardware and software with a different board…
Read more.
PiLookupChart

Learn shift registers without involving a microcontroller

Learn shift registers without involving a microcontroller:
shift-registers-without-a-microcontroller
This is a truly hands-on approach to learning. [Kevin Darrah] ditched the microcontroller and is using push buttons to learn about 595 shift registers. The test rig uses two of the serial-in, parallel-out chips. These are cascading which means that as data from the first chip overflows it feeds the input of the second. The parts are commonly used to drive LEDs, or reduce the number of pins needed to drive peripherals like this character LCD.
The five push-buttons give you a chance to intuitively learn how the chip logic works. The blank button is also commonly called Output Enable (OE). Driving it high shuts off the outputs of the chips but doesn’t clear the data. That task is performed by the clear button which is driven low to set all of the shift register memory to zero. The other three buttons set the logic level, shift it into the chip using the clock signal, and push the stored values to the outputs using the latch.
To get a visual approximation of what’s happening inside of these chips you should check out the shift register tutorial linked to in this post.



Filed under: how-to, parts

Feb 7, 2013

Sump pump monitor emails and raises alarm if water rises

Sump pump monitor emails and raises alarm if water rises:
sump_pump_overview
[Matt] literally finds himself in a sticky situation. There’s an oil slick in his sump well. These wells work in conjunction with drain tiles to pump water away from the foundation of a house. Unfortunately the tar that was used to waterproof the outside of his foundation is also washing into the sump and gumming up the works. The system he built will sound an audio alarm and send an email if something goes wrong with the sump pump.
He’s monitoring for two different issues. One technique uses a float valve to sense if the water is too high, signalling that the mechanism controlling the pump has malfunctioned. The other is a current monitor that senses if the sump pump has been running too long (caused by the sump’s water sensor getting stuck in the on position). The one thing he didn’t want to do is control the pump directly as a bug in his code will easily result in a flooded basement. We have the same concerns when considering building a DIY thermostat (an error there could mean frozen water pipes leading to flooding).

Filed under: home hacks

Building an automatic bicycle transmission in a week

Building an automatic bicycle transmission in a week:
1
Every year, the ECE department of Carnigie Mellon University hosts Build18, an engineering festival intended to get students out of the classroom and into the workshop. [Andrew Toth] along with team members [Jenna MacCarley], [Peter McHale], and [Nicolas Mellis] have been busy this last week putting together an automatic bicycle transmission.
Most cyclists agree that a cadence of 80 RPM is just about right for most cycling. The team’s transmission uses Hall effect sensors to sense the cadence of the rider and will change to a higher gear if the cadence drops below 60 RPM and a lower gear if the cadence is above 100 RPM.
One of the requirements of the Build18 festival is the completed project must cost less than $250. By using an Arduino Mega and a servo to change gears, the team has a fairly low cost solution to automatically changing bicycle gears.
It’s a very cool project, and hopefully we’ll see a video once the competition is over at noon, EST today.

Filed under: contests, transportation hacks

Building a tool to bend small metal tubes

Building a tool to bend small metal tubes:
tube
[Joel] is setting up a really nice workshop. Included in his list of machinery are the staples of any workshop; a lathe, miter saw, containers full of organized screws, and a manual mill converted to a CNC machine. [Joel] wanted an oiling system for his mill, and like any good maker decided to fabricate his own. This required bending very small diameter brass tubes, something doable by hand (or without sand, at least). He decided to solve this problem with a DIY tube bending tool that allows him to bend tiny brass tubing without the walls collapsing.
[Joel] broke out his lathe and machined two brass rollers with a groove to hold his 3/16″ tubing. One of these brass rollers is attached to a handle, while the other is attached to a block that gets clamped into [Joel]‘s bench vise. After threading some tubing through the rollers, [Joel] is able to bend it precisely with only a tiny bit of collapsing on small-radius bends.

Filed under: tool hacks

Feedback for automated water and food pet dispensers

Feedback for automated water and food pet dispensers:
pet-food-and-water-automation
[Enrico] figured out a way to fully automate his pet food and water. The system is in two parts, the water trough as seen on the left, and the food dispenser whose control hardware is shown on the right. The system is even hooked up to the network so that he can make sure it didn’t break down while he was away.
The water dispenser uses parts from a sprinkler system. Since it’s mounted outdoors it doesn’t matter if the water overflows a little bit. So [Enrico] set up the timer to run the water for three minutes every day. This acts as a backup system since the trough already has the ability to refill itself.
The food dispenser started as a commercial unit. To get feedback from the system he added a couple of magnets to the agitation motor and reads them with a hall effect sensor. In addition to an IP camera that monitors the area around the feeder (so [Enrico] can actually see his dog eating) there is a webcam which monitors the STM32 Discovery board which monitors the feeder. It tracks the number of times the dispenser has run.

Filed under: home hacks

Getting an Arduino to control a wireless outlet

Getting an Arduino to control a wireless outlet:
arduino-433-mhz-outlet-control
[Reza's] methodical investigation of this remote controlled outlet let him patch in with an Arduino using a 433 MHz transmitter. This is a single-device unit, but the techniques used here should allow you to take control of wireless rigs that have multiple modules to control many devices.
We’ve seen some folks at our local hackerspace try to patch into the remote control itself. That used some type of weird button scanning (not just connecting a pin to ground or voltage) and didn’t pan out. [Reza] doesn’t even crack open the case of either of the units seen above. Instead, he goes straight for a wireless receiver he had on hand, using a logic analyzer to capture the signals coming from the remote.
Once he had a good snapshot of the signals sent when pressing the on or off button of the remote he set out to replicate it in his Arduino code. His function called setStateWithDelay takes three parameters: the transmit pin, the level (high or low), and a number of milliseconds to delay. Each signal calls this function many times, but working the bugs out is pretty easy; just capture the signal with the logic sniffer and compare to the stock remote.

Filed under: arduino hacks

Building a linear motor

Building a linear motor:
linear-motor
We admit that this project doesn’t have very many details available, but it was just too neat for us to pass up. It’s a small linear motor which [ligonapProduktion] built after seeing a very brief description of a commercially available version.
The video after the break shows him testing the motor. In this screenshot he’s holding the center shaft while the coil assembly moves back and forth. But it works with a stationary coil moving the rod as well. The motor is basically a modified solenoid. There are sixteen neodymium magnets inside the shaft. The set of four coils is driven by an ATtiny44. Just like a stepper motor, energizing the coils in the correct order pushes against the rare earth magnets creating motion.
We’re not sure if he has any use in mind for this build. For us we just like to see the concept in practice (we feel the same way about a homopolar motor build).


[via Reddit]

Filed under: classic hacks

Feb 6, 2013

10 Συμβουλές για να Αποτύχει το Website σας

10 Συμβουλές για να Αποτύχει το Website σας:
website-sm.jpgΟι μισοί άνθρωποι κυνηγούν την επιτυχία και οι άλλοι μισοί τους δίνουν συμβουλές για να επιτύχουν. Εμείς, ως ξεχωριστά όντα, είπαμε να διαφοροποιηθούμε από όλους αυτούς. Αφού ψάξαμε, διαβάσαμε και είδαμε τα χειρότερα, αποφασίσαμε να μοιραστούμε μαζί σας τις εμπειρίες μας και να σας βοηθήσουμε να φτιάξετε ένα απόλυτα αποτυχημένο Web Site.
Τώρα αν εσείς για οποιοδήποτε λόγο επιμένετε στην επιτυχία, απλώς αποφύγετε πάση θυσία όσα ακολουθούν.
1) Ονομάστε το Site σας με κάποιο άσχετο όνομα.
Φαντάζεστε την έκπληξη που θα αισθανθούν οι επισκέπτες του http://www.poetry.gr αν ανακαλύψουν ότι πρόκειται για το Site ενός κρεοπωλείου; (Μην ψάξετε. Δεν υπάρχει τέτοιο site. Δεν θίγουμε υπολήψεις εμείς.)
Τώρα βέβαια, αν το πλασάρετε σωστά, ίσως και να κάνει τέτοια εντύπωση που να σας θυμούνται περισσότεροι και ευκολότερα. Άβυσσος η ψυχή του χρήστη!
2) Χρησιμοποιήστε ένα τεράστιο και ακαταλαβίστικο URL.
Πώς θα σας φαινόταν κάτι σαν το http://www.121~110+jhe987654sfd=-50g-0sfj.com; Σας εγγυόμαστε ότι κανείς δεν θα το θυμηθεί (ούτε καν ο φίλος σας που διαθέτει φωτογραφική μνήμη) αλλά και ούτε κανείς θα μπει στον κόπο να το αποθηκεύσει, πόσο μάλλον να το πει και σε άλλους; Μπορείτε τότε να είστε ήσυχοι. Δεν θα σας επισκεφθεί κανείς.
3) Φορτώστε τις σελίδες σας με όσες περισσότερες φωτογραφίες και άσχετα animations μπορείτε.
Για να έχετε τα επιθυμητά αποτελέσματα, απαιτούνται το λιγότερο 15 φωτογραφίες σε κάθε σελίδα (εννοείται τουλάχιστον 5MB η κάθε μία) και άλλα τόσα animations. Ε, με μια κανονική προς αργή ελληνική σύνδεση, θα χρειάζεται τουλάχιστον 1 ώρα για να κατέβει η σελίδα. Λίγο είναι;
Στην εξαιρετικά απίθανη περίπτωση που βρεθεί άνθρωπος που θα περιμένει να φορτώσει η σελίδα σας, τα παρακάτω ενδέχεται να συμβαίνουν:

- Πρόκειται για κάποιον δύσμοιρο που βρίσκεται φυλακισμένος σε ένα δωμάτιο όπου το μόνο που του επιτρέπεται να κάνει είναι να σερφάρει στο Internet ΚΑΙ (προσέξτε το), έχετε το μοναδικό Web Site στον κόσμο.
- Έχει λόγους να θέλει να μάθει σε ποιο σημείο εξαντλείται η υπομονή του.
- Του είπανε ότι «το καλό πράγμα αργεί να γίνει» και έτσι περιμένει με υπομονή. Δεν ήξερε. Δεν ρώταγε;
- Είναι απασχολημένος με κάτι άλλο και ξέχασε τον υπολογιστή αναμμένο. Κάτι σαν αυτούς που έχουν μηχανάκια της AGB.
?????? Είπαμε. Άβυσσος η ψυχή του χρήστη.
4) Μην ανανεώστε τις πληροφορίες στην ιστοσελίδα σας, πριν περάσουν τουλάχιστον 2 χρόνια.
Ποιος σας είπε ότι ο χρήστης επιθυμεί να μαθαίνει συνεχώς κάτι νέο από σας; Δώστε του το χρόνο να εμπεδώσει όλα τα παλιά σας νέα και ταυτόχρονα να επισκεφθεί όλα τα υπόλοιπα Sites του Web. Επανεξετάζοντας το θέμα, μήπως να περιμένατε 5 χρόνια; Είναι λίγο μεγάλο το Web. Ε, τώρα αν μετά από 5 χρόνια εξακολουθεί να σας επισκέπτεται για να μάθει νέα σας, η επιστήμη σηκώνει τα χέρια ψηλά.

5) Αφήστε το Web Site σας «Υπό Κατασκευή» για πολύ καιρό.
Κατανοούμε την εύλογη απορία σας.. «για πόσο καιρό;». Ως γνωστόν, ο χρόνος είναι σχετικός. (Και χρήμα, αλλά δεν μας ενδιαφέρει εδώ.) Στη γη, που ο χρόνος κυλάει γρήγορα, θα σας απαντούσα ένα χρόνο. Στο διάστημα, που κυλά πιο αργά, θα σας έλεγα τρία. Στον κυβερνοχώρο, φτάνει ένα τρίμηνο· όχι για να μην σας επισκεφθούν ποτέ (όποτε και αν κατασκευαστεί το site) αλλά για να χάσετε τους περισσότερους πελάτες σας.

Για πιο σίγουρα αποτελέσματα, αυτούς τους τρεις μήνες διαφημίστε το νέο σας (ανύπαρκτο) Site ΠΑΝΤΟΥ. Επιβάλλεται να είναι έκδηλος ο ενθουσιασμός σας για το νέο σας δημιούργημα, και η διαφήμιση να προδιαθέτει τον επισκέπτη για κάτι το εξαιρετικά ενδιαφέρον, πρωτοποριακό και χρήσιμο.

Καλού, κακού, αυτές τις μέρες, μη σηκώνετε τηλέφωνα.

6) Μπερδέψτε τους επισκέπτες.
Κατ αρχήν, οι τίτλοι των ενοτήτων που περιλαμβάνει το Site σας, δεν πρέπει να αποκαλύπτουν το παραμικρό για το περιεχόμενό αυτών. Με ποιο δικαίωμα στερείτε το σασπένς από το χρήστη; Αιφνιδιάστε τον. Σκοπός σας είναι να μην του επιτρέψετε να βρει αυτό που θέλει εκτός κι αν ψάξει σε όλο το Site. Γιατί να χάσει την ευκαιρία να μάθει πράγματα που ούτε ήθελε ούτε σκόπευε ποτέ να μάθει;

7) Αναπτύξτε σε βάθος τις απόψεις σας.
Χρησιμοποιείστε όσο μεγαλύτερα κείμενα μπορείτε και μάλιστα στην ίδια σελίδα. Γιατί να αναγκάζετε τον κόσμο να αλλάζει συνεχώς σελίδες; Έτσι κι αλλιώς αυτά που λέτε είναι τόσο ενδιαφέροντα που δεν θα μπορέσει να σταματήσει πριν μάθει τα πάντα. Αν βρεθεί κανείς να το διαβάσει ολόκληρο (λέμε τώρα), δεν υπάρχει η παραμικρή πιθανότητα να σας ξαναενοχλήσει. Στην καλύτερη περίπτωση θα βάλει σκοπό της ζωής του να προφυλάξει άλλους ανυποψίαστους χρήστες προειδοποιώντας τους να μείνουν μακριά σας.

8) Μην απαντάτε στα e-mail που λαμβάνετε.
Εάν έχετε κάνει κάποια από τα παραπάνω και όμως εξακολουθείτε να λαμβάνετε e-mail (εξαιρούνται οι περιπτώσεις αγανακτισμένων που διαμαρτύρονται), τότε προς Θεού μην τους δώσετε καμία σημασία. Συνιστάται να μην τα διαβάσετε καν. Πάντως ό,τι κι αν κάνετε, μην απαντήσετε. Αν καταλάβουν ότι ασχολείστε μαζί τους, δεν θα μπορείτε να απαλλαγείτε από την παρουσία τους.

Το καλύτερο δε που μπορείτε να κάνετε είναι να δίνετε μια ανενεργή ηλεκτρονική διεύθυνση. Όχι τίποτα άλλο, αλλά ποιος θα κάθεται να τα σβήνει. Όσο γι’ αυτούς που θα έχουν το θράσος (την τόλμη, την αφέλεια) να επιδιώξουν να επικοινωνήσουν μαζί σας, θα λάβουν το μήνυμα ότι αυτό είναι αδύνατον.

9) Γράψτε τα πάντα στα κινέζικα.
Βέβαια αν απευθύνεστε σε Κινέζους ή ανθρώπους που τυχαίνει να ομιλούν την κινεζική, τότε υπάρχει πρόβλημα. Μήπως τα Ιερογλυφικά, η Γραμμική Β΄ τα Ιδεογράμματα ή κάποια νεκρή γλώσσα να αποτελούν την καλύτερη επιλογή; Ίσως αν λέγατε τα πάντα με εικόνες (1 εικόνα ισοδυναμεί με 1000 λέξεις) και δη αφηρημένης τέχνης; Όχι, αυτό δεν το έχουμε συναντήσει (ακόμα) πουθενά στο web, αλλά δεν είναι απαραίτητο να μιμηθείτε τους άλλους. Να είστε δημιουργικοί. Εμείς κάνουμε την αρχή.

10) Κάντε όλα τα παραπάνω….
… και ό,τι άλλο σας φωτίσει ο Θεός. Μην αφήσετε κανέναν να σας ξεφύγει. Είστε αποφασισμένοι να αποτύχετε και δεν πρέπει να διστάσετε μπροστά σε τίποτα. Οι θερμότερες ευχές μας σας συνοδεύουν.

Δεν πωλείται

Δεν πωλείται:
-Μα αν πουλήσουμε όλες τις κρατικές εταιρίες, τι θα παραμείνει κρατικό;

-Το Mega!

(source: http://pitsirikos.net)

    GSM Modem με εισόδους και εξόδους από την Phoenix Contact

    GSM Modem με εισόδους και εξόδους από την Phoenix Contact:
    Αν ψάχνετε για ένα GSM Modem για τον απομακρυσμένο έλεγχο του αυτοματισμού σας μέσω κινητού τηλεφώνου, τότε σας προτείνουμε αυτό της PHOENIX CONTACT. Πρόκειται για ένα GSM Modem με ενσωματωμένους 6 εισόδους και 4 εξόδους όπου μπορείτε να τους προγραμματίσετε από τον υπολογιστή σας μέσω καλωδίου και της θύρας RS-232.

    Διατίθεται σε δυο εκδόσεις, η πρώτη με τάση τροφοδοσίας από 110V έως 240V AC διαθέτει 6 ψηφιακές εισόδους και 4 εξόδους ρελέ και η δεύτερη με τάση τροφοδοσίας 24V DC διαθέτει 6 ψηφιακές ή αναλογικές εισόδους και 4 εξόδους ρελέ.


    Ο απομακρυσμένος έλεγχος του GSM Modem γίνετε από τα κινητά τηλέφωνα που έχετε ορίσει εσείς και μέσω προκαθορισμένων μηνυμάτων SMS. Γράφοντας και στέλνοντας ένα SMS στην συσκευή μπορείτε να ενεργοποιήσετε ή απενεργοποιήσετε τις εξόδους της, ενώ σε κάθε αλλαγή της κατάστασης των εισόδων η συσκευή σας στέλνει ένα SMS στο τηλέφωνο σας. Μπορείτε επίσης στέλνοντας ένα SMS στην συσκευή, να έχετε την πλήρη απομακρυσμένη επιτήρηση όλων των εισόδων και εξόδων της.


    Η συσκευή δεν περιλαμβάνει κάρτα SIM στην συσκευασία της και θα πρέπει επιλέξετε μια εσείς. Δέχεται κάρτες SIM για δίκτυα των 850MHz, 900MHz, 1800MHz και 1900MHz.


    Το λογισμικό προγραμματισμού της συσκευής από τον υπολογιστή σας, διατίθεται δωρεάν και είναι πολύ φιλικό προς την χρήση, χωρίς να απαιτούνται ειδικές γνώσεις προγραμματισμού.


    Για περισσότερες πληροφορίες κατεβάστε το εγχειρίδιο χρήσης της συσκευής κάνοντας κλίκ ΕΔΩ.

    Paperduino Pi

    Paperduino Pi:


    This is a project for people a little bit skilled in soldering and design PCB. The user [dernulleffekt] designed an homemade shield for Raspberry Pi that integrate an Arduino Board.
    The Paper-Duino-Pi is an Arduino shield for the Raspberry Pi. Due to the fact that it is designed as Paper-PCB it is easy to create and one doesn’t need a printed circuit board. Some small modificaten in the OS and IDE and you have a perfect interface for the Raspberry Pi.
    This [video] shows how one can use it with the Firmata and Pure Data. On the [website] there is a very well written tutorial to build your Raspberry/Arduino shield at home.

    Enabling F-bus communications with Arduino

    Enabling F-bus communications with Arduino:
    It’s always nice to see how creative makers approach communication issues in DIY projects, and today we would like to highlight the approach followed by Alex, from InsideGadgets.
    On his website, he provides a detailed tutorial on how to use an old Nokia 6110 (or any derivatives) to send SMS messages by exploiting the Nokia’s F-bus, a simple bi-directional and full-duplex serial protocol.
    After considerable reverse engineering work, made possible by useful online documentation, Alex finally managed to send a SMS from his Arduino board, connected to the phone, thanks to AVR libraries made available by AVRFreaks.
    More information can be found on InsideGadget.
    [Via: Inside Gadgets]

    New design of Arduino GSM and GPS shield

    New design of Arduino GSM and GPS shield:
    Open-electronics have introduced new version of their Arduino GSM shield. The new shield uses well known GSM/GPRS module SIM900 and SIM908 GPS module what makes it versatile for voice and data communications.
    The new module has better power supply solutions and offers more customizations and configurations. All you need is to attach microphone and headphones in order to make phone-calls with Arduino. As usually there are libraries available for running your applications in shortest time possible. Couple Arduino sketch examples will make this happen even faster.

    Many reasons not to use Arduino in your next project

    Many reasons not to use Arduino in your next project:
    Actually the idea of Arduino is great. It’s a gold mine for novices to get simple and middleweight projects to get working in a short time. But all fun ends when critical timing kicks in. Probably this is why there are lots of attempts to mimic Arduino with high performance microcontrollers like PIC32 based ChipKIT or ARM based Netduino. These alternatives may save you in most cases by turbocharging performance but eventually you will end up wasting resources for hidden unknown and then you’ll be forced to dig deeper in to microcontroller hardware.
    Vassilis gives a nice lists that demotivates choosing Arduino for more advanced projects. Instead he suggests focus on pure programming using tools like AVR-GCC with no hidden libraries and functions. He points many reasons like Arduino IDE which is worst IDE for writing and editing code, fixed Arduino clock speeds, mandatory bootloader which occupies program space. Also simple operations like digital write takes to many clock cycles. Some background code is still running even if you’re not using it. As a proof try to compile empty Arduino program and you’ll see that it takes at least 466 bytes for doing nothing. By no means we are not discouraging using Arduino. As in all areas choose smart. And learning microcontroller architecture instead of blind relying on libraries is always a win!