Automate reacted to jpnorair in STM32L0 USB Interface
Just a note: I'm building an open source project that utilizes STM32L0 as USB-UART gateway. This chip has some interesting attributes, and it can create a low-cost, small geometry USB interface that is also programmable. I'm building the CDC-ACM to UART version first, then an Android version that does the necessary authentication, and then finally a USB-Ethernet version so you can telnet to it (ssh is too much overhead).
The idle current will be in the area of 2uA, so it's a good USB bridge for any low power project you may have, unlike most off the shelf bridge chips which are nowhere near this.
Automate reacted to alikian in Arduino Adapter Booster Pack for LaunchPad XL
This my first prototype for Booster Pack that connect LaunchPad XL to Arduino Shields
It convert 3.3V to 5 Bidirectionaly, I just test it with my own Arduino Shield with SPI works fine.
I know board is too long and jumpers are not necessary, I will removed them.
It will help Arduino Shields as BoosterPack.
Automate reacted to bluehash in Interfacing the SNAP RF Radio to the BeagleBoneBlack
Mike Pearson has a writeup on using SNAP radios with the BBB. He is using a EK2100 Starter Kit from Synapse Wireless. His plan is to have multiple of these sensors playing a part in an automated home.
Automate reacted to bluehash in Scan Interface Applications - Five Members Win A Target Board And An MSP-FET
Five winners get a MSP-TS430PZ100($89) target board along with an MSP-FET($115). Five!
This contest is in partnership with TI. They are looking for ideas and applications that could make use of their Extended Scan Interface(pg 744) or ESI. One of the biggest markets of the MSP430 is flow metering which is where this module is widely used.
1. Come up with an application using the MSP430FR6989 chip ESI.
2. Write it down below.
3. If you win, you implement your idea with your kit and get featured on TI's MSP430 Blog.
1. You have to have at-least 5 reputation points.
2. Keep a small project log in the Projects section. This is so that it can be published later on TI's Blog.
Contest begins August 15th, 2014. Contest ends August 30th, 2014. Winners will be announced first week of September.
abecedarian -: Water supply usage
chicken -------: Resistive touchscreen pattern detector
Fred -----------: Laser cutter coolant and temperature monitor
greeeg --------: Fitness monitor
bobnova -------:Digital tachometer, speedometer, and intelligent shift light.
Automate ------:Single-Point Sensing of Whole-Home Water Activity
pjkim ------------: Speed Controller
rampadc, your entry was been withdrawn as per your request. 5 will be selected, 5 get goodies. 1 goes to TI's blog. I'm sure the other's will get special mentions.
Automate reacted to RobG in EduKit BoosterPack
After couple of years and many ideas, I have finally settled on a design for my experimenter's board.
Say hello to EduKit BoosterPack.
The EduKit BP comes with 1.8" color LCD and 8 accessory connectors. Each connector provides access to power and 2 or 4 MCU pins and are used to connect accessory boards. Those boards will allow user to perform tests and experiments, and could be used to teach about MCU's. There are also 4 jumpers on the board, which are used to change LCD's connections. LCD can use SPI1 (UCA0) or SPI2 (UCB0,) CS and D/C have also 2 possible connection options.
Accessory boards can be simple, for example switch, LED, or potentiometer, or can be more complex, like shift register, mic with amp, sensors, MIDI, GPS.
The EduKit is meant to be used with MSP430G2 LaunchPad (though it could be used with any other LP,) and will come with a library that will allow easy setup and use of LCD. User can write his code and then display results using one of the included functions (text, bar graph, etc.)
Automate reacted to DickB in Electromagnetic pendulum clock
This pendulum clock is not only regulated by the pendulum, but it is driven by it. A hidden magnet in the pendulum swings past a hidden coil and induces a current. This is detected and then a current pulse is fed into the coil, creating an electromagnet that repels the pendulum to keep it moving.
Others have designed and built clocks like this, but as far as I know mine is the only one using a microcontroller to fine-tune the pendulum's speed to keep accurate time.
The coil's output is filtered and fed into an MSP430 comparator, set on an interrupt to wake the microcontroller up. The microcontroller delays a bit to let the magnet swing away from the coil some for optimal push, then feeds a variable-length pulse (typically 25 mS) into the coil via an output port connected to a PNP transistor. If the pulse duration is increased, the pendulum swings farther and slows down. If decreased, the pendulum speeds up. The ratchet mechanism used to convert pendulum motion into rotary motion had to be designed to accommodate this variation in pendulum swing angle. By varying the pulse width, the clock can be sped up or slowed down about 1%. The pendulum needs to be manually adjusted, by setting the height of the bob, to within this tolerance. To facilitate that, I use a dual-color LED driven by two output ports. The LED flashes red if the pendulum is too slow, and green if it is too fast. It usually takes only a few minutes to adjust the bob.
Once the bob is set, the microcontroller can maintain accuracy. I've implemented a modified PID (proportional - integral - derivative) control system to derive the pulse width and regulate the clock. Accuracy is basically the same as the watch crystal used to drive the timer/counter.
Automate reacted to xxx1 in New Chip Alert: The ESP8266 WiFi Module (It's $5)
I have seen this on hackaday.com http://hackaday.com/2014/08/26/new-chip-alert-the-esp8266-wifi-module-its-5/
What do you think?
Electrodragon $4.50 http://www.electrodragon.com/product/esp8266-wi07c-wifi-module/
Documentation here: https://nurdspace.nl/ESP8266
Automate reacted to JStat60 in Electrochemistry-Potentiostat
We have been working to develop a low cost, three-electrode potentiostat for use in science education and environmental monitoring. This is a computer driven instrument that is appropriate for teaching at the university (undergraduate) or perhaps high school or home school level. It can be used to teach physical chemistry concepts and can be used to quantify things like metals in water. At this page, we describe using the instrument to measure lead in water at concentrations as low as 44 ppb.
The instrument (called the WheeStat) is comprised of a Stellaris / Tiva LaunchPad, a booster pack, Energia software, a user interface (written in Processing), and a set of electrodes. All hardware and software is open source. Descriptions can be found as research notes at PublicLab.org. We are in the process of getting a kit put together that will have all the hardware and software needed (including the LaunchPad and a set of cheap electrodes) that will retail for $100. The kit is described here. Of course, you could build your own using our descriptions, but buying retail will allow us to continue developing other science ed hardware / software (see our web page).
You should soon be able to purchase a kit from here. A user's manual is available here (the online users manual includes a couple of videos that demonstrate the user interface). The Energia and GUI software are available from here. A description of setting up the instrument is here.
Let me know if you have any questions.
Automate reacted to cplc430 in C-Programmable Logic Controller with MSP430
A new project based on MSP430 microcontroller is in process of being finalized.
This is a PLC that can be programmed in C.
A preliminary description of it can be found at:
In these days this description will be improved.
I'll add a bill of materials and a file with C-specific PLC functions.
The project will be available as a kit from September 15, 2014.
Automate got a reaction from bluehash in Sparkfun sale on 7" touch LCD BBB Cape
Sparkfun has been having moving sales the last few weeks.
One of the items this week is a BBB 7" touch LCD Cape https://www.sparkfun.com/products/12086
Use the promo code RETROSPARK to get extra $10 off
Other sale items here https://www.sparkfun.com/news/1573
Automate reacted to emdarcher in Garden_automation_and_sensor_network
Here is my current project and entry for the Hackaday Prize:
The main purpose originally was to have temperature monitoring of a small outdoor greenhouse, but then I decided to expand it from there. For more info look into the project page via the link above.
Description originally from my hackaday projects page:
This is a project to create a small network of sensors in the garden, and possibly some automation. The sensor data will be logged on an embedded Linux server (probably a Raspberry Pi or BeagleBone) and displayed on a web page. One such application for use is within a greenhouse, which may need to monitored in case it gets too hot for the plants, then venting of air could be automated, or the web page could alert the gardener. The nodes will consist of various sensors (temp, Humidity, soil moisture, etc.) attached to MSP430 microcontrollers which communicate using nRF24L01+ 2.4GHz tranceivers. Some will have Solar panels and rechargable batteries and others may have just a 3V button cell, but will last long by using the low power capabilies of the MSP430 and nRF24L01+.
Final code github repository (for code when done):
Prototyping code location on github:
YouTube video explaining the system (required for Hackaday Prize entry):
Here is a pic of a prototype node, using internal temperature sensor and calibration data, as well as a HS1101 relative humidity sensor circuit with 555 timer.
Prototype node and receiving launchpad to the left:
Simplified diagram of Greenhouse node:
Here is the system diagram:
Automate got a reaction from bluehash in Ti-eStore Back to School Deals - MSP-FET + Launchpads
I think this is the link for the MSP-FET http://www.ti.com/tool/MSP-FET?DCMP=mspscool&HQS=ep-mcu-msp-mspscool-20140820-evm2-en
Automate reacted to bluehash in BBConsole - Bluetooth Low Energy Console for BeagleBone Black
A Bluetooth Low Energy module hooks onto the J1 port which is the main UART terminal on the BeagleBone Black - BBConsole.
BBConsole is a Bluetooth Low Energy serial console adapter for BeagleBone Black. You can view all your console messages, enter commands and login/logout on your BeagleBone Black from your BLE enabled smartphone or Tablet. BBConsole works with all new iDevices and new Android phones that support Bluetooth Low Energy (also known as BLE or Bluetooth Smart or Bluetooth 4.0). Simply plug it into J1 Port (Console Port) and start using it. There is no need to change any software settings nor any need to tinker with hardware on your BBB.
Automate reacted to bluehash in Ti-eStore Back to School Deals - MSP-FET + Launchpads
MSP-FET New, fast, EnergyTrace-enabled programmer/debugger for all MSP430 MCUs 50% off MSPSCOOL1
MSP-EXP430FR5969 The lowest-power LaunchPad kit 35% off MSPSCOOL2
MSP-EXP430G2 Features a DIP for easy bread-boarding 20% off MSPSCOOL3
MSP-EXP430F5529LP Offers expanded memory and input/output pins 10% off MSPSCOOL4
Automate reacted to bluehash in Windows Embedded Board Support Package for BeagleBone
From Microsoft, WCE7 BSP for the Beaglebone.
Includes: -High speed eMMC support -eMMC support -512MB RAM support -Persistent registry support -HDMI/DVI display support -LCD support -Supports BeagleBone White and Black -Dynamic CAPE detection Graphics demo:
Automate reacted to spirilis in Ethernet issue when transmit large data on TM4C1294
Pull request #447 issued for the Energia project to merge this change into the master code branch - https://github.com/energia/Energia/pull/447
Automate got a reaction from bluehash in RadioHead Packet Radio Library
Anybody used the RadioHead Packet Radio Library with MSP430 or Tiva?
This is the RadioHead Packet Radio library for embedded microprocessors. It provides a complete object-oriented library for sending and receiving packetized messages via a variety of common data radios on a range of embedded microprocessors.
The version of the package that this documentation refers to can be downloaded from http://www.airspayce.com/mikem/arduino/RadioHead/RadioHead-1.25.zip You can find the latest version athttp://www.airspayce.com/mikem/arduino/RadioHead
You can also find online help and disussion at http://groups.google.com/group/radiohead-arduino Please use that group for all questions and discussions on this topic. Do not contact the author directly, unless it is to discuss commercial licensing. Before asking a question or reporting a bug, please read http://www.catb.org/esr/faqs/smart-questions.html
Overview RadioHead consists of 2 main sets of classes: Drivers and Managers.
Drivers provide low level access to a range of different packet radios and other packetized message transports. Managers provide high level message sending and receiving facilities for a range of different requirements. Every RadioHead program will have an instance of a Driver to provide access to the data radio or transport, and a Manager that uses that driver to send and receive messages for the application. The programmer is required to instantiate a Driver and a Manager, and to initialise the Manager. Thereafter the facilities of the Manager can be used to send and receive messages.
It is also possible to use a Driver on its own, without a Manager, although this only allows unaddressed, unreliable transport via the Driver's facilities.
In some specialised cases, it is possible to instantiate more than one Driver and more than one Manager.
A range of different common embedded microprocessor platforms are supported, allowing your project to run on your choice of processor.
Example programs are included to show the main modes of use.
Drivers The following Drivers are provided:
RH_RF22 Works with Hope-RF RF22B and RF23B based transceivers, and compatible chips and modules, including the RFM22B transceiver module such as this bare module: http://www.sparkfun.com/products/10153and this shield: http://www.sparkfun.com/products/11018 and this board: http://www.anarduino.com/miniwireless and RF23BP modules such as: http://www.anarduino.com/details.jsp?pid=130 Supports GFSK, FSK and OOK. Access to other chip features such as on-chip temperature measurement, analog-digital converter, transmitter power control etc is also provided. RH_RF69 Works with Hope-RF RF69B based radio modules, such as the RFM69 module, (as used on the excellent Moteino and Moteino-USB boards from LowPowerLab http://lowpowerlab.com/moteino/ ) and compatible chips and modules such as RFM69W, RFM69HW, RFM69CW, RFM69HCW (Semtech SX1231, SX1231H). Also works with Anarduino MiniWireless -CW and -HW boardshttp://www.anarduino.com/miniwireless/ including the marvellous high powered MinWireless-HW (with 20dBm output for excelent range). Supports GFSK, FSK. RH_NRF24 Works with Nordic nRF24 based 2.4GHz radio modules, such as nRF24L01 and others. Also works with Hope-RF RFM73 and compatible devices (such as BK2423). nRF24L01 and RFM73 can interoperate with each other. RH_NRF905 Works with Nordic nRF905 based 433/868/915 MHz radio modules. RH_RF95 Works with Semtech SX1276/77/78 and HopeRF RFM95/96/97/98 and other similar LoRa capable radios. Supports Long Range (LoRa) with spread spectrum frequency hopping, large payloads etc. FSK/GFSK/OOK modes are not (yet) supported. RH_ASK Works with a range of inexpensive ASK (amplitude shift keying) RF transceivers such as RX-B1 (also known as ST-RX04-ASK) receiver; TX-C1 transmitter and DR3100 transceiver; FS1000A/XY-MK-5V transceiver; HopeRF RFM83C / RFM85. Supports ASK (OOK). RH_Serial Works with RS232, RS422, RS485, RS488 and other point-to-point and multidropped serial connections, or with TTL serial UARTs such as those on Arduino and many other processors, or with data radios with a serial port interface. RH_Serial provides packetization and error detection over any hardware or virtual serial connection. RH_TCP For use with simulated sketches compiled and running on Linux. Works with tools/etherSimulator.pl to pass messages between simulated sketches, allowing testing of Manager classes on Linuix and without need for real radios or other transport hardware. Drivers can be used on their own to provide unaddressed, unreliable datagrams. All drivers have the same identical API. Or you can use any Driver with any of the Managers described below.
We welcome contributions of well tested and well documented code to support other transports.
Managers The following Mangers are provided:
RHDatagram Addressed, unreliable variable length messages, with optional broadcast facilities. RHReliableDatagram Addressed, reliable, retransmitted, acknowledged variable length messages. RHRouter Multi-hop delivery from source node to destination node via 0 or more intermediate nodes. RHMesh Multi-hop delivery with automatic route discovery and rediscovery. Any Manager may be used with any Driver.
Platforms A range of platforms is supported:
Arduino and the Arduino IDE (version 1.0 to 1.5.5 and later) Including Diecimila, Uno, Mega, Leonardo, Yun etc. http://arduino.cc/, Also similar boards such as Moteino http://lowpowerlab.com/moteino/ , Anarduino Minihttp://www.anarduino.com/mini/ etc. ChipKit Uno32 board and the MPIDE development environment http://www.digilentinc.com/Products/Detail.cfm?Prod=CHIPKIT-UNO32 Maple and Flymaple boards with libmaple and the Maple-IDE development environment http://leaflabs.com/devices/maple/ and http://www.open-drone.org/flymaple Teensy including Teensy 3.1 built using Arduino IDE 1.0.5 with teensyduino addon 1.18 and later. http://www.pjrc.com/teensy Other platforms are partially supported, such as Generic AVR 8 bit processors, MSP430. We welcome contributions that will expand the range of supported platforms.
History RadioHead was created in April 2014, substantially based on code from some of our other earlier libraries:
RHMesh, RHRouter, RHReliableDatagram and RHDatagram are derived from the RF22 library version 1.39. RH_RF22 is derived from the RF22 library version 1.39. RH_RF69 is derived from the RF69 library version 1.2. RH_ASK is based on the VirtualWire library version 1.26, after significant conversion to C++. RH_Serial was new. RH_NRF24 is based on the NRF24 library version 1.12, with some significant changes. During this combination and redevelopment, we have tried to retain all the processor dependencies and support from the libraries that were contributed by other people. However not all platforms can be tested by us, so if you find that support from some platform has not been successfully migrated, please feel free to fix it and send us a patch.
Automate reacted to JonnyBoats in CAN - SPI
Here are a couple of blog posts about CANbus that may be useful.
First "CAN interface for Stellaris Launchpad" http://www.fischl.de/arm/can_bus_interface_for_stellaris_launchpad/
HardwareThere are a couple of CAN bus transceivers from different manufactures. I used the MCP2551 from Microchip which works on 5V. Because most controller pins (including the used CAN pins) are 5V tolerant, this is no problem and the chip can be directly connected.
Next a "USBtin - Simple USB to CAN interface" http://www.fischl.de/usbtin/
USBtin - Simple USB to CAN interfaceUSBtin is a simple to build USB to CAN interface. It can monitor CAN busses and transmit CAN messages. The common CAN baud rates are supported. USBtin implements the USB CDC class and creates a virtual comport on the host computer. The interface is controlled with simple commands over this serial port.
Automate reacted to username in DAC GUI V2
Round 2: This extends the peripherals of the MSP430 to a UART based ascii AT command set. For example, send "AT+GET_ADC" over the USB->Serial bridge to get all the ADC values returned. Since I released my first GUI there have been a couple others like it. You will find that this version's strength is that the underlying C driver set is my personal driver set which is quite powerful XD . I then wrote a C# GUI as a wrapper around this command set.
Features Implemented: Digital IO, Analog I, PWM, SPI
Steps to use:
1. Download code & .exe file here: https://github.com/NateZimmer/ICBM
2. Import C code into CCSV5.1 (haven't tested with other versions) and flash to launchpad.
3. Ensure UART jumpers on the MSP430 Launchpad are set to Hardware based UART on a msp430g2553 launchpad Rev 1.5
4. Run GUI and connect to launchpad.
Skip to 10:35 for setup instructions:
Implement DCO Calibration for better CLK accuracy
Implement more flexible spi chip select features
Please let me know if this does not work for you
Automate reacted to L.R.A in We need more info! Timers used by what
Well hello guys, i have more complaints!!!, kiding, it just seems i only apear here to complain or want to change sometigh
This is a problem i had specificaly with Tiva board
Well i went and visit my old high school club and they had a problem. I found out was confliting timer usage betwen servo, PWM and milis().
I had to check the source files and found out they were using the same timer for the servo and PWM.
Since servo and milis timer (wich milis shouldn't even be a general timer in the Tiva) can't be changed unless it is in the source files i think there should be more information available about this. Like saying wich timers are used for what, wich one is for pulsein, milis, servo. And wich pins should not be used for PWM when using those fuctions).
I sugest servo because it's a library that comes with Energia by default.
milis() usse TIMER5
pulsein() it uses micros() so TIMER5
and any others that Energia functions use or default libraries
This would probably help alot of people so they don't have to search the source files
Automate reacted to majenko in UECIDE coming out of beta soon
I have been working for the past few years on a project called UECIDE. It's a new IDE that is intended to be a single environment for programming a whole gamut of different development boards.
It was originally based on MPIDE, which was originally itself based on Arduino 0023, but there's only about 100 lines of the original code left there now. Everything else has been completely re-written.
Anyway, it has for some time now had Launchpad and Stellaris supoort in it - at least it's meant to. However, I am only one man, and I only have an original Launchpad and a Stellaris LM4F board - none of the other boards / chips to play with.
So, I was looking for people willing to have a play (with the latest beta version) and see what could do with improving / tweaking / rewriting to better support these boards.
To whet your appetite, this is what the latest beta looks like:
The download is here: http://uecide.org/download'>http://uecide.org/download with the beta version listed at the bottom of the page.
So if you could give it a bit of a hammer and let me know what you think of it that'd be fantastic.
By the way, the MSP430 / LM4F support is taken direct from your github repository by a set of build scripts, so should be as up to date as I remember to run the scripts The scripts are here if you want to see them: https://github.com/UECIDE/launchpad