ARDUINO and VB.NET - Read TEXT File from WEB SERVER

Contributor
Submitted by CAAadmin on Sun, 07/16/2017 - 15:48

This project details and full source codes are available at www.arduinovb.net  (maintained at separate server for php trial and error purpose)

arduino vb.net read data from server

we can read the data file stored in Server (with public access permission) and display in the RichTextBox

The Updated Items in code

Usual import libraries

Imports System.IO

Imports System.Text

Tags

Draw Cylinder (with GRID lines) in OpenGL

Contributor
Submitted by CAAadmin on Sat, 06/17/2017 - 09:40

Press space bar to ON/OFF grid appearance

 

Sample code - --

 

#include <iostream>
#include<conio.h>
#include <GL/freeglut.h>
//available at www.computeraidedautomation.com
using namespace std;

GLuint jijmodel;
float jijmodelrot;
//int x,y,z;

bool bUsePredefinedCamera = true;
bool grid = true;
bool bFullsreen = false;
int nWindowID;
bool init = false;

Tags

Create a cube in Solidworks VBA - Solidworks Automation

Contributor
Submitted by techrev on Mon, 05/01/2017 - 11:10

The code for creating a simple cube in Solidworks with VBA (macros)

Edit X and Y and Z values for customization

Private Sub CommandButton1_Click()

Dim swApp As Object

Dim Part As Object

Dim boolstatus As Boolean

Dim longstatus As Long, longwarnings As Long

Set swApp = Application.SldWorks

Set Part = swApp.ActiveDoc

Dim myModelView As Object

Set myModelView = Part.ActiveView

myModelView.FrameState = swWindowState_e.swWindowMaximized

Tags

Arduino Stepper Motor Pin Config and Code

Contributor
Submitted by techrev on Sun, 04/30/2017 - 08:13

Arduino and Stepper motor pin configuration

arduino stepper pin config

I/O Connect to Controller : to pins 8, 10, 9, 11

Use below program  for your stepper motor driver trials

#include <Stepper.h>
#define STEPS 32   
#define STEPSREV 32 * 64  //2048  

Stepper stepper1(STEPS, 8, 10, 9, 11);

int  Steps2Take;

void setup()  
{

}

Tags

Read the value of a cell from another excel file without opening it

Contributor
Submitted by techrev on Sat, 04/29/2017 - 07:58

You have an excel file at location D:\ (example D:\fromdata.xlsx ) and you want to read its cell value E2 and put it inside the file located at C:\ (example C:\todata.xlsx )

Open your file at C:\todata.xlsx go to Developer Tab and then insert a button

 

 

 

 

 

 

 

 

 

excel automation

Convert voice commands to text in Android App Inventor (for our Arduino Projects)

Contributor
Submitted by techrev on Thu, 03/30/2017 - 10:27

To convert voice commands to text in Android app development (app inventor)

Drag Speech recognizer (from Palette/Media)  + 1 button + 1 label

please use below Block Layout to connect all those controls

then start your application and say something, you can see Speech to text conversion at Label

These commands can be used to Control Arduino (in later updates)

 

 

 

BLOCK LAYOUT for SPEECH TO TEXT - APP INVENTOR

Record a Solidworks macro - Solidworks Automation

Contributor
Submitted by techrev on Thu, 03/09/2017 - 09:59

Record a Solidworks macro

In this example we will discuss about “How to Record a Macro in Solidworks”

Open the Solidworks, Go to Tools -> Macro -> Record

solidworks mac

Then start your project, in this example we will be making a cylinder (Draw circle and extrude it to Cylinder)

Create a New Part Document