Pages

Tampilkan postingan dengan label python. Tampilkan semua postingan
Tampilkan postingan dengan label python. Tampilkan semua postingan

Kamis, 12 Mei 2016

Like Arduino Like Python Check Out Micro Python

My knowledge about electronics and microcontrollers (MCUs) leaves a lot to be desired. My knowledge about computer programming, and Python in particular, leaves even more to be desired. However, if you like MCUs and Python, you might want to take a look at Micro Python, as Im doing tonight.
Micro Python pinout (from Kickstarter)

A Design News article from July 17 that I saw gives a brief overview of Micro Python. One of points of interest for me on this board is that the MCU is from STMicroelectronics. The only other blog post Ive written about an STM board is the June 22 one about the $50 Lab-in-a-box. That board also had an STM32F4 MCU.
"The Micro Python board is based on the STM32F405 Microcontroller. It comes ready for Python programming...running 168MHz, with 1MiB Flash and 192KiB...The Micro Python board has a built-in interface for USB and functions much like a storage device. Programmers can write their Python scripts directly onto the battery-operated board and once stored, the Micro Python board will function entirely independent of a PC...the micro Python board comes pre-loaded with a micro SD slot, four LEDs, a clock that functions in real time, accelerometer, switch, and 30 I/O pins, including USARTS, SPIs, 12C buses, DAC and AC pins, and four powered servo ports...it functions right out of the box, as its pre-installed with Micro Python...What’s really unique about this board isn’t the board itself, but the program upon which it’s based...Python can write functions, execute string processes, write classes, create lists and dictionaries, read and write files, create a generation
Packing Micro Python for shipment (from Kickstarter)
system, execute closures, design list comprehensions, and deal with execution handling. The Micro Python software is a leaner, cleaner version of Python intended for the microcontroller, but it actually works for PCs, too...Micro Python software is already available to the public through the MIT open-source license
..."
The development of Micro Python board was completed with funding from a Kickstarter campaign that was successfully funded on December 13, 2013. The campaign generated more than six times the initial funding goal of £15,000 set by its founder, Damien George, an Australian theoretical physicist at the University of Cambridge. In Damiens latest update on the Kickstarter site (June 21), he says they just finished sending out the last of the kits and boards to his Kickstarter supporters. The picture above looks like he had a pretty crowded apartment or house when they were packing everything up for shipment! An interesting Kickstarter side-note is that another campaign on there, SliceCase, leveraged the popularity of Micro Python by offering a case for that board as one of the SliceCase rewards. The SliceCase campaign only asked for £1000 and got 9X the original ask.
Micro Python SliceCase

The SliceCase / Micro Python synergy brings up a revenue opportunity that takes advantage short term trends. In my recent post about Spark.io, two principles I mentioned for the Humboldt tech, innovator, maker and entrepreneur (TIME) community to leverage are (1) focus on emerging technologies and trends (e.g. Python language and the maker movement) and (2) use Kickstarter and similar sites to launch products and gain visibility. In this instance, SliceCase no doubt benefited from the buzz that Micro Python had generated. It would be fun to launch a Humboldt Crowdfunding Entrepreneurs Meetup group, where half the purpose is to take an abundance economy approach (a rising tide floats all boats rather than I want my piece of the pie) to Kickstarter and Indiegogo and people in the Meetup group would help each other become more successful at crowdfunding campaigns. The other half of the groups purpose would be to monitor crowdfunding projects on Kickstarter, Indiegogo and elsewhere, and to quickly and efficiently build crowdfunding campaigns that leverage publicity and successful funding of other crowdfunding campaigns.

The Micro Python is open source. Heres the GitHub project site to check out if thats of interest to you. I was glad I took a look at the GitHub site because it showed me that at least one GitHub site has a wiki component. I know less about GitHub than I do about microcontrollers and Python (sensing a theme here??), but I have several reasons to learn how to use GitHub effectively. One of those reasons is because the Humboldt Laser Harp (HLH) project code repository is being put on GitHub. I like wikis for aggregating and organizing technical information, and Im looking forward to giving the wiki component of GitHub sites a look to see if has benefits for the HLH project.

In addition to finding out about wikis on GitHub, tonights blog post also made me aware of a tech acronym that I either havent seen before (which is hard to believe) or just dont remember. That acronym is MiB. And it doesnt mean "Men in Black." What it does stand for is mebibyte, where mebi is a binary prefix which means 2 to the 20th power. It is apparently used as a more accurate alternative to megabyte (MB). The Wikipedia entry for mebibyte says:
She turned me into a newt!
"1 mebibyte is 1048576bytes...The unit has been accepted for use by all major standards organizations, appears increasingly in scholarly literature and is part of the International System of Quantities. Many Linux distributions use the unit, but the unit has not been widely accepted in the computer industry or popular media."
Micro Python has enough visibility that it was written up in Wired in December 2013, and in June 2014 there was a blurb about it in InfoWorld. With Python currently being "the most popular language for teaching introductory computer science courses at top-ranked U.S. departments," and with a relatively active community on GitHub with 31 contributors, 2544 commits and 1082 stars, the Micro Python project stands a decent chance of building critical mass and being around for a few years. Lastly, if youre interested in learning more about the creator of Micro Python, theres a Hack A Day interview with him from November 2013.

If you want to play with a Micro Python board, you can sign up on the projects website, although I didnt see any estimated shipping date for people who werent Kickstarter supporters.

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

Jumat, 15 April 2016

Contests Saving Money RFduino Road Tests Special Buys And Reduced Prices

Tonights post has four items that may be of interest to someone who wants to build something cool or save a few dollars on parts for MCU projects. First, we have two build something cool opportunities.
RFduino

Symmetry Electronics and their ecommerce division, SemiconductorStore.com, are sponsoring a design-build contest called "We Know RFduino." The idea is to design and build something with RFduino, make and upload a video about your project, then promote the heck out of your project to get a lot of people to watch your video. The video with the most views in September 2014 wins $1000. There are also 2nd and 3rd place prizes. Everybody who participates gets a $25 store credit at SemiconductorStore.com when the contest finishes. (Heres a link to their Kickstarter campaign for a little background on the component.)

Four reasons for Humboldt microcontroller users to consider entering this contest are:
  1. Just for participating, youll get a $25 store credit at the SemiconductorStore.
  2. If you win 1st, 2nd or 3rd place, you could win some cash.
  3. If youve been wanting to build an MCU project with wireless, this could be a good excuse.
  4. Having Humboldt people participate in this contest is a good way to promote the microcontroller community in the area. Even if you dont win, you might meet one or a few new people from Humboldt who are interested in MCUs.
The second contest type MCU activities are the Road Tests at element14. The Road Test webpage at element14 says:
"RoadTest is a group dedicated to testing and reviewing new products. RoadTesters are chosen from element14 members who apply to test equipment and volunteer to write a review. The equipment provided to reviewers is mainly development or evaluation kits for microprocessors from manufacturers such as Texas Instruments, Freescale and Microchip. Test equipment is also occasionally featured with equipment from Agilent, Fluke, TTi and Tektronix. More recently the reviewers have been given other demonstration boards from traditionally analogue manufacturers like Analog Devices, Linear Technology and Maxim."
For more details, go to the Road Test webpage, look over the different Road Tests that are currently open, and if none of them sound right for you, keep an eye on new ones that come up.

Ed Smith made a good comment to me when we were talking about one of the MCU-related contests. He suggested that before you enter a contest, make sure the benefit you can get from participating in it is worth the cost. If you get a free $20 part and end up spending a bunch of additional money and / or time that you otherwise might not have spent, maybe the contest wasnt worth getting into. Caveat emptor.

In the saving money category for tonights post, the first item is Jamecos Special Buys Outlet. I got an email today from Jameco promoting their Special Buys. I looked at some of the stuff in their outlet, but I havent done enough electronics to know if those are good prices for things lots of people actually want, or if its clearance racks for items which have very narrow appeal. Check it out and see if there are any items you cant live without...

The other saving money item for tonights post is another element14 item -- their reduced prices on popular development kits & evaluation boards special deals. John H sent me a link to this, so I wanted to pass it along to others who might benefit from it. The primary items I thought may be of interest to people in the Humboldt Microcontrollers
TI HAP-TOUCH BoosterPack
Group are the two Texas Instruments (TI) BoosterPacks. At least Ed and Nick have worked with the TI MCUs and these might be good prices for the HAP-TOUCH and Fuel Tank BoosterPacks if theyre something theyve been wanting to get. Again, my lack of electronics buying, or at least price-watching, means I dont know if these are super deals or just ok prices.

If you know of other MCU-related contests or good component pricing that you want to share, please send links to arcatabob (at) gmail {dott} com. Thanks!

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