Just Sharing Knowledge on Robotics, Electronics and Programming

Saturday, October 14, 2017

[Solved ] Android Studio Stuck at Building 'xyz' Gradle Project Info


I Just Installed Android Studio 2.2.3 on My Windows7 Notebook, when i tried to create new project, then the following dialog is showing in unkown estimated time.

To Solve this issue try the following method :
  1. Close  The Android Studio Application.if you can not do this, you should use task manager to force close the android studio
  2. Goto C:\Users\username\.gradle folder
  3. There is a folder there that show you which version of gradle Android Studio requires (e.g. gradle-2.10-bin)
  4. Download this version from this link  or Link2 and download the complete version ( gradle-all)
  5. Goto C:\Users\username\.gradle\wrapper\dists\gradle-x.y-bin
  6. There is a folder here that its name is like a GUID.
  7. You should just copy the zip file that you've already downloaded from internet into this folder.
  8. Execute Android Studio and create a new project.

Thursday, October 12, 2017

Force to Completelly Uninstall Driver from driver store on Windows


This is the solution of problem caused by USB blaster. when you tried to uninstall the old driver of usb blaster, you cannot install the new driver until completely remove the driver in driver store.

To Uninstall the Driver completely you can do the following tricks in command promt :

to list the Altera Driver use the following command

pnputil -e

then it will list the driver name


the type following command

pnputil.exe -f -d OemNumber.inf

 

[SOLVED] USB BLASTER JTAG FPGA ALTERA CAUSE BLUE SCREEN OF DEATH(BSOD)


We got a FPGA Altera from Embedded design Contest (EDC 2017) team, the FPGA model is Altera IV EP4CE10E22C8N. This device is using JTAG programmer to download(a.k.a sending program file to the device), JTAG Programmer type is USB-Blaster.

The default drivers is obtained from quartus II instalation Path. After we tried to install the driver, it sucessfully installed, a couple minute later my computer got BSOD. and this is happening everytime we plug the usb blaster..

To solve this issue, we got from forum that we can download the driver that supported for windows 7 64bits. to download the file please click the following link :

LINK


Monday, March 6, 2017

No module named cv2 in Linux / Orangepi / Raspberry Pi



Masukkan Kode Disini



If you facing the experience of using cv2 module like this

import cv2
ImportError: No module named cv2
 
 
then the solution is like a following command on terminal
 
sudo apt-get install python-opencv
 
 
 

Sunday, March 5, 2017

Resize file system on SD card on Orange Pi PC Linux



If you are facing the problem of the disk space is lower than the actual size of SD card  used in orangepi PC, then you can do the following trick



First

$ fdisk -l

and you should know the partition name...

and in my case..

$ fdisk -c /dev/mmcblk0

input 'p'

and show information of partition...

may be.....taget partition is 2.....

input "d"       -> deldet partition....

input "2"      -> target delete partition...

ipput "np"     -> set new partition information...

input "p"      ->set primary

input "2"     -> target partition...

and input first sector number.......
(above...you type "fdisk -l" and find that number ( /dev/mmcblk0p2 's start number )

and request last sector....and push enter key....

and input "w"    ->write partiotion information....

System show error ....ignore....

$ reboot

$ resize2fs /dev/mmcblk0p2

$ df- h

done

Sunday, February 19, 2017

[Solved] New NRF24L01 Transceiver Not Sending Data


NRF24L01  is low cost transmitter that can be used in arduino through SPI interface, the price of this device is only $0.95 in Indonesia , this device uses 3.3V power supply which can be obtained from 3.3V pin on arduino.

If you Bought this device, maybe you will get the experience that this device not works, although your program seemed correct. This problem is make me confused, because i bought six pcs NRF24L01  and none of them are work.

Then i found the solution from the forum ( Sorry i forgot the link) that says that we must add 10uF capacitor on Vcc and Ground.. this is caused by the noise of Power supply when transmitting prosess. After i put the capacitor.. NRF24L01 is works perfectly..