[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4807: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3904)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4809: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3904)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4810: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3904)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4811: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3904)
DAVID-Laserscanner Forum • View topic - Control Unit with LCD and unlimted parameters
Dear DAVID Community,

In 2016, DAVID and this forum have been integrated into HP Inc.
This forum has been read-only since then, and will be switched off by then end of 2019.

To everyone who has contributed here, we thank you for all your work and for the constructive, helpful and friendly atmosphere you have created!
Please continue to discuss on the HP Support Forums.

Control Unit with LCD and unlimted parameters

Control Unit with LCD and unlimted parameters

Postby milz » Mon Jun 07, 2010 12:38 am

hello

I found a cheap solution to solve my problem with to less Arduino in/out Pins. :D
I wired a LCD display to a 2nd arduino pro mini and plugged the 2 arduino toghther
with i2c/2wire over 2 pins. I can manage unlimted values with only 3 buttons
and a potimeter. 2 Buttons change the values +/- eg motorsteps or scan speed.
One button as enter button for send the message to the laser control arduino
and the potimter for switch tru the lines.

ad_full.jpg


ad_lcd.jpg


ad_pro-mini.jpg


i must box the stuff now-)
Edit: i have seen nice and small Touch Panel at Pollin mhhhhh

mfg milz
Xeon x5650@4ghz
Cam : USB2 CCD 1024x768 / USB3 1280x900
Laser : LC532-5-3-F(16x65) Focusable Green
Projector Acer X110P / Acer K132
dControl one David control box + Turntable + automatic texture lights
mooooom bathroom!!!!!!
User avatar
milz
 
Posts: 520
Joined: Wed Jul 15, 2009 12:24 pm
Location: Germany Cologne

Re: Control Unit with LCD and unlimted parameters

Postby treleau » Mon Jun 07, 2010 9:55 am

Hello Milz

congratulation, it's very impressive :shock: .

Can-you show us a technical draw of your mount, please ?
Thanks
Treleau
User avatar
treleau
 
Posts: 64
Joined: Wed Feb 03, 2010 3:01 pm

Re: Control Unit with LCD and unlimted parameters

Postby milz » Tue Jun 08, 2010 2:10 am

hello trelau

its not allreay finshed and i never have drawn an eletcric ciruit but i will try to
do it soon -)

the lcd is wired by this way. you can use nearly all standart lcd displays
http://www.ladyada.net/learn/lcd/charlcd.html

the buttons are wired like this
http://arduino.cc/en/Tutorial/Button

the two arduino talk with i2c
http://www.instructables.com/id/I2C-bet ... /Hardware/
http://arduino.cc/en/Reference/Wire

mfg milz
Xeon x5650@4ghz
Cam : USB2 CCD 1024x768 / USB3 1280x900
Laser : LC532-5-3-F(16x65) Focusable Green
Projector Acer X110P / Acer K132
dControl one David control box + Turntable + automatic texture lights
mooooom bathroom!!!!!!
User avatar
milz
 
Posts: 520
Joined: Wed Jul 15, 2009 12:24 pm
Location: Germany Cologne

Re: Control Unit with LCD and unlimted parameters

Postby treleau » Tue Jun 08, 2010 8:41 am

Very interesting Milz :D

A great thank you !

Treleau
User avatar
treleau
 
Posts: 64
Joined: Wed Feb 03, 2010 3:01 pm

Re: Control Unit with LCD and unlimted parameters

Postby funtasma » Tue Jun 08, 2010 9:06 pm

Cool solution, I like people who experiment with new things. But wouldn't it be easier to just use an old EEE-PC with Win- XP to control adruino? It's quite mobile and some models are available for around € 100,- in eBay.This way you're mobile and you can use the software you use with your PC anyway.

But I agree, it's much more fun to build something instead of using out of the box solutions. Isn't it this why we are all DAVID fans? :)

-Benjamin-
funtasma
 
Posts: 148
Joined: Wed Oct 07, 2009 1:39 pm

Re: Control Unit with LCD and unlimted parameters

Postby milz » Wed Jun 09, 2010 11:48 am

hello funtasma

I control the start / stop with david with a pc
The control unit is for manage external parameters
from the motordriver / controler.
Im not sure if there is a soluton for read/write
with 2 applications from one Com port in the same time.

mfg milz
Xeon x5650@4ghz
Cam : USB2 CCD 1024x768 / USB3 1280x900
Laser : LC532-5-3-F(16x65) Focusable Green
Projector Acer X110P / Acer K132
dControl one David control box + Turntable + automatic texture lights
mooooom bathroom!!!!!!
User avatar
milz
 
Posts: 520
Joined: Wed Jul 15, 2009 12:24 pm
Location: Germany Cologne

Re: Control Unit with LCD and unlimted parameters

Postby funtasma » Fri Jun 11, 2010 12:45 pm

Now I understand. I personally never worked with Adruino. I thought that all parameters could be controlled via PC. For motor controlling the EEE-PC is great, but it's definitely too slow to capture a scan.

So you don't run Adruino via USB but as a standalone controller which is triggered by start/stop signals from DAVID?

-Benjamin-
funtasma
 
Posts: 148
Joined: Wed Oct 07, 2009 1:39 pm

Re: Control Unit with LCD and unlimted parameters

Postby milz » Tue Jun 15, 2010 12:28 pm

Xeon x5650@4ghz
Cam : USB2 CCD 1024x768 / USB3 1280x900
Laser : LC532-5-3-F(16x65) Focusable Green
Projector Acer X110P / Acer K132
dControl one David control box + Turntable + automatic texture lights
mooooom bathroom!!!!!!
User avatar
milz
 
Posts: 520
Joined: Wed Jul 15, 2009 12:24 pm
Location: Germany Cologne

Re: Control Unit with LCD and unlimted parameters

Postby Eoghan » Sun Aug 08, 2010 9:46 pm

Wow milz. This is fantastic. Well done ! I would like to build a similar system.
Would you be willing to share your code ? Or any pointers you could share on the build would be appreciated.
Thanks
Eoghan
Eoghan
 
Posts: 21
Joined: Thu Feb 11, 2010 3:31 pm
Location: Dublin, Ireland

Re: Control Unit with LCD and unlimted parameters

Postby milz » Mon Aug 09, 2010 7:20 am

hi

i´ve started with commenting my code and draw an eagle file.
Hopefull i will relase them soon.
If you are familiar with the arduino script lanague i can send
you my sketch without comments and gurantee ...
I use some hardware compents like a step down regulator and
relais. Without this components you must edit the code...

mfg milz
Xeon x5650@4ghz
Cam : USB2 CCD 1024x768 / USB3 1280x900
Laser : LC532-5-3-F(16x65) Focusable Green
Projector Acer X110P / Acer K132
dControl one David control box + Turntable + automatic texture lights
mooooom bathroom!!!!!!
User avatar
milz
 
Posts: 520
Joined: Wed Jul 15, 2009 12:24 pm
Location: Germany Cologne

Re: Control Unit with LCD and unlimted parameters

Postby Khalid Khattak » Mon Aug 09, 2010 2:17 pm

One of the interesting thread at this Forum.. Milz.. You have done a great job.. I will also be interested in your CODE.. I will appreciate lot of the pictures of your hardware..
PC: Dell Inspiron i3, 2.27GHz,4GB RAM,64 bit windows 7
CAMERA:
David CCD Mono USB
LASER:
David 5mW Green line laser
PROJECTOR:
3D LED Mini Projector 250lumens, Native 1024x600
[b]http://free3dscans.blogspot.com/
Khalid Khattak
 
Posts: 942
Joined: Thu Apr 23, 2009 1:30 pm
Location: Pakistan

Re: Control Unit with LCD and unlimted parameters

Postby Eoghan » Mon Aug 09, 2010 2:48 pm

Milz. If you could post the sketch that would be great ! My script language skills are far from perfect but I have a passable knowledge. And it would allow me to get started. I have a lot of components sitting here from other builds.
Thanks !
Eoghan
 
Posts: 21
Joined: Thu Feb 11, 2010 3:31 pm
Location: Dublin, Ireland

Re: Control Unit with LCD and unlimted parameters

Postby Eoghan » Sat Aug 14, 2010 5:25 pm

Hi Milz,
Have spent some free hours over the week hooking up an LCD to a boarduino and using i2c to connect with a duemilanove.
I have also created a button pad with 5 buttons currently talking to the Duemilanove.
If it was possible I would still really like to get your code so I can play around :D I know you haven't had a chance to comment it but I'm willing to accept all risks !
Thanks
Eoghan
Eoghan
 
Posts: 21
Joined: Thu Feb 11, 2010 3:31 pm
Location: Dublin, Ireland

Re: Control Unit with LCD and unlimted parameters

Postby milz » Sat Aug 14, 2010 6:25 pm

hello

here we are. The code is not really commented and for use at the own risk -)

DLScontrol001.rar
(4.31 KiB) Downloaded 241 times


display_v002 is for the Arduino Pro mini where the display is connected
sketch_motor4_7 is for the arduino duomilvenova where the laser and motor etc is attached

I2c is for data transfer in embeded ciruts. so the wire length is limited to 10-15cm....
Atm there is no camera trigger mode includet cause im waiting for hardware parts (bnc connectors).
The code works with 3 buttons and a potimeter not 5 buttons
i will change this soon.

mfg milz
Xeon x5650@4ghz
Cam : USB2 CCD 1024x768 / USB3 1280x900
Laser : LC532-5-3-F(16x65) Focusable Green
Projector Acer X110P / Acer K132
dControl one David control box + Turntable + automatic texture lights
mooooom bathroom!!!!!!
User avatar
milz
 
Posts: 520
Joined: Wed Jul 15, 2009 12:24 pm
Location: Germany Cologne

Re: Control Unit with LCD and unlimted parameters

Postby Eoghan » Sat Aug 14, 2010 7:10 pm

Fantastic Milz ! Thanks :D
I'm looking forward to getting stuck into this this evening.
Thanks again !
Eoghan
 
Posts: 21
Joined: Thu Feb 11, 2010 3:31 pm
Location: Dublin, Ireland

Next

Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest