Forum - MCS Electronics

 

FAQFAQ SearchSearch RegisterRegister Log inLog in

Search found 65 matches
www.mcselec.com Forum Index
Author Message
  Topic: sharing hardware and software uart
snipsnip

Replies: 5
Views: 519

PostForum: BASCOM-AVR   Posted: Tue Dec 23, 2014 11:52 pm   Subject: sharing hardware and software uart
Hi all,

was wondering if its ok to join the hardware TX pin with the defined software TX pin, and same with the RX.

I need to change the baud rate of a GPS chip at startup - from 9600 to >560 ...
  Topic: GPS Functions
snipsnip

Replies: 27
Views: 5771

PostForum: Share your working BASCOM-AVR code here   Posted: Tue Dec 23, 2014 12:40 pm   Subject: GPS Functions
found a site with some good gps formulas -
http://www.movable-type.co.uk/scripts/latlong.html

see below for a basic 3d distance calc based on formula from above site (flat earth), not mega accur ...
  Topic: GPS Functions
snipsnip

Replies: 27
Views: 5771

PostForum: Share your working BASCOM-AVR code here   Posted: Tue Dec 23, 2014 9:42 am   Subject: GPS Functions
Found distance and some more here
'======[ Calc Distance of lat lon ]=============================================
Sub CalcBearing(CB_Lat1, CB_Lon1, CB_Lat2, CB_Lon2)

'using a ...
  Topic: Very New and Interested...how to get started?
snipsnip

Replies: 14
Views: 802

PostForum: BASCOM-AVR   Posted: Tue Dec 23, 2014 9:17 am   Subject: Very New and Interested...how to get started?
Why not just pick up an Arduino board? sub $12 from everywhere - no programmer needed. Crappy but easy to get started.

then down the track get a proper programmer - The USB / Arduino / bootloader ...
  Topic: GPS Functions
snipsnip

Replies: 27
Views: 5771

PostForum: Share your working BASCOM-AVR code here   Posted: Tue Dec 23, 2014 2:20 am   Subject: GPS Functions
hi all,
just want to share and collect GPS functions

only got a couple of rough ones at the moment - haven't really optimised them yet (WIP)
please if you have GPS functions to share, post them ...
  Topic: need help
snipsnip

Replies: 19
Views: 1800

PostForum: BASCOM-AVR   Posted: Tue Dec 02, 2014 9:33 pm   Subject: need help
why all my actuators (fan, lamp, heater, blower) is on when play

i use moc3041 to drive lamp and heater

Are you using AC power? just a thought. DC would latch on.

Got a schematic.
  Topic: [ask] first project and get error
snipsnip

Replies: 3
Views: 346

PostForum: BASCOM-AVR   Posted: Thu Nov 27, 2014 9:59 pm   Subject: [ask] first project and get error
I don't know, but I reckon this section should be re-written.
Seems very complicated for what it's actually trying to accomplish.

'^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...
  Topic: bascom xp embedded?
snipsnip

Replies: 3
Views: 884

PostForum: BASCOM-AVR Archive   Posted: Tue Nov 04, 2014 12:09 pm   Subject: bascom xp embedded?
hi Mark,

thanks mate - re: the Bascom license, was more wondering if a crippled, lite, locked to a single chip, reduced cost version was on the radar?
It would be good to be able to sell certain ...
  Topic: bascom xp embedded?
snipsnip

Replies: 3
Views: 884

PostForum: BASCOM-AVR Archive   Posted: Tue Nov 04, 2014 1:54 am   Subject: bascom xp embedded?
I picked up an old WYSE thin client thingy, pretty sure I can get xp embedded to run on it - just wondering if Bascom would run on XP embedded?

Also is there a licence option for Bascom use where i ...
  Topic: remote area crop watering system
snipsnip

Replies: 2
Views: 821

PostForum: BASCOM Project Blog   Posted: Mon Mar 10, 2014 7:01 am   Subject: remote area crop watering system
Hi JP,

you don't need the USB-ISP just a standard micro USB cable, the arduino bootloader does all the work.
But maybe you've wiped the bootloader already by using it?, no problems - just use the ...
  Topic: encoder and 4x4 keyboard together?
snipsnip

Replies: 1
Views: 399

PostForum: BASCOM-AVR Unsupported versions   Posted: Sat Mar 08, 2014 11:02 pm   Subject: Re: encoder and 4x4 keyboard together?

$regfile = "m8def.dat"
$crystal = 32000000
(BASCOM-AVR version : 2.0.5.0 , Latest : 2.0.7.7 )


That's pretty full on
  Topic: Question about casting
snipsnip

Replies: 1
Views: 188

PostForum: BASCOM-AVR Unsupported versions   Posted: Wed Feb 26, 2014 11:40 am   Subject: Question about casting
W16 = W16 / 100
M08 = W16

this would work without creating another variable, as long as you're happy to change w16's ...
  Topic: remote area crop watering system
snipsnip

Replies: 2
Views: 821

PostForum: BASCOM Project Blog   Posted: Tue Feb 25, 2014 4:04 am   Subject: remote area crop watering system
Hi all,

working on a small remote area (solar) watering system, monitors soil moisture with a simple two prong probe
encapsulated in plaster .

lots of configurable options, fertiliser dosing, e ...
  Topic: AN # 199 and q-touch?
snipsnip

Replies: 0
Views: 241

PostForum: BASCOM-AVR Archive   Posted: Tue Feb 18, 2014 1:17 pm   Subject: AN # 199 and q-touch?
Hi all,

just wondering if the oversampling methods in AN#199 (BASCOM-AVR version : 2.0.7.7 )
  Topic: constrain a variable?
snipsnip

Replies: 11
Views: 321

PostForum: BASCOM-AVR Archive   Posted: Tue Feb 18, 2014 7:37 am   Subject: constrain a variable?
Thanks guys,

I just tried doing a timer interrupt to update the lcd - but its way too clunky, works but looks crap/ugly.

its too much work to write a sub to turn a byte into a pseudo signed byte ...
 
Page 4 of 5 Goto page Previous  1, 2, 3, 4, 5  Next
All times are GMT + 1 Hour
Jump to: