Quantcast
Viewing all 20685 articles
Browse latest View live

BASCOM-AVR : GPS data filtering : REPLY

Hi Regarding the pcb that was mentioned early January - well at last a few photos to show what is happening . Still need a lot of work on the display and layout during use . The green led is a 1pps indication , if no 2d/3d fix it will flash red - led on other side is red for charging and green for user . Vib motor , 4 buttons , power on/off but gps rtc get direct feed from batt , li charger , micro sd card with power control , 3 axis acceleration sensor , 14 pin programming / serial output port , 5x5 mm beeper , 0,96 " oled , ( 1.3" will also fit ) micro usb for charge , G-Top 16 x 16 gps module , 1.2 mm pcb with "ears " for wrist strap . Pcb size 42 x 32 mm (without ears , can be cut off if not required , can be worn in landscape or portrait mode ) Cheers

Share your working BASCOM-AVR code here : GPS Functions : REPLY

Hi Regarding the pcb that was mentioned early January - well at last a few photos to show what is happening . Still need a lot of work on the display and layout during use . The green led is a 1pps indication , if no 2d/3d fix it will flash red - led on other side is red for charging and green for user . Vib motor , 4 buttons , power on/off "( Power on/off auto standby with buttons )but gps rtc get direct feed from batt , li charger , micro sd card with power control , 3 axis acceleration sensor , 14 pin programming / serial output port , 5x5 mm beeper , 0,96 " oled , ( 1.3" will also fit ) micro usb for charge , G-Top 16 x 16 gps module , 1.2 mm pcb with "ears " for wrist strap . Pcb size 42 x 32 mm (without ears , can be cut off if not required , can be worn in landscape or portrait mode ) At the moment I have an external gps antenna hooked up to the module - on the ext ant input- for testing since some functions will only work with valid fix . Cheers

BASCOM-AVR : ESP8266 WIFI to serial board gets NTP time : REPLY

Wilfred. Now I got my own module I see what a small miracle this esp8266 is. Thanks for your code. It gives a good head start. Have fun Ben Zijlstra

BASCOM-AVR : ESP8266 WIFI to serial board gets NTP time : REPLY

Hi Ben, Here's some more info https://nurdspace.nl/ESP8266

Share your working BASCOM-AVR code here : GPS Functions : REPLY

Hi nicofer, nice work Are you going to be selling these? put me down for a couple. 8) Also what speed are you running the gtop comms at? I'm using same module but I cant get it to work at 115200, only 38k is working for me. Cheers

BASCOM Project Blog : Building a Webserver with a Wiznet W5100 : REPLY

Hi Paulvk, After 3 more days of working on this, I set cdebug to 1 in the code. The info sent from the arduino to the serial port said that index.htm is missing. I searched all the zip files I downloaded and none had an index.htm file. Can you please provide that? I would be most grateful.

BASCOM Project Blog : Building a Webserver with a Wiznet W5100 : REPLY

Hello teccs The meters require support for flash to be loaded on to your computer. I have been busy for a few months getting and installing two solar systems so have had no time to work on the server. You can change settings via the rs232 port with a terminal program like Realterm by typing Help then enter you will get instructions on commands. You will need to load the eeprom with data and set the fuse bits on the AVR not to clear the eeprom when writing to clearing flash this is a draw back with the Arduino boards you need to connect to the board with an ISP programmer to change the fuse bits and write to eeprom but you do not need it after that. You can use the rs232 command line to write to the eeprom and enter the IP values the ones in the code are only defaults. It also reads the settings file and changes the values to that if they differ. I am not at where the project is at present so it will take a few days. What do you want to do with the project? I have been building functions for it not all will be used in the various purposes I want to put it to so you may not need all of them. Regards Paul

EASY TCP/IP : Wiznet W5500 : REPLY

and finally reading is working as well.

BASCOM-AVR : LCD - something wrong : NEWTOPIC

Hi, I use LCD with ST7565R driver 128*64. I use glcdEADOGM128x6.lbx. Almost all is OK but at left side of LCD are shown some random pixels. Can anybody told me what is it ? I tested 3 LCD with the same result. Thanks [b:99d50ece0e][color=red:99d50ece0e](BASCOM-AVR version : 2-0.7.7. , Latest : 2.0.7.8 )[/b:99d50ece0e][/color:99d50ece0e]

BASCOM-AVR : LCD - something wrong : REPLY

Hi, we need more info like what mcu , crystal , on pcb or breadboard (long wires) , did you update bascom ?

BASCOM-AVR : LCD - something wrong : REPLY

check your LCDAT x and y parameters, my guess is you are using 0 and not 1 as minimum value.

BASCOM-AVR : config ADC : NEWTOPIC

Hello, Using 2.0.7.5 Config ADC = Single , Prescaler = 8 , Reference = internal In a arduino_uno file this works fine, but if i use such a line in a attiny85.dat file, i got the error code 12 unknow config parameter [ internal ]. Witch parameter i shoud use ?, to get 1.1 reference ( with 5 V Vcc ) Kind Regards Marc [b:22e4becc1d][color=red:22e4becc1d](BASCOM-AVR version : 2.0.7.5 , Latest : 2.0.7.8 )[/b:22e4becc1d][/color:22e4becc1d]

BASCOM-AVR : LCD - something wrong : REPLY

The same problem is after CLS When I rotate screen then are these pixels on the same place. Connection of LCD is as short as possible. All texts sent to LCD are OK. I have rotated screen with Const Eadogm_rotate = 1. LCDAT x = 0 or 1 - the text is not over these pixel. Pixels done some offset of text on LCD. Non rotated text is moved 2 pixels left out of LCD. Atxmega32E5 - 24MHz Bascom now 2.0.7.8.

BASCOM-AVR : config ADC : REPLY

Hi ,try this for 1.1V reference [code:1:e4b826c552] Config Adc = Single , Prescaler = 8 , Reference = INTERNAL_1.1 [/code:1:e4b826c552]

Share your working BASCOM-AVR code here : GPS Functions : REPLY

Hi Thanks - yes , there will be a few pcb's for those who would like to experiment , maybe with a few odd parts until my stock dries up . I want to make one or 2 changes to the pcb before I set them free. The main idea is the logging of the track for GPX file upload to Strava or similar application (working fine ) - the on screen info during use is second in line but still very important . There are 2 fields of further exploring - the gps data filter / calculation ( metrics ) - and then the display . The last is the hardware and enclosure - way off topic .... So I hope that this project will set the creative minds free and we can share a bit of code. The big problem with AVR compared to ARM is the internal RAM - 4k is quite limited once you have a sd flash disk and a graphics screen . One way to solve it is to use a AT90USB1287 with 8kb RAM - and the USB - I have not used any of the AVR USB devices so it will be uncharted waters . At the moment firmware upload is via ISP , want to add usb-uart converter so that the firmware can be uploaded via usb/serial bootloader - ( only one external connector required ) I still need to decide on std mega128 (4k ) with an external usb bridge or a USB1287 cpu with more memory ( 8 k ) and internal USB - any feedback ? Best might be to just add the usb/uart bridge chip ( PL2303 SA ) , mainly for serial debugging and maybe bootload later , do not want to create more problems . Will advise when rev 2 pcb's are ready . Cheers

Share your working BASCOM-AVR code here : GPS Functions : REPLY

[quote:f28bc8d32b] I still need to decide on std mega128 (4k ) with an external usb bridge or a USB1287 cpu with more memory ( 8 k ) and internal USB - any feedback ? [/quote:f28bc8d32b] Yeah, but what about the 2561 and an external 16u2? If you keep it Arduino compatable there would be a much bigger market, Tindie, adafruit, sparkfun resellers etc.

Share your working BASCOM-AVR code here : GPS Functions : REPLY

Time and date stamp. [code:1:52960ee772] '' plusneg 0=minus 1=+gmt Function Timestamp(timezone As Word , Plusneg As Byte)as String Local Timez As String * 8 : Local Datez As String * 8 Local Tmp As String * 2 : Local Tmp1 As String * 2 : Local Tmp2 As String * 2 Local Tmp4 As String * 2 : Local Tmp5 As String * 2 : Local Tmp6 As String * 2 Local Sissec As Long Timez = Commapos(1 , "GPRMC") Timez = Left(timez , 6) Tmp = Left(timez , 2) Tmp1 = Mid(timez , 3 , 2) Tmp2 = Right(timez , 2) Timez = Tmp + ":" + Tmp1 + ":" + Tmp2 Datez = Commapos(9 , "GPRMC") Datez = Left(datez , 6) Tmp4 = Left(datez , 2) Tmp5 = Mid(datez , 3 , 2) Tmp6 = Right(datez , 2) Datez = Tmp4 + "/" + Tmp5 + "/" + Tmp6 Sissec = Syssec(timez , Datez) Timezone = Timezone * 3600 If Plusneg = 0 Then Sissec = Sissec - Timezone If Plusneg = 1 Then Sissec = Sissec + Timezone Datez = Date(sissec) Timez = Time(sissec) Timestamp = Timez + " " + Datez End Function [/code:1:52960ee772]

Share your working BASCOM-AVR code here : GPS Functions : REPLY

odometer pretty much working - matches car odo (+/-) 200m over a 32k drive but sometimes goes pear shaped with a massive jump could be because I'm not yet doing checksum on the parser?? [code:1:65b241ce1e] Function Odo(startlat As Single , Startlon As Single , Startalt As String ) As String Local Tempstring As String * 10 : Local Y As Byte Dim Temp As Single : Dim Total As Single Dim Alti As Single Dim Store(6) As Single Dim Initflag As Bit Dim Togglebit As Bit Alti = Val(startalt) While Initflag = 0 Store(1) = Startlat Store(2) = Startlon Store(3) = Startlat Store(4) = Startlon Store(5) = Alti Store(6) = Alti Initflag = 1 Wend If Togglebit = 0 Then Store(1) = Startlat Store(2) = Startlon Store(5) = Alti End If If Togglebit = 1 Then Store(3) = Startlat Store(4) = Startlon Store(6) = Alti End If Temp = 3ddistance(store(1) , Store(2) , Store(3) , Store(4) , Store(5) , Store(6)) Total = Total + Temp Toggle Togglebit Tempstring = Str(total) Y = Charpos(tempstring , "." ) Y = Y + 3 Tempstring = Left(tempstring , Y) Tempstring = Tempstring + " ODO" Odo = Tempstring End Function[/code:1:65b241ce1e]

BASCOM-AVR : LCD - something wrong : REPLY

Because ST7565R is a controller of 65x132dot, you must have an offset to the waterside of the dot address if you invert the screen. In Const Eadogm_rotate = 1, if garbage comes out, it might be good to be rid of offset of "glcdEADOGM128x6.lib". Please look to try the following library.

BASCOM-AVR : LCD - something wrong : REPLY

Viewing all 20685 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>