Thursday, December 3, 2015

Raspberry Pi Zero - Initial Thoughts

My Pi Zero arrived this evening and here are some of my first experiences with it.

I bought mine from Adafruit in the wee hours of the 26th and right after I checked out and confirmed my order, I went back to the page for the Pi Zero and saw that it had already sold out.  It has been re-stocked at least twice, that I know of, and has sold out again within an half an hour each time.

Here is what I got:  Pi Zero, Pi Protector, HDMI Mini to Standard HDMI adapter, USB OTG host cable, and 2 sets of headers for the GPIO; the straight ones - male to male and male to 90° angle female.  All for less than the cost of 5 *bucks coffee drinks.



The Adafruit box, in it's glory, at least to me.  
I have had many of these boxes arrive before but this one seemed to be special



What appeared inside, after I pulled the pulled the important stuff to the surface.



Now the Zero out of it's ESD bag.



Here we see the Zero hooked up and some other items for size comparison.
The standard SD card shows that this is just about the same size, in height and about 3 across in width.




This is the current USB hub that I am using with power.


As prepared as I was, I still ran into some snags.  First, before it arrived I imaged a couple of micro SD cards with the latest Raspbian, Jessie on them.  So, when I had it setup and connected I just plugged one in and booted it up.  Upon start-up I was greeted by the new interface and realized that I couldn't do any updates yet, due to, my fault really, in unable to find the WPA-GUI program.  This was my first issue that I researched, from another computer and found the answer pretty quickly.  The Network icon down near the clock had all the functionality of the old program but none of the clunky stuff , which is great!

After this, I loaded the new Add-Remove Software program, and found it really easy to use, with the caveat being, that you can only use either the Install OR the Uninstall at one time, you can't install one thing while uninstalling something else.

One thing that I did find, while using some of my Wheezy cards, I had to update them with  my Pi 2 B, first, then load them up in the Zero, so having a B+ and/or a Pi 2 B very handy if you want/need to keep Wheezy around for use in your Zero.

Next time:  Some screenshots and some stats for your enjoyment!



Friday, November 13, 2015

ICStation [Final Update–Refund Received]

I got interested in Arduino towards the beginning of this year and ICStation came up in some Google Plus groups over and over again, so I decided to check out their site. They carry a wide assortment of Arduino related boards and accessories.  So I bought an Ethernet Shield for my Arduino UNO from them.  After a short week and a half it arrived then I tried to use it, it didn't work at all!  Turns out after putting the board under a USB microscope, that there were shorts of solder beads across about 6 of the pins of the main chip, I contacted their Support and was told to try to de-solder them myself??

That is when I should have just known that they had bad Quality Control and just forgot about my $20.  But, that isn't what I did, after several more email threads, I finally got them to agree to send me another one as a replacement.  In the course of the next week, I created a wish list on their site and kept debating whether to trust that this issue was a one time thing or place another order to see if it got better...again I chose wrong.  The replacement board came and this time I looked at it under the USB microscope first and guess what I found, more shorted pins with solder beads.  Once again I contacted Support, and asked for a Refund, after sending them pictures of the shorts through my microscope.  This has been the same woman, Wanita, that I have been exchanging emails with, she asked me to try to de-solder the shorts again and I explained that I have neither the tools or the knowledge to deal with SMT chips.

Stupid but I then ordered other items to the tune of around $100 over the course of the next 3 months. Yes, I was naïve thinking that something would change this time, but they had cool stuff at good prices.  In May I ordered a Nano clone and it worked for about a week, then stopped being detected but either Windows 7 or 8.  We traded emails back and forth for a short time, and later I received a replacement, but it failed to work at all.  I asked if this was a Genuine FTDI and if they could instead send me a CH340 chip based Nano, I never received another response from them at all!!

Nothing for going on 5 months now and So I decided to write this Blog piece and hope to warn others against Supporting ICStation in the future.

The Moral of this story is, go with your instinct and if it looks too good to be true, it probably is!

Update #1
Late last night I actually received an email response, from a support member name Sherry.
She said the Wanita resigned and she is now taken over her duties and mentioned that she saw my posts on Google Plus and the post.

So, one of my issues is now being looked into, there may be hope yet.

Update #2
I received an email from Sherry that she has contacted the Supplier and will take about 5 days to get a new board ready to be shipped to me.  So things are now moving and I hope to get resolution to the other issues soon.

Update #3
I contacted the ICS Station Google Plus account Person/People and after some back and forth and sending her/them emails detailing out that remaining issues, they stopped responding all together.

So, even though they offered to help, initially that all dried up and they still have horrible Customer Service.

You have been informed!

 

Final Update – Refund Received!

Just hours after posting Update #3 I was contacted by ICStation and I received a Refund in the amount for the remaining 2 items that were malfunctioning from the start.  It took a year plus, but since I am a Taurus, I am much more stubborn then any of the Chinese zodiac. 

They indicated while waiting for confirmation of the PayPal transfer, that Visuino is popular among some of their people.  So, maybe Boian can expect some sales from ICStation when they buy some more licensees…

  Winking smile 

They hope to improve their support mechanism so others don’t have to go through what I did.

Saturday, October 24, 2015

Setting up Visual Studio and Visual Micro for Coding the Arduino.

In this post I will explain out how to setup, Visual Studio 2015 Community Edition and Visual Micro, the plug-in that allows users to code INO files like a Professional.

The Visual Micro plugin allows for greater control over your sketches.  


This is from the main page, 

"IDE features such as:- see/edit library sources, jump to code definition, jump to compiler error, class explorer, intellisense, remembers board and Arduino version per project, code completion and a super fast compiler make learning and programming Arduino faster and easier."

First, we need to download VS 2015 Community, you can get it here:

https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx
Be sure to choose the left most option button.

Now for Setup of VS 2015 Community, This is an Important note from the Visual Micro Site:

Visual Micro requires C++ to be installed as a Visual Studio language. If you did not activate C++ when you installed Visual Studio, click "Download" and follow the instructions on that page to add C++ to your Visual Studio installation.



 All three of the C++ options need to be checked off for the Visual Micro plugin to work correctly!  
During this is install, it will take a while, you can download the plugin, from here:
http://www.visualmicro.com/page/Arduino-Visual-Studio-Downloads.aspx
The default options for the install should be fine.

Once you have that installed you are ready to setup VS 2015.
The first thing I did was Turn Off Tutorial mode, if you leave it on, and sometimes you might want to, it creates 'Breakpoints' in your sketch.  All you need to do is 'un-check' it under the Visual Micro menu option.



Next you will want to make sure you have the 'Micro' tool-bars loaded, they look like this:



If you don't have this you'll need to 'Right-Click' some place on the existing Menu bar and make sure all 4 of the 'Micro' ones are 'Checked':




Now on to opening a new sketch, When you either select the menu option FILE>NEW>ARDUINO PROJECT or Click on the NEW button then the TEMPLATES>VISUAL C++>VISUAL MICRO, you will presented with this screen:


This allows for 2 options, one is a Blank Sketch and the other is a Blink sketch.  I choose a Blink sketch for this Demo.  On the Right hand side of VS 2015 you should see something similar to this:


If Solution Explorer isn't selected you will need to click on the tab at the bottom to select it.  Then select the Blink.ino file, it should now display in the main window.  At this point it is Important to note that you want to select "Release" just to the left of "x86" at the very top, middle, in this screenshot.


The 'Release' Option allows for actually uploading the entire sketch to your board of choice.
When you are ready to 'Upload' your version of the Blink.ino sketch, you will click on the button that looks like a PLAY button with a circle around it; far right and at the bottom of this screenshot:



That is a brief Tutorial on how to setup these tools for a coding experience that is lacking in the Arduino IDE.

If you have any questions, Please comment below and I will try my best to answer them!

Please note, these setup instructions assume that you already have either the Arduino.cc or Arduino.org IDE installed.




Friday, October 2, 2015

Running a generic Neo-Pixel 4x4 panel on the Teensy - Experiment

Starting with a basic Teensy LC and a generic 4x4 Neo-Pixel panel and Visuino I was able to make a 16 RGB LED light display, just with an included Visuino Demo.

First I started with Visuino Beta 65 and the Demo file, MixedGroupsDemo.owarduino.  

Then I switched the boards section to the Teensy LC.


In the Demo file, I added a 6th pixel to the third group to account for the difference in the Demo's 15 RGB pixels and my panel 16 RGB pixels.


Please note the 3rd group here, 
the GREEN one is a 6, not a 5


Next, without any further delay, is the Video, 
that I know you all have been waiting for.


Wednesday, September 30, 2015

Using the pcDuino with the Joey Hurdy 3x3x3 LED Cube - Experiment


About 6 months ago I bought the Joey Hurdy LED 3x3x3 led Cube for the Arduino platform.  While soldering it together wasn't easy, once I had the basics of the LED placement down it went pretty quickly.  Makershed.com has it on sale right now for under $10
http://www.makershed.com/products/joey-hudy-2-3x3x3-led-cube-arduino-shield

Just recently I got a pcDuino, which is a Linux based Arduino platform with the Inputs and Outputs of an Arduino UNO.  So the thought occurred to me, why not see if they work together. 

So, I grabbed the code, which can be downloaded here:
https://jumpshare.com/v/URgEXYU9GrkOqMZgnhhb
Copied it to an USB flash drive and then loaded it in the pcDuino's Arduino IDE, which is running 1.5.3 beta for Linux.


Once I uploaded it it did run, but I noticed something odd, it ran much faster on the pcDuino than on an actual UNO.  My thought on this is because the pcDuino is running at 1GHz there must be some timing issues that aren't accounted for when running a a much faster processor.  I will need to research this some more.




This is a standard UNO with the Cube running.


This is the Cube running faster on a pcDuino.


If you have any insights that I haven't covered please leave a comment below!

I have not been able to post blog updates as I would have liked to, this is due to some personal issues that we are having that should be taken care of in a few months time, at that point, hopefully blog posts will continue with some regularity.




Thursday, July 30, 2015

Raspberry Pi Tips and Tricks and AlaMode Setup - [Part 3]

Experiment with the AlaMode and Visuino

 

Here you can see the Alamode hooked up to a FTDI cable that is connected to my Computer. So I wanted to find out if I could program it in Visuino, so I opened the program and for a simple test I just hooked up a Pulse Generator to PIN 12, 
since I already had an LED connected form the last blog post.  I used the default of the UNO board type, because that is what is compatible with the AlaMode.


Then I uploaded the Arduino IDE code to the AlaMode using the COM port for the FTDI cable and then unplugged the FTDI cable. Next added the Brick Shield to the AlaMode and powered it via the micro-USB connector after changing P16 to the OFF position.  This setting allows the board to use the micro-USB as it's power source without damaging the board.


When I plugged the AlaMode in the green LED starting blinking away, almost like I planned it  :)  

Following this I added a second LED to the Visuino sketch and went through the procedure again.  



Since I didn't want them to blink at the same rate I changed the Frequency of the second, red LED to 0.5, as seem above.

And now you get to see this final piece in action.




NEXT TIME: I visit the pcDuino and what it can do as a Linux board and how to hook up Arduino Shields to it.





Saturday, July 18, 2015

Raspberry Pi Tips and Tricks and AlaMode Setup - [Part 2]

Setting up the Alamode for a Brick Set Shield



In this post I will show you how to setup the Alamode for use with the Seeed Studio Brick Set.  Above you can see the Brick Shield on top of my Alamode on top on my Model B.

All that is needed is to place the shield on top of the Alamode and add power to the Pi.  There's a power LED on the shield that indicates that it has power and is ready for action.

Next we load a lesson from the PDF that I have linked below:
https://dl.dropboxusercontent.com/u/30598156/brickbook-word-v1-03.pdf

I have even added the lessons to my GitHub account page for ease of use:
https://github.com/SalvorinFex/RasPi-Testing/tree/master/INO%20Files/Brick%20Lessons


Here I have Lesson #1 loaded onto the Alamode and when I press the the button the LED stays on as long as I hold the button down.




Next up is Lesson #2, this one uses a Tilt Switch and 2 LEDs, Green for normal and Red for tilted.


You can use the Brick Set with a standard Arduino, but what's the fun in that  :)

Next Time:  I will connect to the Alamode with out the Pi and use the FTDI cable and try to recreate some of these lessons using the Visual IDE: Visuino!