background preloader

Arduino-info - home

Arduino-info - home
Related:  Arduino programmingArduino

Using MQTT to connect Arduino to the Internet of Things | Chris Larson Recently I attended the AT&T Hackathon for Machine to Machine and Internet of Things. Patrick and I didn't come up with a compelling application. Instead, we spent the time creating a tutorial on how to connect an Arduino with an Ethernet or GSM shield to the Internet of Things through 2lemetry's MQTT service. Here is the tutorial as it was written. MQTT & Arduino Tutorial Chris Larson, Patrick Ester AT&T Foundry Hackathon 14 - 15 September, 2013 The following is a set of directions used to successfully connect an Arduino Uno with Ethernet shield and the Arduino Leonardo with the 3G shield to the 2lemetry MQTT web service. Hardware Arduino UNO or Arduino Leonardo, Ethernet Shield, 3G/GPRS Shield Software Arduino IDE v. 1.0.5 Libraries Pubsub from Knolleartlemetrytimer library v. 1.2 Installation of libraries on Arduino For use with an Arduino Uno and the Ethernet shield, you will need the PubSubClient library ( Create MQTT Account Create a new sketch.

Lab Guide: Arduino Hardware | Neil's Log Book In this document I distinguish between Arduino code and AVR code. In fact they are the same thing: what I call Arduino code is a C/C++ function library written using AVR code and targeting the specific hardware used in Arduino microcontrollers. The purpose of Arduino code is to hide AVR code as much as possible, ostensibly to make programs easier to read and write. You will need to read and write code in the Arduino style, and may need to use the AVR style sometimes. The AVR Hardware Specification The Seeduino is based on the ATmega1280 AVR microcontroller. [PDF, 9 MB] It’s 400+ pages, you don’t need to know the whole thing, but you can’t read or write AVR code without it. This general pattern indicates a bunch of bits being set in a register. The _BV(…) macro transforms a pin identifier into its Bit Value. You can’t always just search the document. Arduino Pins vs. AVR: Package Position Number AVR: Port and Pin Number

tutorial – Arduino Arts Finally i did it! i was with the idea of this project for so long... and finally got time to do it. I know is a very common project on the web, many sites with the videos and tutorials, but is so cool It´s Summer time!!!! This summer has been quite complicated in Spain, and in my flat i don´t have air conditioning, so i needed to have An very interesting Tutorial from MAKE Magazine: This project first appeared in MAKE Volume 38, on pages 86–87. Minority Report and Iron Man-type interfaces are already here — you can control Building your own quadcopter is an expensive and delicate ordeal. This is the reason i started doing the tutorials... it was the best way of learning it. (via 9gag.com) @MrLndr This is a piece of fresh air in the Arduino Community: Learning Arduino as a Comic Book. So, we finally have a working prototype of the lamp. We have installed a base, a led lamp, 2 servos, a motion sensor, a noise sensor, and 3 axys accelerometer and an audio accesory capable of recording Here is the

PlanetArduino Exploring Arduino | Companion Site for the Book by Jeremy Blum Misc. Projects&Random Useless Stuff » Blog Archive » Playing with STC15L204 : memory layout / IAP&EEPROM Well, the STC15L204 data-sheet is not very clear on some aspects (the device is simple enough to compensate…). I almost totally forgot that this device had a 512 bytes E2PROM… And I also wanted to explore its memory to try to figure where ISP code could be located, thus I made a small program to dump the memory content , first using a code pointer (something like « ptr=(__code unsigned char *)addr; » ) and then using the IAP registers (and to get some output in the IAP section, I have put a write 0×55 at address 0×123). Here are the results (only displaying lines that does not contain only 0xFF) : On first run : > Device ready 0000 02 00 13 32 FF FF FF FF FF FF FF 02 02 5F 12 00 .... 0310 50 52 4F 4D 0D 0A 00 0D 0A 3E 20 45 4E 44 0D 0A 0320 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 0FF0 FF FF FF FF FF FF FF FF FF 00 0B 00 54 00 A4 BD > IAP/ISP/EEPROM 0120 FF FF FF 55 FF FF FF FF FF FF FF FF FF FF FF FF > END So here are my conclusions :

10 Engaging Python projects | Raspebrry Pi, python, CPC 10 Engaging Python Projects is a series of worksheets I have produced to introduce Key Stage 2 and 3 students to the world of the Raspberry Pi and programming in Python. I started creating some worksheets for my own school Pi club and then thought - why not make it into a free iBook. The iBook is free and will also be available as a PDF if requested by schools. The projects are available in an iBook format for Mac and iPad from the Apple iBook Store here The projects are based around the Traffic Light Kit available from CPC for £4.79 including VAT and can be bought here A draft of the booklet can be downloaded here Projects include: Making 1 LED flash with the GPIOMorse code flashesDisco lights with there LEDsReaction time gameTraffic lightsI would love your feedback on this resource as I will be using this with my own Pi club at school.

Arduino Arts - Cool Arduino Projects, Tutorials and More! Using a Temp Sensor | TMP36 Temperature Sensor Connecting to a Temperature Sensor These sensors have little chips in them and while they're not that delicate, they do need to be handled properly. Be careful of static electricity when handling them and make sure the power supply is connected up correctly and is between 2.7 and 5.5V DC - so don't try to use a 9V battery! They come in a "TO-92" package which means the chip is housed in a plastic hemi-cylinder with three legs. Reading the Analog Temperature Data Unlike the FSR or photocell sensors we have looked at, the TMP36 and friends doesn't act like a resistor. Remember that you can use anywhere between 2.7V and 5.5V as the power supply. If you're using a 5V Arduino, and connecting the sensor directly into an Analog pin, you can use these formulas to turn the 10-bit analog reading into a temperature: Voltage at pin in milliVolts = (reading from ADC) * (5000/1024) This formula converts the number 0-1023 from the ADC into 0-5000mV (= 5V) Simple Thermometer Getting Better Precision

Electronics | Scargill As this is now abuzz-phrase you’ll see littering the press, I thought I’d put in my two-pence worth on this “new” subject. The “Internet of Things” is a phrase used to describe things that can be controlled or monitored (or both) over the Internet. In 1962 I was too young to be aware of what was happening outside of my own house! but at this time, a fellow called Licklider from MIT was describing what he called a “galactic network” concept in which computers all over the world would talk to each other. In 1963 my interest in electronics started with a “Philips E10” kit which started me on the path of building radio receivers, controlling lights and motors.. and I’ve been involved with electronics since then, writing articles, building machines and eventually turning my interest into a business in the 80’s and beyond. That takes care of the local connectivity while the Internet allows that remote control to extend worldwide.

arduino masterclass Archives Make your own Enigma Cipher Machine using Arduino with this handy guide. This month, we finish off our Digital Audio Recorder with new software enabling higher sample rates. You’ll find the source code used for the projects in this series below. For further instructions on how to use the code see the relevant issue of APC Magazine. Project 01: LED dieDownload source code here Project 02: Weather StationDownload source code here Project 03: TV Weather Station Download source code here Project 04: Mini Robot Download source… This month, Darren Yates shows you how to get an Arduino Uno board to record digital audio to a flash card from scratch. The latest in our series of Arduino projects sees us return to our roots and give the classic Rolly robot a reboot. Don’t just listen to your music – see it with this Arduino-powered Stereo Audio Spectrum Analyser. In this class, we put the Arduino’s analog-to-digital converter to use measuring audio signal levels.

Scargill's Tech Blog Arduino for Visual Studio and Atmel Studio extension Sign in to write a review Sort by: Hi everyone, Now this is a great tool for debugging those tiny processors almost as good a the big ones. cheers and keep up the good work John I have been using Arduino IDE for ages, and it has served me well so far. Very nice product for an Arduino developer using Visual Studio.I should say: a must to have to be efficient. It really worth the moneyAlex Awesome and very first class add-on, makes developing for Arduino seem more of a professional platform and less of a hobbyists toy. Outstanding! A very good replacement for the Arduino IDE (which is basically only a text editior). It would be really necessary to make this available for Libelium Waspmote. Excellent product and SUPER support! Even though the Arduino itself is a great piece of hardware and software, one of its weak points is the IDE. I've been using the plugin with VS2008 and have now upgraded to VS2012. by Nerp | September 21 2012 Thank you! The IDE Arduino deserves Highly recommended.

My Tech Weblog | Gadget Heaven

Related: