- Netduino Forums
- → Geancarlo2's Content
Geancarlo2's Content
There have been 70 items by Geancarlo2 (Search limited from 19-May 23)
#27064 Netduino Plus as USB CD/DVD drive emulator?
Posted by Geancarlo2 on 12 April 2012 - 02:23 PM in General Discussion
#26958 Working around lack of timezone on ND+
Posted by Geancarlo2 on 11 April 2012 - 07:45 PM in Netduino Plus 2 (and Netduino Plus 1)
#26941 Arduino body movement sensor does not work
Posted by Geancarlo2 on 11 April 2012 - 02:59 PM in General Discussion
#26545 What's wrong with my string array declaration?
Posted by Geancarlo2 on 05 April 2012 - 03:10 PM in General Discussion
You misunderstood my post because of the timingNot true, I have literally just created a jagged byte array for the project I am working on.
private byte[][] workBuffer = new byte[2][] { new byte[35], new byte[35]};
byte[,] is a multidimensional array
byte[][] is a jagged array
#26526 What's wrong with my string array declaration?
Posted by Geancarlo2 on 05 April 2012 - 12:36 PM in General Discussion
#26514 Introducing Netduino Go
Posted by Geancarlo2 on 05 April 2012 - 09:50 AM in Netduino Go
#26504 How to drive train models
Posted by Geancarlo2 on 05 April 2012 - 06:55 AM in General Discussion
#26259 Netduino Plus missing Classes under System.IO
Posted by Geancarlo2 on 02 April 2012 - 02:47 AM in Netduino Plus 2 (and Netduino Plus 1)
#26229 Redacted 00101100
Posted by Geancarlo2 on 01 April 2012 - 09:58 AM in General Discussion
#26223 simple code need help
Posted by Geancarlo2 on 01 April 2012 - 03:29 AM in Visual Studio
public static void Thread_5()
{
while (true)
{
controller.Write(false);
Thread.Sleep(1 * SecondMs);
controller.Write(true);
Thread.Sleep(10 * MinuteMs);
}
}
public static void Thread_6()
{
for (int i = 0; i < 14; i++)
{
Thread.Sleep(1 * DayMs);
solenoid.Write(false);
Thread.Sleep(20 * SecondMs);
solenoid.Write(true);
}
}
#26221 simple code need help
Posted by Geancarlo2 on 01 April 2012 - 02:56 AM in Visual Studio
public const int SecondMs = 1000; public const int MinuteMs = 60 * SecondMs; public const int HourMs = 60 * MinuteMs; public const int DayMs = 24 * HourMs; public const int WeekMs = 7 * DayMs; static OutputPort ph = new OutputPort(Pins.GPIO_PIN_D2, true); static OutputPort b = new OutputPort(Pins.GPIO_PIN_D3, true); static OutputPort a = new OutputPort(Pins.GPIO_PIN_D4, true); static OutputPort drain = new OutputPort(Pins.GPIO_PIN_D5, true); static OutputPort solenoid = new OutputPort(Pins.GPIO_PIN_D6, true); static OutputPort heater = new OutputPort(Pins.GPIO_PIN_D7, true); static OutputPort controller = new OutputPort(Pins.GPIO_PIN_D8, true); public static void Main() { drain.Write(false); Thread.Sleep(16 * MinuteMs); drain.Write(true); Thread tid_1 = new Thread(new ThreadStart(Thread_1)); Thread tid_2 = new Thread(new ThreadStart(Thread_2)); Thread tid_3 = new Thread(new ThreadStart(Thread_3)); Thread tid_4 = new Thread(new ThreadStart(Thread_4)); Thread tid_5 = new Thread(new ThreadStart(Thread_5)); Thread tid_6 = new Thread(new ThreadStart(Thread_4)); . . .
#26218 simple code need help
Posted by Geancarlo2 on 01 April 2012 - 01:50 AM in Visual Studio
static OutputPort blahblah=new OutputPort(etcetc);
you also forgot {} in Thread_5 and Thread_6
#26015 Cannot connect to Pachube
Posted by Geancarlo2 on 27 March 2012 - 12:42 PM in Netduino Plus 2 (and Netduino Plus 1)
#25797 Netduino Plus Low Memory
Posted by Geancarlo2 on 21 March 2012 - 06:37 AM in General Discussion
#25551 Delay or getting stuck at deployment "Preparing to deploy assemblies to t...
Posted by Geancarlo2 on 15 March 2012 - 03:15 PM in Visual Studio
#25461 Delay or getting stuck at deployment "Preparing to deploy assemblies to t...
Posted by Geancarlo2 on 13 March 2012 - 05:40 PM in Visual Studio
#25008 Native programming, which tools do I need?
Posted by Geancarlo2 on 03 March 2012 - 01:33 AM in General Discussion
#24653 Connecting ADXL345 (wireless)
Posted by Geancarlo2 on 24 February 2012 - 09:05 PM in Netduino Plus 2 (and Netduino Plus 1)
As to my previous question about connecting ADXL345 with Netduino wireless, I found this project which seems that they managed to make this happen. see this link: My link
I don't understand what is mbed, and code seems not in C# :S
On that project there are 2 "parts":
-rover with mbed+xbee+power wires
-controller with mbed+adx345+xbee+power wires
Now, what I think you are trying to accomplish is:
-take measurements using adxl345+wireless transmitter+battery powered
-netduino receives data and sends it to computer=>netduino+wireless receiver+usb powered
Since the adxl345 talks SPI and I2C, you will need a microcontroller to interface it with your transmitter OR a transmitter with that functionality built in. Popular wireless transmitter(transceivers actually) are the xbee and the nrf24 devices from Nordic. In fact Nordic has some SoCs that already contain a programmable 8051 microcontroller.
On netduino's side, you will use the corresponding receiver and you can have it transmitting data to your pc via virtual serial port and powered using a 5V FTDI cable. Note that you will still need Netduino's built in usb connector for debugging and deployment using this approach.
I hope to have cleared some of your questions.
#24589 Image Process
Posted by Geancarlo2 on 23 February 2012 - 03:25 AM in Netduino Plus 2 (and Netduino Plus 1)
#24563 Powering the Netduino
Posted by Geancarlo2 on 22 February 2012 - 05:19 PM in General Discussion
The datasheet says the modules uses 3mA with backlight off and about 60mA when it is on. The transistor can handle 1A in case you want to draw current through pin 15-explained on section "Hi-Current Control Pin".It's one of the serial-enabled LCD's on sparkfun. Here's it's datasheet. I was basing the power requirement on the statement: "Backlight transistor can handle up to 1A" I see no other indications of what it would need to draw.
- Netduino Forums
- → Geancarlo2's Content
- Privacy Policy