Show Posts
Pages: 1 2 [3] 4 5 ... 24
31  Using Arduino / Interfacing w/ Software on the Computer / Re: Need help interfacing my Plotter with Processing on: January 12, 2014, 11:29:18 pm
I am very newbie, but i think the computer can not send the binary to Arduino. If computer send 1 then the arduino will consider as a byte.. I don't know much about
32  Using Arduino / Interfacing w/ Software on the Computer / Re: Arduino seems to miss data that was send? Or can't handle it? on: January 12, 2014, 08:16:01 am
I agree with PaulS.. You need a Protocol for serial transferring the data. Without handshake you may get trouble..especially when you use Shiftregisters..
33  Using Arduino / Interfacing w/ Software on the Computer / Re: Need help interfacing my Plotter with Processing on: January 12, 2014, 08:12:25 am
Okay.. but you can convert binary into Hexadecimal and send these hexadecimal as  CHARACTER (Extended ASCII) to Arduino. This will further simplify your problem. But mind, serial data processing needs a protocol so that no garbage interfere during transportation of binary from Processing to Arduino etc.
I am using my DIY GRAPHICAL WATERFALL with same protocol.you can search at Arduino forum
34  Using Arduino / LEDs and Multiplexing / Re: A Low Cost Approach to Graphical Waterfall on: December 03, 2013, 03:25:38 am
Total success...Here is the video. Unfortunately, the mobile camera was laying horizontal throughout the video. This video has small clips in which i am manipulating and optimizing my software for better results. The first clip showing arrow fall. In the subsequent videos various testing to optimize setting.

https://www.dropbox.com/s/s00hajwkppfw37n/20131123_192521_MPEG_.mpg
Unfortunately 8 valves gives bad resolution. i sent the video to fountain guy and he was amazed to see the results. He started fabricating 40 valves waterfall. Moreover i told him to add strong LED lighting just at each valve so that visibility come clear.
Few improvements he will do , i am sharing so that anybody interested can get it right for the first time.
1- Waterfall must have atleast 24 solenoid valves
2- Waterfall height must be 8ft or bigger
3- LED lights on each valve will make the falling water visible and beautify the look of falls.
4- Add black curtain behind.
5- I am doing no more testing as my software and hardware prooved themselves. I am going to empty my
35  Using Arduino / Interfacing w/ Software on the Computer / Re: Multiple Characters by Serial on: November 22, 2013, 02:09:12 pm
i suggest you to add a minor delay (20ms) in the python code between the two characters and just do what PaulS described in above thread.
36  Using Arduino / LEDs and Multiplexing / Re: A Low Cost Approach to Graphical Waterfall on: November 22, 2013, 01:31:50 pm
The waterfall has crude hardware setup. Tomorrow i will test it with my totally changed Arduino sketch and modified software.
37  Using Arduino / LEDs and Multiplexing / Re: A Low Cost Approach to Graphical Waterfall on: November 22, 2013, 01:30:06 pm
Okay guys here is a brief update:
1- Handshake protocol is one of the difficult thing as the Picture converted into every type of EXTENDED CHARACTERS. So making protocol was a bit difficult task however the software is now working great:
Protocol is like:

> XYZ%

> = Start of byte
XYZ = three bytes i.e. 8x3= Solenoid valves
% = end of byte and send to shift register

We have all sort of ASCII characters incoming in serial port from VisualBasic to Arduino. We have to make a protocol so that we know that the bytes that are coming having START OF LINE > and END OF LINE% character as per protocol defined above. We have to precisely pick the two bytes between > and %. for example
Lets see a simple protocol:
>XX%

Now there is a chance we get the data like:
>>%% or
>%>%
or
>a%%
or any combination.
but we have to pick the two middle values.. and we know its a serial data, some time computer through garbage values especially when the device is connecting or very fast data..and the data is coming like >>>%>aa%>we%%%%.......
However, the above job was done proffessionally Took lot of coffee and few nights..


2- Prepared the electronics and tested with the software and its performing brilliantly.
3- One of my friend sent me the waterfall pre-fabricated and now its in washroom for test purpose. it has 8 valves only will be very less resolution but i hope this time we will succeed.
38  Using Arduino / LEDs and Multiplexing / Re: A Low Cost Approach to Graphical Waterfall on: November 10, 2013, 08:38:08 am
This time i am making proper hardware and hope it will be success. I just completed 16valves electronics controller for solenoids. These modules will be added as solenoid valve increases.

I just need help in above posted arduino code. I want to make a communication protocol so that no waste byte affect the overall design.
Lets say The computer program send
X Byte Z
First byte is "X"  this means data coming. Get the BYTE and check "Z" this mean the data end.
Now see next Byte.....
next,,....
Anybody help?
39  Using Arduino / Displays / Re: MENWIZ: yet another character lcd menu wizard library on: August 30, 2013, 08:58:51 am
Hi Brunitali,
Nice to see you are working on the sketch. I shall test the new version in the weekend and let u know.
40  Using Arduino / Programming Questions / Re: Noob asks WHY???? on: March 20, 2013, 03:24:55 am
AWOL,
The thread starter used "WTF" in his first post. I was amazed to read...
41  Using Arduino / Programming Questions / Re: Noob asks WHY???? on: March 18, 2013, 11:39:01 am
Amazed to see "WTF"...
42  Using Arduino / Programming Questions / Re: Day/Night LDR sensing code. What is the correct approach to sampling day/night. on: March 10, 2013, 04:34:31 am
haha,... provided there are no clouds or no bird stands on the sensor eye;)
43  Using Arduino / Displays / Re: MENWIZ: yet another character lcd menu wizard library on: March 04, 2013, 12:07:30 pm
Hi,
I will be the one who will use your great library...smiley Thank You for sharing smiley
44  Using Arduino / Programming Questions / Re: Why use int instead of byte for pin numbers? on: February 26, 2013, 11:21:57 am
I can not listen bad about Arduino... I am very thankful to the guys who gave us Free IDE and lot of libraries... And all those are very very simple to use... I love you guys smiley
45  Using Arduino / Programming Questions / Re: while loop disrupting void loop? on: February 23, 2013, 08:16:22 am
I'm glad there are people smarter than me out there.


Before you were thinking nobody is smarter than you smiley-mr-green
Pages: 1 2 [3] 4 5 ... 24