Posts with «arduino» label

High Speed SSD1306 Library

[Lewin] wrote in to tell us about a high speed library for Arduino Due that he helped develop which allows interfacing OLED displays that use the SSD1306 display controller, using DMA routines for faster display refresh time.

Typically, displays such as the Monochrome 1.3″ 128×64 OLED graphic display , are interfaced with an Arduino board via the SPI or I2C bus. The Adafruit_SSD1306 library written by [Limor Fried] makes it simple to use these displays with a variety of Arduinos, using either software or hardware SPI. With standard settings using hardware SPI, calls to display() take about 2ms on the Due.

[Lewin] wanted to make it faster, and the SAM3X8E on the Due seemed like it could deliver. He first did a search to find out if this was already done, but came up blank. He did find [Marek Buriak]’s library for ILI9341-based TFT screens. [Marek] used code from [William Greiman], who developed SD card libraries for the Arduino. [William] had taken advantage of the SAM3X8E’s DMA capabilities to enable faster SD card transfers, and [Marek] then adapted this code to allow faster writes to ILI9341-based screens. All [Lewin] had to do was to find the code that sent a buffer out over SPI using DMA in Marek’s code, and adapt that to the Adafruit library for the SSD1306.

There is a caveat though: using this library will likely cause trouble if you are also using SPI to interface to other hardware, since the regular SPI.h library will no longer work in tandem with [Lewin]’s library. He offers some tips on how to overcome these issues, and would welcome any feedback or testing to help improve the code. The speed improvement is substantial. Up to 4 times quicker using standard SPI clock, or 8 times if you increase SPI clock speed. The code is available on his Github repo.


Filed under: Arduino Hacks

Making Space Accessible to Students with U of M Satellite

The U of M Satellite project started in 2010 as a student group at the University of Manitoba with the goal of building a nano satellite (10 x 10 x 34 cm) and make space accessible to the public. We got in touch with Ahmed Byagowi, co-founder of the project, who teaches robotics in the same university. Ahmed told us that U of M Satellite became soon very popular, in fact  more than 300 students joined the group. In the first iteration the satellite’s goal was studying a micro animal (about 1 mm) called tardigrades and see its behaviour in space. The second iteration started in 2012, the same year of the launch of the Arduino Due and that’s why they designed everything based on it.

We had a nice talk with Ahmed and asked a bit more about the project.

Why is space so important for research, and why it would be cool if more people could have access to it?

Space research is important because it challenges us to solve problems and find solutions which can translate to everyday life here on Earth. The products of space research and space technology are all around us today. From the ballpoint pen, all the way to GPS, special composite materials, special surgical equipment and satellite communication.

For a while, only government and military had access to space. However, over the past decade there has been a rapid increase in commercial and public access to space. Private companies can take risks that the government and military can not, which leads to even bolder and newer technologies being developed.

For the general public, there are many creative and dynamic thinkers in the world who may not be able to share their ideas through a government agency or company. Public access to space allows more people to innovate on their own terms, and with 7 billion people on this planet, surely there are a great deal of innovation to be found.

With more people involved in researching space technologies, even more ideas can reach fruition, which can hopefully lead to technologies that will benefit life here on Earth even more.

There are other open source projects going to space (i.e. Ardusat), how’s U of M Student Satellite different or similar to others?

Ardusat is using Arduino as its payload (in fact, 16 of them) to run certain experiments in space and its main controller system is based on other processors and software. On the other hand, UMSATS’ satellite is going to be based on the Arduino Due architecture (the main controller) aided by the Arduino Zero and Arduino Uno’s design for payload and other controllers such as attitude determination and control system (ADCS) and power management as well as onboard image processing.

In which way open source is making exploration of space possible?

Open source makes things more accessible and helps a community work together to solve problems. If more open source platforms become available that can aid in space exploration, people can focus their efforts more on the next big problem using tools already developed, instead of resolving the same problems over and over again (reinventing the wheel). Plus, learning from watching other people’s work is a great way to learn things and apparently for some people like me or Massimo, this is best way to learn programming (based on Massimo’s TED talk).

Could you give us a bit more details on how you are using Arduino DUE ?

Our main Command and Data Handling (CDH) controller is based on the SAM3X8E and we are using Arduino Due’s bootloader and IDE for the software development. We added some more software layers as well as a scheduler and we aim to open source the entire software and hardware as soon as possible. In the picture of our motherboard below, you can clearly see the SAM3X8E and on the top right, there is a SMD version of the ATMEGA328P running and Arduino Uno core and acts as the beacon transmitter. This board encompasses the CDH, ADCS, Power and Communication of 2 meter and 70 cm bands (144.390MHz and 435MHz ham radio bands).

A famous quote of Massimo’s Banzi says: “You don’t need anyone’s permission to make something great” and in your TED talk you start saying “You can make big things using small tools”, what’s the relations between the two?

There is no formula for greatness. We live in a time where anything is truly possible, and the way to achieve your goals is numerous. Nobody said we couldn’t do something big with our small satellite, and we didn’t ask if we could either. Instead, we try to do big things with small tools that are accessible to us.

Arduino Blog 03 Apr 18:22

Arduino IDE 1.6.3 released and available for download

A new version of the Arduino IDE (1.6.3) is available at the download page!
The Arduino IDE 1.6.3 is a bug fix release: after having released 1.6.2 with new libraries and cores managers, we received lots of useful feedback and fixed a handful of bugs.

In particular:

  • Fixed some impolite crashes on some Linux distributions
  • Bundled AVR core files are back into hardware folder
  • Fixed “https” links not working on Windows and Mac
  • Added new Arduino Language color highlight
  • Introduced a way to help old cores to work with newer IDEs without having to upgrade their code
  • Advise of duplicate libraries after compiling. Thanks @PaulStoffregen

As usual, the complete list of fixes and credits is available here.

Don’t forget to check out the Library Manager: at the time of writing, 144 libraries are listed, thanks to the contributions of Paul Stoffregen and Adafruit.

Just a quick note on the Arduino Language color coding, we assigned different colors to the three Language categories listed in the Arduino Reference. Structure keywords are green, variables are teal, while functions stays orange. We did a lot of user testing on these new color highlights, and it is helpful for beginners to have a bit more of a visual cue when starting to write code.

Don’t forget to report any issue you find, either on Github or on the Arduino forum: your help is very much appreciated. It doesn’t matter if you are not a tech specialist: every feedback adds value.

Happy hacking!

Arduino Blog 02 Apr 13:57

Temperature, Altitude, Pressure Display

During a recent trip to Bhutan, [electronut] wished for a device that would show the temperature and altitude at the various places he visited in the Kingdom. Back home after his trip, he built this simple Temperature, Altitude and Pressure Display Device using a few off the shelf parts.

Following a brief search, he zeroed in on the BMP 180 sensor which can measure temperature and pressure, and which is available in a break-out board format from many sources. He calculates altitude based on pressure. The main parts are an Arduino Pro Mini clone, a BMP180 sensor and a Nokia 5110 LCD module. A standard 9V battery supplies juice to the device. A push button interface allows him to read the current parameters when pressed, thus conserving battery life.

Standard libraries allow him to interface the LCD and sensor easily to the Arduino. He wrapped it all up by enclosing the hardware in a custom laser cut acrylic box. The result is bigger than he would like it to be, so maybe the next iteration would use a custom PCB and a LiPo battery to shrink it in size. While at it, we think it would be nice to add a RTC and some sort of logging capability to the device so it can store data for future analysis. The schematic, code and enclosure drawing are available via his Github repository.


Filed under: Arduino Hacks

Using Arduino Esplora with graphical programming languages

Alan Yorinks shared on Arduino Community on Gplus a physical computing environment he created to make it easier for 10 and 11 year old’s to start playing. He picked up an Arduino Esplora, and wrote some software so that it could be controlled from the Scratch and Snap! graphical programming languages. According to Alan, the Arduino Esplora has on-board integrated sensors, actuators and make it a perfect match for the graphical programming languages that the kids love to use.

By combining an Arduino Esplora microcontroller with the esp4s library and either the Scratch or Snap! programming languages, that first line of code can be written in minutes!

Take a look at his documentation on Github.

Arduino Blog 31 Mar 18:50
arduino  esplora  featured  kids  scratch  snap  

Chinese Whispers For Arduino

The game of Chinese Whispers or Telephone involves telling one person a sentence, having that person tell another person the same sentence, and continuing on until purple monkey dishwasher. For this year’s Arduino Day, [Mastro] was hanging out at Crunchlab with a bunch of Arduinos. What do you do with a bunch of Arduinos? Telephone with software serial.

The setup for this game is extremely simple – have one Arduino act as the master, listening for bits on the (hardware) serial port. This Arduino then sends those bits down a chain of Arduinos over the software serial port until it finally loops around to the master. The result is displayed in a terminal.

With only about a dozen Arduinos in this game of Telephone, [Mastro] did get a few transmission errors. That’s slightly surprising, as the code is only running at 1200 bps, but the point of this game isn’t to be completely accurate.


Filed under: Arduino Hacks

Game Boy camera gun prints when you shoot

If you had a spare Game Boy Camera and the printer to match, what would you do with them? If you're media artist Dmitry Morozov, you'd make a one-of-a-kind firearm. His GBG-8 gun uses Nintendo's photographic peripherals and an Arduino board to shoot photos (almost literally) and print them on the spot -- effectively, it's a low-resolution Polaroid cam with a trigger. We can't imagine that this would go down well with security officials, but it could be a blast if you want to capture 8-bit memories with more flair than the original Game Boy gear allows. Let's just hope that Morozov offers some instructions so that his picture pistol is easy to reproduce at home.

Filed under: Misc, Gaming, Peripherals, Nintendo

Comments

Via: Geek

Source: Vtol

Arduino IDE Support for the ESP8266

Despite a wealth of tutorials for setting up and writing code for the ESP8266 WiFi module, there has not been much of anything on programming this cheap wireless module with the Arduino IDE. Finally, this has changed. After many months of coding, the Arduino IDE supports the ESP8266 module.

The Arduino IDE support was announced on the ESP8266 community forum. Setup is fairly simple with downloads for Linux, OS X, and Windows. This isn’t an ESP8266 shield, either: you can write code for the ESP module, connect the serial pins, and hit the program button.

The basic functions of the Arduino IDE – pinMode, digitalRead, digitalWrite, and analogRead – are available. Most of the WiFi functions work just like the WiFi shield library.

There are a few things that aren’t written yet; PWM doesn’t work, as the ESP8266 only has one hardware PWM source. SPI and I2C slave mode aren’t done yet, and uploading sketches via WiFi needs a little bit of thought. That said, this is a great introduction to programming the ESP module. If the Arduino IDE isn’t your thing, you could always do it the cool way with [CNLohr]’s programming tutorial we featured last week.


Filed under: Arduino Hacks, wireless hacks

Arduino SRL to Distributors: “We’re the REAL Arduino”

Arduino SRL (formerly known as Smart Projects SRL) sent out a letter to its distribution partners yesterday. If you’ve been following along with the Arduino vs Arduino story (we’ve previously published two installments), the content isn’t entirely surprising; it’s essentially a tactical move to reassure their distribution channels that Arduino SRL is the “One True Arduino”. That said, there’s still some new tidbits buried inside. You can skip down to read the full text below, but here’s our take.

The Business History of Arduino

A quick summary of the legal situation. Arduino LLC was formed in April 2008 by the original five founders to provide a corporate entity behind the Arduino project. Smart Projects SRL, controlled by one of the founders, was tasked with the actual production of the boards. It turns out that Smart Projects had trademarked the Arduino brand in Italy in December 2008, before Arduino LLC got around to filing in April 2009 in the USA. But everyone was friends, right? As long as the licensing fees keep flowing.

Fast-forward to September 2014, when Arduino LLC filed a lawsuit in Italy against Smart Projects claiming that they had infringed LLC’s trademark and that they had recently stopped paying licensing fees on their use of the Arduino name. In October, Smart Projects filed with the USPTO to revoke Arduino LLC’s trademark. In late 2014, Smart Projects changed its company name to Arduino SRL (a “Società a responsabilità limitata” is one form of Italian limited-liability company) and hired a new CEO, [Federico Musto].  Around the same time, Arduino SRL opened up the website arduino.org (different from long-existing arduino.cc) but with nearly identical style. In January 2015, Arduino LLC filed a lawsuit in the US, claiming their right on the Arduino name.

The Gist of it

In short, Arduino LLC has been working on developing the Arduino platform, software, and community while Smart Projects / Arduino SRL was the major official producer of the hardware for most boards. Both are claiming to “be” Arduino, and going after each other in court. So it’s not strange that Arduino SRL would like to try to keep its hold on the distribution channels. Which brings us to their letter to distributors.

March 27 Letter

A good portion of the letter reads to be a very carefully worded defense of why Arduino SRL is the true Arduino:

“Arduino Srl (aka Smart Projects Srl), as you know has been from the  beginning of the Arduino® project, the place where the ideas were turned into reality and into a business.”

This is of course strictly true — Smart Projects was certainly the largest manufacturer of Arduino boards. But it sidesteps the issue at hand in the trademark suits: whether they were simply a licensed producer of the boards or whether they’re “Arduino”.

Similarly, in the questions section of the letter, they ask if there are actually two “Arduino” product manufacturers, and answer “not really”. Of course, that’s true. Arduino LLC doesn’t manufacture boards, but exists to license their trademark out to fund development.

The only real news in the letter is that Arduino SRL is replacing its old distribution and logistics company, Magyc Now, with a new one named CC Logistics. Both Magyc and CC Logistics are named as defendants in the US lawsuit filed by Arduino LLC, so it’s unlikely that this change is due to legal fallout.

What this Means

In conclusion, Arduino SRL’s letter to its distributors seems to essentially follow the line of reasoning in their trademark lawsuit in the US against Arduino LLC: since Arduino SRL is doing the manufacturing and using the Arduino name, they’re the true Arduino. Whether or not this will stand up in court, or whether Arduino LLC can make its case that SRL was simply a licensed manufacturer, remains to be seen.

We’ve embedded the contents of the letter after the break. You can also download the original PDF.

Ivrea (TO) , March 27, 2015

Dear Partners,

At this time we feel it necessary to update our partners on the state of Arduino® products and the distribution business which you are a key part of.

Arduino Srl (aka Smart Projects Srl), as you know has been from the beginning of the Arduino® project, the place where the ideas were turned into reality and into a business. The first Arduino® models were made and initially distributed to schools of interactive design all over the world.

Arduino® products were then offered to the first DIY enthusiasts, contributing concretely, as one of the first open source electronic boards, to found and promote the Makers Movement: your strong efforts and contribution have made this great new movement a success and has grown in many new exciting areas like IoT and m2m. A realization that will change the world of electronics and communications in the physical world.

The family of Arduino® boards has helped professional and non-professional developers to prototype electrical projects and learn in a way that is accessible and possible for everyone.

Currently, Arduino Srl continues to be the only designer and manufacturer of original Arduino® products.

Open Source is the environment we want for millions of designers, engineers, makers and Arduino® lovers around the world. We hope to continue to help children and newbies learn about electrical engineering and computer programming, in order to develop and grow their ideas for today and tomorrow.

This fantastic story and these ideals will continue on the new website Arduino.org, which has been developed to ensure we stay true to the vision of the beginning of Arduino® and Arduino Srl and our distribution of these cool products.

Beginning in 2015 new changes have been put into place to ensure that our companies can continue to grow with the popularity of the Arduino® product line. The production of these high quality products continue to be done in Europe and specifically Italy which has been very successful.

Our distribution and logistics are going through a change for a couple of reasons, to help with faster deliveries and lower transport costs, we have a new company structure cc logistics that have offices and warehouses in three continents, EMEA Cham Switzerland, North American Boston Massachusetts and APAC Honk Kong and Taipei.

Additionally lots of work are being completed to get inventories in line with demand. New personnel are being added to in many areas for response to your buying needs but also in the sales and support areas to ensure we are creating demand for Arduino products and for our distribution channel. These new sales people from time to time will be in contact to forge closer working relationships.

To help inform our partners of some questions recently raised in the press and other areas:

Q: Are there two “Arduino® ” branded products manufacturers?

A: Not really, the only company that ever designed and manufactured the “Arduino® ” branded product is Arduino Srl (formerly Smart Projects Srl). Others, for a number of reasons, have created in USA and Switzerland “Arduino” named companies. Some have been involved in completing contracts for web site development and PR (namely Arduino SA – Switzerland take cares of the web site arduino.cc has been one of those). Clearly this has been the place to go for open source info in the past, but we will make arduino.org your new comprehensive location for this info and other valuable resources and services.

Q: I have heard in the press that there is a disagreement going on amongst initial founders of the open source project which inspired the Arduino® business.

A: Yes, there is a disagreement between the initial founders of the open source project (which have never been shareholders of Arduino Srl) and the actual management of Arduino Srl. We are confident that these issues will come to a conclusion shortly. Frankly some of these issues are complex because related to the validity of the registration of the trademark “Arduino® ” in some areas of the world and cannot be summarized in few words. In this respect just bear in mind that Arduino Srl (aka Smart Projects Srl) has been the sole manufacturer of the original “Arduino® ” branded products, selling and distributing them world wide for 10 years.

Q: Will cc logistics replace Magyc as distribution points ?

A: That is the big plan but exceptions may happen due to the nature of doing a worldwide distribution. cc logistics will help our makers to produce and distribute their projects in a world wide arena.

Q: Will Arduino make new products and new software?

A: Yes, new software and new products are the life blood of Arduino® . Recently new products, Arduino® Zero Pro, Arduino® , 9 Axes shield partnership with Bosch and many more are coming.

Q: Will Arduino forge technology partnership?

A: Arduino is in the forefront of new exciting fields like IoT and m2m which is an exciting direction of the type of prototyping done with present day Arduino® products. We are in constant contact with major companies exploring these exciting fields. The Arduino YUN with its wifi capabilities and open source processing has ignited lots of new opportunities.

Q: Arduino EMEA, APAC and NA Distributors Sales Meeting

A: We are planning and will notify you of the details of the first global annual meeting

Q: Is there a New Management structure in Arduino ?

A: As it happens in every company that grows as fast as the Arduino environment, additional expertises and capabilities are needed to help steer the company in the correct direction. Federico Musto is the new CEO of Arduino group and he has a strong background in the open source business.

You are Arduino and we are honored and privileged to work with you – Arduino isn’t the company, nor the board, nor the software nor the founders – the Arduino is YOU – You made Arduino® what it is today and you’ll continue to make it what it will be in the future.

Thank you in advance for your help and support

Arduino team

Arduino Srl
legal adress: Via Romano, 12 – 10010 Scarmagno (TO) Italy
shipping address: Via Kennedy, 36 – 10019 Strambino (TO) Italy


Filed under: Arduino Hacks, Featured, news, slider

Arduino Day Official Events Hangout – #ArduinoD15

Arduino is officially 10 years old and celebrating during Arduino Day!
Watch the video with Massimo Banzi, David Cuartielles, Tom Igoe hangout with all the Official Arduino Day events: