I bought recommended battery to supply my RC Car’s Motor, It was Pro Amps Polymer Lithium Ion Battery Pack. It has capacity 5000mAh, voltage 7.4V, a powerful juice. For the charge, it can plug with max 8.5V 10A; and for discharge can reachs max 300A continous, 600A burst, 6V cut off. The life cycle until 200, and it has self discharge 8% per month.
Still in RC Car with Autopilot project that I planned to build it, I need to choose which dc motor that im going to use for the RC Car. And I bought this Street Passion Competition 3.0 Brushless Motor, I bought it include the ESC. It has sensored inside, 8.5R Turns, Max 55Amp, and it can take 4400 RPM/Volt. It also has termal protection, and choosed the black color 13885V3.
From the specs said, the new high power current plug in system a break through design for current motor brushless motor, allow a direct power and current go direct to the motor core wire, this will improve efficiency performance.
Im preparing my next hobby project, i have read amp rover website, it’s about how to build autopilot rover. That’s why I’m starting with the rover itself, i choose this monster BMax4 running on 4WD and its from TeamYokomo, I got a cheap price from street revo singapore.
Inside the box, its not a set ready RC Car. We need to build from the scratches, it takes times but I’m enjoying very much the assembling progress. Until now, I’ve done the wheel front and rear parts, here some of the pictures.
Picture above is the main body, its made from plastic and metal, but the construction is well done, it’s very solid and rough.
Picture above is the rear arm parts, it was difficult to build this one especially to put the “Wheel Hub Pin” .
Picture above is the front arm parts, more complicated than the rear one.
Picture above is after the rear arm applied into the main body.
Picture above is after the front arm applied into the main body.
Ok, lets make a simple ping pong SMS application inside Arduino board, the process is very simple. The board will wait until received the inbound SMS and it will send the outbound SMS back with prefix content like “RE: ” to the mobile phone that the one who send SMS originally.
After the setup is completed like the previous post, including the Uno Board, GSM Shield, and StarHub SimCard.
And we can jump into the sketches like below.
The code itself is pretty simple, the sms object from the GSM Library will help us to handle all the inbound and outbound SMS. And It works fine, after i tested to send SMS from my phone.
And I made the debug thru the serial Arduino to understand what’s going on inside the board, and here the console serial from the IDE.
Last time when I bought the Cooking Hacks GSM Shield, I found difficult to manage the signaling, it always shutting down all sudden, very bad because inside the shield there is no built in antenna, I must buy stuff antenna to make it works. But now, I have a new GSM Shield that comes from Arduino itself, it called Arduino GSM Shields, and the good news is it built in internal antenna inside, cool. Save all the dramas.
Before i jump to hack the shield, i need to buy a simcard and i get the StarHub one, haven’t use so far, but it took $15 for the damage, fair enough.
Ok, lets open the plastic wrap, and make it works. First, I need to register the simcard with the phone, and make it works by testing the call and send/receive sms from the phone, after done, I plugged the simcard into the gsm shield and the plugged the gsm shield into the uno board. The tutorial from http://arduino.cc/en/Guide/ArduinoGSMShield said that it need external power with 700mA to 1000mA to supply the GSM shield, it’s not recommend to use power over the usb, it usually only power 500mA.
Ok, done with the hardware setup, now we can do the fun with the arduino ide to do the code. Oh ya, it said also that it need ide at least 1.0.4 version to use the gsm library. The arduino guys , they really do the good job with the ide and the libraries, usually we must dwelling with “AT Command” to work with GSM things, but they encapsulated it so that we the coder just need to call the function, but I still can do to execute the “AT Command” to customized the application, awesome! Now I use the IDE version 1.0.5 and has built in the “GSM” Library inside, and I want to use it, but first I need to make proof that the network setup is working properly, I just checking the IMEI number and the signal strength. It was easy though because there is an example for it, thanks.
And Wohoo.. it works perfectly, it was detected with the correct telco carrier name, and mine has signal strengh 19, its quite fair enough for the value from my room. Ok for the next fun thing, i will do the send/receive sms.
I have my RPi with its camera in my hand, finally. But I need to remote the RPi camera display from my macbook laptop, how? Well its explained well in here http://www.raspberrypi.org/archives/tag/camera-board . The main thing i need to do is install mplayer and netcat application on my macbook, and after searching the packages, I found that homebrew packages framework is the coolest so far, and very light. Before that, I have and installed the macports, but after couple times upgrading the OS until mountain lion, the macports need to be upgrade as well, quite complicated, and very heavy framework though. Ok, now i removed the current macports and migrate to homebrew, cool? lets start with the installation by typing this below.
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
The installation itself was very easy, and clean. The homebrew ( http://brew.sh/ ) running under ruby. After done the installation we can verify the latest packages by typing below…
biskandar:~ benny$ brew update Already up-to-date. biskandar:~ benny$ brew Example usage: brew [info | home | options ] [FORMULA...] brew install FORMULA... brew uninstall FORMULA... brew search [foo] brew list [FORMULA...] brew update brew upgrade [FORMULA...]
So, for back to the mplayer and netcat installation , by the way mplayer is the mpeg player and netcat is a simple tool to read and write data across network connections, i just did by typing this below command
biskandar:~ benny$ brew install mplayer netcat Warning: Your Xcode (4.6.2) is outdated Please install Xcode 4.6.3. ==> Installing mplayer dependency: fontconfig ==> Downloading http://fontconfig.org/release/fontconfig-2.10.93.tar.bz2 Already downloaded: /Library/Caches/Homebrew/fontconfig-2.10.93.tar.bz2 ==> Patching patching file src/fcarch.h ==> ./configure --with-add-fonts=/Library/Fonts,~/Library/Fonts --prefix=/usr/local/Cellar/fontconfig/2.10.93 ==> make install 🍺 /usr/local/Cellar/fontconfig/2.10.93: 447 files, 4.8M, built in 87 seconds ==> Installing mplayer ==> Downloading http://www.mplayerhq.hu/MPlayer/releases/MPlayer-1.1.tar.xz ==> ./configure --prefix=/usr/local/Cellar/mplayer/1.1 --cc=cc --host-cc=cc --disable-cdparanoia --disable-libopenjpeg --enable-menu --disable-x11 ==> make ==> make install 🍺 /usr/local/Cellar/mplayer/1.1: 9 files, 19M, built in 5.6 minutes ==> Downloading http://downloads.sourceforge.net/sourceforge/netcat/netcat-0.7.1.tar.bz2 ==> ./configure --prefix=/usr/local/Cellar/netcat/0.7.1 --mandir=/usr/local/Cellar/netcat/0.7.1/share/man --infodir=/usr/local/Cellar/netcat/0.7.1/shar ==> make install 🍺 /usr/local/Cellar/netcat/0.7.1: 9 files, 116K, built in 24 seconds
After done the installation , ok now i can remote my RPi camera from my laptop . How ? go to my RPi and stream all the display to laptop with port 5001 , the streaming itself done by netcat command , type below in the RPi
pi@raspberrypi ~ $ raspivid -t 90000 -o - | nc 192.168.2.11 5001
The raspivid is the command builtin inside RPi to display the RPi camera and record as video, and I set the timing about forever like 90000 ms. The output of the video will be stream into my laptop with current 192.168.2.11 and local listener port 5001.
And last on my laptop i shall execute this command to start the stream listener.
biskandar:~ benny$ nc -l 5001 | mplayer -fps 31 -cache 1024 - MPlayer 1.1-4.2.1 (C) 2000-2012 MPlayer Team Playing -. Reading from stdin... Cache fill: 4.30% (45056 bytes)
Done, now here the screen shot …
I need to reset my Arduino develoment since I have my Raspberry Pi with Arduino Shield with me, I try to make first application like blink, haha… sound dummy but sure its fun.
Now the device setup is finished, and ready for the sketch development. I will use Geany IDE, it’s cool IDE, i can setup the code files as an project, and the most beauty is i can setup also for the compilation run of the app.
The project configuration is ready , now i can do the programming and compile it.
Done… and run successfuly…