We have used the internal latch in an 18M2 with the SRI input paralleled (B.0) with the C.4 serial in port. This means that a f9 Datalink run character sent is captured as SRQ even if the picaxe is napping ( as this is a very low power field data logging application running off solar)...
I have had perfect operation with code A below outputing CSV files to datalink F9. As soon as I addded code B ahead of it (outputing a station name label from PICAXE eeprom) I find the output of code B transmits OK but that from Code A becomes unpredictable missing a variable amount of...
Has anyone run the Programming editor software on a Samsung tablet or similar or will this be provided as a downloadable application sometime. The Samsung tablet has a USB port into which the AXE 027 cable plugs. I downloaded the editor as normal but could not run it on Samsung. I am not...
Is there a way in which the default that the tune command has that sets it to 4 Mhz (irrespective of setfreq) can be disabled. If so then it seems that M2 chips might be able to generate audio tones from 16.3 Hz (@ 0.5 MHz clock), to 15.8 Khz (at 32 MHz clock).
That would open up a lot of...
Can I suggest that you please put at least a link in the Picaxe manual Variables-Maths under Multiplication and Division to the great post below by Alleycat.
As a compliment to the picaxe 32 bit multiply functions * and ** it opens the gate to more effective, accurate and easy processing of...
I have a tipping bucket ranguage and need to convert tips to rain in mm . Here is the start of my code::
; Now calibrate the rain pulses from tipping bucket and converts them to cumulative rain mm x 0.1
; each tip is around 6.25 cc and we get around 160 pulses per litre so pulses...
Has anyone else found that the touch imput levels vary massively with temperature?
Here are are the results of some tests today on input B.6
7.6 degrees C open 6642 touched 6784
13.5 degrees C open 6761 touched 6889
19.7 degreesC open 9444 touched...
The following code seems to work OK at M16 or below, but for M32 it gets erratic. ( It should return around 5.5 volts but most often fails giving a pretty fixed reading of 3.2 independent largely of the actual battery voltage level). Logging over time suggests that there may be a...
srmet: Thanks again for the suggestions to try. If its about capacitor charging perhaps I can try to reduce the impedence by buffering each input with a capacitor
hippy: the LEDS are connected directly across the input with the long leg to 0v attached is a (typical) LED freq response...
For a school research project involving radiation absorbition , reflection and transmittance in leaves,we are trying to construct a simple visible spectrum analyser using 5 coloured LEDs and an IR LED in reverse connected to 18m2 analogue inputs. We need high input impedence on the inputs to...
I have implemented a 65 k byte Fifo using two external i2c EEproms for a 18M2 (2B version) data logger that uses that F9 datalink function to dump data it has collected via its datastore routine. The pointers for this are held in 18m2 program memory.
It seems that there may be an internal...
I have had a situation where I have done a High or Low C.7 expecting it to remain at that state, as an output, but found that after following that with a calidadc C.7 it is reset to the input direction. I got around that by followng calibadc with another Low C.7.
Am I reading the situation...
For our Data Logger we are using the standard programing editor connection using the 3.5mm stereo socket (22k /10k level shifter) and 9 pin D type connector to my desk PC. We want to plug a laptop and use Datalink (F9) to extract data, but when inserting or removing the stereo plug the...
I have an 18M2 working hard doing a number of normally quite short real time environmental sensing / processing and transmission tasks (all in a single loop ) and when it gets to the end it increments a 16 bit loopcounter then naps 4 with brownout disabled to save (solar) power before...
I pulled my hairout for a day yesterday until I at last found that when trying to read from the RTC chip, I got a failure (return of 255) on the higher bytes if running the 18M2 at 32 Mhz. Dropping it to 16MHz seemed to work OK.
If this a limit just with the RTC chip or is it a chartacteristic...