Pages

Tampilkan postingan dengan label notes. Tampilkan semua postingan
Tampilkan postingan dengan label notes. Tampilkan semua postingan

Senin, 20 Juni 2016

Humboldt Microcontrollers Group July 24 2014 Meeting Notes

Redwood Curtain Brewing Company
This is a summary of the July 24 meeting of the Humboldt Microcontrollers Group at The Link in Arcata, California, behind the Redwood Curtain. Speaking of the curtain, maybe the Humboldt Microcontrollers Group should schedule an upcoming meeting to be held at Redwood Curtain Brewing Company. Microcontrollers can be used in brewing...

One of the reasons for this blog and for the formation of the Humboldt Microcontrollers Group is the redwood curtain, which is both an actual and perceived barrier between Humboldt County and the rest of the world. In many ways, that curtain is a much appreciated and highly beneficial barrier, preserving natural beauty, creating a slower pace of life, and leading to a better balance between work and non-work activities. But in other ways, that barrier brings economic challenges and limits both the job opportunities for people and growth opportunities for
The curtain between Humboldt and the rest of the world
companies. One way to reduce the redwood curtain barrier for people and companies in this region who work with microcontrollers (MCUs) is to connect, strengthen, and promote the Humboldt microcontroller community. This blog and the Humboldt Microcontrollers Group are both working to connect, strengthen and promote that community.

So, the main topic of the July 24 meeting of the MCU group was the #8 Jeremy Blum Arduino video tutorial (see also my previous post about that tutorial). The focus of the #8 tutorial is SPI (Serial Peripheral Interface), and Jeremy uses an AD5204 digital potentiometer to demonstrate the use of SPI. Ed Smith used a different digital potentiometer than the hard-to-find AD5204 when he did the #8 tutorial exercise, so the sketch Jeremy wrote in the tutorial doesnt work correctly because of the differences in the two potentiometers. Well have to figure out an appropriate alternative potentiometer and accompanying code for other Humboldt people who want to do the #8 tutorial exercise. One more item to add to the list of things-to-do regarding developing a set of effective learning tools for people in this region interested in MCUs.

No one at the meeting had actually worked through the exercise in tonights video. Since none of the people at the meeting tonight had done the exercise, we didnt spend too much time talking about either the technology of a digipot or about interesting or unique aspects of SPI. Maybe at a future meeting? My plan is to talk with Ed, Nick and anyone else interested to agree on a good alternative digital potentiometer and to modify or rewrite the Arduino sketch to work with the digipot we choose.

In addition to the #8 tutorial, the following topics were discussed at the meeting:
  • Somewhat related to the #8 tutorial, Bob asked about using a digital potentiometer (or other components / circuitry) to match color and intensity in a set of three LEDs that are simultaneously given the same input signal but seem to generate different colors. The LEDs are Cree PLCC4 (plastic leaded chip carrier) 3-in-1 SMD LEDs. Based on the little bit we could figure out during tonights meeting about how the LEDs are powered and controlled, Nick suggested the first step should be to put an oscilloscope on the lines going to each 3-in-1 LED to confirm theyre all seeing the same signal. Nick also said its likely the LEDs are adjusted by PWM (pulse width modulation) rather than by varying the power to them, so the digipot would probably not be a possible way to adjust the colors. If all three are seeing the same signal, it would appear unit variability in the LED color output may be the issue. The spec for the LEDs says "Tolerance of measurement of dominant wavelength is ±1 nm" so that spec appears pretty tight. I need to research the issue of bin codes and figure out how to determine if the 3-in-1 LEDs we purchased for this order have green and blue LEDs all from the same bin code. According to the datasheet, the red LEDs only have one bin code (which identifies the wavelength range for that LED), but the blue and green LEDs for this particular component each have seven bin codes. So if some blues were at the bottom of the wavelength range and others were at the top, that might result in a noticeable color difference even with the same applied PWM signal. Of course, keep in mind that my knowledge about PWM signals applied to 3-in-1 LEDs, or other types of RGB LEDs, or even single color LEDs is extremely limited. Researching this will definitely be a learning exercise.
  • HLH frame
  • An update about the Humboldt Laser Harp (HLH) project was given to the group by Nick and Ed. Nick has the frame of the HLH just about completed. In the upper picture on the right you can see the laser harp frame. If you look near the top of the lower picture on the right, a bit of a laser beam is visible -- first sighting of the infamous HLH laser beams. One outcome of tonights meeting is that Gordon will be working with Nick to design and build a base for the harp. Gordon also had an interesting suggestion for laser beam presence enhancement in brightly lighted areas. He suggested shooting the laser through a diffusing or side-emitting light pipe for part of the distance from the laser to the light sensor.
  • From a HLH programming standpoint, Ed has been crafting the code that will convince the Humboldt heavenly harp to generate many marvelous melodies. In version 1.0 of the HLH, the goal is to have a demonstration device that produces simple tunes and has a reasonable degree of casual interactivity with curious members of the general public. Future versions are envisioned that incorporate music-correlated lighting effects and more musical instrument capabilities, e.g. lots of simultaneous notes, note strength and fade effects, simulation of different musical instruments, allowing notes from several octaves, different type of controls for the musicians playing the HLH, etc. As with many other maker
    HLH laser beam
    topics, there are lots of people who have specialized in the field of DIY electronic music, and much of what well be doing in the early days of the Humboldt Electronic Light Orchestra will be research on whats already been done, connecting with people in the DIY electronic music field who are willing to share their knowledge or who are interested in what were doing, and starting to develop new (as far as we can tell) electronic music ideas of our own.
  • The plan is for Nick and Ed to get together this weekend, connect the hardware with the software, flip the switch, and see what happens on the HLH. Stay tuned for updates and videos...
  • We discussed the upcoming August 2 maker fair in Eureka, which has been organized by Origin Design Lab. Nick and Gordon will figure out if Gordon has any maker projects that would be good to have at the Humboldt Makers table. Shawn Dean from InPrinting will be at the table doing 3D printing demonstrations. It would be great if other Humboldt Makers can spend an hour or a couple hours at the maker fair, which sounds like it will primarily be a craft fair aimed at being a selling opportunity for local craftspeople. Even if you cant be at the Humboldt Makers table, if you have an item that will be interesting to the general public, please contact Nick Appelmans or me (my email is arcatabob (at) gmail {dott} com).
  • Justin suggested the Humboldt Makers might consider doing a minor repair on the 3D printer that InPrinting nearly finished building some months ago, then figure out what else needs to be done to get the unit printing. We can discuss that at the next meeting as either an activity to spend a couple Thursday meetings on, or a project that one or several people would work on as time becomes available.
Hope to see lots of people at the next Humboldt Microcontrollers Group meeting, which will be on August 7.

**********
Read More..

Kamis, 07 April 2016

Little Bit of Information About LittleBits

So Im pretty sure everyone reading this blog knows what the Internet of Things (IoT) is. Anyone who likes to use or read about microcontrollers (MCUs) has probably read a couple news stories about the IoT or at least about how some microcontroller is being used in the IoT. The topic of tonights blog is littleBits, which are now "an easy and open way to contribute to the Internet of Things without wasting time prototyping devices from scratch."

littleBits circuit with module snapped and wired together
In addition to that preceding description of littleBits, the July 23 Engadget article about these modular electronic marvels says:
"The magnetic, interconnecting circuit boards that make up LittleBits library of electronic modules make it easy to build all sorts of neat (and noisy) devices with almost no technical knowledge at all...today LittleBits is announcing the Cloud Bit, a new module that, as company CEO and founder Ayah Bdeir puts it, allows builders to "just add internet" to almost anything...More complex modules -- like the Arduino module and todays WiFi-enabled Cloud Bit -- raise the ceiling of complexity for potential LittleBits projects. Its her hope that the product will be used for rapid prototyping of new ideas in addition to being a fun hobby toy. "If you wanted to recreate a Nest or recreate a Sonos or a DropCam, you could. If you wanted to create the next billion dollar idea, you could do that..."
cloudBit
The Wired article announcing the cloudBit has this to say about the new component and about littleBits in general:
"The cloudBit, announced today, is a new component that’ll connect any littleBits creation to the internet, allowing it to be programmed through a simple web interface. There have been other kits like this before, powered by Raspberry Pi and Arduino—but while those remain powerful, flexible, and inter-operable, none of them possess littlBits’s plug-and-play simplicity. So with the addition of the cloudBit, littleBits could become a reasonable, DIY gateway to the Internet of Things...Rigging together motors, sensors, and noisemakers can be painstaking work, requiring lots of soldering and testing equipment to make sure all your circuits are done right. littleBits, instead, is a modular library comprising dozens of neat electronic components that simply snap together in a line, with magnets...To get started, users first sync their cloudBit to the web app. From there, the web app can link to any any web API, including IFTTT (a service that allows you to chain together websites with simple “If this, then that” logic). Users can then use those data streams to turn the cloudBit on or off, or activate any partial state in between. By linking the cloudBit to any number of other bits, users can create whatever chain of mechanical reactions they like...the littleBits ecosystem now has 59 different components, ranging from basic items like motors, a microphone, and a keyboard to a growing body of sensors that detect everything from light to bends to motion to pressure. (There’s also an Arduino component, for more serious hacking.)"
littleBits tagline is "the easiest and most extensive way to learn and prototype with electronics." Maybe its because Im an engineer and not a marketing person, but from my perspective, it seems unlikely for any product to be both the "easiest" and the "most extensive" way to learn and prototype with electronics. My guess is that littleBits is probably a lot closer to the easiest claim of their tagline than the most extensive claim.
littleBits Big Drone Synth 

In spite of their overreaching marketing department, which may be an apt description of the marketing department at pretty much every company, I do feel littleBits does have a strong appeal for non-technical people who want to incorporate technology into unique or interesting products that theyve created in their minds. If an artist, sociologist, psychologist, disaster worker or many other types of people with no desire to figure out how to breadboard an Arduino circuit can fairly quickly learn how to snap together a couple modules that accomplishes something meaningful to them, they will tend to use that product again in the future and start learning how to do more with that product and complementary products.

What this potential appeal for non-technical people says to me is that if littleBits can figure out kits that are useful to a large number of target users and successfully market those kits, it could very likely lead to an active, growing and loyal user community. By removing the Arduino barriers (perceived or real) of learning at least the basics of electronic design and programming basics, littleBits has given itself a much larger potential market. The challenge for littleBits now is figuring out what modules will appeal to and get buzz among non-tech early adopters.

littleBits DIY smartphone-enabled thermostat
I think it would be interesting for the Humboldt Microcontrollers Group to build a product with littleBit modules, then build an MCU-based product that has the same capabilities and features of the littleBit product. We could benchmark the operation of both products, compare the component and build costs for both products and keep track of the actual build time to go from loose components to a properly and reliably operating unit. The main thing stopping us from doing that is the lack of components. If I can identify clear benefits for sponsors, Ill put together a project proposal for doing that comparison and pitch the project to potential sponsors.

One side note of particular interest to me is the IFTTT aspect of littleBits. Ever since I read about if this then that, a couple years ago, Ive wanted to experiment with it. Doing a littleBits project would be a good excuse to set up some IFTTT recipes and figure out how much value the service has for me. Ill have to bring up IFTTT at the next MCU meeting to find out how much, if any, people at the meeting have done with it.

If youre reading this blog post and have used littleBits, please come to the next Humboldt Microcontrollers Group meeting, which will be from 6 to 8 PM on Thursday, August 7, to talk about your experience with them and to demonstrate how to use them.

**********
Read More..