VMware Fusion (OSX): Mooltipass in Virtual Machines

meneame.net TRACK TOP
Publicado el 19th Agosto, 2014 por KaR]V[aN. Archivado en Arduino, VMware.
Leido 1,476 veces. 1 comentario archivado.

So, I wanted to test the Mooltipass in different platforms besides my main OS, Mac OS X. The better way is to use virtual machines I already have VMware Fusion. On first try I wasn’t able to associate the Mooltipass to any of my virtual machines because the MP is an HiD device and as so, is always connected to the main OS and then emulated via VMware Fusion in the guest OS (in my case, Windows XP and Windows 8):

vmware_fusion_screenshot_without_usb_mooltipass

Mooltipass is not eligible to be associated to the guest OS

After some googling I found a relevant KB (knowledge base) article about associating HiD devices entirely to a Virtual Machine and disassociating it from the host OS: http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1033435.

The article says that the virtual machine hardware definition file (.vmx extension, usually located at /Users/karman/Documents/Virtual Machines.localized) has to be manually edited after shutting down the virtual machine and the VMware Fusion to add the two following lines:

usb.generic.allowHID = "TRUE"
usb.generic.allowLastHID = "TRUE"

After adding both lines, you can safely search for the Mooltipass HiD devide to properly associate it to the guest OS:

vmware_fusion_screenshot_with_usb_mooltipass

vmware_fusion_screenshot_with_usb_mooltipass

Broken Kindle 3

meneame.net TRACK TOP
Publicado el 8th Julio, 2013 por KaR]V[aN. Archivado en Cacharros, Electrónica.
Leido 249,795 veces. 78 comentarios archivados.

This is a donation of a friend as its not working. Actually this kindle 3 stop working when booting, hence the reason that shows the booting load bar.

broken Kindle 3 Front

broken Kindle 3 Front

I tried to search for onboard blown fuses but every single fuse I found was in good condition. After that I researched over internet and found that has a debug serial port. I tried to attach my usb to serial ttl converter with a little level shifter (kindle serial port works in 1.8v) but had no luck, not even a single character was shown in my Zterm :(

broken Kindle 3 Back Opened

broken Kindle 3 Back Opened

I wanted to install debian to see how the display could work and some few hack I’m thinking of but being the board pretty much dead (only seems to work for its battery charging) I decided to save it for parts as battery, case, metal frame, keyboard and display seems in good working conditions (although I’ve not been able to test them properly). If some generous reader has a kindle 3 with a broken display and he/she is willing to donate it to science I’ll be more than happy to pay the shipping.

LiPo Batteries Hacking and refurbishing

meneame.net TRACK TOP
Publicado el 30th Junio, 2013 por KaR]V[aN. Archivado en Cacharros, Electrónica.
Leido 261,390 veces. 47 comentarios archivados.

One of the difficult parts when prototyping is to find reliable power sources. Today is still hard to find the battery size we want to use because country exporting frontiers stops these chemical packages. Here I’ll show how to refurbish dead batteries by combining cells and protection circuits to preserve battery life.

An (almost) dead Apple MacBook Pro (17″) battery fell in my hands so I decided to tear it down to see if there was something profitable. Inside I found that the battery pack was composed with 6 individual cells, paired in 3 groups.

Apple Mac Book Pro 17" Battery Disassembly

Apple Mac Book Pro 17" Battery Disassembly

Seems that the third group had a small voltage difference between cells so they began discharge between them. This leaded both cells to die, condemning the entire battery pack.

Here can be seen the individual cells:

Batteries separated from the main board.

Batteries separated from the main board.

As can be seen the cells doesn’t have individual protection circuits witch are important to avoid discharge below 2.7v to preserve battery life.

I also came across with a small photo-frame that I bough just for hacking fun as is really a bad piece with almost no memory, no SD card expansion, 128×128 display and bad electronics. It cost me 1.99€ and the battery was drain dead from the first moment I opened the package.

Small and dead LiPo battery with the protection circuit.

Small and dead LiPo battery with the protection circuit.

It was inflated and reading 0.26v. Obviously battery couldn’t be rescued, but I salvaged the power cutting circuit. Here is the reverse side of the protection circuit board. Notice the polarity when soldering the LiPo cell and wires:

LiPo Battery protection circuit downside.

LiPo Battery protection circuit downside.

Once I soldered the protection circuit board to the Apple battery cell I ran some charging and discharging tests to ensure the assembly works fine and that power is cut at 2.7v:

Working Refurbished Battery

Working Refurbished Battery

Olympus E510 MOS Image Sensor

meneame.net TRACK TOP
Publicado el 28th Junio, 2013 por KaR]V[aN. Archivado en Cacharros.
Leido 115,348 veces. 82 comentarios archivados.

This DSLR came to me in a little market in Barcelona called Encantes, wich is open 3 days a week. At first I though it was a good thing to buy as the camera hadn’t any scratches or visual defects. It cost me 15€ so it was worth of buying it even if was broken.

Actually I tried to power up the camera by soldering a pair of cables to the battery attachment and feeding them with the 7.4v that its original batteries supply. After a few tries an multimeter measures I ended with a diagnose of broken power supply board. It costs about $40 to replace it but I’m not totally sure about if the rests of components will be properly working, plus the camera is 10Mpx, made in 2007 and has smaller 4:3 image sensor format, wich is poorly on high ISOs, so I decided to tear it down.

Olympus E510 MOS Image Sensor

Olympus E510 MOS Image Sensor

The MOS image sensor (big center colored square) is mounted over 3 frames. The first, image sensor frame moves in vertical axis meanwhile the second frame moves in horizontal axis. The third and outside frame is fixed in the camera. This conforms the IS (image stabilization) system of this camera that works regardless the lens you use on it. The bad thing about image sensor stabilization is that stabilizes image only for the final photo and live view, leaving the image unstabilized when looking in viewfinder and light/autofocus sensors.

Overall, is a really nice technology piece as the frames are moved with ultrasonic motors.

Arduino Sensor Board plus PongClock

meneame.net TRACK TOP
Publicado el 15th Junio, 2013 por KaR]V[aN. Archivado en Arduino, Electrónica.
Leido 104,653 veces. 40 comentarios archivados.

This tiny sensor board was solely designed by Mike Rankin, a friend that help me to bring life to a real custom GPS board. This time he was looking for a multi purpose board to develop anything.

Sensor Board Main display Side Showing Ponglock

Sensor Board Main display Side Showing Ponglock

Feature list:

  • I2C Bus to save pins for future use.
  • 128×64 OLED I2C Display: let’s draw anything
  • Momentary switch on left and cross plus center buttons on right (total 6 input buttons)
  • Arduino Leonardo based: USB for anything.
  • Temperature sensor (I2C)
  • Barometer sensor (I2C)
  • Accelerometer sensor (I2C)
  • Real Time Clock (I2C) plus backup battery.
  • Switched power supply.
  • LiPo charger.
  • Tiny design: let’s make portable projects.
Sensor Board Main Component Side

Sensor Board Main Component Side

I couldn’t resist temptation.. I ported the pongclock code from Rob Parrett to this tiny board. Here is the result:

Hardware is open hardware, you can obtain anything on Mike’s web or you can buy it directly from Tindie. Custom pongclock code can be downloaded from here.

Update: I fixed 3 bugs in the original code to fix pong game behavior to be as accurate as possible, like the scoreboard, ball missing and properly change of hours.