I will be showing you how to build a wifi robot from scratch. It is a very straight forward project and can easily be handled by a intermediate robot builder. To complete the robot, it will take a couple of hours. I also attached the android phone with this app ip camera with this robo and connected to the wifi to see live video feed. We need to reduce `Beacon Interval` to 40 instead of 100 (default) if we are using wifi router to command robo with pc/laptop to see real time effect.
Video of complete robot driving:
- Nodemcu esp8266 https://www.amazon.in/ESP8266-NodeMcu-WiFi-Development-Board/dp/B00UY8C3N0/
- Power Bank
- Robot platform
- Motor driver
- Motor as per requirement
- Jumper wires
- Bread Board (Optional)
img 1. robo bottom view
Attach the motors with the platform, and join wires. Join left side motor black wires together and same for red.
Attach the motor wires with motor driver as shown in the above image.
takeout the current supply wires out from middle hole of platform and data jumper wires. And connect with pines as follows.
IN1 -> D1
IN2 -> D2
IN3 -> D3
IN4 -> D4
connect both the Enable with 3v3 of of esp8266 nodemcu.
My robo is working without connecting GND so I will be skipping that. Other we can attach the GND of nodemcu with GND of motor driver.
Now connect the cables with power bank and the robo is ready
Now the program is in lua. We can control this robo with android app or with pc with linux os.
- App can be found on this link. For using nodemcu softAP function put nodemcu-wifi.lua on nodemcu.
- To control with pc/laptop connect this to the wifi. use the file python-tcp-getch-linux.py to control robo with command line terminal. Put nodemcu-wifi.lua program to nodemcu if you want your robo to connect wifi router at home.
How to flash nodemcu for lua, I will write another post for that.
use this command to put this program into nodemcu with luatool
python esp8266/luatool/luatool.py --port /dev/ttyUSB0 --src init.lua --dest init.lua --restart
Programs are now kept now on github on this link
Dont forget to attach android phone with ip camera app to see live video from android.
First, add the GPG key for the official Docker repository to the system:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Add the Docker repository to APT sources:
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
Next, update the package database with the Docker packages from the newly added repo:
sudo apt-get update
Make sure you are about to install from the Docker repo instead of the default Ubuntu 16.04 repo:
apt-cache policy docker-ce
sudo apt-get install -y docker-ce
sudo systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2016-05-01 06:53:52 CDT; 1 weeks 3 days ago
Main PID: 749 (docker)
Its something not very new, but quite young for me. I tried to make search Engin like google and yahoo. Its really not very easy to make one. It is also not very useful for you people until it is mature enough to answer your queries. It may take some weeks and lot of processing power to do that. It’s continuously increasing its database. You can see more better results every minute. And its fast enough to give it a try. You can ask any thing you want. Here is the link https://bringmefast.com
This is like copy of source-code of crawler that is used for collecting data form web.
Title : BringMeFast search engine
How to create your perfect server with ubuntu xenial
apt-get update && apt-get -y upgrade
apt-get install -y unzip
wget --no-check-certificate -O installer.tgz "https://github.com/servisys/ispconfig_setup/tarball/master"
tar zxvf installer.tgz
add index.php in default file of nginx at location : /etc/nginx/sites-available/default
enable phpmyadmin and squirrelmail by uncommenting in ispconfig.vhost location : /etc/nginx/sites-available/ispconfig.vhost
For Mysql backup
mysqldump -u root -p DB > DB.sql
For Mysql Restore
mysql -uUSER -pPASSWORD DB < DB.sql
To view service logs
sudo journalctl -f
To list journal entries for the nginx service:
sudo journalctl --unit nginx
To list journal entries for the nginx service starting from a given time:
sudo journalctl --unit nginx --since "2016-10-30 18:17:16"
Tracking E-mail very simple
Sign up on Shivalink.com Mail Tracker App here
It will send you activation link in mail just click on that. And login in app and Generate html by entering mail subject.
Install the below given extention in chrome browser
Now create new html and add the previously created html from Shivalink Mail App.
Goto gmail and compose new email, now when you click the body you will see ‘G’ like icon name Gorgias, just click on that and insert the template. Now Write your mail and click send.
Now your mate read your mail you will get the mail with time, to look ip you can login to Shivalink Mail App.
Also there is little hack in it. you can just send the image src path to your mate and when he clicks on it you will receive the mail and also you can see his ip in Shivalink mail App.
2tb storage cloud storge and media server with pi
hi there, 2tb storage cloud storge and media server with pi in cost of
5880 Rs = 2tb-disk
1450 RS = sata to usb 3.0
3000 Rs = pi
700 Rs = power supply
750 Rs = hdmi
700 Rs = 32GB Memory card
550 Rs = Fan & power supply
1800 Rs = Router 300N
90 Rs = Ethernet cable
and I can say I saved a lot of money not buying a costly media server for home and made it myself. Just happy its ready to dance. So many ideas I have thought to work on. Will be posting about them soon. And I tried this server with HD movie it just showed a little flicker in one of the 4 little cores. I couldn’t believe it could handle that much load. So I hope for personal use I wont have to face crashing. It is having a nice fan attached for air suction. Guy u can comment if u got any questions.
I decided of shutting down cloud server on shivalink.com as I have very low signup. But News Engine and note application are public and free of cost on same domain. I hope it will do you will love them to use
wget -O /dev/null http://speedtest.ams01.softlayer.com/downloads/test500.zip
sysbench –test=cpu –cpu-max-prime=20000 run
total number of events:10000
dual core(8GB RAM, 2 CORE)-
total task execution time 63.2625Continue reading
web based rtorrent with docker, with this very simple below command
then see it live on http://url:8086
and user password is
docker run -it \
-p 8086:80 -p 45566:45566 -p 9527:9527/udp \
--dns 188.8.131.52 \
-v /data-store:/rtorrent \
-e UPLOAD_RATE=1024 \
browser based remote desktop of ubuntu linux with docker using the very simple below command:
docker run -i -t -p 6080:6080 dorowu/ubuntu-desktop-lxde-vnc
Then see it live on http://url:6080