Bluetooth Propeller Downloads and Communications
jazzed
Posts: 11,803
Long ago I asked if this was possible. The answer then was emphatically no! Fast-forward ...
I've been downloading Propeller via a bluetooth device/connection since last night.
Why is this important?
The bluetooth device I'm using with Propeller has the Roving Networks RN-41 built-in.
I plan to try the RN-42 on a Propeller module in the near future. The PCB mount RN-42 is about $15.
I've been downloading Propeller via a bluetooth device/connection since last night.
Why is this important?
- I would like to have a wireless connection to my Propellers.
- Many andriod tablets and phones only have bluetooth.
- There has been some interest in android based tablets and phones.
- An android propeller app could make my tablet more useful.
- Other low power Personal Area Network applications.
The bluetooth device I'm using with Propeller has the Roving Networks RN-41 built-in.
I plan to try the RN-42 on a Propeller module in the near future. The PCB mount RN-42 is about $15.
Comments
http://search.digikey.com/scripts/DkSearch/dksus.dll?Detail&name=LMX9830SM-ND
zap-o: This is only available in BGA
Apparently even BGA components are hand solderable.
Duane
Unfortunately I can't share all the details as the device and idea behind it are going through the patent process now.
My android tablet doesn't have bluetooth (plus I don't have any bluetooth modules), so I haven't been able to play around with bluetooth yet.
Bean
A Spinneret should be able to do updates via TCP/IP ... write file to SDCard first then program EEPROM after an integrity check.
Anyway, being able to download/control a Propeller from an android tablet or phone is an interesting idea. Actually writing spin programs on the platform should be possible, but would probably be tedious.
Using the platform to control robotics elements would be nice though. I can imagine an emotive face on my Android's Android tablet
But modifying a program would be fine. Or when you are away without that heavy laptop or the battery is flat or using an external keyboard and maybe monitor.
Unfortunately one of my new pcbs was not drilled. It had a USB interface on it for pins P0 & P1 for exactly the purpose... attach a ~$1 USB Bluetooth module. At $15 for a module, a miniature prop pcb with USB is ideal, even it is only able to do Bluetooth/USB and emulate a Propplug at the other end. I have other pcbs in the mill expected back this week and others to follow shortly.
The voice recognition code is pretty good for normal sentences and words (not using language symbols like parenthesis, etc...). Maybe a programming language should be written in a normal human language just for such situations.
That's a nice idea, but I'm not sure micha's code will be practical enough. I'm inclined to use a more reliable solution. There are propeller loader things that demand tight timing to succeed. Any hiccup will make the propeller P30/31 download abort.
Just using P0/1 to update the EEPROM with proper packet error handling would be best.
Does the module you are using have a DTR pin?
The propeller backpack has the ability to be reset and downloading a program over a single pin. So it seems like it might be possible without DTR, but not for stock hardware or downloader.
I have heard of Arduino users pressing reset on their board while pushing upload on the IDE, but that is a bit of a kludge.
I had to connect it to the RES* pin via an inverter (2n2222 common emitter would work). The other requirement was with a one time mode setting for the chip (can be reset to factory defaults). The RN41 and RN42 both have an external antenna, GPIO pins, and a command line interface interpreter for initial settings.
I solder them in a toaster oven using some solder paste. Don't let the package stop you from using it - that's my motto