DIIGIIT ROBOTICS FORUM

You are not logged in.

#1 Re: Microcontrollers & Computers » Stuck pixels on WithRobot oCam 1CGN-U Color Global Shutter Camera » 2018-05-08 15:16:09

So as I understand it, providing a camera with highest hardware specs would result in a far more expensive product.

Since clusters (consecutive defective pixels) rate is 0, some kind of software image processing can be done to skip a pixel or give it a value similar to the previous pixel. So you have the control on what you can do with those pixels as compared to other camera that are going to do the job for (but with no control on it). So this camera give you more control on your image and the algorithm used to process it.

#3 Learn robotics » Odroid OctoPrint Quick Setup Guide » 2016-09-15 20:59:21

Diigiit Sales
Replies: 0

Up to now, we've been using our Lulzbot Mini V1 3D printer to create small experimental parts. The setup was pretty straight forward with Cura 3D installed on Ubuntu. The slicer was sending GCode to the 3D printer thru an USB cable. That's it. The problem with this setup is that you can't shutdown your desktop computer while it is printing (at least with Lulzbot Mini V1) !

Then we received an important contract that was requiring us to print tens of Odroid-C2 enclosure every day. We had to purchase a couple of Lulzbot Mini to print them but didn't want to have a desktop attached to each printer for space and cost.

OctoPrint was the way to go (in fact OctoPi which is a Raspberry Pi version of OctoPrint). Since OctoPrint is a Python program, it can be installed pretty much the same way on an Odroid-C2 or on an Odroid-XU4. OctoPrint is installed on the Odroid and accessed remotely using a web page (OctoPrint client). Sliced models are uploaded using client web page and stored on the Odroid server. You can access as many Odroid server (3D printer) you want from a single desktop using for instance one browser tab for each printer.

The following link is the reference we have used to create this guide:
https://discourse.octoprint.org/t/setti … pbian/2337

This is slightly the same installation procedure with some small change.

Here is what we have used to create this Wifi 3D Lulzbot Printer:

  • Lulzbot Mini 3D Printer V1.1

  • Odroid-C2 computer

  • Odroid-C2 Linux 8GB eMMC

  • Odroid Wifi module 4

  • USB cable

  • For setup only: USB keyboard, mouse, HDMI cable

So here what you should do to have OctoPrint working. We did not install any camera but if you need it, please refer to the previous link.

BASIC ODROID-C2 INSTALLATION

Upload Linux on the Odroid-C2 eMMC module (this may be already done). Plug the video cable, keyboard, mouse and Wifi module and start your computer. Log in. Open a terminal an upgrade:

sudo apt-get update; sudo apt-get upgrade

You should restart you computer after that. If upgrade creates boot or display problem, reinstall eMMC and skip upgrade and use another Odroid Linux image.

CONFIGURE WIFI

Inside the desktop, right click on Wifi icon (upper right corner of the screen). Select your wifi connection and enter SSID and password so that you can reach internet. Right click on more time on the Wifi icon and select "Edit Connections". Edit your Wifi connection and in the General tab, make sure to check "Automatically connect to VPN when using this connection". You can also connect using wired connection.

INSTALL SSH

Please refers to ssh documentation for installation and configuration

sudo apt-get install openssh-server

Make sure ssh is started each time your Odroid-C2 is going to boot:

sudo update-rc.d ssh defaults
INSTALL OCTOPRINT
cd ~
sudo apt update
sudo apt install python-pip python-dev python-setuptools python-virtualenv git libyaml-dev build-essential
mkdir OctoPrint && cd OctoPrint
virtualenv venv
source venv/bin/activate
pip install pip --upgrade
pip install https://get.octoprint.org/latest
sudo usermod -a -G tty odroid
sudo usermod -a -G dialout odroid

and then start OctoPrint server

~/OctoPrint/venv/bin/octoprint
 * Running on http://0.0.0.0:5000/
AUTO START OCTOPRINT SERVER
wget https://github.com/foosel/OctoPrint/raw/master/scripts/octoprint.init && sudo mv octoprint.init /etc/init.d/octoprint
wget https://github.com/foosel/OctoPrint/raw/master/scripts/octoprint.default && sudo mv octoprint.default /etc/default/octoprint
sudo chmod +x /etc/init.d/octoprint

Edit /etc/default/octoprint and change the following lines:

OCTOPRINT_USER=odroid
DAEMON=/home/odroid/OctoPrint/venv/bin/octoprint

then

sudo update-rc.d octoprint defaults

Now you can start stop octoprint with the following command:

sudo service octoprint start

next check that everything is ok

sudo service octoprint status
INSTALL HAPROXY

Since you need to access Octoprint from a remote desktop, you need to install a HTTP server.

sudo apt-get install haproxy

and edit /etc/haproxy/haproxy.cfg

here lulzbot-m1 is the name of your computer

global
        log /dev/log    local0
        log /dev/log    local1 notice
        chroot /var/lib/haproxy
        stats socket /run/haproxy/admin.sock mode 660 level admin
        stats timeout 30s
        maxconn 4096
        user haproxy
        group haproxy
        daemon
        log 127.0.0.1 local0 debug

defaults
        log     global
        mode    http
        option  httplog
        retries 3
        option redispatch
        option  dontlognull
        option http-server-close
        option forwardfor
        maxconn 2000
        timeout connect 5s
        timeout client  15min
        timeout server  15min
        ...

frontend public
        bind :::80 v4v6
        default_backend octoprint

backend octoprint
        reqrep ^([^\ :]*)\ /(.*)     \1\ /\2
        option forwardfor
        server lulzbot-m1 127.0.0.1:5000

Edit /etc/default/haproxy and add one line such as

ENABLED=1

#4 Re: Microcontrollers & Computers » Faulty Odroid XU4 » 2016-07-18 13:13:04

Hello Nicola,

Why are you suspecting a power issue?

The board can stop booting if you change something to the default installation or boot switch has been changed. The other possibility is that the board has a defect.

Please post the issue on Odroid forum and once they say to contact your distributor, please contact us again by email. We'll provide you details to return the product offline.

Regards,

#5 Re: Microcontrollers & Computers » Faulty emmc card or sdcard adapter? » 2016-06-22 18:32:16

I never use Windows to write on eMMC, only dd with care under Linux.

Make sure also to have a compatible microSD card reader such as Transcend USB 3.0.

If you are not sure about your reader, you can try to perform the Odroid recovery procedure with a microSD card and the eMMC. Follow Hardkernel steps accurately. It will install an Android image on eMMC.

#6 Re: Microcontrollers & Computers » Faulty emmc card or sdcard adapter? » 2016-06-22 17:10:33

Ok,

Yes, it happens sometimes that Odroid boots twice. I think it is a known issue but don't think it is eMMC hardware related. However, it should not happen every time.

You can plug both eMMC and microSD card at the same time but never try to install the eMMC from microSD card except by using the recovery procedure documented by Hardkernel (see this post) but on that case, you will install an Android image.

Right now I am suspecting a problem with Linux kernel (ISO image) so I think this would be a good idea to load a more officially supported Linux distribution (Hardkernel ISO) to discard any hardware related problem first.

Please be careful: unplug both HDMI and power supply each time you remove eMMC module.

#7 Re: Microcontrollers & Computers » Faulty emmc card or sdcard adapter? » 2016-06-22 16:22:07

Hello tarcila,

By experience, I have never seen a faulty eMMC (while I guess this can happen).

Did you try to boot your XU4 computer with the default Linux installation before you have reinstalled Arch. We test most of XU4 eMMC before we ship them.

Did you used Windows or Linux to write your ISO?

#8 Re: Mechanics & CAD (Computer Aided Design) » Stepper motor inquiry » 2016-06-17 14:28:27

Hello Peter,

A stepper motor requires a stepper motor controller in order to turn. The controller can be made of a single piece of hardware or you can use a stepper motor driver (controller) plus a microcontroller to achieve the same task.

We have a couple of Pololu stepper motor controller (driver) on our website. The one you need to choose depend on your stepper motor characteristics. You need to feed the stepper motor driver with another controller (the microcontroller such as Arduino or Teensy).

Basically the microcontroller send a signal to the driver to turn the stepper motor by one step. The speed of your stepper motor will change depending on how fast the microcontroller send a step signal to the driver.

All stepper motors are here. Most of them have 200 steps (as your can see on the title) and size is also specified (for instance 35x26mm means that front size with mounting holes is 35mmx35mm and depth is 26mm). So I think once you have figured out which one fit in your hand smile you need to see which one has the required torque (indicated in the features section).

Does this answer your question?

#9 Microcontrollers & Computers » Odroid-C2 display flashing » 2016-05-20 17:41:04

Diigiit Sales
Replies: 0

Hello,

I am posting here on behalf of one of our customer that does not speak English. Here is experiencing problems with its Odroid-C2 board. He still have the board in hands. As requested, we post of Odroid forum for your investigation. Board seem to be faulty.

He's got an Odroid-C2 rev.2 20160226. This is the second batch of Odroid-C2 (without ground wire solved between USB port and HDMI port).

Customer does not have a stable display; HDMI output seems to go on and off.

He has tested the product with 4 different HDMI cables and two monitors (Samsung UE40D8000 full Hd with 4 HDMI ports and another display). He has never been able to solve the problem. Same setting works with Raspberry PI and Radxa!

He did test with official eMMC Black Edition without success as well as with miscellaneous Class 10 microSD card (16GB, 32GB, 64GB) with Odroid image without success (Android Lollipop v 1.5). He has used different micro USB cable (5V 2A) to power the board without success too.

He is not able to use its bluetooth mouse too when screen is flashing.

Do you have any suggestion?

Image 1
Image 2
Image 3

#10 Re: Microcontrollers & Computers » Terrible storage writing performance with Odroid C2 » 2016-05-19 12:00:37

Ok, I didn't realize that you were using an external drive. I thought you were talking about your desktop computer smile

I am not sure that powering your external hard drive with a different power supply will improve the performance. My idea is that if hard drive is not getting enough power, it will not work at all. I suspect USB 2.0 port is the culprit. For this reason, many customers prefer to use Odroid-XU4 equipped with USB 3.0 port for USB video camera for instance. Transfer rate is higher.

I guess you need to use an external drive because you have more than 128GB is data to access.

#11 Re: Microcontrollers & Computers » Terrible storage writing performance with Odroid C2 » 2016-05-18 18:10:03

Well, maybe the first test I would do is similar to what Hardkernel did e.g. :

Write speed command : 
$ dd if=/dev/zero of=test.tmp oflag=direct bs=8M count=64

Read speed command : 
$ dd if=test.tmp of=/dev/null iflag=direct bs=8M count=64

and compare your own results with Hardkernel on the Odroid-C2 page.

If you have the same performance than Hardkernel but think it is still too slow for your application, try the eMMC module that is 7 times faster.
If you Odroid-C2 is significantly slower than Hardkernel test, you should try to isolate the culprit.

I am suspecting (but don't have any proof) that some hardware may be better supported by Hardkernel (like Sandisk memory card) than others. I guess also that Hardkernel did some fine tuning of the Linux kernel to get the best performance out of the official distribution they are providing.

So if previous test shows that you have far different performance that what Hardkernel got, I would try to isolate the possible culprit:
- distribution: test with official Hardkernel image and Arch Linux
- microSD card: test with your microSD card and with Sandisk card

P.S. I can remember a customer having awful performance. The problem was due to the memory card. He was able to make some changes to fix it. It was on an Odroid-XU4 if I remember well.

#12 Re: Microcontrollers & Computers » ODROID XU4 Fail » 2016-05-08 23:00:25

Hello Arnold,

Thank you for your feedback. You have been upgraded to n00b so that now you can post links on the forum.

#13 Diigiit Robotics News » We are a DST Robots distributor » 2016-04-21 18:00:06

Diigiit Sales
Replies: 0

We are happy to announce that we are now distributing DST Robot products!

#14 Re: Microcontrollers & Computers » Can't get Odroid C2 to work » 2016-04-13 01:36:44

I don't see any problem. I just try to figure out what you did and don't understand why you need to use a microSD card reader if you bought an original Hardkernel microSD card preloaded with Android.

#15 Re: Microcontrollers & Computers » Can't get Odroid C2 to work » 2016-04-09 18:53:35

Hi alkova,

I try to understand: you have bought the Odroid-C2 from us but the microSD card with Android directly from Hardkernel in Korea. Is it right? Why did you need a microSD card reader at this stage?

For the brand new microSD card, what brand and model? What kind of reader did you use to upload Ubuntu image?

#16 Re: Microcontrollers & Computers » DOA Odroid-C2 » 2016-04-06 15:00:44

Hi,

Well, if you have made the same test (same cable, power supply and HDMI cable) and if you have respected the sequence for powering the board, I think the answer is clear. It is DOA!

Please fill the Diigiit return form.

#17 Re: Microcontrollers & Computers » Odroid C2: HDMI electrical problem » 2016-04-04 13:28:05

Hello,

Please fill the return form and I will contact you offline for additional details

Return form

Thank you.

#18 Learn robotics » Odroid board troubleshooting guide » 2016-04-03 13:33:25

Diigiit Sales
Replies: 0

Here is quick troubleshooting guide if you are experiencing problems with your Odroid board

1- power supply

You should validate you are using the proper PSU. If the power supply you want to use does not have the same characteristics as the one recommended by Hardkernel, your board may not boot. Powering some boards with an USB cable may not be enough.

2- install Linux or Android Operating system (unless you have purchase a pre-installed image)

3- unplug everything (power supply, HDMI)

4- insert your microSD card or eMMC module. If board is equipped with a microSD/eMMC switch, select the one corresponding to your media

5- plug the power cable. Make sure the board power switch is on. If you see a blue LED blinking, the kernel is booting. If not, go back to step 2 and try another Linux or Android image.

6- unplug any cable connected to the board (HDMI, power supply).

7- connect your mouse, keyboard, HDMI cable and then power supply.

8- you should see the blue LED blinking meaning your board is booting and a display on your monitor. If not, please see no output on Odroid board

#19 Learn robotics » Odroid eMMC card installation » 2016-04-03 13:31:51

Diigiit Sales
Replies: 0

Installing Linux or Android image on an eMMC module seems to be slightly more difficult than on a microSD card. Here is a quick step by step guide to help you.

1- Make sure you have the proper microSD card reader

Some card readers do not work with eMMC. Here is the one we use:

Transcend USB3.0 card reader

2- Are you flashing or recovering eMMC?

Any eMMC module provided by Hardkernel comes with a Linux or Android distribution for a specific computer (C1+, C2, XU4).

If you want to change the OS but not the target computer, you are flashing eMMC. If you want to change the target computer, you are recovering.

Using dd seems to be far better than Win32DiskImager!

4- unplug and plug again your card reader to your computer. Your eMMC module should automount on your computer, your should be able to see files. Don't edit Boot.ini for the moment.

#20 Learn robotics » No output or no display on Odroid board » 2016-04-03 13:07:05

Diigiit Sales
Replies: 0

Here is a quick list of things to check if you don't see any output on your monitor after you have plugged your Odroid board.

1- Make sure the Odroid board is booting correctly (blinking blue LED)

2- Try another monitor if possible or adjust your monitor settings if monitor accept multiple inputs for example

3- If you are using a DVI cable, make sure boot.ini is properly adjusted

4- Try another HDMI cable if possible

#21 Re: Microcontrollers & Computers » Odroid C2: HDMI electrical problem » 2016-04-03 12:28:01

Hello,

I may say that may first idea is that you may be right. However, I'd like to ask you a couple of questions just to help me understand if there is no other possibility.

1- What power supply are you using? Have you ever used one of these power with an Odroid-C1+ for instance.

2- HDMI cable; by any chance, do you have any other Odroid-C1+ or Odroid-XU4 board that you could use to test your HDMI cable?

3- What is the color of the board LED. Do you think the board is booting correctly?

4- What kernel image have you used? What microSD card brand and model? What is the operating system used to install the microSD card (Windows, Linux), what release?

#22 Re: Microcontrollers & Computers » Faulty Odroid C2 » 2016-04-02 14:27:10

Ok.

Please use the Return form

Once it is done, we'll give you the address to return the product.

We can refund it. For the replacement, we are currently out of stock. We'll be able to ship new Odroid-C2 at the end of April as Hardkernel will have it in stock again.

#23 Re: Microcontrollers & Computers » Faulty Odroid C2 » 2016-04-01 02:27:06

Ok.

Just brainstorming; are you using a specific up to date Linux distribution or Windows to flash your microSD card? Are you using dd?

#24 Re: Microcontrollers & Computers » Faulty Odroid C2 » 2016-03-30 18:29:01

Please also see Hardkernel note of Odroid-C2 page:

* ARM 64bit is a very new platform and some system specific Linux softwares are not working stably at this moment.
   So there might be the compatibility issues frequently and we may need longer time to fix the issues.
* Ubuntu 16.04 LTS is also on the alpha stage and it causes the instability and incompatibility problems.

Early image may be unstable in some conditions.

#25 Re: Microcontrollers & Computers » Faulty Odroid C2 » 2016-03-30 16:58:14

Hello,

You said you have bought a new microSD card from Amazon but it looks like it is still a Samsung card.

Sandisk card are better supported than Samsung that tends to be more problematic even new ones.

Other possibilities is Hardkernel image used (some tends to be problematic) and the way you have created your image (dd is far better than Win32DiskImager).

Board footer