


If you would like to help with the development, please take a look at those labels: Add screenshots or copies of error messages, describe what behavior you saw and what you expected. Please provide steps, what operating system you are on, including the version.

To report a problem or suggest improvements, use the issue tracker or the user forum. There you can also download the latest releases for all platforms and get help on getting started. It is particularly popular among Arduino and Raspberry Pi users, and is widely used in education and creative tinkering.įor more information on Fritzing and its related activities, visit. Fritzing makes it very easy to communicate about circuits, as well as to turn them into PCB layouts ready for production. It offers a unique real-life "breadboard" view, and a parts library with many commonly used high-level components. I wanted to connect a MSP430 to an Android device.The Fritzing application is an Electronic Design Automation software with a low entry barrier, suited for the needs of makers and hobbyists. In fact, my idea was to use the MSP430 launchpad as a low-cost GPIO board for an Android tablet. I did a little research, and first thought on the audio port for the communication ( ) but then I remembered that the tablet supported USB OTG.

So, I compiled the CDC_ACM module for the (Allwinner A10 based) tablet in order to emulate serial port over USB. Then, in the MSP430 Launchpad side, I needed a lib for using the serial port. I found MSP430-softuart by Stefan Wendler ( ) and used it for the bidirectional communication Android-TabletMSP430-Launchpad. In order to make a demo, I modified the code of Open Source Vector Pinball ( ), adding support for serial port access (using ). This modified Vector Pinball has the flippers linked to MSP430 Launchpad buttons. When the buttons on P2.5 and P2.3 are pressed they flippers are activated. P1DIR |= (LED1 + LED2) // Set BIT0 and BIT6 as output WDTCTL = WDTPW + WDTHOLD // Stop watchdog timerīCSCTL1 = CALBC1_1MHZ // Initialize clock This is the source code for the MSP430 (find it also attached to this post) A LED is also connected on P1.6 in order to toggle it when receiving " toggle" command from the Android app. P2IES ^= BUTTON1 // Interupt called on High-to-Low and Low-to-High P2IFG &= ~BUTTON1 // Clear BUTTON1 Interrupt flag P2IES ^= BUTTON2 // Interrupt called on High-to-Low and Low-to-High P2IFG &= ~BUTTON2 // Clear BUTTON2 interrupt flag Uart_putc('r') // Send "right" command via UART Uart_putc('l') // Send "left" command via UART P2IFG &= ~(BUTTON1 + BUTTON2) // Clear interrupt flags for the buttons P2IE |= (BUTTON1 + BUTTON2) // Enabling Button interrupts P2REN |= (BUTTON1 + BUTTON2) // Select pull-up resitors por P2.3 and P2.5
