Browse By Tags

  • Flight Simulator 101 or back to college - part 14: Programming Arduino like an adult! Kill the loop()!

    Why did I say "Programming Arduino like an adult! Kill the loop()!"? First, we need to know where this construct came from. A sketch is a variant of the C++ programming language. Hell, wait doesn't C++ have a main() function? Yep, it surely does. Then…
  • The Unpredictability of float data type : Explained

    Ever wondered why one of the C data types is called float ? Because in some cases it literally floats nearby expected values! For example :-when you do multiple operations between two relatively small and large values of float. Proof int main(){ float…
  • NexGen: Software Development: arduino sketch & eclipse on Linux. Part 2

    Ok now the fun stuff. Now we can do something.. We still have a small mess to clean up now. It's the Arduino's Libraries. They are quite a mess so here is what we have to do The Arduino's IDE wants only to see two main functions: setup() Setup is where…
  • Arduino Obstacle Avoidance and Cliff Avoidance Robot

    Hello everyone in the Arduino community. Im asking for some help with programing a 3 wheel robot with 2 ultrasonic sensors. The 1st ultrasonic sensor (Parallax) is used as an obstacle avoidance sensor. The second ultrasonic sensor (SR04) is used to check…
  • ATtiny2313 pin mapping

    Hi everyone, I need something like this http://arduino.cc/hu/Hacking/PinMapping But for the attiny2313 The only thing i know is that it has a max I/O of 18 but which one is which i have no idea Thanks!
  • Programing issue

    Hi, so I have a dc motor and a servo each controlled with a different potentiometer.First I made two separate codes and all works fine, but when I combine the two codes the servo starts getting readings from both pots.Here are the working codes int motorPin…
  • Help. I need the reverse of zero crossing

    Ok, I need some hunk of code to detect the peek not the zero crossing. ( this is the solution). Problem: Toroid based power supply have inrush current problems. As when you turn on the power switch, it is a random chance where on the sine wave it will…
  • NexGen: Flight Simulator: Where did all begin...

    So what am I supposed to say; A time ago, in a different space, and time, I started designing a new canard aircraft, The Phoenix2000 . In New Orleans, before I move to Dallas, Tx so it has to be over 20 years ago. My original website for it has a date…
  • TouchDevelop: A Killer Programming Language

    Introduction Up until yesterday, I’d not seen a programming language which would go from a graphic oriented (pseudo Scratch -like) environment to a conventional source code view, from browser based execution to microcontroller execution, to mobile phone…
  • I don't know what to buy

    Hello, I am 13 years old, my grandfather wants to buy me an arduino board for my birthday, I am interested in computer programing and web development, and I was wondering where the best place to start would be. Ps. I have built a computer before, and…
  • Ph sensor using Picaxe?

    I am making a Hydroponic project called The Little Farm Kit and i could use some help to make a Ph sensor. Any idea helps. Thank you.
  • program beaglebone black

    I bought a beagle bone black for 1 year ago and now I want to learn how to program with it. MY English IS NOT GOOD
  • STM32 MCUs Programming

    Hello! I am trying to get started with the programming of STM32 MCUs. I have bought a Nucleo board which has a STM32F411RE MCU on it. I have downloaded the Keil ARM MDK development environment. I have studied the datasheet of the STM32F411RE. I am going…