Lubuntu volume keys (not working)

To get them work edit the /home/$USER/.config/openbox/lubuntu-rc.xml. Replace the commands within the <command> statements to:

<!-- Keybinding for Volume management -->
 <keybind key="XF86AudioRaiseVolume">
 <action name="Execute">
 <command>amixer -D pulse sset Master 5%+</command>
 </action>
 </keybind>
 <keybind key="XF86AudioLowerVolume">
 <action name="Execute">
 <command>amixer -D pulse sset Master 5%-</command>
 </action>
 </keybind>

Kicad schematic editor slow

If there are performance issues with Kicad and the schematics editor running on a ATI Radeon GPU hardware consider to add a xorg option in the file

/usr/share/X11/xorg.conf.d/20-radeon.conf:

Section "Device"
    Identifier "Radeon"
    Driver "radeon"
    Option "AccelMethod" "exa"
    Option "MigrationHeuristic" "greedy"
    Option "EXAPixmaps" "false"
EndSection

The option EXAPixmaps is documented here: https://www.x.org/archive/X11R7.6/doc/man/man4/radeon.4.xhtml

Battery charger – battCharger V1


I am proud to introduce you now my newest electronic hardware:

battCharger – a free and open hard- and software design to evaluate buck-converters charging a battery.

battCharger.jpg
[more]

battChargerPCB.jpg

The hardware circuit consists foremost of a secondary switched micro-controller driven buck-converter. An Arduino Micro board controls the output levels, while it is measuring voltage, current and temperature.
The main reason to build this “monster” was that most manufacturers do not free the source code and schematics. What if a “new” battery technology is out and the manufacturer does not update it’s firmware any more?

With the battCharger no problem: Source code is available for public.

The battCharger can charge battery types like Ni-Cd, Ni-Mh, Li-ion and Lead acid. Although it is designed for charging batteries, the battCharger has a power supply mode and an electronic load mode because the main hardware design consists of a power supply.

The software is currently mostly functional and following features are implemented:

Charger mode:

  • Charge

    Batteries are charged within given parameters: Voltage, current, capacity, cells, temperature, battery type. A security shutdown occurs if over-/undervoltage, -temperature and overcurrent is detected, or a timeout is reached.

  • Discharge

    Batteries are discharged within given parameters: Voltage, current, capacity, cells, temperature, battery type. A security shutdown occurs if over-/undervoltage, -temperature and overcurrent is detected.

  • Charge/Discharge/Charge
  • Charge/Discharge/Charge cyclic (for Ni-Cd batteries)
  • Measure resistance

    The resistance is measured by discharging at 0,1C for 20 seconds and by discharging afterwards at 1C for 20 seconds. If finished, the resistance will be calculated. (DC load method, http://batteryuniversity.com/learn/article/how_to_measure_internal_resistance)

Power supply mode:

  • CV/CC mode

Electronic load mode:

  • CC mode

Hardware

  • Channels: 2
  • Maximum current per channel: 8A
  • Maximum voltage: 36V
  • Maximum power sum: 200VA
  • Maximum capacity: 200Ah
  • Maximum discharge/load power per channel: 50W
  • Power supply topology: Secondary switched buck converter (with transformers)

External data acquisition tools
The USB UART of the Arduino Micro can be grabbed with any tool understanding serial communications. A GUI is developed to inspect electrical loads, sources and batteries. Remote SSH connection is supported.
Also an email alert function is implemented.

battChargerGUI.png

The soft- and hardware sources are available at: http://bazaar.launchpad.net/~tuxstef/mrsd/trunk/files/head:/BattCharger/

Two PCBs were manufactured by Eurocircuits and one of them is now under stress-test. Note that a new PCB release will be publicated to patch some errors.

Further on more info will be presented onto this site.

Fiddle yard controller fy_2

Some summarizing word about it:

  • Controls (with my circuit) up to eight rails
  • Direct DCC support, “Multiport” setup (http://wiki.rocrail.net/doku.php?id=seltab-int-en)
  • Position control solved with some kind of “P” controller
  • Position setup could be done with the implemented loco decoder mode or direct by changing CVs, for details please have a look at the header of fy_2.ino
  • Switching between the rail sensors possible (http://wiki.rocrail.net/doku.php?id=seltab-gen-en, “Shared sensors”)

fy_2-motor.jpg

The source code is available at:
http://bazaar.launchpad.net/~tuxstef/mrsd/trunk/view/head:/fiddleyard/arduino/fy_2/fy_2.ino

And the schematics:
http://bazaar.launchpad.net/~tuxstef/mrsd/trunk/view/head:/fiddleyard/eagle/fy_2.png

[more]

fy_2-controller.jpg

Don not forget to load the Arduino Duemilanove bootloader onto your microcontroller otherwise the serial upload and debug will not work!

ServoGold V2

Hello,

I got a Faller crane without motors build in. This was not acceptable so I build in some.

Please have a look at the pictures:

3.jpg
[more]
2.jpg
1.jpg

…and a video:

download/mrsd/ServoGoldV2/1.mp4

The source code is available at:

http://bazaar.launch … /arduino/ServoGold_2

I used “Chinese” gear motors and cheap potentiometers with an angle of 360° because I have not found any servo motor that’s rotational speed is useable for my needs -> it seems that the industry has no interest on it…
The hot glue is optional you could also use thin metal plates for fixing the motor onto the ground plate and the potentiometer onto the motor….

Software features:

-Movement training program, 3 lists with each 16 entries
-Manual movement
-Every horizontal movement includes a regulated vertical movement
-CV support