Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

Vojin's Content

There have been 11 items by Vojin (Search limited from 30-March 23)


By content type

See this member's

Sort by                Order  

#5385 POV on Netduino Mini

Posted by Vojin on 27 November 2010 - 05:40 AM in Project Showcase

Excellent! One note: Code is using 10 pins for LEDs, your blog schema shows only 8 LEDs and on video only 7 are actually turning on



#4708 Audio Trigger

Posted by Vojin on 09 November 2010 - 02:48 AM in General Discussion

Trying to build audio trigger using LM386 Audio Amplifier...

I have this so far... and it's not working

Posted Image

What am I doing wrong?



#4707 HD44780 1602 16x2 LCD

Posted by Vojin on 09 November 2010 - 02:42 AM in General Discussion

Based on http://geekswithblog...id_crystal.aspx

Posted Image

Now I have LCD for each new project :)



#4074 HD44780 1602 16x2 LCD

Posted by Vojin on 21 October 2010 - 10:12 PM in General Discussion

Got it yesterday from eBay for $3.10CAN.
Spend an hour to wire it and it works like a charm :)

Posted Image

Now, I'm just waiting for shift registers to start bit more advanced projects



#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

Posted Image


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 )



#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 :)



#4044 Camera Shutter Release Timer

Posted by Vojin on 20 October 2010 - 10:07 PM in Project Showcase

One more Extremely-Simple-Project :)

Design:
Posted Image

On the breadboard:
Posted Image

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




#4023 Netduino & LIRC

Posted by Vojin on 20 October 2010 - 06:00 AM in General Discussion

I'm trying to build IR remote for my Sony DSLR A350.

Simple setup:
Posted Image

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)



#3934 Simple traffic lights

Posted by Vojin on 17 October 2010 - 12:42 AM in Project Showcase

Netduino traffic lights with
- Pedestrian priority button
- Pedestrian green light time left indicator
- Speaker for visually impaired pedestrians (PiezoSpeaker by James

Schema:

Posted Image

Build:

Posted Image

In action:

http://www.youtube.com/watch?v=snfWkRTfcjQ

It's my first project, so........

Attached Files




#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

I'm trying to use Shift Register to control 16x2 LCD (http://geekswithblog...id_crystal.aspx) The problem is that I ordered CD4014BE which has completely different pins than 74HC595 Any idea which pins to use for what?




home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.