- Netduino Forums
- → Vojin's Content
Vojin's Content
There have been 11 items by Vojin (Search limited from 28-September 23)
#4708 Audio Trigger
Posted by Vojin on 09 November 2010 - 02:48 AM in General Discussion
I have this so far... and it's not working
What am I doing wrong?
#4050 Camera Shutter Release Timer
Posted by Vojin on 21 October 2010 - 02:41 AM in Project Showcase
I see lots of potential.
What kind of cable did you use? for which camera?
Would you mind sharing the resources that you used to figure out the pins and functions of the camera remote cable?
Thanks for sharing.
Cable - from old mouse (it has 7 pins, so I cut 4 of them and it worked
Camera is Sony Alpha 350 (DSLR-A350), but connector is same for all Sony Alpha and Minolta SLR
Connector Info
Connector is just with 3 pins:
- A - Auto focus
- B - Base
- C - Shutter release
So to take picture, you need to focus (Connect A to B ) and then fire shutter (Connect C to B )
#4044 Camera Shutter Release Timer
Posted by Vojin on 20 October 2010 - 10:07 PM in Project Showcase
Design:
On the breadboard:
How it works:
http://www.youtube.com/watch?v=YG4yLwIarb4
Code:
using System; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.Netduino; namespace ShutterRelease { public class Program { static Boolean status = false; public static void Main() { // write your code here OutputPort focus = new OutputPort(Pins.GPIO_PIN_D8, false); OutputPort shutter = new OutputPort(Pins.GPIO_PIN_D10, false); InterruptPort button = new InterruptPort(Pins.ONBOARD_SW1, false, Port.ResistorMode.Disabled, Port.InterruptMode.InterruptEdgeHigh); button.OnInterrupt += new NativeEventHandler(button_OnInterrupt); while (true) { if (status) { focus.Write(true); shutter.Write(true); Thread.Sleep(10); focus.Write(false); shutter.Write(false); Thread.Sleep(5000); } } } static void button_OnInterrupt(uint data1, uint data2, DateTime time) { status = !status; } } }
Attached Files
- ShutterReleaseTimer.zip 4.28KB 4 downloads
- ShutterRelease-Code.zip 44.24KB 1 downloads
#4049 Camera Shutter Release Timer
Posted by Vojin on 21 October 2010 - 02:25 AM in Project Showcase
Nifty...
But, why the while loop and not just put the code into the event handler?
Cheers,
Crispin
Well.. it was 15 minutes project
#4707 HD44780 1602 16x2 LCD
Posted by Vojin on 09 November 2010 - 02:42 AM in General Discussion
#4074 HD44780 1602 16x2 LCD
Posted by Vojin on 21 October 2010 - 10:12 PM in General Discussion
Spend an hour to wire it and it works like a charm
Now, I'm just waiting for shift registers to start bit more advanced projects
#4023 Netduino & LIRC
Posted by Vojin on 20 October 2010 - 06:00 AM in General Discussion
Simple setup:
I have a LIRC file for IR Remote
begin remote name Minolta_RC3 bits 8 flags SPACE_ENC eps 25 aeps 100 header 3872 1708 one 527 436 zero 527 1331 ptrail 527 pre_data_bits 24 pre_data 0xD3AC7D gap 9052 toggle_bit 0 begin codes one_sec 0x000000000000007F two_sec 0x00000000000000FF end codes end remote
The problem is that LIRC values are in microseconds and I cannot turn irLED on or off for less them 1 millisecond.
For example, bit "1" is LED on for 527 microseconds and then LED off for 436 microseconds:
irLED.Write(true); Thread.Sleep(0.527); irLED.Write(false); Thread.Sleep(0.436);
This doesn't work because Thread.Sleep accepts [int]
Any idea how to wait for x microseconds?
Is there .NET Micro equivalent to Arduino's DelayMicroseconds (http://www.arduino.c...layMicroseconds)
#5385 POV on Netduino Mini
Posted by Vojin on 27 November 2010 - 05:40 AM in Project Showcase
#3899 Shift Registar 4014
Posted by Vojin on 14 October 2010 - 05:40 PM in General Discussion
Unfortunately, CD4014 works in opposite direction (parallel/serial input -> serial output) than 74x595 (serial input -> parallel/serial output). You'd need 4094 instead.
Just learned that here http://www.doctronics.co.uk/4014.htm
Are there any Netduino example projects with those?
#3896 Shift Registar 4014
Posted by Vojin on 14 October 2010 - 05:25 PM in General Discussion
#3934 Simple traffic lights
Posted by Vojin on 17 October 2010 - 12:42 AM in Project Showcase
- Pedestrian priority button
- Pedestrian green light time left indicator
- Speaker for visually impaired pedestrians (PiezoSpeaker by James
Schema:
Build:
In action:
http://www.youtube.com/watch?v=snfWkRTfcjQ
It's my first project, so........
Attached Files
- TrafficLights.zip 11.31KB 40 downloads
- TrafficLights-Source.zip 1.65KB 38 downloads
- Netduino Forums
- → Vojin's Content
- Privacy Policy