• Electronics and Embedded Programming V2
    1,309 replies, posted
  • Avatar of AMD 32
  • How would data transmission between an Arduino and PC work? Say if you wanted some sort of wireless communication, such as sending commands to your Arduino. Would you use ad-hoc 802.11 or is there some longer range, more suitable bits of equipment out there for that?
  • Avatar of Spacetech
  • Anyone else have a Netduino Plus? I have one and its very nice, I like it better than my Arduino Duemilanove. It's backwards compatible with most Arduino shields and it uses .NET as the programming language. [url=http://www.netduino.com/netduinoplus/specs.htm][img]http://www.netduino.com/images/netduinoplus/specs/inputandoutput.jpg[/img][/url]
  • Avatar of Overv
  • [QUOTE=Spacetech;30139932]Anyone else have a Netduino Plus? I have one and its very nice, I like it better than my Arduino Duemilanove. It's backwards compatible with most Arduino shields and it uses .NET as the programming language. [url=http://www.netduino.com/netduinoplus/specs.htm][img]http://www.netduino.com/images/netduinoplus/specs/inputandoutput.jpg[/img][/url][/QUOTE] I have the regular Netduino. It's pretty cool, but I haven't played a lot with it yet.
  • Avatar of Chryseus
  • [QUOTE=Lapsus;30139430]Chryseus: I'm a hilight?! :3: It's just a single H-bridge though, not a stepper driver, just a plain old DC motor driver.[/QUOTE] People who make analog stuff get extra points. Not that digital is bad, I just prefer analog since it takes much more effort to learn and make good things with.
  • Just to get the scope of these things, is it technically possible to write a program for it thatll convert a morse code input that you tap in externally, and then route it to a custom made IM client for the thing? Not that thats a sensible idea :v:
  • [QUOTE=Icedshot;30142309]Just to get the scope of these things, is it technically possible to write a program for it thatll convert a morse code input that you tap in externally, and then route it to a custom made IM client for the thing? Not that thats a sensible idea :v:[/QUOTE] It's possible.
  • [QUOTE=Darwin226;30136302]So what you're basically saying Java isn't a programming language[/QUOTE] Sure why not. Naw, Java is a programming language, sure but I wouldn't say Lua is. I guess I can't be like Overv and just search the wikipedia definition for everything. [QUOTE=Darwin226;30136302]What about C#?[/QUOTE] That's JIT iirc, and doesn't run in a VM. Correct me if I'm wrong.
  • Avatar of Elspin
  • [QUOTE=r4nk_;30137603]Well I'll be damned, here I was thinking that C# was a programming language but it clearly isn't because it can't run on its own, it needs an implementation of the CLR and the FCL.[/QUOTE] Yes, C# is an odd language, but does it really warrant coming in to a thread, ignoring someone's clearly worded reasoning and acting sarcastic and annoying? Anyways, since there's no moving projects so far - here's one from the last thread I made a long time ago [media]http://www.youtube.com/watch?v=ZVzzevwJAFo[/media] The video quality is just awful due to the only video camera I had being my cellphone one at the time. The bluetooth module was a pain in the ass. There's threads all over the arduino forum trying to figure out how to program it - no joke, the recommended way for a long time has been to hit the reset button really fast when hitting the upload button. I was helping a guy in PMs for a while trying to get his timing right for hitting the reset button. The project broke soon after because the RC car I modded was very clearly 200 years old, but now I'm gutting and rewiring this truck [img]http://image.usedottawa.com/photos/03/67/18605567_300.jpg[/img] it's really impressive mechanically but the electrical is just awful. It's got a single transistor turning the drive train so it can only go forwards or backwards - it has no speed control. That and it has the standard approach to steering: it uses a potentiometer and a DC motor connected to their own feedback controls rather than a servo motor.
  • Avatar of Agent766
  • [QUOTE=Icedshot;30142309]Just to get the scope of these things, is it technically possible to write a program for it thatll convert a morse code input that you tap in externally, and then route it to a custom made IM client for the thing? Not that thats a sensible idea :v:[/QUOTE] With the new Uno chips, couldn't you make it even be detected/used as a keyboard? That'd be cool. [editline]30th May 2011[/editline] ^ My new project.
  • Avatar of Chryseus
  • [QUOTE=Dorkslayz;30157970]Can I be added to the list? I own an Arduino Uno.[/QUOTE] Done.
  • Avatar of Dorkslayz
  • [QUOTE=Chryseus;30158186]Done.[/QUOTE] Thanks. Side note: Im going to shove some LED's into my X360 and try to get it to look nice. Im thinking some Multi-color led's hooked up to an arduino controlled by Serial Monitor.
  • Avatar of Iskuri
  • I am getting an Uno for my birthday on Sunday and I can't wait!! This will probably be a horrible question to ask but what would you guys personally recommend as beginner projects, after the obvious LED blinkers?
  • Avatar of Elspin
  • [QUOTE=Iskuri;30161935]I am getting an Uno for my birthday on Sunday and I can't wait!! This will probably be a horrible question to ask but what would you guys personally recommend as beginner projects, after the obvious LED blinkers?[/QUOTE] You could try and make a knock sensor with a piezzo element. They generate a voltage when depressed (ie by sound waves), so you can sense sharp spikes in voltage to detect a knock. I saw some guy make a really fancy one as a door lock that let you record patterns of knocks before, though I don't know if I'd want that as my security system :v:
  • Avatar of Iskuri
  • Haha OK Elspin that's a really neat idea. One idea I did have was something that records infra red signals from a TV remote and then transmits them whenever you want, to change channels without the original remote, how hard would a device like that be to create?
  • [QUOTE=Iskuri;30162332]Haha OK Elspin that's a really neat idea. One idea I did have was something that records infra red signals from a TV remote and then transmits them whenever you want, to change channels without the original remote, how hard would a device like that be to create?[/QUOTE] Very easy, all you need is a IR phototransistor and a pullup resistor. You just record any transition from low to high or high to low and the time it took to make that transition. Then when you need to play it back just repeat what it has recorded.
  • Avatar of Iskuri
  • [QUOTE=ddrl46;30164462]Very easy, all you need is a IR phototransistor and a pullup resistor. You just record any transition from low to high or high to low and the time it took to make that transition. Then when you need to play it back just repeat what it has recorded.[/QUOTE] Well, that's brilliant. Thanks a lot for giving me a method for doing it as well. Another question I had is, if I get a microcontroller and the other necessary components, would flashing the code to that controller and wiring it as it was on the arduino make it functional? (sorry if I am being a complete noob)
  • You probably get this quite a lot, so sorry for the repeat questions, but anyway Im thinking about getting one of these, preferably with internet, and however you might attach a keyboard to it. And supports C programming (Some of them seem to be .NET only?) Can anyone recommend anything?
  • Avatar of Elgar
  • Pop me on the list, I have an Arduino Uno. I have been tinkering around with Bitlash lately. I've ordered a TellyMate shield, which will let me display serial output on a conventional television set. [QUOTE=Icedshot;30165781]You probably get this quite a lot, so sorry for the repeat questions, but anyway Im thinking about getting one of these, preferably with internet, and however you might attach a keyboard to it. And supports C programming (Some of them seem to be .NET only?) Can anyone recommend anything?[/QUOTE] This website is the one I find the best for buying Arduinos: [url]http://www.oomlout.co.uk/arduino-getting-started-c-65_66.html?zenid=cc84a60f3fc8efebe91d8237dbea3a44[/url] I purchased the budget pack a few months ago, and it had everything in it to get you started. After ten minutes starting with zero experience, I was flashing an LED, adjusting the brightness with a potentiometer and adding a button for switching it on and off. These kits are the best out there, and no mistake.
  • Avatar of Elspin
  • [QUOTE=Icedshot;30165781]You probably get this quite a lot, so sorry for the repeat questions, but anyway Im thinking about getting one of these, preferably with internet, and however you might attach a keyboard to it. And supports C programming (Some of them seem to be .NET only?) Can anyone recommend anything?[/QUOTE] Arduinos are all in C++, though if you use their editor instead of VC++ it's kinda of an odd nonstandard form. You can get an ethernet shield for the uno, and I've never seen anyone plug a keyboard into an arduino but I imagine you can do it.
  • Avatar of DrLuke
  • If you want to use the arduino with a PS/2 keyboard, it's pretty easy, as it's a clocked signal. Just google for "PS/2 signal" or something, there should be a ton of graphs and shit. [editline]31st May 2011[/editline] Nerdkits also had a pretty nice tutorial on reading it, but it was for AVRs
  • Avatar of ZenX2
  • My entry on the list could use an update, I now have an ethernet shield. I'm thinking about actually doing something with my arduino for once.
  • Avatar of ryan1271
  • I am looking to make a speedometer for my bike. What do you think is the best way to go about this? I figured a simple reed switch on the wheel. Any other ways that might work better? I'm not going to buy a gyroscope though so don't suggest that. Also you can add me to the list. I have an Arduino Uno.
  • Avatar of Zero-Point
  • [QUOTE=ryan1271;30189472]I am looking to make a speedometer for my bike. What do you think is the best way to go about this? I figured a simple reed switch on the wheel. Any other ways that might work better? I'm not going to buy a gyroscope though so don't suggest that. Also you can add me to the list. I have an Arduino Uno.[/QUOTE] Magnets and hall-effect sensors. (hall-effect sensors would basically be a reed switch except solid-state)
  • Avatar of DrLuke
  • [QUOTE=Zero-Point;30195844]Magnets and hall-effect sensors. (hall-effect sensors would basically be a reed switch except solid-state)[/QUOTE] I agree, reed switches could be triggered by the mechanical vibration of your bike
  • Avatar of Chryseus
  • Both methods would work however a hall effect sensor would be more resistant to damage albeit slightly more expensive, if you decide to get a hall effect sensor make sure you get the switch type such as the Allegro MicroSystems [url=http://www.allegromicro.com/en/Products/Part_Numbers/1120/]A1125[/url]. [QUOTE=Elgar;30166112]Pop me on the list[/quote] [QUOTE=ZenX2;30169803]My entry on the list could use an update[/quote] [QUOTE=ryan1271;30189472]Also you can add me to the list. I have an Arduino Uno.[/QUOTE] Done
  • Avatar of DrLuke
  • I wouldn't get a switch one, but instead one with the actual output. It could be that the magnet you use hasn't got enough power to trigger the one you buy or something.
  • Avatar of Chryseus
  • [QUOTE=DrLuke;30198716]I wouldn't get a switch one, but instead one with the actual output. It could be that the magnet you use hasn't got enough power to trigger the one you buy or something.[/QUOTE] Even small magnets have a field strength exceeding 0.1 Tesla (1000 Gauss) which is more than enough. Also a linear hall effect sensor would require extra circuitry which would allow for more accuracy but is unneeded in a simple switching situation.
  • Avatar of ryan1271
  • Would this Hall Effect Sensor be as good as the one posted? Its from sparkfun and I will be ordering a bunch from there soon and adding this would make it easier. [url]http://www.sparkfun.com/products/9312[/url] [editline]2nd June 2011[/editline] I think I will get a reed switch as well. Its only $1.50 and I would like to try both.
  • Avatar of DrLuke
  • Maybe this helps you: [url]http://bildr.org/2011/04/various-hall-effect-sensors/[/url]