Open Source Power Line Communication

Power Line Communication Filtering

 

Since we all have wires running throughout our houses to provide mains power, there’s a number of devices that piggyback on mains lines for communication. For his thesis project, [Haris Andrianakis] developed his own power line communication system.

The basic principle of the system is to inject a signal onto the power lines at a much higher frequency than the 50 or 60 Hz of the AC power itself. Using both active and passive filters, the signal can be separated from the AC power and decoded. This system uses frequency-shift keying to encode data. This part is done by a ST7540 modem that’s designed for power line applications. The modem is controlled over SPI by an ATmega168 microcontroller.

[Haris]’ write up goes into detail about some of the challenges he faced, and how to protect the device from the high voltages present. The final result is a remote display for a weigh scale, which communicates over the power line. Schematics, PCB layout, and software are all available.

Energy-Saving Fireplace Thermostat

[Andrian] has a boiler stove that heats water and sends it to a radiator. As the fireplace heats the water in a boiler a temperature sensor opens the a valve to send the warm water to the radiator. The radiator sends its cool water back to the boiler to be reheated. The valve is slow, so before the boiler can send all the water to the radiator, it’s getting cool water back causing the valve to close while the heat is built back up. To prevent the valve from working so hard and wasting energy, [Andrian] designed a better thermostat to control the valve operation.

The thermostat uses one LM85 temperature sensor to check the water in the boiler and another one for the ambient temperature. Once the boiler water reaches the desired temperature, the valve is opened via relay. The system waits for half an hour and then checks the boiler temperature again. The brains of this operation is an ATMega168 with a 32.768kHz crystal as the RTC. Code and PCB files are available in his repo.

We love to see these types of hacks that challenge the status quo and increase the efficiency of appliances. We applaud you, [Andrian], for turning your dissatisfaction into a positive plan of action and for sharing your experience with the rest of us!

If you want to up the eco-friendliness of heating water a bit, you could heat the water with a compost heap.

Update From Wayback: AVGA Reborn as RetroWiz

retrowiz-vga-avr-gaming-system

This one has been a long time coming. We’re finally seeing an update to [Jaromir’s] retro gaming platform based around and ATmega chip. The thing that was novel about it back in 2009, and continues to be to this day, is the use of VGA output (PAL) from an AVR chip rather than composite video like most offerings.

Good projects never die and recently he picked the hardware up again, spinning a mostly surface mount board and putting together a new website to feature his work. Above you can see a demo of Commander Keen 4 running on the hardware (video below). He’s also has a rather trippy Super Mario port and adapted [Albert Seward’s] PacMan source for the hardware.

The chip is being clocked at 32MHz with VGA clock running at 19.6608 MHz. This gives him sixteen colors with a resolution of 192×144. He concedes that you get better resolution out of composite video, but who needs resolution for retro gaming?

Continue reading “Update From Wayback: AVGA Reborn as RetroWiz”

HaDuino: Open Your Beer Using Arduino

Frankly we’re tired of Arduino having a bad name here at Hackaday. So [Brian Benchoff] came up with a way to make it useful to a wider audience. His creation, which we call the HaDuino, lets you use the Arduino clone to open a tasty bottle of beer.

Continue reading “HaDuino: Open Your Beer Using Arduino”

Omniwheel robot build uses a bit of everything

building-an-omniwheel-robot

Machinist, electronics engineer, programmer, and factory worker are all skills you can wield if you take on a project like building this omniwheel robot (translated).

The omniwheels work in this tripod orientation because they include rollers which turn perpendicular to the wheel’s axis. This avoids the differential issue cause by fixed-position wheels. When the three motors are driven correctly, as shown in the video below, this design makes for the most maneuverable of wheeled robots.

An aluminum plate serves as the chassis. [Malte] milled the plate, cutting out slots for the motor with threaded holes to receive the mounting screws. A few stand-offs hold the hunk of protoboard which makes up the electronic side of the build. The large DIP chip is an ATmega168. It drives the motors via the trio of red stepper motor driver boards which he picked up on eBay.

So far the vehicle is tethered, using a knock-off of a SixAxis style controller. But as we said before, driving the motors correctly is the hard part and he’s definitely solved that problem.

Continue reading “Omniwheel robot build uses a bit of everything”

Color NTSC video directly from an AVR chip

color-ntsc-from-avr-chip

We’ve seen composite video out from AVR chips many times before. But we can’t remember coming across one that managed to produce a color signal. This project does just that, producing a color video signal from an ATmega168 without using external integrated circuits.

[CNLohr] is seen here showing off his accomplishment. You’ll remember him from the glass-slide PCB server project he’s been working on recently. This time around it’s a small piece of gaming hardware which he’s working on. But using four pins from the microcontroller, connected via resistors in parallel, he is able to generate a color NTSC signal without using a chip like the AD723.

After the break you can see the two minute demo in which he shows the game running for just an moment, then gives a general overview of how the signals are being built. There isn’t a ton of explanation, but he did post his code as well as a resource for you to teach yourself more about the NTSC standard. Maybe you can make a color version of that AVR tetris game?

Continue reading “Color NTSC video directly from an AVR chip”

Giant resistor-shaped Ohmmeter

resistance-measuring-resistor

The fun of having a giant resistor-shaped Ohmmeter is that it reads back the resistance by displaying the color code. If you’re not too hot with decoding those bands there’s a helper band to the right which will display the value numerically.

All of the electronics are housed in the opaque part of the resistor, making for a nice low-profile base. The bent leads are hollow and allow [Sebastian] and his friend to run power and measurement leads through to the power connector on the back and the pair of banana jacks near the front. Each translucent ring houses an RGB LED, except for the one on the right which has four 7-segment display modules embedded in it. An ATmega168 takes the measurements using its Analog to Digital Converter (ADC) to read the value from a voltage divider. You can see a quick demo of the Ohmmeter in the video after the jump.

This would be a fun thing to pair with that giant breadboard.

Continue reading “Giant resistor-shaped Ohmmeter”