May 22, 2013

Quantification of Car vs. eBike

Ongoing eBike build

Last update: 6/19/2013

The Car
Plans for The Electric Bike:
$18,000 car$375 '06 Marin Nail Trail (purchased)
$2,000 for gas a year$100 Overhaul tuneup by:
$600 for insurance$749.99 Phoenix II 4840 Motor Kit 28mph fromelectricrider.com
 Motor
 Spokes
 Rim
 Lacing
 48V 40amp Controller
 7-Speed Freewheel
Throttle
Active Power Management LCD
Spoke Wrench
$180 for oil changes$30 Brute 26" Rear for more torque (my route has hills)
$200 for wear on tires, smog check, and wheel balancing alignment$689.00 LiFePO4 Lithium 15AH Battery w/BMS + 4A charger + 12 month warranty
$150 registration$50 Shipping
Air pollution/noise pollution
Exercise
Stress
Enjoy outdoors
Good for long distance travel

Fun when turbo kicks in





Total: $18000 car + $3130
Total: $475 bike + 1469.98 kit + $50 shipping




Useful eBike Links

*********************************************************************************

Links:

YPedal's Intro to eBikes:
http://ypedal.com/rant/rant.htm

FAQ
http://endless-sphere.com/forums/viewtopic.php?f=3&t=26488

Choosing a frame:
http://www.electricbike.com/suspension/
https://www.phasorcycles.com/

 Phasor Frame Made in the USA

Battery Supplier:
http://endless-sphere.com/forums/viewtopic.php?f=14&t=47894&p=704750&hilit=electricrider#p704750
http://myworld.ebay.com/sun-thing28
http://www.batteryspace.com/custom-linimnco-battery-36v-18ah-648wh-40a-rate-with-pcm-for-e-bike-54.aspx

Tires:
http://endless-sphere.com/forums/viewtopic.php?f=3&t=37963&start=25

http://endless-sphere.com/forums/viewtopic.php?f=11&t=20282

http://www.amazon.com/CST-Cyclops-Tire-2-4-BLK/dp/B002SG53RE/

Kits:
Electric Rider - USA
http://electricrider.com/crystalyte/index.htm

e-BikeKit - USA
My brief customer experience with e-bikekit.com was excellent. Communication was fast and top notch here. Well known on the internet for their 5 star customer service.
http://www.e-bikekit.com/

FalconEV - USA
http://www.falconev.com

Conhis Motor - China
http://conhismotor.com/

Bike Maintenance
http://www.webmountainbike.com/maintenance.html 

Production eBikes
http://www.evelo.com/
http://www.stromer.ch
http://ultramotor.com
http://www.bh-emotion.co.uk/

Motors:
http://www.electricbike.com/crystalyte-hub-motor/
http://www.methtek.com

Torque Arms
http://endless-sphere.com/forums/viewtopic.php?f=2&t=26444
http://endless-sphere.com/forums/viewtopic.php?f=31&t=49635

Accessories:
Storage in the triangle http://www.amazon.com/Ibera-Bicycle-Triangle-Frame-Large/dp/B006JA8WEG
http://em3ev.com/store/index.php?route=product/product&path=41&product_id=125

Mount Battery Ideas:
http://endless-sphere.com/forums/viewtopic.php?f=3&t=12847

Other:
http://www.fallbrooktech.com/nuvinci-technology

Maintenance
https://www.youtube.com/watch?v=LNzN9oTQA8s

*********************************************************************************

May 21, 2013

XBMC + Xubuntu 12.10 + VDPAU working flawlessly [Nvidia ION Media Center]



Xubuntu 12.10 is lightweight, stable, and fast. It's Ubuntu with a turbo slapped on. In this post, we'll go over setting up a XBMC media box with Dolby Digital/DTS out and Chrome with adobe flash over HDMI.

With the newest version of XBMC, the installation was smooth. I did not have to configure the sound output for DD over HDMI--the sound worked immediately after installing XBMC. In my previous blog posts, you'll notice the issues I ran into getting sound to work over HDMI. The only challenges I ran into this time around was getting overscan issues corrected and getting Google Chrome to work with Adobe flash hardware acceleration to which a solution was eventually found. Let's give this a go.

My set up:

Zotac Nvidia ION, Atom N330 Dual Core
2GB DDR RAM
Xubuntu 12.10 x386
XBMC Camelot Beta 1
Western Digital 150 GB Velociraptor

1. Download Xubuntu 12.10 x386 (I chose 32bit because Flash was more stable for me)
2. Either burn it to disk or create a startup USB: http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/
3. Install Xubuntu and choose login automatically. Then reboot
4. On your HTPC, open up Firefox and go to this blog post
5. Install Nvidia drivers by opening up terminal and copy and paste line by line

Copied from mygeekopinions blog:
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
sudo apt-get update
sudo apt-get install nvidia-current

6. Reboot

7. If you have Overscan issues, open terminal and run (more info on nvidia-xconfig):
sudo nvidia-xconfig

This will set up a xorg.conf file located /etc/X11/xorg.conf

For my installation, I used this nvidia-settings to find the right resolution for my TV. You will need to modify this to best fit your TV. (from the pclinuxos forums):

nvidia-settings --assign 0/CurrentMetaMode="DFP-1: 1920x1080 { ViewPortOut=1820x1020+50+30, ViewPortIn=1920x1080 }"

Once you find the optimal settings, do the following to set it permanently:

cd /etc/X11/

sudo apt-get install gedit

sudo gedit xorg.conf

Paste the Option line, in the Section "Screen", between EndSubSection and EndSection

EndSubSection
Option "metamodes" "DFP-1: 1920x1080 { ViewPortOut=1820x1020+50+30, ViewPortIn=1920x1080 }"
EndSection

8. Save & restart

9. Enable VDPAU (from the linuxforums)

sudo apt-get install libvdpau1 vdpau-va-driver

10. Unmute HDMI/spdif

11. Open Firefox and install Flashaid
https://addons.mozilla.org/en-us/firefox/addon/flash-aid/

12. Restart firefox and open Flashaid and choose Adobe Stable 32 from the repo

Under tweaking options, place a checkmark next to Override GPU Validation and Enable Linux HWDecode

Follow the instructions, and once complete, restart Firefox

13. Install XBMC
http://www.noobslab.com/2012/11/install-xbmc-media-center-120-beta-1-in.html

sudo add-apt-repository ppa:team-xbmc/unstable
sudo apt-get update
sudo apt-get install xbmc

14. Install Amazon Prime Video addon via HowtoGeek

http://www.howtogeek.com/113491/how-to-get-hulu-and-amazon-video-on-xbmc/

15. Go to Xubuntu Settings Manager
Then Window Manager Tweaks
Go to the Compositor tab and uncheck Enable display compositing

16. Install Chrome
* Go to: http://about:plugins
* Click on the + Details to expand details
* Disable all versions of flash except for Version:11.2 r202
* Restart Chrome
* Confirm flash hardware acceleration is on by playing a video, right click, and Show Video Info
* Accelerated video rendering, accelerated video decoding should be displayed

May 17, 2013

Intel WiDi Sucks


*********Update 9/4/13*********
WiDi hit a new level of suckiness. With the new driver update, my WiFi still randomly disconnects and is unable to reconnect. WiDi disconnects and is unable to reconnect. Now, the Netgear PTV2000 goes into some kind of screensaver mode and doesn't wake up out of it, so I have to disconnect the power to the device and reconnect power to the device.

I have updated the drivers listed on the Intel site. Download them here: http://www.intel.com/support/wireless/wtech/iwd/sb/CS-031109.htm
*****************************

I try not to complain about technologies because technology is always improving. There's always a positive. Intel's WiDi on the other hand was such a bad user experience, I felt the need to share this with those looking to invest in the technology.

Intel WiDi sucks as a wireless display technology, and here's why. The connection constantly disconnects, fails to connect, freezes, laggy refresh rate, and has poor driver updates. As a consumer, it's already frustrating finding the right driver, and to add to this frustration, Intel instructs the user to install multiple drivers and install the drivers in a specific order as well.

Once completing the driver installation, it's like rolling the dice to see if the WiDi connects to the display. Most of the time, the dice come up snake eyes. If you're lucky enough to get the device to connect, a few minutes later, the screen freezes, so disconnect, reconnect, rinse repeat.

If using WiDi as a monitor extension, the mouse cursor and screen have laggy refresh rates. There is an option to scale down the resolution to 720P, which helps with refresh rates, but if you're trying to do some gaming, you can forget about using WiDi.

My setup:

Asus Zenbook UX51VZ with latest Intel Wireless drivers
Netgear PTV2000 with updated firmware



May 3, 2013

nexus 7 turns off/shutdown when bumped [solved]

My nexus 7 would always shutdown with the slightest tap. The nexus would shutdown at the worst time too: when I was using GPS Navigation. 

Turns out it was a loose battery cable. Using my nail, I was able to pop the back cover off and push in the battery cable. 

Now, the nexus 7 no longer shuts down when bumped.

Thanks itoldyouiwouldeatyou on reddit:
https://pay.reddit.com/r/Nexus7/comments/1a3k28/nexus_7_turns_off_when_bumped/

Feb 15, 2013

Harlem Shake Breakdown [What is the Meme?]



Harlem Shake videos explained:

1. The intro to the song Harlem Shake, by Baauer, plays for a total of 30 seconds throughout each meme video.
2. One person dances oftentimes with hip thrusts or pelvic movement, and arms swaying from side to side
3. The audience is oblivious to the dancer.
4. #2 & #3 go on for 15 seconds into the video.
5. At 15 seconds in, this is where the music transitions with a deep bass beat.
6. At 15 seconds in, the audience increases in size, and the audience joins in with the dancing. Energy levels go up.
7. Towards the end of the video, there is another transition in the song--this is where slow motion can be seen.
8. Yes, this post was not to be taken seriously.

Have fun and laugh hard!

Jun 19, 2012

XBMC & VDPAU Ubuntu 12.04 LTS 64bit w/HDMI Sound [HTPC]



XBMC Ubuntu 12.04 HTPC Tutorial

My Setup:
Zotac ION N330 w/integrated Nvidia ION Desktop GPU
Ubuntu 12.04 64-bit
Nvidia 295.49 Driver (302.17 removed overscan and broke sound)
HDMI Sound and Digital Passthrough for Dolby Digital and DTS
BIOS Southbridge - Internal Codec only
Nvidia HDMI to HDMI DD/DTC receiver - from HDMI DD/DTC receiver to HDMI TV (From the PC, a HDMI cable goes to HDMI receiver input | Another HDMI cable connects to the HDMI receiver output and goes to the HDMI input on the TV)

Instructions:

1. Install Ubuntu 12.04 LTS, during setup, choose autologin, and update software with an internet connection

2. Download System Software Updates once the system reboots

3. Get the latest Nvidia driver
4. Reboot

5. Upon Rebooting go into the BIOS.
In your BIOS, go to Southbridge configuration and change the video RAM from 256MB to 512MB (THIS IS OPTIONAL, MY SYSTEM PLAYS BACK BLURAY WITH 256MB SELECTED). Inside the Southbridge config, change Audio codec to Internal only--this will limit sound to HDMI only, so analog sound will no longer display in Ubuntu. Internal+External will enable both HDMI and analog.

6. Install XBMC--super easy tutorial thanks to Noobslab
Install XBMC on Ubuntu 12.04 Precise Pangolin

7. Unmute HDMI/spdif

First, check to see if sound is enabled and unmuted. SPDIF should be unmuted as well:


"Code:
alsasmixer
Press <F6> to select the correct soundcard.
Press <F3> to show playback levels. <F4> selects capture levels [or use <Tab>]
Use the left/right arrow keys to select and up/down arrow keys to change levels. <M> to mute/unmute.
Go to "System ->Preferences ->Sound" and make sure the correct soundcard is default and adjust your profile on the hardware tab. 
On the output tab choose the correct device."

8. Enabling HDMI sound in XBMC

Getting Sound over HDMI was a challenge for me. This was due to my own error in modifying the sound configuration files, which I did for my previous installations. Originally, I assumed I had to modify /etc/pulse/default.pa and .asound, in the home folder, but in the end, those steps broke sound over HDMI. I had to go back and delete all modifications to get DD/DTS sound over HDMI in XBMC.

With the newer Ubuntu 12.04, XBMC, Nvidia, and Ubuntu work well with one another. HDMI system sounds should work out of the box with some minor setting changes.
  • Select HDMI in Audio Output
  • Under Audio Output Device, select Defaults (ALSA)
  • For passthrough sound to your receiver, select Defaults (PulseAudio)

8.5 Change sound outputs in Ubuntu


9. Install Xubuntu and fix video tearing

10. Enable VDPAU accelerated HD flash for browsing Youtube/Vimeo with Flashaid

11. Install Google Chrome http://www.google.com/chrome

Recap, now you should have video and system sounds over HDMI, XBMC DD/DTS passthrough over HDMI, HD VDPAU accelerated Adobe flash playback with sound, 

12. Now get some popcorn going, sit back, and enjoy your HTPC!

Troubleshooting links:

http://http.download.nvidia.com/XFree86/gpu-hdmi-audio-document/gpu-hdmi-audio.html#_verify_your_eld_is_valid
http://ubuntuforums.org/showthread.php?t=1668737